Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #4183 > unrolled thread
| Started by | William Unruh <unruh@invalid.ca> |
|---|---|
| First post | 2018-08-20 19:34 +0000 |
| Last post | 2018-08-30 20:19 +0000 |
| Articles | 12 — 6 participants |
Back to article view | Back to comp.os.linux.networking
networking a real dog's breakfast William Unruh <unruh@invalid.ca> - 2018-08-20 19:34 +0000
Re: networking a real dog's breakfast Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-08-20 20:12 +0000
Re: networking a real dog's breakfast William Unruh <unruh@invalid.ca> - 2018-08-20 20:59 +0000
Re: networking a real dog's breakfast tom <tom@0.0.0.0> - 2018-08-27 21:19 -0700
Re: networking a real dog's breakfast Dan Purgert <dan@djph.net> - 2018-08-28 11:29 +0000
Re: networking a real dog's breakfast tom <tom@0.0.0.0> - 2018-11-25 18:43 -0800
Re: networking a real dog's breakfast Allodoxaphobia <knock_yourself_out@example.net> - 2018-08-28 13:31 +0000
Re: networking a real dog's breakfast Jerry Peters <jerry@example.invalid> - 2018-08-28 20:10 +0000
Re: networking a real dog's breakfast William Unruh <unruh@invalid.ca> - 2018-08-28 20:49 +0000
Re: networking a real dog's breakfast Jerry Peters <jerry@example.invalid> - 2018-08-29 20:21 +0000
Re: networking a real dog's breakfast William Unruh <unruh@invalid.ca> - 2018-08-29 23:29 +0000
Re: networking a real dog's breakfast Jerry Peters <jerry@example.invalid> - 2018-08-30 20:19 +0000
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2018-08-20 19:34 +0000 |
| Subject | networking a real dog's breakfast |
| Message-ID | <plf54j$sff$1@dont-email.me> |
Networking on Linux seems to be a bit of a mess. wpa_supplicant just randomly connects with an access point, ignoring all suggestions as to what it should connect to. Thus, if you have (like me) a /etc/wpa_supplicant.conf file, it will just randomly choose one of them to connect to, if it is available. It will also just connect to the a given SSID in random order, rather than connecting to say the BSSID with the strongest signal available ( as would be sensible) Thus it will connect to a flakey 30% signal strength BSSID rather than a 90% signal strength BSSID with the same SSID. iwlist craps out if there are too many BSSID available. When I am at airports, it is impossible to use the Network Center on Mageia, since it uses iwlist, and airports often have "too many" access points for iwlist (iw will list them, but it has a totally lunatic output format, and gives huge warnings that you should not screen scrape it-- and it has, as far as I can see, no other output.) Also iw seems not to work at all half the time, or if you happen to be connected to an access point, it will only give that one AP, when there another 50 available that it does not list. wpa_cli MUST have wpa_supplicant running when it tries to do anything. And all of them have woefully inadequate documentation, and ancient documentation. ( for example, wpa_supplicant documentation does not mention nl80211 driver, when that is now the strongly approved driver, all others being deprecated. )
[toc] | [next] | [standalone]
| From | Jorgen Grahn <grahn+nntp@snipabacken.se> |
|---|---|
| Date | 2018-08-20 20:12 +0000 |
| Message-ID | <slrnpnm86a.31ka.grahn+nntp@frailea.sa.invalid> |
| In reply to | #4183 |
On Mon, 2018-08-20, William Unruh wrote: > Networking on Linux seems to be a bit of a mess. At this point I prepared to disagree violently ... > wpa_supplicant just randomly [...] Oh, /wireless/ networking. That does indeed seem like a terrible mess. /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o .
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2018-08-20 20:59 +0000 |
| Message-ID | <plfa3j$sb9$1@dont-email.me> |
| In reply to | #4184 |
On 2018-08-20, Jorgen Grahn <grahn+nntp@snipabacken.se> wrote: > On Mon, 2018-08-20, William Unruh wrote: >> Networking on Linux seems to be a bit of a mess. > > At this point I prepared to disagree violently ... > >> wpa_supplicant just randomly [...] > > Oh, /wireless/ networking. That does indeed seem like a terrible > mess. Yes, I meant wireless. Sorry to not have been clearer. I do agree that wired networking seems to be fine.
[toc] | [prev] | [next] | [standalone]
| From | tom <tom@0.0.0.0> |
|---|---|
| Date | 2018-08-27 21:19 -0700 |
| Message-ID | <20180827211938.34e94705@viridi> |
| In reply to | #4184 |
On 20 Aug 2018 20:12:58 GMT
Jorgen Grahn <grahn+nntp@snipabacken.se> wrote:
> On Mon, 2018-08-20, William Unruh wrote:
> > Networking on Linux seems to be a bit of a mess.
>
> At this point I prepared to disagree violently ...
>
> > wpa_supplicant just randomly [...]
>
> Oh, /wireless/ networking. That does indeed seem like a terrible
> mess.
>
> /Jorgen
>
Just to be clear are we talking about eating dogs for breakfast or
what dogs eat for breakfast?
--
_________________________________________
/ I am tired of fighting...The old men \
| are all dead...The little children are |
| freezing to death. My people, some of |
| them, have run away to the hills and |
| have no blankets, no food. No one knows |
| where they are...Hear me, my Chiefs!! I |
| am tired: my heart is sick and sad. |
| From where the sun now stands, I will |
| fight no more. Chief Joseph, (Nez |
\ Perce) /
-----------------------------------------
\
\
/\ /\
//\\_//\\ ____
\_ _/ / /
/ * * \ /^^^]
\_\O/_/ [ ]
/ \_ [ /
\ \_ / /
[ [ / \/ _/
_[ [ \ /_/
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2018-08-28 11:29 +0000 |
| Message-ID | <slrnpoacgd.u91.dan@xps-linux.djph.net> |
| In reply to | #4209 |
tom wrote: > On 20 Aug 2018 20:12:58 GMT > Jorgen Grahn <grahn+nntp@snipabacken.se> wrote: > >> On Mon, 2018-08-20, William Unruh wrote: >> > Networking on Linux seems to be a bit of a mess. >> >> At this point I prepared to disagree violently ... >> >> > wpa_supplicant just randomly [...] >> >> Oh, /wireless/ networking. That does indeed seem like a terrible >> mess. >> >> /Jorgen >> > > Just to be clear are we talking about eating dogs for breakfast or > what dogs eat for breakfast? Hopefully the former. Neighbor's dog eats its own shit for breakfast... -- |_|O|_| Registered Linux user #585947 |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | tom <tom@0.0.0.0> |
|---|---|
| Date | 2018-11-25 18:43 -0800 |
| Message-ID | <20181125184320.7fb13104@viridi> |
| In reply to | #4211 |
On Tue, 28 Aug 2018 11:29:17 -0000 (UTC)
Dan Purgert <dan@djph.net> wrote:
> tom wrote:
> > On 20 Aug 2018 20:12:58 GMT
> > Jorgen Grahn <grahn+nntp@snipabacken.se> wrote:
> >
> >> On Mon, 2018-08-20, William Unruh wrote:
> >> > Networking on Linux seems to be a bit of a mess.
> >>
> >> At this point I prepared to disagree violently ...
> >>
> >> > wpa_supplicant just randomly [...]
> >>
> >> Oh, /wireless/ networking. That does indeed seem like a terrible
> >> mess.
> >>
> >> /Jorgen
> >>
> >
> > Just to be clear are we talking about eating dogs for breakfast or
> > what dogs eat for breakfast?
>
> Hopefully the former. Neighbor's dog eats its own shit for
> breakfast...
>
>
Oh man, that's probably very not healthy.
--
________________________________________
/ Air Family: \
| |
| Describes the false sense of community |
| experienced among coworkers in an |
| office environment. |
| |
| -- Douglas Coupland, "Generation X: |
| Tales for an Accelerated |
| |
\ Culture" /
----------------------------------------
\
\
/\ /\
//\\_//\\ ____
\_ _/ / /
/ * * \ /^^^]
\_\O/_/ [ ]
/ \_ [ /
\ \_ / /
[ [ / \/ _/
_[ [ \ /_/
[toc] | [prev] | [next] | [standalone]
| From | Allodoxaphobia <knock_yourself_out@example.net> |
|---|---|
| Date | 2018-08-28 13:31 +0000 |
| Message-ID | <slrnpoajma.1ler.knock_yourself_out@vps.jonz.net> |
| In reply to | #4209 |
On Mon, 27 Aug 2018 21:19:38 -0700, tom wrote: > On 20 Aug 2018 20:12:58 GMT > Jorgen Grahn <grahn+nntp@snipabacken.se> wrote: > >> On Mon, 2018-08-20, William Unruh wrote: >> > Networking on Linux seems to be a bit of a mess. >> >> At this point I prepared to disagree violently ... >> >> > wpa_supplicant just randomly [...] >> >> Oh, /wireless/ networking. That does indeed seem like a terrible >> mess. >> > > Just to be clear are we talking about eating dogs for breakfast or > what dogs eat for breakfast? Probably what the dog _had_ for breakfast -- post-processing...
[toc] | [prev] | [next] | [standalone]
| From | Jerry Peters <jerry@example.invalid> |
|---|---|
| Date | 2018-08-28 20:10 +0000 |
| Message-ID | <pm4a7g$6tv$1@dont-email.me> |
| In reply to | #4183 |
William Unruh <unruh@invalid.ca> wrote: > Networking on Linux seems to be a bit of a mess. > > wpa_supplicant just randomly connects with an access point, ignoring all > suggestions as to what it should connect to. Thus, if you have (like me) > a /etc/wpa_supplicant.conf file, it will just randomly choose one of > them to connect to, if it is available. > > It will also just connect to the a given SSID in random order, rather > than connecting to say the BSSID with the strongest signal available ( > as would be sensible) Thus it will connect to a flakey 30% signal > strength BSSID rather than a 90% signal strength BSSID with the same > SSID. > > iwlist craps out if there are too many BSSID available. When I am at > airports, it is impossible to use the Network Center on Mageia, since it > uses iwlist, and airports often have "too many" access points for iwlist > (iw will list them, but it has a totally lunatic output format, and > gives huge warnings that you should not screen scrape it-- and it has, > as far as I can see, no other output.) Also iw seems not to work at all > half the time, or if you happen to be connected to an access point, it > will only give that one AP, when there another 50 available that it does > not list. > wpa_cli MUST have wpa_supplicant running when it tries to do anything. > > And all of them have woefully inadequate documentation, and ancient > documentation. ( for example, wpa_supplicant documentation does not mention > nl80211 driver, when that is now the strongly approved driver, all > others being deprecated. ) Use networkmanager it will control wpa-supplicant & internally it uses the nl80211 interface. Wicd on the other hand, calls iwlist internally so in your case it'd be problematic. You also will need nm-applet to convienently set up each network.
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2018-08-28 20:49 +0000 |
| Message-ID | <pm4ch9$qq0$1@dont-email.me> |
| In reply to | #4213 |
On 2018-08-28, Jerry Peters <jerry@example.invalid> wrote: > William Unruh <unruh@invalid.ca> wrote: >> Networking on Linux seems to be a bit of a mess. >> >> wpa_supplicant just randomly connects with an access point, ignoring all >> suggestions as to what it should connect to. Thus, if you have (like me) >> a /etc/wpa_supplicant.conf file, it will just randomly choose one of >> them to connect to, if it is available. >> >> It will also just connect to the a given SSID in random order, rather >> than connecting to say the BSSID with the strongest signal available ( >> as would be sensible) Thus it will connect to a flakey 30% signal >> strength BSSID rather than a 90% signal strength BSSID with the same >> SSID. >> >> iwlist craps out if there are too many BSSID available. When I am at >> airports, it is impossible to use the Network Center on Mageia, since it >> uses iwlist, and airports often have "too many" access points for iwlist >> (iw will list them, but it has a totally lunatic output format, and >> gives huge warnings that you should not screen scrape it-- and it has, >> as far as I can see, no other output.) Also iw seems not to work at all >> half the time, or if you happen to be connected to an access point, it >> will only give that one AP, when there another 50 available that it does >> not list. >> wpa_cli MUST have wpa_supplicant running when it tries to do anything. >> >> And all of them have woefully inadequate documentation, and ancient >> documentation. ( for example, wpa_supplicant documentation does not mention >> nl80211 driver, when that is now the strongly approved driver, all >> others being deprecated. ) > > Use networkmanager it will control wpa-supplicant & internally it uses > the nl80211 interface. Wicd on the other hand, calls iwlist internally > so in your case it'd be problematic. > > You also will need nm-applet to convienently set up each network. I did try the network manager about 3 years ago for a while, and found it frustrating. When it worked it was fine. When it did not it was very hard to debug or to figure out how to fix it. network center (on Mageia) is much more configurable, but the person who wrote it is long gone, and the others seem to be leary/uncomforable at tackling it. It is not a well documented code at all (in perl), and is somewhat obscure. I think it eventually uses the ifup scripts to do the actual connecting. One problem is that wpa_supplicant itself is weird. For example it does not connect to the strongest signal for an SSID, but goes through trying the first one that reported, then if that does not work, the next, etc. Thus with one AP having strength 95% and another with 44%, it is as likely as not to connect to the weaker one, making the connection very flakey.
[toc] | [prev] | [next] | [standalone]
| From | Jerry Peters <jerry@example.invalid> |
|---|---|
| Date | 2018-08-29 20:21 +0000 |
| Message-ID | <pm6v94$fuf$1@dont-email.me> |
| In reply to | #4214 |
William Unruh <unruh@invalid.ca> wrote: > On 2018-08-28, Jerry Peters <jerry@example.invalid> wrote: >> William Unruh <unruh@invalid.ca> wrote: >>> Networking on Linux seems to be a bit of a mess. >>> >>> wpa_supplicant just randomly connects with an access point, ignoring all >>> suggestions as to what it should connect to. Thus, if you have (like me) >>> a /etc/wpa_supplicant.conf file, it will just randomly choose one of >>> them to connect to, if it is available. >>> >>> It will also just connect to the a given SSID in random order, rather >>> than connecting to say the BSSID with the strongest signal available ( >>> as would be sensible) Thus it will connect to a flakey 30% signal >>> strength BSSID rather than a 90% signal strength BSSID with the same >>> SSID. >>> >>> iwlist craps out if there are too many BSSID available. When I am at >>> airports, it is impossible to use the Network Center on Mageia, since it >>> uses iwlist, and airports often have "too many" access points for iwlist >>> (iw will list them, but it has a totally lunatic output format, and >>> gives huge warnings that you should not screen scrape it-- and it has, >>> as far as I can see, no other output.) Also iw seems not to work at all >>> half the time, or if you happen to be connected to an access point, it >>> will only give that one AP, when there another 50 available that it does >>> not list. >>> wpa_cli MUST have wpa_supplicant running when it tries to do anything. >>> >>> And all of them have woefully inadequate documentation, and ancient >>> documentation. ( for example, wpa_supplicant documentation does not mention >>> nl80211 driver, when that is now the strongly approved driver, all >>> others being deprecated. ) >> >> Use networkmanager it will control wpa-supplicant & internally it uses >> the nl80211 interface. Wicd on the other hand, calls iwlist internally >> so in your case it'd be problematic. >> >> You also will need nm-applet to convienently set up each network. > > I did try the network manager about 3 years ago for a while, and found > it frustrating. When it worked it was fine. When it did not it was very > hard to debug or to figure out how to fix it. network center (on Mageia) > is much more configurable, but the person who wrote it is long gone, and > the others seem to be leary/uncomforable at tackling it. It is not a > well documented code at all (in perl), and is somewhat obscure. I think > it eventually uses the ifup scripts to do the actual connecting. One > problem is that wpa_supplicant itself is weird. For example it does not > connect to the strongest signal for an SSID, but goes through trying the > first one that reported, then if that does not work, the next, etc. Thus > with one AP having strength 95% and another with 44%, it is as likely as > not to connect to the weaker one, making the connection very flakey. You might experiment with NM again, it's under continual development and there are significant changes between versions. One problem that I have with NM is that it's typical GNOME -- it assumes that its way of doing things is what everyone wants. I want dnsmasq to be a caching nameserver, and don't care about "split dns for vpn", so I use a wrapper script to ignore most of the args NM passes to dnsmasq so I can use it the way I want. Wicd is simpler, but again uses iwlist internally and doesn't seem to have a large developer base. NM also connects faster than wicd, probably related to using nl80211 directly rather than parsing iwlist output.
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2018-08-29 23:29 +0000 |
| Message-ID | <pm7a8u$kdl$1@dont-email.me> |
| In reply to | #4221 |
On 2018-08-29, Jerry Peters <jerry@example.invalid> wrote: > William Unruh <unruh@invalid.ca> wrote: >> On 2018-08-28, Jerry Peters <jerry@example.invalid> wrote: >>> William Unruh <unruh@invalid.ca> wrote: >>>> Networking on Linux seems to be a bit of a mess. >>>> >>>> wpa_supplicant just randomly connects with an access point, ignoring all >>>> suggestions as to what it should connect to. Thus, if you have (like me) >>>> a /etc/wpa_supplicant.conf file, it will just randomly choose one of >>>> them to connect to, if it is available. >>>> >>>> It will also just connect to the a given SSID in random order, rather >>>> than connecting to say the BSSID with the strongest signal available ( >>>> as would be sensible) Thus it will connect to a flakey 30% signal >>>> strength BSSID rather than a 90% signal strength BSSID with the same >>>> SSID. >>>> >>>> iwlist craps out if there are too many BSSID available. When I am at >>>> airports, it is impossible to use the Network Center on Mageia, since it >>>> uses iwlist, and airports often have "too many" access points for iwlist >>>> (iw will list them, but it has a totally lunatic output format, and >>>> gives huge warnings that you should not screen scrape it-- and it has, >>>> as far as I can see, no other output.) Also iw seems not to work at all >>>> half the time, or if you happen to be connected to an access point, it >>>> will only give that one AP, when there another 50 available that it does >>>> not list. >>>> wpa_cli MUST have wpa_supplicant running when it tries to do anything. >>>> >>>> And all of them have woefully inadequate documentation, and ancient >>>> documentation. ( for example, wpa_supplicant documentation does not mention >>>> nl80211 driver, when that is now the strongly approved driver, all >>>> others being deprecated. ) >>> >>> Use networkmanager it will control wpa-supplicant & internally it uses >>> the nl80211 interface. Wicd on the other hand, calls iwlist internally >>> so in your case it'd be problematic. >>> >>> You also will need nm-applet to convienently set up each network. >> >> I did try the network manager about 3 years ago for a while, and found >> it frustrating. When it worked it was fine. When it did not it was very >> hard to debug or to figure out how to fix it. network center (on Mageia) >> is much more configurable, but the person who wrote it is long gone, and >> the others seem to be leary/uncomforable at tackling it. It is not a >> well documented code at all (in perl), and is somewhat obscure. I think >> it eventually uses the ifup scripts to do the actual connecting. One >> problem is that wpa_supplicant itself is weird. For example it does not >> connect to the strongest signal for an SSID, but goes through trying the >> first one that reported, then if that does not work, the next, etc. Thus >> with one AP having strength 95% and another with 44%, it is as likely as >> not to connect to the weaker one, making the connection very flakey. > > You might experiment with NM again, it's under continual development > and there are significant changes between versions. One problem that I > have with NM is that it's typical GNOME -- it assumes that its way of > doing things is what everyone wants. I want dnsmasq to be a caching > nameserver, and don't care about "split dns for vpn", so I use a > wrapper script to ignore most of the args NM passes to dnsmasq so I > can use it the way I want. > > Wicd is simpler, but again uses iwlist internally and doesn't seem to > have a large developer base. NM also connects faster than wicd, > probably related to using nl80211 directly rather than parsing iwlist > output. If they use iw to read the APs then it is far more difficult to parse than is iwlist. (iwlist unfortuantely has a max buffer size too small for man locations). However, NM might use wpa_cli to read from wpa_supplicant the APs that are available. Not sure how to run wpa_supplicant so that it does not try to connect to anything but does actually scan all the APs, so wpa_cli can read them and then tell wpa_supplicant to connect to a certain one. Also, if you have many BSSIDs which have the same SSID name, does NM connect to the strongest one, or does it also randomly choose (well in order of actually receiving the scan, which is random with respect to the strength)? >
[toc] | [prev] | [next] | [standalone]
| From | Jerry Peters <jerry@example.invalid> |
|---|---|
| Date | 2018-08-30 20:19 +0000 |
| Message-ID | <pm9jh7$sub$1@dont-email.me> |
| In reply to | #4223 |
William Unruh <unruh@invalid.ca> wrote: > On 2018-08-29, Jerry Peters <jerry@example.invalid> wrote: >> William Unruh <unruh@invalid.ca> wrote: >>> On 2018-08-28, Jerry Peters <jerry@example.invalid> wrote: >>>> William Unruh <unruh@invalid.ca> wrote: >>>>> Networking on Linux seems to be a bit of a mess. >>>>> >>>>> wpa_supplicant just randomly connects with an access point, ignoring all >>>>> suggestions as to what it should connect to. Thus, if you have (like me) >>>>> a /etc/wpa_supplicant.conf file, it will just randomly choose one of >>>>> them to connect to, if it is available. >>>>> >>>>> It will also just connect to the a given SSID in random order, rather >>>>> than connecting to say the BSSID with the strongest signal available ( >>>>> as would be sensible) Thus it will connect to a flakey 30% signal >>>>> strength BSSID rather than a 90% signal strength BSSID with the same >>>>> SSID. >>>>> >>>>> iwlist craps out if there are too many BSSID available. When I am at >>>>> airports, it is impossible to use the Network Center on Mageia, since it >>>>> uses iwlist, and airports often have "too many" access points for iwlist >>>>> (iw will list them, but it has a totally lunatic output format, and >>>>> gives huge warnings that you should not screen scrape it-- and it has, >>>>> as far as I can see, no other output.) Also iw seems not to work at all >>>>> half the time, or if you happen to be connected to an access point, it >>>>> will only give that one AP, when there another 50 available that it does >>>>> not list. >>>>> wpa_cli MUST have wpa_supplicant running when it tries to do anything. >>>>> >>>>> And all of them have woefully inadequate documentation, and ancient >>>>> documentation. ( for example, wpa_supplicant documentation does not mention >>>>> nl80211 driver, when that is now the strongly approved driver, all >>>>> others being deprecated. ) >>>> >>>> Use networkmanager it will control wpa-supplicant & internally it uses >>>> the nl80211 interface. Wicd on the other hand, calls iwlist internally >>>> so in your case it'd be problematic. >>>> >>>> You also will need nm-applet to convienently set up each network. >>> >>> I did try the network manager about 3 years ago for a while, and found >>> it frustrating. When it worked it was fine. When it did not it was very >>> hard to debug or to figure out how to fix it. network center (on Mageia) >>> is much more configurable, but the person who wrote it is long gone, and >>> the others seem to be leary/uncomforable at tackling it. It is not a >>> well documented code at all (in perl), and is somewhat obscure. I think >>> it eventually uses the ifup scripts to do the actual connecting. One >>> problem is that wpa_supplicant itself is weird. For example it does not >>> connect to the strongest signal for an SSID, but goes through trying the >>> first one that reported, then if that does not work, the next, etc. Thus >>> with one AP having strength 95% and another with 44%, it is as likely as >>> not to connect to the weaker one, making the connection very flakey. >> >> You might experiment with NM again, it's under continual development >> and there are significant changes between versions. One problem that I >> have with NM is that it's typical GNOME -- it assumes that its way of >> doing things is what everyone wants. I want dnsmasq to be a caching >> nameserver, and don't care about "split dns for vpn", so I use a >> wrapper script to ignore most of the args NM passes to dnsmasq so I >> can use it the way I want. >> >> Wicd is simpler, but again uses iwlist internally and doesn't seem to >> have a large developer base. NM also connects faster than wicd, >> probably related to using nl80211 directly rather than parsing iwlist >> output. > > If they use iw to read the APs then it is far more difficult to parse > than is iwlist. (iwlist unfortuantely has a max buffer size too small > for man locations). However, NM might use wpa_cli to read from > wpa_supplicant the APs that are available. Not sure how to run > wpa_supplicant so that it does not try to connect to anything but does > actually scan all the APs, so wpa_cli can read them and then tell > wpa_supplicant to connect to a certain one. AFAIK NM uses nl80211 directly via netlink, not an external program like iw. There's also an option in wicd to use another python module instead of iwlist, but I have no idea what interface that module uses. > > Also, if you have many BSSIDs which have the same SSID name, does NM > connect to the strongest one, or does it also randomly choose (well in > order of actually receiving the scan, which is random with respect to > the strength)? Sorry, don't know, you'd have to experiment to find out, unless it's in the NM documentation. I just switched from wicd about 2 months ago when a kernel upgade broke iwlist for ath5k (now fixed, btw). Once I got used to NM I find that I like it better than wicd. A big reason is that it automatically reconnects after resume from hibernate or sleep, something wicd would do sporadically.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.networking
csiph-web