NM doesn't handle two networks with same AP MAC Address?



I've got a D-Link A/B/G Access point that happens to use the
same MAC address for the "A" device _and_ the "B/G" device.
I have different network names for the two networks, "foo-a"
for the A network and "foo" for the b/g network.  Unfortunately
this confuses NM.

"iwlist ath0 scan" gives me:

ath0      Scan completed :
          Cell 01 - Address: 00:0F:3D:EE:5C:DC
                    ESSID:"foo-a"
                    Mode:Master
                    Frequency:5.32 GHz (Channel 64)
                    Quality=31/94  Signal level=-64 dBm  Noise level=-95 dBm
                    Encryption key:on
   ...
                    Extra:bcn_int=100
          Cell 02 - Address: 00:0F:3D:EE:5C:DC
                    ESSID:"foo"
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Quality=35/94  Signal level=-60 dBm  Noise level=-95 dBm
                    Encryption key:on
   ...

I'm connected to the foo-a network:

"iwconfig ath0"
ath0      IEEE 802.11a  ESSID:"foo-a"
          Mode:Managed  Frequency:5.32 GHz  Access Point: 00:0F:3D:EE:5C:DC
          Bit Rate:48 Mb/s   Tx-Power:50 dBm   Sensitivity=0/3

But when I mouse over the NMInfo Icon it (incorrectly) says:

   "Wireless network connection to 'foo' (20%)"

And if I left-click, "foo" is listed twice.

It feels like NM keeps track of APs solely by MAC Address instead of a
tuple of MAC Address and Frequency (which would clearly solve this
problem).  Suggestions?  Comments?

Internally it seems to be doing the right thing at some level.  nmtest
shows the following:

NM Status: 'connected'
Active device: '/org/freedesktop/NetworkManager/Devices/ath0'
Active device name: 'ath0'
Devices:
   /org/freedesktop/NetworkManager/Devices/eth0
       Device type: wired

   /org/freedesktop/NetworkManager/Devices/ath0
       Device type: wireless
       Strength: 17%
       Active Network: '/org/freedesktop/NetworkManager/Devices/ath0/Networks/foo-a'
       Networks:
           /org/freedesktop/NetworkManager/Devices/ath0/Networks/foo (foo) Strength: 36%
           /org/freedesktop/NetworkManager/Devices/ath0/Networks/foo-a (foo)  Strength: 36%
           /org/freedesktop/NetworkManager/Devices/ath0/Networks/unclemarcel (unclemarcel)  Strength: 6%
           /org/freedesktop/NetworkManager/Devices/ath0/Networks/WholeHealth (WholeHealth)  Strength: 12%
           /org/freedesktop/NetworkManager/Devices/ath0/Networks/Home wireless (Home wireless)  Strength: 7%

What I don't understand is why it's showing "foo (foo)" and "foo-a
(foo)".

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord MIT EDU                        PGP key available



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]