[Lenny400] Wireless on Lenny400
Dr. H. Nikolaus Schaller
hns at goldelico.com
Sat Sep 15 11:53:28 CEST 2012
Am 09.09.2012 um 13:21 schrieb Dima:
> Hi.
> The `/etc/network/interfaces' in Lenny400 contains
>
> iface eth1 inet dhcp
> pre-up sh -c 'echo 1 >/proc/jz/wifi-power'
> post-down sh -c 'echo 0 >/proc/jz/wifi-power'
> wpa-driver zd1211
> wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
>
> which apparently says wireless is used with `wpasupplicant'. Instead,
> the `postinst' script installs `wireless-tools'.
>
> Wireless does not work from the box... How was it inteneded
> to work ?
>
>
> I have a partial fix, I want to be adviced with it too:
> I removed `wireless-tools' and installed `wpasupplicant'
> instead. Yet, the `ifup eth1' still does not work...
> To work with wireless, I manually do
>
> echo 1 >/proc/jz/wifi-power
> wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant/wpa_supplicant.conf
> dhclient eth1
>
> How do I fix this situation, to make wireless obey `ifup'/`ifdown' ?
I think it is sufficient to add these commands to the pre-up and post-down scripts
in /e/n/i e.g.
pre-up sh -c 'echo 1 >/proc/jz/wifi-power; wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant/wpa_supplicant.conf; dhclient eth1'
> I intend to install `ifplugd' then..
>
> Thanks, regards,
> Dima.
> _______________________________________________
> Lenny400 mailing list
> Lenny400 at goldelico.com
> http://lists.goldelico.com/mailman/listinfo/lenny400
More information about the Lenny400
mailing list