Click to See Complete Forum and Search --> : ifconfig does not show wireless card (was: so........close...... (wifi))


spaceboy99
10-30-2002, 01:35 PM
I've almost got my wifi working under RH8, but it's not quite there.

If I insert my wifi card (prism2_cs if that's important) in the PCMCIA slot, it loads the prism2_cs.o and p80211.o modules properly. I get a link light on my card and if I do iwconfig it shows wlan0 with seemingly correct information. But then if I do an ifconfig, the only interface that shows up is the loopback. So I thought, hm, I'll try ifup wlan0 which I believe worked under RH7.3 (can't remember now). ifup replies that it doesn't know what 'wlan0' is (it claims wlan0 is not an interface). I know I'm close... the card is detected, activated, etc. but I just can't get it to do IP traffic. Help!

Tom

spaceboy99
10-30-2002, 01:45 PM
noticed I left this out of my question:

I added 'alias wlan0 prism2_cs' to my modules.conf file. So no suggestions about that! :)

Tom

spaceboy99
10-30-2002, 02:04 PM
I feel like I'm talking to myself ;)

Anyways, I got it. All I had to do was create a file ifcfg-wlan0 in /etc/sysconfig/network-scripts that reads:


DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes


And now it works! I can now bring up the interface 'ifup wlan0' and I get a valid IP address. A couple of nasty error messages too, but I guess I don't have to worry about them ;)

Tom

just4spam
09-02-2003, 02:04 PM
Originally posted by spaceboy99
I feel like I'm talking to myself ;)

Anyways, I got it. All I had to do was create a file ifcfg-wlan0 in /etc/sysconfig/network-scripts that reads:


DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes


And now it works! I can now bring up the interface 'ifup wlan0' and I get a valid IP address. A couple of nasty error messages too, but I guess I don't have to worry about them ;)

Tom

Hey spaceboy99, I am trying to do exactly what you did. That is, to setup my wireless lan. I have one question for you. In your etc/sysconfig/network-scripts/ifcfg-wlan0 script those are the only 3 things require in there if using DHCP?

You have:

DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes


Did you manage to get of those error message, if so, how?

Thanks,

Chander