Re: BenQ AWL400 - /etc/sysconfig/network-scripts/ifcfg-wlan0

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

In the meantime I updated my config

/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
USERCTL=yes
BOOTPROTO=none
TYPE=Wireless
ESSID=FLYNET
CHANNEL=6
MODE=Managed
RATE=Auto
ENC=FF45-EA90-E73C-6CB0-4CB7-9FF6-EF
GATEWAY=192.168.0.1

All settings get set at boottime,
but the value of the encryption key seems to be wrong,
when I run iwconfig just after boot I get a enc= value which
only contains numbers, and is therefore not correct, so I cannot connect

by simply running
iwconfig  enc FF45-EA90-E73C-6CB0-4CB7-9FF6-EF

It works, so what should I put in the config file instead ???
Why does it convert it to another number which doesn't work ?

Thnx


Timothy Parez wrote:

> 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.
>
> _______________________________________________
> at76c503a-user mailing list
> [email protected]
> http://lists.berlios.de/mailman/listinfo/at76c503a-user
>
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.