PDA

View Full Version : madwifi device activation problem


shangyung
2004-12-24, 08:49 PM CST
I installed madwifi for the IBM a/b/g built-in wifi card on my ThinkPad T41. The device (ath0) is set to activate automatically on boot. When the T41 reboots, ath0 is shown to be activated successfully. But when I logged in, the autostarted KWifiManager couldn't find ath0. Nor is it present upon running the commands ifconfig and iwconfig.

However, once I started the System Settings/Network GUI (without manually activating ath0 yet) , KWifiManager detected ath0 right away and then connected it to the router automatically. This is really annoying even though the device is working properly. Any suggestions to fix this annoyance?

leaded
2004-12-24, 10:40 PM CST
I can help hopefully!

As su, edit your /etc/sysconfig/network-scripts/ifcfg-ath0 file

There should be an option for ONBOOT=no , change it to yes.

Otherwise, on the command line, you can always do # /sbin/ifup ath0 . That should also launch ath0.

shangyung
2004-12-24, 11:24 PM CST
I have the option ONBOOT=yes already because the device (ath0) has been set to activate automatically on boot. Moreover, I have had tried /sbin/ifup ath0, but it didn't work since /sbin/ifconfig does not show the presence of ath0. Anyway, thanks.

shangyung
2005-01-05, 10:54 AM CST
Problem solved! :)

Modify /etc/modprobe.conf by changing the line
alias eth1 ath_pci
to
alias ath0 ath_pci
then reboot.

Thread closed!