:: Re: [DNG] howto wifi roaming [was R…
Página Inicial
Delete this message
Reply to this message
Autor: Svante Signell
Data:  
Para: Didier Kryn
CC: dng@lists.dyne.org
Assunto: Re: [DNG] howto wifi roaming [was Re: Systemd Shims]
On Wed, 2015-08-19 at 12:03 +0200, Didier Kryn wrote:
> Le 19/08/2015 01:37, Isaac Dunham a écrit :
> > On Tue, Aug 18, 2015 at 02:19:20PM +0200, Didier Kryn wrote:
> >> Le 18/08/2015 12:49, Edward Bartolo a écrit :
> >>> At the moment I am stuck trying to use sudo to run ifup from within my
> >>> frontend.
> >>      Just in case, here are a few things I know about wpa_supplicant:

> >>
> >>       wpa_supplicant does ifups automatically when it connects to a wifi
> >> station. If an interface name is not specified in wpa_supplicant.conf, in
> >> the proper section of this station, it ifups the interface named "default".

> >>
> >>      Therefore you shouldn't ifup yourself. You only need to fill the
> >> configuration files, wpa_supplicant.conf, via the control socket and
> >> interfaces by some method probably involving sudo.
> > I've not been able to figure out what that would look like.
> > Could you give a sample wpa_supplicant.conf and /etc/network/interfaces?

...

I only have /etc/network/interfaces populated:
auto ra0
iface ra0 inet dhcp
wpa-driver wext
wpa-ssid xxxxx
wpa-psk yyyyyy

And wpa_supplicant runs as:
/sbin/wpa_supplicant -s -B -P /run/wpa_supplicant.ra0.pid -i ra0 -D wext
-C /run/wpa_supplicant

wicd-daemon is also running with it's own configuration files. Dunno if
it has any effect on the wireless connection, I normally use ifup/ifdown
ra0 and similar for eth0.

/usr/share/wicd/daemon/{wicd-daemon.py, monitor.py, wicd-client.py
--tray}