Chris Beggy on 4 Aug 2006 06:15:15 -0000 |
On 03 Aug 2006, Mike Leone <turgon@mike-leone.com> wrote: > chrisb@kippona.com wrote: > > On 3 Aug 2006, Mike Leone <turgon@mike-leone.com> wrote: > > > >> Which did diddly for me, as I had to issue it manually. I tried : > >> > >> iface ath0 inet dhcp > >> pre-up wpa_supplicant -B -iath0 -Dmadwifi > >> down skill wpa_supplicant > >> > >> in /etc/network/interfaces, which did the same (i.e., nothing). > >> > >> So what am I missing now, to get this to happen automatically? > > > > This works for me on Knoppix: > > > > 1. wpa_passphrase <your_ssid> <your_passphrase> > /etc/wpa_supplicant.conf > > 2. chmod 640 /etc/wpa_supplicant.conf > > 3. wpa_supplicant -Bw -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf > > 4. pump -i ath0 > > > > Yeah, that's pretty much what I'm doing (altho I may have forgotten the > chmod); I'd just like to automate it. Can't figure out where in the boot > process it isn't working, nor how to easily add it as a last step before > the login prompt happens. I made an /etc/init.d/local file with steps 3 and 4 above and executed update-rc.d to create the links. Knoppix has a way to save off some configuration information between boots. Chris ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|