BenQ AWL400 - Questions about configurating the wlan interface at boot time

Timothy Parez <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
Hello,

I've been able to get kernel 2.6.1 working on Fedora Core 1
I installed the berlios driver (not the latest CVS as it seemed to be 
broken) and it worked.
By configurating everything manually as instructed by helpful people in 
this list, I was able to browse the internet.

So I had to do the following after booting every time:

iwconfig wlan0 essid FLYNET mode managed channel 6 enc 
BE69-EEF2-E7B2-6335-4ED3-92E5-9F
ifconfig wlan0 192.168.0.104 netmask 255.255.255.0 broadcast 192.168.0.255
route add default gw 192.168.0.1

But this is not useful, so I made a few changes to the config files:

/etc/sysconfig/network

NETWORKING=yes
HOSTNAME=pctimo.flynet
GATEWAY=192.168.0.1

/etc/sysconfig/network-scripts/ifcfg-wlan0

DEVICE=wlan0
IPADDR=192.168.0.104
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes
#BOOTPROTO=dhcp
USERCTL=yes

After rebooting, the device was finally visible in the RedHat/Fedora 
Network Configuration Panel, and I was even able to set WLAN specific 
settings
such as the WEP key, ESSID etc...

But my question is now, instead of using this graphical tool, where do I 
put the information for the wlan specific stuff ?

ie:

The following lines seem to be covered by the changes I made in the 
files above

ifconfig wlan0 192.168.0.104 netmask 255.255.255.0 broadcast 192.168.0.255
route add default gw 192.168.0.1

But this line:
iwconfig wlan0 essid FLYNET mode managed channel 6 enc 
BE69-EEF2-E7B2-6335-4ED3-92E5-9F

In what config file can I put a replacement for this file, so that I 
don't have to execute it every time ?

Thnx
Timothy.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.