ifcfc-wlan0 config file problem
"Luke Shen" <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hi. This is the minor problem I am having after I successfully installed the
driver for my Linksys wireless adaptor. Based on what I learned from the
mailing archive, I created a file called "ifcfg-wlan0" under directory
"/etc/sysconfig/network-scripts" with the following configurations:
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
USERCTL=yes
TYPE=Wireless
ESSID=faosjtu
CHANNEL=6
MODE=Managed
RATE=Auto
KEY=B38D-D7B4-EF66-7CA1-0820-E2D6-71
I also added 2 more lines to file "network" under directory
"/etc/sysconfig". So the entire file reads as:
NETWORKING=yes
HOSTNAME=localhost.localdomain
GATEWAY=192.168.1.1
GATEWAYDEV=wlan0
("GATEWAYDEV" may not be necessary, but I learned from the web somewhere
that in some cases it is necessary. Since it does not hurt, I added this
line as well.)
However, during the linux boot up process, I got the following error message
"Determining ip information for wlan0 ... failed".
When I check the configuration with "iwconfig wlan0", I noticed that my
configurations in the ifcfg-wlan0 file was not picked up. Essid was wrong,
key was not specified, mode was "ad-hoc" instead of "Managed", channel was
"11" instead of "6" ...
But once I manually configured the interface with "iwconfig wlan0 mode
Managed channel 6 essid faosjtu key ... restricted" command and then run
"service network start", I got everything working.
I found a similar post on the mailing archive (also with red hat linux 9.0),
the latest post reports that all the configurations are picked up but the
one for key. So the problem is at least partially solved. But no solution (
nor partial solution ) is provided in the post. So can someone offer some
insight on this? Thanks in advance.
Luke
_________________________________________________________________
Learn how to choose, serve, and enjoy wine at Wine @ MSN.
http://wine.msn.com/