-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Phil wrote: > I must be missing something. Work has one key and different essid, at > home I have different ones. So I setup two locations, one called home > and one called work. > > If I hibernate at work and start-up the OS when I get home, it never > ever recognises my home network. I have to manually configure it using > iwconfig. Is there an easy way to do this ? My wireless chip is an > Atheros based one. > > Thanks for any ideas.
I'll second what Jeff has said. Network Manager works surprisingly well. However if your wifi card can't scan and be connected at the same time (Atheros cards under Linux jump out here), then Network Manager will shoot you in the foot...royally. The Intel ProWireless chipsets are *extremely* well supported under Linux and have become my new favourite wifi card - if you have the ability to switch, I'd highly recommend it :) That said, I never had any success on any of my Linux-based laptops with suspend/hibernate (even my work-supplied, uber-modern HP nc6230). So I hacked my own scripts that set everything up during the boot sequence. Basically, grub would ask me where I was, then append a "profile=foo" to the kernel call. After this, it was a simple matter of reading /proc/cmdline and seeing which profile was selected. From there the scripts did all the network/proxy/kmail configuration :) My script could also change the "profile" on the fly but I need to drop out of X and restart a bunch of processes (like samba) before everything worked again. Then it's just a matter of "sudo /etc/init.d/kdm start" and we're back in action. Other people have had success with a package called "whereami" which attempts to determine your config based on wifi ESSID's it can see, the presence (or absence) of an ethernet cable, etc. Then does essentially wht my scripts do. I never got whereami working right so I rolled my own. YMMV. Cheers, James -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFErXOuwBHpdJO7b9ERAgfzAKDWhDG28fggU+bxY70rE5rQa7xSSQCgkkkV Gv5rXh/7TPKVI/JHmgGR8EU= =LfI5 -----END PGP SIGNATURE----- -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
