David Spreen wrote: > hi there, > okay, I gave up on wifi autodetection since it would not work reliably. > But even if I manually configure the wifi on campus, the driver > sometimes fails to associate or claims association with an ap with quite > good link quality but then claims not to get dhcp-responses. I am > frustrated.
I have no trouble with the madwifi drivers on my macbook. To get automatic association at work/home or school/home I slightly modified the instructions at: http://tips.linux.com/article.pl?sid=06/07/03/1744235&tid=100&tid=13 which will require installing hotplug, guessnet, ifplugd, and arping. Suppose your home network assigns you IPs in 192.168.0.x and your school network assigns them in 192.168.1.x, each with routers at 192.168.x.1. Then use arping to figure out the MAC address of the routers you connect to and put them in place of the XX:XX and YY:YY that I show below. Edit /etc/network/interfaces as follows: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo ath0 iface lo inet loopback # This is a list of hotpluggable network interfaces. # They will be activated automatically by the hotplug subsystem. mapping eth0 script grep map eth0 # The primary network interface allow-hotplug eth0 ath0 iface eth0 inet dhcp # The Atheros Wireless Interface mapping ath0 script /usr/sbin/guessnet-ifupdown map default: roam map verbose: true iface home inet dhcp wireless_essid HOME_ESSID pre-up modprobe ath_pci pre-up ifconfig ath0 up post-up iwconfig ath0 essid HOME_ESSID test1 wireless mac 00:XX:XX:XX:XX:XX essid HOME_ESSID test2 peer address 192.168.0.1 mac 00:XX:XX:XX:XX:XX iface borg inet dhcp wireless_essid SCHOOL_ESSID pre-up modprobe ath_pci pre-up ifconfig ath0 up post-up iwconfig ath0 essid SCHOOL_ESSID test1 wireless mac 00:YY:YY:YY:YY:YY essid SCHOOL_ESSID test2 peer address 192.168.1.1 mac 00:YY:YY:YY:YY:YY iface roam inet dhcp wireless_essid any pre-up modprobe ath_pci pre-up ifconfig ath0 up ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mactel-linux-users mailing list Mactel-linux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-users