Re: NM 0.9.6 not setting up adhoc with static settings

On Mon, 2013-02-18 at 22:27 -0500, Hans-Christoph Steiner wrote:
I have a hard-coded adhoc network setup with a fixed ssid, channel, bssid, and
IPv4 address.  This profile works fine on Ubuntu/Precise (network-manager
v0.9.4.0-0ubuntu4) but fails on Ubuntu/quantal (network-manager
v0.9.6.0-0ubuntu7) .  On 0.9.6, it says its setting all those settings, but
then actually tries on channel 1 instead, and it dynamically generates a BSSID
rather than using the one in the config file that it said it was going to
load. Attached is the NM connection file and the log from syslog.

So check your system logs
(/var/log/messages, /var/log/NetworkManager, /var/log/daemon.log, etc)
and see what NM is sending to the supplicant.  You'll see something like

Config: added 'SSID' value 'foobar'

That'll tell you whether the problem is NM or the supplicant/kernel.
You should see both the channel you gave NM, the SSID, the BSSID, and
"mode 2" being sent to the supplicant.  You may not know, but the
supplicant and kernel drivers have great leeway in doing what they want
with BSSID.  Also beware that some newer drivers simply don't support
AdHoc mode (bcma for newer Broadcom cards, newest Intel devices).


Here's iwconfig:
eth0      IEEE 802.11abg  ESSID:""
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 9E:F3:90:CF:07:2B

The Ubuntu/Precise/12.04 machines have these wifis:
0b:00.0 Network controller: Atheros Communications Inc. AR5418 Wireless
Network Adapter [AR5008E 802.11(a)bgn] (PCI-Express) (rev 01)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x
Wireless Network Adapter (PCI-Express) (rev 01)

The Ubuntu/Quantal/12.10 machine has this wifi:
01:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

The idea here is to automatically attach to an OLSR mesh network, which
requires a fixed SSID, channel, and BSSID.  Any ideas how to make NM 0.9.6
work properly like NM 0.9.4?

networkmanager-list mailing list
networkmanager-list gnome org

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