[Sussex] RE: HostAP Drivers & DHCP - Sussex Digest, Vol 75, Issue 13

Paul reality at dsl.pipex.com
Sun Feb 27 01:30:56 UTC 2005


Matt,

I sent another post, but I'm not sure if I sent it to the correct address
etc etc, so here goes again:

For the new Senao "Mercury" card, (Prism 3) add the following to
hostap_cs.conf ...

card "SENAO MERCURY"
version "WLAN", "11Mbps_PC-Card_3.0", "ISL37100P", "Eval-RevA"
manfid 0x000b, 0x7100
bind "hostap_cs"

You're sure the card is "up"? - ifconfig wlan0 up

Also, try setting your ESSID by hand first. Maybe the channel too. I don't
know if you are familiar with iwconfig, ifconfig, iwpriv etc? If you are,
then please excuse the following basic pointers ;)

iwconfig wlan0 essid "your_essid_here"

iwconfig wlan0 channel XX

If you are Debian based, there's a great little util' - "cardinfo". This
shows some handy info, IRQ's manfid info etc.

Hope some of this may be of use!?

-----Original Message-----

From: sussex-bounces at mailman.lug.org.uk [
<mailto:sussex-bounces at mailman.lug.org.uk>
mailto:sussex-bounces at mailman.lug.org.uk] On Behalf Of
sussex-request at mailman.lug.org.uk

Sent: 26 February 2005 20:42

To: sussex at mailman.lug.org.uk

Subject: Sussex Digest, Vol 75, Issue 13

 

Send Sussex mailing list submissions to

sussex at mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit

 <http://mailman.lug.org.uk/mailman/listinfo/sussex>
http://mailman.lug.org.uk/mailman/listinfo/sussex

or, via email, send a message with subject or body 'help' to

sussex-request at mailman.lug.org.uk

You can reach the person managing the list at

sussex-owner at mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Sussex digest..."

 

Today's Topics:

1. Re: The gadget show? (John D.)

2. Re: The gadget show? (John D.)

3. Re: The gadget show? (Steve Dobson)

4. Myth TV so ... now we can chat ... (nik)

5. Re: HostAP Drivers and DHCP (Matthew Macdonald-Wallace)

6. Re: Myth TV so ... now we can chat ... (Steve Dobson)

7. Re: HostAP Drivers and DHCP (Steve Dobson)

8. Re: Myth TV so ... now we can chat ... (Alan F)

9. Re: HostAP Drivers and DHCP (Matthew Macdonald-Wallace)

 

----------------------------------------------------------------------

Message: 1

Date: Sat, 26 Feb 2005 18:10:23 +0000

From: "John D." <john at johnsemail.eclipse.co.uk>

Subject: Re: [Sussex] The gadget show?

To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>

Message-ID: <4220BB8F.2000101 at johnsemail.eclipse.co.uk>

Content-Type: text/plain; charset=us-ascii; format=flowed

Steve Dobson wrote:

>John

>

>On Sat, Feb 26, 2005 at 05:19:21PM +0000, John D. wrote:

> 

>

>>Steve Dobson wrote:

>> 

>>

>>>Symbian is not an open source (to the best of my knowledge). It is 

>>>the new name for the PsionOS.

>>> 

>>>

>>That's pretty much what I thought Steve, not having read/heard 

>>anything

>>about "them" releasing it GPL.

>>

>>Perhaps the bloke who presented the report was alluding to the 

>>necessity

>>of using open source app's to break down the current "walled garden" of 

>>proprietary app's offered with mobile devices at the moment.

>> 

>>

>

>If your phone runs Java then there are a number of J2ME games and apps 

>available that will run. I have a number on my phone.

> 

> 

>

>>I for one, would be happy to bin the PocketPC from my smartphone if I

>>could - It may be "do-able", but not by me - rather over my head!

>> 

>>

>

>When I went looking for a phone a few weeks back when the salesman 

>asked what my requirements where I told him "I won't buy a phone that 

>runs PocketPC or made by Nokia or Sony Erricson". He was shocked, when 

>I asked way I told him I didn't trust PocketPC to come with spyware and 

