Re: Ad-Hoc network creation took too long, failing activation
Dan? ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Ad-Hoc network creation took too long, failing activation
- /etc/wpa_supplicant/wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="MT7601U(mt7601Usta)" mode=1 psk="passphrase" } - wpa_supplicant -ddtu -i ra0 -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext 1413068399.834805: wpa_supplicant v2.0 1413068399.835376: random: Trying to read entropy from /dev/random 1413068399.837104: dbus: Register D-Bus object '/fi/w1/wpa_supplicant1' 1413068399.838144: Providing DBus service 'fi.w1.wpa_supplicant1'. 1413068399.838572: Providing DBus service 'fi.epitest.hostap.WPASupplicant'. 1413068399.838586: Successfully initialized wpa_supplicant 1413068399.838593: Initializing interface 'ra0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' 1413068399.838601: Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf' 1413068399.838614: Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' 1413068399.853312: ctrl_interface='/var/run/wpa_supplicant' 1413068399.853374: ctrl_interface_group='wheel' 1413068399.853396: Line: 4 - start of a new network block 1413068399.853421: ssid - hexdump_ascii(len=19): 4d 54 37 36 30 31 55 28 6d 74 37 36 30 31 55 73 MT7601U(mt7601Us 74 61 29 ta) 1413068399.853503: mode=1 (0x1) 1413068399.853524: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED] 1413068399.867726: PSK (from passphrase) - hexdump(len=32): [REMOVED] 1413068399.867756: Priority group 0 1413068399.867762:id=0 ssid='MT7601U(mt7601Usta)' 1413068399.867860: SIOCGIWRANGE: WE(compiled)=22 WE(source)=14 enc_capa=0xf 1413068399.867883: capabilities: key_mgmt 0xf enc 0x1f flags 0x0 1413068399.867915: netlink: Operstate: linkmode=1, operstate=5 1413068399.868027: ra0: Own MAC address: 00:11:22:33:44:55 1413068399.868040: wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 1413068399.868680: wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 1413068399.869304: wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 1413068399.869927: wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 1413068399.870551: wpa_driver_wext_set_countermeasures 1413068399.870567: ra0: RSN: flushing PMKID list in the driver 1413068399.870575: ra0: Setting scan request: 0 sec 10 usec 1413068399.870585: WPS: Set UUID for interface ra0 1413068399.870594: WPS: UUID based on MAC address - hexdump(len=16): ... 1413068399.872662: EAPOL: SUPP_PAE entering state DISCONNECTED 1413068399.872683: EAPOL: Supplicant port status: Unauthorized 1413068399.872689: EAPOL: KEY_RX entering state NO_KEY_RECEIVE 1413068399.872696: EAPOL: SUPP_BE entering state INITIALIZE 1413068399.872702: EAP: EAP entering state DISABLED 1413068399.872708: EAPOL: Supplicant port status: Unauthorized 1413068399.872714: EAPOL: Supplicant port status: Unauthorized 1413068399.872922: ctrl_interface_group=10 (from group name 'wheel') 1413068399.872968: dbus: Register interface object '/fi/w1/wpa_supplicant1/Interfaces/1' 1413068399.873406: dbus: Register network object '/fi/w1/wpa_supplicant1/Interfaces/1/Networks/0' 1413068399.873486: ra0: Added interface ra0 1413068399.873499: ra0: State: DISCONNECTED -> DISCONNECTED 1413068399.873506: wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 1413068399.873514: netlink: Operstate: linkmode=-1, operstate=5 1413068399.873547: random: Got 20/20 bytes from /dev/random 1413068399.873586: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1) 1413068399.873642: RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) 1413068399.873655: RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added 1413068399.873672: WEXT: if_removed already cleared - ignore event 1413068399.873679: Wireless event: cmd=0x8b06 len=12 1413068399.873686: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 1413068399.873693: RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added 1413068399.873704: WEXT: if_removed already cleared - ignore event 1413068399.970796: ra0: State: DISCONNECTED -> SCANNING 1413068399.970979: ra0: Starting AP scan for wildcard SSID 1413068399.971100: Scan requested (ret=0) - scan timeout 10 seconds 1413068399.976088: dbus: flush_object_timeout_handler: Timeout - sending changed properties of object /fi/w1/wpa_supplicant1/Interfaces/1 1413068400.873683: EAPOL: disable timer tick 1413068400.873715: EAPOL: Supplicant port status: Unauthorized 1413068402.068911: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 1413068402.068954: RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added 1413068402.069000: WEXT: if_removed already cleared - ignore event 1413068402.069009: Wireless event: cmd=0x8b19 len=16 1413068402.069030: ra0: Event SCAN_RESULTS (3) received 1413068402.069251: Received 3632 bytes of scan results (17 BSSes) 1413068402.069295: ra0: BSS: Start scan res
Re: Ad-Hoc network creation took too long, failing activation
- /etc/wpa_supplicant/wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="RTL8188SU(r8712u)" mode=1 psk="passphrase" } - wpa_supplicant -ddtu -i wlp0s4f1u3 -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext 1413042118.189050: wpa_supplicant v2.0 1413042118.189804: random: Trying to read entropy from /dev/random 1413042118.192454: dbus: Register D-Bus object '/fi/w1/wpa_supplicant1' 1413042118.192769: Providing DBus service 'fi.w1.wpa_supplicant1'. 1413042118.192979: Providing DBus service 'fi.epitest.hostap.WPASupplicant'. 1413042118.193032: Successfully initialized wpa_supplicant 1413042118.193042: Initializing interface 'wlp0s4f1u3' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' 1413042118.193052: Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf' 1413042118.193067: Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' 1413042118.193099: ctrl_interface='/var/run/wpa_supplicant' 1413042118.193108: ctrl_interface_group='wheel' 1413042118.193115: Line: 4 - start of a new network block 1413042118.193125: ssid - hexdump_ascii(len=17): 52 54 4c 38 31 38 38 53 55 28 72 38 37 31 32 75 RTL8188SU(r8712u 29) 1413042118.193153: mode=1 (0x1) 1413042118.193161: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED] 1413042118.206774: PSK (from passphrase) - hexdump(len=32): [REMOVED] 1413042118.206803: Priority group 0 1413042118.206809:id=0 ssid='RTL8188SU(r8712u)' 1413042118.998803: SIOCGIWRANGE: WE(compiled)=22 WE(source)=16 enc_capa=0xf 1413042118.998831: capabilities: key_mgmt 0xf enc 0x1f flags 0x0 1413042118.998956: netlink: Operstate: linkmode=1, operstate=5 1413042119.008481: wlp0s4f1u3: Own MAC address: 00:11:22:33:44:55 1413042119.008511: wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 1413042119.008532: wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 1413042119.008563: wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 1413042119.008574: wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 1413042119.008585: wpa_driver_wext_set_countermeasures 1413042119.008596: wlp0s4f1u3: RSN: flushing PMKID list in the driver 1413042119.008612: wlp0s4f1u3: Setting scan request: 0 sec 10 usec 1413042119.008644: WPS: Set UUID for interface wlp0s4f1u3 1413042119.008666: WPS: UUID based on MAC address - hexdump(len=16): ... 1413042119.015477: EAPOL: SUPP_PAE entering state DISCONNECTED 1413042119.015494: EAPOL: Supplicant port status: Unauthorized 1413042119.015501: EAPOL: KEY_RX entering state NO_KEY_RECEIVE 1413042119.015507: EAPOL: SUPP_BE entering state INITIALIZE 1413042119.015514: EAP: EAP entering state DISABLED 1413042119.015519: EAPOL: Supplicant port status: Unauthorized 1413042119.015525: EAPOL: Supplicant port status: Unauthorized 1413042119.016089: ctrl_interface_group=10 (from group name 'wheel') 1413042119.016199: dbus: Register interface object '/fi/w1/wpa_supplicant1/Interfaces/1' 1413042119.017004: dbus: Register network object '/fi/w1/wpa_supplicant1/Interfaces/1/Networks/0' 1413042119.017251: wlp0s4f1u3: Added interface wlp0s4f1u3 1413042119.017265: wlp0s4f1u3: State: DISCONNECTED -> DISCONNECTED 1413042119.017274: wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 1413042119.017283: netlink: Operstate: linkmode=-1, operstate=5 1413042119.017434: random: Got 20/20 bytes from /dev/random 1413042119.017536: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1) 1413042119.017683: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) 1413042119.017704: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlp0s4f1u3' added 1413042119.017739: WEXT: if_removed already cleared - ignore event 1413042119.017751: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) 1413042119.017759: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlp0s4f1u3' added 1413042119.017776: WEXT: if_removed already cleared - ignore event 1413042119.017783: Wireless event: cmd=0x8b06 len=12 1413042119.017792: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) 1413042119.017800: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlp0s4f1u3' added 1413042119.017815: WEXT: if_removed already cleared - ignore event 1413042119.017822: Wireless event: cmd=0x8b1a len=48 1413042119.108783: wlp0s4f1u3: State: DISCONNECTED -> SCANNING 1413042119.108934: wlp0s4f1u3: Starting AP scan for wildcard SSID 1413042119.109001: Scan requested (ret=0) - scan timeout 10 seconds 1413042119.114063: dbus: flush_object_timeout_handler: Timeout - sending changed properties of object /fi/w1/wpa_supplicant1/Interfaces/1 1413042120.016498: EAPOL: disable timer tick 1413042120.016514: EAPOL: Supplicant port status: Unauthorized 1413042129.109161: Scan timeout - try to get results 1413042129.109204: wlp0s4f1u3: Event SCAN_RESULTS (3) receiv
Re: Ad-Hoc network creation took too long, failing activation
- /etc/sysconfig/wpa_supplicant: # Use the flag "-i" before each of your interfaces, like so: # INTERFACES="-ieth1 -iwlan0" INTERFACES="" # Use the flag "-D" before each driver, like so: # DRIVERS="-Dwext" DRIVERS="" # Other arguments # -u Enable the D-Bus interface (required for use with NetworkManager) # -f Log to /var/log/wpa_supplicant.log # -P Write pid file to /var/run/wpa_supplicant.pid #required to return proper codes by init scripts (e.g. double "start" action) #-B to daemonize that has to be used together with -P is already in wpa_supplicant.init.d OTHER_ARGS="-ddtu -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid" - /var/log/wpa_supplicant.log: 1412987511.201071: wpa_supplicant v2.0 1412987511.201797: random: Trying to read entropy from /dev/random 1412987511.203564: dbus: Register D-Bus object '/fi/w1/wpa_supplicant1' 1412987511.204830: Providing DBus service 'fi.w1.wpa_supplicant1'. 1412987511.205753: Providing DBus service 'fi.epitest.hostap.WPASupplicant'. 1412987511.205777: Successfully initialized wpa_supplicant 1412987511.205794: random: Got 20/20 bytes from /dev/random 1412987511.205983: dbus: fi.w1.wpa_supplicant1.CreateInterface (/fi/w1/wpa_supplicant1) 1412987511.206002: Initializing interface 'wlp0s4f1u3' conf 'N/A' driver 'nl80211,wext' ctrl_interface 'N/A' bridge 'N/A' 1412987511.206504: Could not open file /sys/class/net/wlp0s4f1u3/phy80211/name: No such file or directory 1412987511.206555: nl80211: Set mode ifindex 5 iftype 2 (STATION) 1412987511.206574: nl80211: Failed to set interface 5 to mode 2: -19 (No such device) 1412987511.206582: nl80211: Could not configure driver to use managed mode 1412987511.206589: netlink: Operstate: linkmode=0, operstate=6 1412987511.407292: nl80211: Set mode ifindex 5 iftype 2 (STATION) 1412987511.407392: nl80211: Failed to set interface 5 to mode 2: -19 (No such device) 1412987511.407421: wlp0s4f1u3: Failed to initialize driver interface - try next driver wrapper 1412987511.509975: SIOCGIWRANGE: WE(compiled)=22 WE(source)=16 enc_capa=0xf 1412987511.510019: capabilities: key_mgmt 0xf enc 0x1f flags 0x0 1412987511.510142: netlink: Operstate: linkmode=1, operstate=5 1412987511.519245: wlp0s4f1u3: Own MAC address: 00:11:22:33:44:55 1412987511.519289: wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 1412987511.519317: wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 1412987511.519339: wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 1412987511.519359: wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 1412987511.519379: wpa_driver_wext_set_countermeasures 1412987511.519401: wlp0s4f1u3: RSN: flushing PMKID list in the driver 1412987511.519425: wlp0s4f1u3: State: DISCONNECTED -> INACTIVE 1412987511.519518: WPS: Set UUID for interface wlp0s4f1u3 1412987511.519597: WPS: UUID based on MAC address - hexdump(len=16): ... 1412987511.572800: EAPOL: SUPP_PAE entering state DISCONNECTED 1412987511.572840: EAPOL: Supplicant port status: Unauthorized 1412987511.572856: EAPOL: KEY_RX entering state NO_KEY_RECEIVE 1412987511.572870: EAPOL: SUPP_BE entering state INITIALIZE 1412987511.572886: EAP: EAP entering state DISABLED 1412987511.572900: EAPOL: Supplicant port status: Unauthorized 1412987511.572915: EAPOL: Supplicant port status: Unauthorized 1412987511.572967: dbus: Register interface object '/fi/w1/wpa_supplicant1/Interfaces/1' 1412987511.573341: wlp0s4f1u3: Added interface wlp0s4f1u3 1412987511.573368: wlp0s4f1u3: State: INACTIVE -> DISCONNECTED 1412987511.573384: wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 1412987511.573401: netlink: Operstate: linkmode=-1, operstate=5 1412987511.573815: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1) 1412987511.573987: nl80211: Ignore event for foreign ifindex 5 1412987511.574016: nl80211: Ignore event for foreign ifindex 5 1412987511.574034: nl80211: Ignore event for foreign ifindex 3 1412987511.574051: nl80211: Ignore event for foreign ifindex 5 1412987511.574101: nl80211: Ignore event for foreign ifindex 5 1412987511.574109: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) 1412987511.574116: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlp0s4f1u3' added 1412987511.574133: WEXT: if_removed already cleared - ignore event 1412987511.574141: Ignore event for foreign ifindex 3 1412987511.574148: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) 1412987511.574155: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlp0s4f1u3' added 1412987511.574164: WEXT: if_removed already cleared - ignore event 1412987511.574170: Wireless event: cmd=0x8b06 len=8 1412987511.574178: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) 1412987511.574184: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlp0s4f1u3' added 1412987511.574203: WEXT: if_removed already cleared - ignore event 1412987511.574209: Wireless event: cmd=0x8b1a len=40 1412987511.574975: dbus: org.freedesktop.DBus.Properties.GetAll
Re: Ad-Hoc network creation took too long, failing activation
On Thu, 2014-10-09 at 00:24 +0200, poma wrote: > On 08.10.2014 20:31, Dan Williams wrote: > > On Wed, 2014-10-08 at 00:10 +0200, poma wrote: > >> Starting Network Manager... > >> NetworkManager (version 0.9.10.0-5.git20140704.fc21) is starting... > >> WEXT support is enabled > >> WiFi hardware radio set enabled > >> Loaded device plugin: > >> /usr/lib/NetworkManager/libnm-device-plugin-wifi.so > >> WiFi enabled by radio killswitch; enabled by state file > >> Networking is enabled by state file > >> Started Network Manager. > >> (ra0): driver does not support SSID scans (scan_capa 0x00). > >> (ra0): using WEXT for WiFi device control > >> (ra0): new 802.11 WiFi device (driver: 'usb' ifindex: 5) > >> (ra0): exported as /org/freedesktop/NetworkManager/Devices/4 > >> (ra0): device state change: unmanaged -> unavailable (reason > >> 'managed') [10 20 2] > >> (ra0): preparing device > >> (ra0): error 100 getting card mode > >> [1412709645.317223] [platform/wifi/wifi-utils-wext.c:160] > >> wifi_wext_set_mode(): (ra0): error setting mode 2 > > > > Ugh, looks like you're using WEXT, which is historically quite > > problematic because different drivers expected different sequences of > > WEXT requests. Any driver that uses WEXT and is not upstream is > > automatically suspect, unfortunately... > > > >> wpa_supplicant started > >> (ra0) supports 1 scan SSIDs > >> (ra0): supplicant interface state: starting -> ready > >> (ra0): device state change: unavailable -> disconnected (reason > >> 'supplicant-available') [20 30 42] > >> (ra0): supplicant interface state: ready -> disconnected > >> (ra0) supports 1 scan SSIDs > >> startup complete > >> (ra0): supplicant interface state: disconnected -> inactive > >> ... > >> (ra0): disconnecting for new activation request. > >> (ra0): device state change: activated -> deactivating (reason > >> 'none') [100 110 0] > >> NetworkManager state is now DISCONNECTING > >> (ra0): device state change: deactivating -> disconnected (reason > >> 'none') [110 30 0] > >> (ra0): deactivating device (reason 'none') [0] > >> (ra0): canceled DHCP transaction, DHCP client pid 1144 > >> NetworkManager state is now DISCONNECTED > >> Activation (ra0) starting connection 'bla' > >> Activation (ra0) Stage 1 of 5 (Device Prepare) scheduled... > >> Connection disconnected (reason -3) > >> (ra0): supplicant interface state: completed -> disconnected > >> Activation (ra0) Stage 1 of 5 (Device Prepare) started... > >> (ra0): device state change: disconnected -> prepare (reason 'none') > >> [30 40 0] > >> NetworkManager state is now CONNECTING > >> Activation (ra0) Stage 2 of 5 (Device Configure) scheduled... > >> Activation (ra0) Stage 1 of 5 (Device Prepare) complete. > >> Activation (ra0) Stage 2 of 5 (Device Configure) starting... > >> (ra0): device state change: prepare -> config (reason 'none') [40 > >> 50 0] > >> Activation (ra0/wireless): connection 'bla' has security, and > >> secrets exist. No new secrets needed. > >> Config: added 'ssid' value 'bla' > >> Config: added 'mode' value '1' > >> Config: added 'frequency' value '2412' > >> Config: added 'key_mgmt' value 'NONE' > >> Config: added 'auth_alg' value 'OPEN' > >> Config: added 'wep_key0' value '' > >> Config: added 'wep_tx_keyidx' value '0' > >> Activation (ra0) Stage 2 of 5 (Device Configure) complete. > >> Config: set interface ap_scan to 2 > >> (ra0): supplicant interface state: disconnected -> associating > >> Activation (ra0/wireless): Ad-Hoc network creation took too long, > >> failing activation. > > > > The driver did not emit the SIOCGIWAP event, indicating that it had > > successfully completed Ad-Hoc AP setup. This is a driver bug. > > > >> (ra0): device state change: config -> failed (reason > >> 'supplicant-timeout') [50 120 11] > >> NetworkManager state is now DISCONNECTED > >> Activation (ra0) failed for connection 'bla' > >> Connection disconnected (reason -3) >
Re: Ad-Hoc network creation took too long, failing activation
On 08.10.2014 20:31, Dan Williams wrote: > On Wed, 2014-10-08 at 00:10 +0200, poma wrote: >> Starting Network Manager... >> NetworkManager (version 0.9.10.0-5.git20140704.fc21) is starting... >> WEXT support is enabled >> WiFi hardware radio set enabled >> Loaded device plugin: >> /usr/lib/NetworkManager/libnm-device-plugin-wifi.so >> WiFi enabled by radio killswitch; enabled by state file >> Networking is enabled by state file >> Started Network Manager. >> (ra0): driver does not support SSID scans (scan_capa 0x00). >> (ra0): using WEXT for WiFi device control >> (ra0): new 802.11 WiFi device (driver: 'usb' ifindex: 5) >> (ra0): exported as /org/freedesktop/NetworkManager/Devices/4 >> (ra0): device state change: unmanaged -> unavailable (reason >> 'managed') [10 20 2] >> (ra0): preparing device >> (ra0): error 100 getting card mode >> [1412709645.317223] [platform/wifi/wifi-utils-wext.c:160] >> wifi_wext_set_mode(): (ra0): error setting mode 2 > > Ugh, looks like you're using WEXT, which is historically quite > problematic because different drivers expected different sequences of > WEXT requests. Any driver that uses WEXT and is not upstream is > automatically suspect, unfortunately... > >> wpa_supplicant started >> (ra0) supports 1 scan SSIDs >> (ra0): supplicant interface state: starting -> ready >> (ra0): device state change: unavailable -> disconnected (reason >> 'supplicant-available') [20 30 42] >> (ra0): supplicant interface state: ready -> disconnected >> (ra0) supports 1 scan SSIDs >> startup complete >> (ra0): supplicant interface state: disconnected -> inactive >> ... >> (ra0): disconnecting for new activation request. >> (ra0): device state change: activated -> deactivating (reason 'none') >> [100 110 0] >> NetworkManager state is now DISCONNECTING >> (ra0): device state change: deactivating -> disconnected (reason >> 'none') [110 30 0] >> (ra0): deactivating device (reason 'none') [0] >> (ra0): canceled DHCP transaction, DHCP client pid 1144 >> NetworkManager state is now DISCONNECTED >> Activation (ra0) starting connection 'bla' >> Activation (ra0) Stage 1 of 5 (Device Prepare) scheduled... >> Connection disconnected (reason -3) >> (ra0): supplicant interface state: completed -> disconnected >> Activation (ra0) Stage 1 of 5 (Device Prepare) started... >> (ra0): device state change: disconnected -> prepare (reason 'none') >> [30 40 0] >> NetworkManager state is now CONNECTING >> Activation (ra0) Stage 2 of 5 (Device Configure) scheduled... >> Activation (ra0) Stage 1 of 5 (Device Prepare) complete. >> Activation (ra0) Stage 2 of 5 (Device Configure) starting... >> (ra0): device state change: prepare -> config (reason 'none') [40 50 >> 0] >> Activation (ra0/wireless): connection 'bla' has security, and secrets >> exist. No new secrets needed. >> Config: added 'ssid' value 'bla' >> Config: added 'mode' value '1' >> Config: added 'frequency' value '2412' >> Config: added 'key_mgmt' value 'NONE' >> Config: added 'auth_alg' value 'OPEN' >> Config: added 'wep_key0' value '' >> Config: added 'wep_tx_keyidx' value '0' >> Activation (ra0) Stage 2 of 5 (Device Configure) complete. >> Config: set interface ap_scan to 2 >> (ra0): supplicant interface state: disconnected -> associating >> Activation (ra0/wireless): Ad-Hoc network creation took too long, >> failing activation. > > The driver did not emit the SIOCGIWAP event, indicating that it had > successfully completed Ad-Hoc AP setup. This is a driver bug. > >> (ra0): device state change: config -> failed (reason >> 'supplicant-timeout') [50 120 11] >> NetworkManager state is now DISCONNECTED >> Activation (ra0) failed for connection 'bla' >> Connection disconnected (reason -3) >> (ra0): supplicant interface state: associating -> disconnected >> (ra0): device state change: failed -> disconnected (reason 'none') >> [120 30 0] >> (ra0): deactivating device (reason 'none') [0] >> (ra0): error 100 getting card mode >> [1412717534.522258] [platform/wifi/wifi-utils-wext.c:160] >> wifi_wext_set_mode(): (ra0): error setting mode 2 >> >> >> IBSS works via
Re: Ad-Hoc network creation took too long, failing activation
On Wed, 2014-10-08 at 00:10 +0200, poma wrote: > Starting Network Manager... > NetworkManager (version 0.9.10.0-5.git20140704.fc21) is starting... > WEXT support is enabled > WiFi hardware radio set enabled > Loaded device plugin: > /usr/lib/NetworkManager/libnm-device-plugin-wifi.so > WiFi enabled by radio killswitch; enabled by state file > Networking is enabled by state file > Started Network Manager. > (ra0): driver does not support SSID scans (scan_capa 0x00). > (ra0): using WEXT for WiFi device control > (ra0): new 802.11 WiFi device (driver: 'usb' ifindex: 5) > (ra0): exported as /org/freedesktop/NetworkManager/Devices/4 > (ra0): device state change: unmanaged -> unavailable (reason > 'managed') [10 20 2] > (ra0): preparing device > (ra0): error 100 getting card mode > [1412709645.317223] [platform/wifi/wifi-utils-wext.c:160] > wifi_wext_set_mode(): (ra0): error setting mode 2 Ugh, looks like you're using WEXT, which is historically quite problematic because different drivers expected different sequences of WEXT requests. Any driver that uses WEXT and is not upstream is automatically suspect, unfortunately... > wpa_supplicant started > (ra0) supports 1 scan SSIDs > (ra0): supplicant interface state: starting -> ready > (ra0): device state change: unavailable -> disconnected (reason > 'supplicant-available') [20 30 42] > (ra0): supplicant interface state: ready -> disconnected > (ra0) supports 1 scan SSIDs > startup complete > (ra0): supplicant interface state: disconnected -> inactive > ... > (ra0): disconnecting for new activation request. > (ra0): device state change: activated -> deactivating (reason 'none') > [100 110 0] > NetworkManager state is now DISCONNECTING > (ra0): device state change: deactivating -> disconnected (reason > 'none') [110 30 0] > (ra0): deactivating device (reason 'none') [0] > (ra0): canceled DHCP transaction, DHCP client pid 1144 > NetworkManager state is now DISCONNECTED > Activation (ra0) starting connection 'bla' > Activation (ra0) Stage 1 of 5 (Device Prepare) scheduled... > Connection disconnected (reason -3) > (ra0): supplicant interface state: completed -> disconnected > Activation (ra0) Stage 1 of 5 (Device Prepare) started... > (ra0): device state change: disconnected -> prepare (reason 'none') > [30 40 0] > NetworkManager state is now CONNECTING > Activation (ra0) Stage 2 of 5 (Device Configure) scheduled... > Activation (ra0) Stage 1 of 5 (Device Prepare) complete. > Activation (ra0) Stage 2 of 5 (Device Configure) starting... > (ra0): device state change: prepare -> config (reason 'none') [40 50 0] > Activation (ra0/wireless): connection 'bla' has security, and secrets > exist. No new secrets needed. > Config: added 'ssid' value 'bla' > Config: added 'mode' value '1' > Config: added 'frequency' value '2412' > Config: added 'key_mgmt' value 'NONE' > Config: added 'auth_alg' value 'OPEN' > Config: added 'wep_key0' value '' > Config: added 'wep_tx_keyidx' value '0' > Activation (ra0) Stage 2 of 5 (Device Configure) complete. > Config: set interface ap_scan to 2 > (ra0): supplicant interface state: disconnected -> associating > Activation (ra0/wireless): Ad-Hoc network creation took too long, > failing activation. The driver did not emit the SIOCGIWAP event, indicating that it had successfully completed Ad-Hoc AP setup. This is a driver bug. > (ra0): device state change: config -> failed (reason > 'supplicant-timeout') [50 120 11] > NetworkManager state is now DISCONNECTED > Activation (ra0) failed for connection 'bla' > Connection disconnected (reason -3) > (ra0): supplicant interface state: associating -> disconnected > (ra0): device state change: failed -> disconnected (reason 'none') > [120 30 0] > (ra0): deactivating device (reason 'none') [0] > (ra0): error 100 getting card mode > [1412717534.522258] [platform/wifi/wifi-utils-wext.c:160] > wifi_wext_set_mode(): (ra0): error setting mode 2 > > > IBSS works via Wicd although not reliable. > BTW AP/WPA2, is it possible at all? NM supports AP mode if wpa_supplicant supports it on the device, but given the information you've provided here, the driver looks very fragile and I wouldn't expect it to work. WPA2 may be possible, but again the driver is quite suspect. The driver is just bad, I'm afraid... Dan ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list
Ad-Hoc network creation took too long, failing activation
Starting Network Manager... NetworkManager (version 0.9.10.0-5.git20140704.fc21) is starting... WEXT support is enabled WiFi hardware radio set enabled Loaded device plugin: /usr/lib/NetworkManager/libnm-device-plugin-wifi.so WiFi enabled by radio killswitch; enabled by state file Networking is enabled by state file Started Network Manager. (ra0): driver does not support SSID scans (scan_capa 0x00). (ra0): using WEXT for WiFi device control (ra0): new 802.11 WiFi device (driver: 'usb' ifindex: 5) (ra0): exported as /org/freedesktop/NetworkManager/Devices/4 (ra0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2] (ra0): preparing device (ra0): error 100 getting card mode [1412709645.317223] [platform/wifi/wifi-utils-wext.c:160] wifi_wext_set_mode(): (ra0): error setting mode 2 wpa_supplicant started (ra0) supports 1 scan SSIDs (ra0): supplicant interface state: starting -> ready (ra0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42] (ra0): supplicant interface state: ready -> disconnected (ra0) supports 1 scan SSIDs startup complete (ra0): supplicant interface state: disconnected -> inactive ... (ra0): disconnecting for new activation request. (ra0): device state change: activated -> deactivating (reason 'none') [100 110 0] NetworkManager state is now DISCONNECTING (ra0): device state change: deactivating -> disconnected (reason 'none') [110 30 0] (ra0): deactivating device (reason 'none') [0] (ra0): canceled DHCP transaction, DHCP client pid 1144 NetworkManager state is now DISCONNECTED Activation (ra0) starting connection 'bla' Activation (ra0) Stage 1 of 5 (Device Prepare) scheduled... Connection disconnected (reason -3) (ra0): supplicant interface state: completed -> disconnected Activation (ra0) Stage 1 of 5 (Device Prepare) started... (ra0): device state change: disconnected -> prepare (reason 'none') [30 40 0] NetworkManager state is now CONNECTING Activation (ra0) Stage 2 of 5 (Device Configure) scheduled... Activation (ra0) Stage 1 of 5 (Device Prepare) complete. Activation (ra0) Stage 2 of 5 (Device Configure) starting... (ra0): device state change: prepare -> config (reason 'none') [40 50 0] Activation (ra0/wireless): connection 'bla' has security, and secrets exist. No new secrets needed. Config: added 'ssid' value 'bla' Config: added 'mode' value '1' Config: added 'frequency' value '2412' Config: added 'key_mgmt' value 'NONE' Config: added 'auth_alg' value 'OPEN' Config: added 'wep_key0' value '' Config: added 'wep_tx_keyidx' value '0' Activation (ra0) Stage 2 of 5 (Device Configure) complete. Config: set interface ap_scan to 2 (ra0): supplicant interface state: disconnected -> associating Activation (ra0/wireless): Ad-Hoc network creation took too long, failing activation. (ra0): device state change: config -> failed (reason 'supplicant-timeout') [50 120 11] NetworkManager state is now DISCONNECTED Activation (ra0) failed for connection 'bla' Connection disconnected (reason -3) (ra0): supplicant interface state: associating -> disconnected (ra0): device state change: failed -> disconnected (reason 'none') [120 30 0] (ra0): deactivating device (reason 'none') [0] (ra0): error 100 getting card mode [1412717534.522258] [platform/wifi/wifi-utils-wext.c:160] wifi_wext_set_mode(): (ra0): error setting mode 2 IBSS works via Wicd although not reliable. BTW AP/WPA2, is it possible at all? poma ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list