Davide Bianchi wrote:
> On 2006-12-29, Baho Utot <(E-Mail Removed)> wrote:
>> here is my script - it works
>> #!/bin/sh
>> /sbin/modprobe ath_pci
>> /sbin/modprobe wlan_scan_sta
>
> You'll have to have the modprobes done in /etc/modprobe.conf
OK, but I think this is what FC6 is looking at
from /etc/modprobe.conf
alias wifi0 ath_pci
FC6 setup the ifcfg.wifi0, I didn't and don't understand it.
>
>> /sbin/iwconfig ath0 essid "linksys"
>> /sbin/ifconfig ath0 192.168.1.25 netmask 255.255.255.0 up
>> route add default gw 192.168.1.1
>>
>> # Atheros Communications, Inc. AR5005G 802.11abg NIC
>> DEVICE=wifi0
>
> if your device is ath0, why is here defined as wifi0?
>
That's what FC6 did, I followed madwifi's instructions for my script so they
are separate. I hope it cause no trouble.
>> ONBOOT=no
>
> Having 'onboot=no' means that the network card will not be activate
> in autometic.
Yes I change it after I bootup so it won't hang then I issue a network
restart from ..../init.d
>
>> IPADDR=192.168.1.20
>
> in the previous configuration the ip was .25, not .20
I farted that up they should be the same. Thanks
>
>> GATEWAY=192.168.1.1
>
> The gateway is not defined per-network card, is a global configuration
> on the whole machine, so do not put 'gateway' in there.
>
Ok, I`ll kill it
>> WIRELESS_ESSID='linksys'
>
> the parameter is just 'ESSID'
>
OK, I`ll try that.
> Davide
>
Thanks for the help, I may just get this working.
I hope it doesn't kill me
--
Dancin in the ruins tonight
Tayo'y Mga Pinoy