>Nokia and SE were campaigning for Software Patents. As SPs would 

>damage my business, I wasn't going to give them mine!

> 

>

Hum, perhaps I might have reconsidered buying it if I'd known more about 

it then. :-(

Without re-reading the "bumpf" I don't know, but presume that it does, 

though I'm not sure whether I could get any of them to "play", because 

the phone doesn't have a keyboard as such (a software based one), it's 

stylus input (mainly). I'd have to try and see (plus look to see if 

there's anything about getting linux onto it!).

regards

John D.

 

 

------------------------------

Message: 2

Date: Sat, 26 Feb 2005 18:12:22 +0000

From: "John D." <john at johnsemail.eclipse.co.uk>

Subject: Re: [Sussex] The gadget show?

To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>

Message-ID: <4220BC06.7050602 at johnsemail.eclipse.co.uk>

Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Richie Jarvis wrote:

> BAH! I recorded it on MythTV, and you lot have spoilt it now :(

>

> /me deletes show

 

What, without bothering to watch it? NOT! :-P

regards

John D.

 

 

------------------------------

Message: 3

Date: Sat, 26 Feb 2005 18:41:43 +0000

From: Steve Dobson <steve at dobson.org>

Subject: Re: [Sussex] The gadget show?

To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>

Message-ID: <20050226184143.GE3820 at dobbo.uthink.co.uk>

Content-Type: text/plain; charset=us-ascii

John

On Sat, Feb 26, 2005 at 06:10:23PM +0000, John D. wrote:

> Steve Dobson wrote:

> > If your phone runs Java then there are a number of J2ME games and 

> > apps available that will run. I have a number on my phone.

> 

> Hum, perhaps I might have reconsidered buying it if I'd known more 

> about

> it then. :-(

> 

> Without re-reading the "bumpf" I don't know, but presume that it does,

> though I'm not sure whether I could get any of them to "play", because 

> the phone doesn't have a keyboard as such (a software based one), it's 

> stylus input (mainly). I'd have to try and see (plus look to see if 

> there's anything about getting linux onto it!).

Well the device must support the minimul input device need by the J2ME
environment - otherwise it wouldn't be J2ME compatable.

Steve

 

------------------------------

Message: 4

Date: Sat, 26 Feb 2005 18:48:05 +0000

From: nik <nik at reducedhackers.com>

Subject: [Sussex] Myth TV so ... now we can chat ...

To: Sussex at mailman.lug.org.uk

Message-ID: <4220C465.1080108 at reducedhackers.com>

Content-Type: text/plain; charset=ISO-8859-1; format=flowed

okay ... me first .. heres my set up !

Sky + Svideo port out -> PVR 350 Video In ( its the 4 pin Svideo in ) Myth
TV [ config follows ] PVR350 Video Out -> Svideo Out ---> Svideo In

 

Kernel 2.6.10

Ivtv 0.3.2

/etc/modutils/ivtv contains

alias char-major-61 lirc_i2c

alias char-major-81 videodev

alias char-major-81-0 ivtv

alias char-major-81-1 bttv

alias /dev/v4l ivtv

options ivtv ivtv_debug=1 ivtv_std=2 cardtype=2 tuner=1 tda9887=0 options
tuner pal=1 options saa7127 enable_output=1 output_select=1 pal=1 options
msp3400 once=1 simple=1 add below ivtv msp3400 saa7115 saa7127 tuner add
above ivtv lirc_dev lirc_i2c ivtv-fb post-install ivtv
/usr/local/bin/ivtvctl -d /dev/video0 -u 0xff

using

ivtvctl -K 1

shows me B&W video out on the Screen

using

dd if=/dev/video0 of=/tmp/someexample.mpg

Playing that back on my laptop shows me that im getting the simple B&W 

image..

Audio is working fine.

and then

ivtvctl -I is

laddypuppy:/etc/modutils# ivtvctl -I

check SAA7115 input signal

ioctl: VIDEO_STATUS = Sat/Dvd

SAA7115 reg[STATUS#1 - 0x1E] = 82

Color Standard (D0-D1): PAL

White peak loop (D2): Not activated

Gain value for act.lum. (min) (D3): Not limited

Gain value for act.lum. (max) (D4): Not limited

WIPA-mode slow-time constant (D5): Not activated

Horizontal frequency (D6): Locked

Field length (D7): Standard

SAA7115 reg[STATUS#2 - 0x1F] = 91

Ready for capture (D0): Yes

Macrovision 7.01 (D1): No

MV Colorstripe burst (D2): No

MV Colorstripe burst type 3 (D3): No

Input signal timebase (D4): Stable (broadcast/DVD)

Field frequency (D5): 50Hz

H & V loops (D6): Locked

Interlace (D7): Detected

laddypuppy:/etc/modutils#

So ... who can get Colour through this then ?

 

Oh to add annoyance to the sitution ive been seeing Colour at one 

point.. i just cant repeat it !

cables and connected are tested with my DVD and both work fine...

SKY+ configuration has been changed from PAL to RGB and back ...

 

Back to you guys!

 

Nik

 

 

 

 

 

 

 

------------------------------

Message: 5

Date: Sat, 26 Feb 2005 20:01:54 +0000

From: Matthew Macdonald-Wallace <matthew at truthisfreedom.org.uk>

Subject: Re: [Sussex] HostAP Drivers and DHCP

To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>

Message-ID: <20050226200154.34c33f0e at localhost>

Content-Type: text/plain; charset=US-ASCII

On Sat, 26 Feb 2005 17:18:45 +0000

Steve Dobson <steve at dobson.org> wrote:

> Matthew

> 

> On Sat, Feb 26, 2005 at 05:09:30PM +0000, Matthew Macdonald-Wallace

wrote:

> > I'm trying to get my laptop working with a Prism3 card. The only 

> > drivers that seem to work properly and detect the card are the

HostAP

> > Drivers, however I can't get an IP Address from my WRT54G.

> 

> I have a Prism 2 card in my Sorkris net4801 working as a AP without 

> problem.

> 

> > I've got iface_wlan0 set to dhcp, but it doesn't seem to work.

> > 

> > Any ideas are greatly appreciated,

> 

> Use "iwconfig" to check that your WiFi card is accessing your AP.

> 

> If it isn't assocated with your AP and you're using PCMCIA, rather 

> than USB or built in check /etc/pcmcia/wireless.opt In mine there was 

> a "*,*,*,*)" case clause that needed to be deleted before the 

> "any,*,*,*)" clause would take effect.

OK, I've edited /etc/pcmcia/wireless.opts so the first statement now reads
as above, still no joy though.

I pick up the AP fine, it just won't get an IP, even though Kismet is able
to give me the IP Address Range.

Please note that I am using hostAP on the _Client_ device (a laptop using a
seano card from solwise and the hostap_cs modules), I am not setting up and
access point.

Regards,

Matt

 

------------------------------

Message: 6

Date: Sat, 26 Feb 2005 20:06:03 +0000

From: Steve Dobson <steve at dobson.org>

Subject: Re: [Sussex] Myth TV so ... now we can chat ...

To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>

Message-ID: <20050226200603.GA4129 at dobbo.uthink.co.uk>

Content-Type: text/plain; charset=us-ascii

Nik

On Sat, Feb 26, 2005 at 06:48:05PM +0000, nik wrote:

> Sky + Svideo port out -> PVR 350 Video In ( its the 4 pin Svideo in ) 

> Myth TV [ config follows ] PVR350 Video Out -> Svideo Out ---> Svideo 

> In

> 

> 

> Kernel 2.6.10

Is that a vanilla 2.6.10 or have you applied the VIA EPIA patch?

> Ivtv 0.3.2

> 

> /etc/modutils/ivtv contains

> alias char-major-61 lirc_i2c

> alias char-major-81 videodev

> alias char-major-81-0 ivtv

> alias char-major-81-1 bttv

> alias /dev/v4l ivtv

> options ivtv ivtv_debug=1 ivtv_std=2 cardtype=2 tuner=1 tda9887=0 

> options tuner pal=1 options saa7127 enable_output=1 output_select=1 

> pal=1 options msp3400 once=1 simple=1

> add below ivtv msp3400 saa7115 saa7127 tuner

> add above ivtv lirc_dev lirc_i2c ivtv-fb

> post-install ivtv /usr/local/bin/ivtvctl -d /dev/video0 -u 0xff

Okay - that sets the think to PAL

> using

> 

> ivtvctl -K 1

> 

> shows me B&W video out on the Screen

> 

> using

> 

> dd if=/dev/video0 of=/tmp/someexample.mpg

> 

> Playing that back on my laptop shows me that im getting the simple B&W

> image..

> 

> Audio is working fine.

> 

> and then

> 

> ivtvctl -I is

> 

> laddypuppy:/etc/modutils# ivtvctl -I

> check SAA7115 input signal

> ioctl: VIDEO_STATUS = Sat/Dvd

> 

> SAA7115 reg[STATUS#1 - 0x1E] = 82

> Color Standard (D0-D1): PAL

> White peak loop (D2): Not activated

> Gain value for act.lum. (min) (D3): Not limited

> Gain value for act.lum. (max) (D4): Not limited

> WIPA-mode slow-time constant (D5): Not activated

> Horizontal frequency (D6): Locked

> Field length (D7): Standard

> 

> SAA7115 reg[STATUS#2 - 0x1F] = 91

> Ready for capture (D0): Yes

> Macrovision 7.01 (D1): No

> MV Colorstripe burst (D2): No

> MV Colorstripe burst type 3 (D3): No

> Input signal timebase (D4): Stable (broadcast/DVD)

> Field frequency (D5): 50Hz

> H & V loops (D6): Locked

> Interlace (D7): Detected

> laddypuppy:/etc/modutils#

> 

> So ... who can get Colour through this then ?

> 

> 

> Oh to add annoyance to the sitution ive been seeing Colour at one

> point.. i just cant repeat it !

> 

> cables and connected are tested with my DVD and both work fine...

> 

> SKY+ configuration has been changed from PAL to RGB and back ...

What is the report from "ivtvctl -P"?

This is the input mode. If it comes back as one of the composite modes (use
ivtvctrl -n to list all the modes available) then this might explane why
your seeing just a B&W image. Try setting it to 

one of the S-Video input settings to mach the signal being pumped out of the
Sky+ box (ivtvctrl -p 6).

Hope this helps, let me know

Steve

 

 

------------------------------

Message: 7

Date: Sat, 26 Feb 2005 20:13:36 +0000

From: Steve Dobson <steve at dobson.org>

Subject: Re: [Sussex] HostAP Drivers and DHCP

To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>

Message-ID: <20050226201336.GB4129 at dobbo.uthink.co.uk>

Content-Type: text/plain; charset=us-ascii

Matt

On Sat, Feb 26, 2005 at 08:01:54PM +0000, Matthew Macdonald-Wallace wrote:

> On Sat, 26 Feb 2005 17:18:45 +0000

> Steve Dobson <steve at dobson.org> wrote:

> > If it isn't assocated with your AP and you're using PCMCIA, rather 

> > than USB or built in check /etc/pcmcia/wireless.opt In mine there 

> > was a "*,*,*,*)" case clause that needed to be deleted before the 

> > "any,*,*,*)" clause would take effect.

> 

> OK, I've edited /etc/pcmcia/wireless.opts so the first statement now 

> reads as above, still no joy though.

> 

> I pick up the AP fine, it just won't get an IP, even though Kismet is 

> able to give me the IP Address Range.

> 

> Please note that I am using hostAP on the _Client_ device (a laptop 

> using a seano card from solwise and the hostap_cs modules), I am not 

> setting up and access point.

Are you using pump or dhclient. I've seen it that sometimes one works were
the other doesn't. Both ways around - on the same machine too. Go figure.

Before switching if iwconfig(8) is telling you that you are connected to the
AP then trying running dhclient/pump by hand. If you're using dhclient
(which I am) then run it my hand:

# dhclient <iface-name>

It reports what it is doing and what it receives - this can help 

debug the problem. Also look in the system logs (/var/log/syslog) for any
help messages there. You should see PCMCIA log the insertion of the card and
what it trys to do. - I am assuming that the PCMCIA scheme your running does
a DHCP lookup in /etc/pcmcia/network.opt.

Steve

 

------------------------------

Message: 8

Date: Sat, 26 Feb 2005 20:38:09 +0000

From: Alan F <alan at slug.greenmeads.co.uk>

Subject: Re: [Sussex] Myth TV so ... now we can chat ...

To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>

Message-ID: <20050226203809.GA15701 at loonix.net>

Content-Type: text/plain; charset=us-ascii

On Sat, Feb 26, 2005 at 06:48:05PM +0000, nik wrote:

> 

> So ... who can get Colour through this then ?

>

:O

I'm having exactly the same problem with my WinTV primio (cheap TV input
card, not really a PVR card). It uses the cx8800 driver, not bttv...

I thought it was my region settings at first, but I screwed around with
those to no end, and gave up eventually and started using XP as my main OS
instead of Ubuntu. From googling the problem again, there seems to be a lot
more information on the problem, this page seems to be the most useful,
where it suggests using a higher hue and colour value.

 <http://home.sch.bme.hu/~dss/> http://home.sch.bme.hu/~dss/

Hope this helps, I'm going to try it myself tonight

Alan

 

------------------------------

Message: 9

Date: Sat, 26 Feb 2005 20:40:40 +0000

From: Matthew Macdonald-Wallace <matthew at truthisfreedom.org.uk>

Subject: Re: [Sussex] HostAP Drivers and DHCP

To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>

Message-ID: <20050226204040.11adc1df at localhost>

Content-Type: text/plain; charset=US-ASCII

On Sat, 26 Feb 2005 20:13:36 +0000

Steve Dobson <steve at dobson.org> wrote:

> Matt

> 

> On Sat, Feb 26, 2005 at 08:01:54PM +0000, Matthew Macdonald-Wallace

wrote:

> > On Sat, 26 Feb 2005 17:18:45 +0000

> > Steve Dobson <steve at dobson.org> wrote:

> > > If it isn't assocated with your AP and you're using PCMCIA, rather 

> > > than USB or built in check /etc/pcmcia/wireless.opt In mine there 

> > > was a "*,*,*,*)" case clause that needed to be deleted before the 

> > > "any,*,*,*)" clause would take effect.

> > 

> > OK, I've edited /etc/pcmcia/wireless.opts so the first statement now 

> > reads as above, still no joy though.

> > 

> > I pick up the AP fine, it just won't get an IP, even though Kismet

is

> > able to give me the IP Address Range.

> > 

> > Please note that I am using hostAP on the _Client_ device (a laptop 

> > using a seano card from solwise and the hostap_cs modules), I am not 

> > setting up and access point.

> 

> Are you using pump or dhclient. I've seen it that sometimes one works 

> were the other doesn't. Both ways around - on the same machine too. 

> Go figure.

> 

> Before switching if iwconfig(8) is telling you that you are connected 

> to the AP then trying running dhclient/pump by hand. If you're using 

> dhclient (which I am) then run it my hand:

> # dhclient <iface-name>

> It reports what it is doing and what it receives - this can help

> debug the problem. Also look in the system logs (/var/log/syslog)

> for any help messages there. You should see PCMCIA log the insertion

> of the card and what it trys to do. - I am assuming that the PCMCIA

> scheme your running does a DHCP lookup in /etc/pcmcia/network.opt.

OK,

I've now played with all of the files, I've got my card issuing a
DHCP_DISCOVER and despite the fact that the WRT54G is broadcasting IPs on
the cabled LAN, I still can't get one on the WLAN.

Any Ideas?

This is really weird!

Matt

 

------------------------------

_______________________________________________

Sussex mailing list

Sussex at mailman.lug.org.uk
<http://mailman.lug.org.uk/mailman/listinfo/sussex>
http://mailman.lug.org.uk/mailman/listinfo/sussex

End of Sussex Digest, Vol 75, Issue 13

**************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20050227/ef498139/attachment.htm 


More information about the Sussex mailing list