ml115
2007-01-01, 07:18 PM CST
My question is how to start wireless connection on boot. The wireless chip is Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01), and the latest madwifi-ng driver madwifi-ng-r1871-20061229,
/etc/sysconfig/network-scripts/ifcfg-ath0
DEVICE=ath0
USERCTL=yes
ONBOOT=yes
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
HWADDR=
IPV6INIT=no
PEERDNS=yes
TYPE=Wireless
ESSID=mynet
CHANNEL=6
MODE=Managed
RATE=Auto
/etc/modprobe.conf
alias ath0 ath_pci
options ath_pci autocreate=sta
and the messages from dmesg follow
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 193
wlan: 0.8.4.2 (svn r1871)
ath_rate_sample: 1.2 (svn r1871)
ath_pci: 0.9.4.5 (svn r1871)
ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 17 (level, low) -> IRQ 193
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36
Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 4.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xff6e0000, irq=193
.................................................. ......................
ath0: no IPv6 routers present
.............................................
ADDRCONF(NETDEV_UP): ath0: link is not ready
ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
ath0: no IPv6 routers present
With madwifi-ng drivers after boot I have to start network with /etc/init.d/network restart
Any tips are appreciated.
ml115
/etc/sysconfig/network-scripts/ifcfg-ath0
DEVICE=ath0
USERCTL=yes
ONBOOT=yes
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
HWADDR=
IPV6INIT=no
PEERDNS=yes
TYPE=Wireless
ESSID=mynet
CHANNEL=6
MODE=Managed
RATE=Auto
/etc/modprobe.conf
alias ath0 ath_pci
options ath_pci autocreate=sta
and the messages from dmesg follow
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 193
wlan: 0.8.4.2 (svn r1871)
ath_rate_sample: 1.2 (svn r1871)
ath_pci: 0.9.4.5 (svn r1871)
ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 17 (level, low) -> IRQ 193
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36
Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 4.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xff6e0000, irq=193
.................................................. ......................
ath0: no IPv6 routers present
.............................................
ADDRCONF(NETDEV_UP): ath0: link is not ready
ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
ath0: no IPv6 routers present
With madwifi-ng drivers after boot I have to start network with /etc/init.d/network restart
Any tips are appreciated.
ml115