[TAG] Mandriva 2007 - WiFi cards cannot find network - A Fix
ben at linuxgazette.net
Sat Mar 10 03:48:42 MSK 2007
On Fri, Mar 09, 2007 at 02:52:54PM -0800, Kapil Hari Paranjape wrote:
> On Fri, 09 Mar 2007, Ben Okopnik wrote:
> > Good job finding the answer! Since I don't know how Mandrake handles
> > this stuff "under the hood", I can't give you a specific recommendation
> > on how to script this - but if it was a Debian system, I'd be off to
> > '/etc/network/interfaces' like a shot. One stanza, and I'd be done.
> > ```
> > iface ath0 inet dhcp
> > pre-up iwconfig ath0 essid "xxxxx" key xxxxxxxxxxxxxxxxxxxxxxxxxx mode Managed
> > '''
> Actually, the "lateesht" solution in Debian is to use:
> iface ath0 inet dhcp
> wireless-essid "xxxxx"
> wireless-mode Managed
> wireless-defaultkey xxxxxxxxxxxxxxxxx
You know, I tried that back when I first started playing around with
'interfaces'. It didn't work. Since there was an alternate mechanism
(i.e., 'pre-up', etc.), I never bothered to trace it down - but it's
nice to hear that it works now.
> This does mean that you depend on "someone-else" to make the correct
> calls to iwconfig but has the advantage of keeping only the config
> information in the config file.
...and you could always go back if you needed to. Not a bad setup at
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
More information about the TAG