Re: rt3070sta not controllable with networkmanager
On Sat, 2011-02-05 at 22:00 -0800, Dan O'Connor wrote: > Can you clarify what I need to do in my driver's config.mk file? The > only reference to network manager I saw was the following: > > > > # Support Native WpaSupplicant for Network Maganger [sic] > HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y Correct, because only with that code does the following block happen: #ifdef NATIVE_WPA_SUPPLICANT_SUPPORT /* for supporting Network Manager. * Set the sysfs physical device reference for the network logical device if set prior to registration will * cause a symlink during initialization. */ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)) SET_NETDEV_DEV(net_dev, &(usb_dev->dev)); #endif #endif /* NATIVE_WPA_SUPPLICANT_SUPPORT */ Strong work, Ralink. At least they make the effort for cfg80211 support though. It eludes my why this is an option, since every other driver in the Linux kernel is expected to set up sysfs device links correctly. Dan > > > I have not tried the rt2x00 driver, the wiki main page does not > mention my card, but I guess it is similar enough that it should work? > > > > Thanks, > dan > > > On Sat, Feb 5, 2011 at 1:40 PM, Steev Klimaszewski > wrote: > On Fri, Feb 4, 2011 at 3:30 AM, Dan O'Connor > wrote: > > Greetings, > > > > I have an rt3070sta based wifi usb adapter. I've actually > got it working, > > but I have to manually connect it to the correct ap (using > ifconfig, > > iwconfig, and dhcpcd) and cannot use NetworkManager. When > starting > > NetworkManager --no-daemon I get the following output: > > NetworkManager: starting... > > NetworkManager: modem-manager is now available > > > > (NetworkManager:5268): GLib-CRITICAL **: g_error_free: > assertion `error != > > NULL' failed > > NetworkManager: Loaded plugin keyfile: (c) 2007 - 2008 Red > Hat, Inc. To > > report bugs please use the NetworkManager mailing list. > > NetworkManager: WiFi enabled by radio killswitch; > enabled by state > > file > > NetworkManager: WWAN enabled by radio killswitch; > enabled by state > > file > > NetworkManager: Ignoring insecure configuration file > > > > '/etc/NetworkManager/system-connections/.keep_net-misc_networkmanager-0' > > NetworkManager: (eth0): carrier is OFF > > NetworkManager: (eth0): new Ethernet device (driver: > 'r8169') > > NetworkManager: (eth0): exported as > > /org/freedesktop/NetworkManager/Devices/0 > > NetworkManager: (eth0): now managed > > NetworkManager: (eth0): device state change: 1 -> 2 > (reason 2) > > NetworkManager: (eth0): preparing device. > > NetworkManager: (eth0): deactivating device (reason: > 2). > > NetworkManager: Added default wired connection 'Auto eth0' > for > > /sys/devices/pci:00/:00:1c.6/:08:00.0/net/eth0 > > NetworkManager: > device_creator(): /sys/devices/virtual/net/ra0: > > couldn't determine device driver; ignoring... > > * status: started > > NetworkManager: default_adapter_cb(): bluez error > getting default > > adapter: The name org.bluez was not provided by any .service > files > > > > The only important/unexpected line as far as I can tell is > that it couldn't > > determine the device driver for ra0, my wifi device. It > seems odd to me that > > this device is in a "virtual" device folder, is that part of > the problem? > > I'm at a total loss as to how NetworkManager is expecting to > relate the > > device to its driver. > > > > The distro I'm using is Gentoo, and I configured the kernel > myself. I also > > compiled the wifi driver myself (even had to make some > modifications to get > > it to compile.. nothing major, just update some function > names and add a > > license tag). > > I'm not sure what other info would be helpful in solving > this problem, I > > will try to be prompt with any requests for more > information. > > > > Thanks, > > Dan O. > > > ___ > > networkmanager-list mailing list > > networkmanager-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/networkmanager-list > > > > > > You need to turn on Network Manager support in the config.mk > file. > Out of curiosity, is rt2x00 not working for you, or is it just > not > stable enough? > > ___ > network
Re: rt3070sta not controllable with networkmanager
Can you clarify what I need to do in my driver's config.mk file? The only reference to network manager I saw was the following: # Support Native WpaSupplicant for Network Maganger [sic] HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y I have not tried the rt2x00 driver, the wiki main page does not mention my card, but I guess it is similar enough that it should work? Thanks, dan On Sat, Feb 5, 2011 at 1:40 PM, Steev Klimaszewski wrote: > On Fri, Feb 4, 2011 at 3:30 AM, Dan O'Connor > wrote: > > Greetings, > > > > I have an rt3070sta based wifi usb adapter. I've actually got it working, > > but I have to manually connect it to the correct ap (using ifconfig, > > iwconfig, and dhcpcd) and cannot use NetworkManager. When starting > > NetworkManager --no-daemon I get the following output: > > NetworkManager: starting... > > NetworkManager: modem-manager is now available > > > > (NetworkManager:5268): GLib-CRITICAL **: g_error_free: assertion `error > != > > NULL' failed > > NetworkManager: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To > > report bugs please use the NetworkManager mailing list. > > NetworkManager: WiFi enabled by radio killswitch; enabled by state > > file > > NetworkManager: WWAN enabled by radio killswitch; enabled by state > > file > > NetworkManager: Ignoring insecure configuration file > > '/etc/NetworkManager/system-connections/.keep_net-misc_networkmanager-0' > > NetworkManager: (eth0): carrier is OFF > > NetworkManager: (eth0): new Ethernet device (driver: 'r8169') > > NetworkManager: (eth0): exported as > > /org/freedesktop/NetworkManager/Devices/0 > > NetworkManager: (eth0): now managed > > NetworkManager: (eth0): device state change: 1 -> 2 (reason 2) > > NetworkManager: (eth0): preparing device. > > NetworkManager: (eth0): deactivating device (reason: 2). > > NetworkManager: Added default wired connection 'Auto eth0' for > > /sys/devices/pci:00/:00:1c.6/:08:00.0/net/eth0 > > NetworkManager: device_creator(): /sys/devices/virtual/net/ra0: > > couldn't determine device driver; ignoring... > > * status: started > > NetworkManager: default_adapter_cb(): bluez error getting default > > adapter: The name org.bluez was not provided by any .service files > > > > The only important/unexpected line as far as I can tell is that it > couldn't > > determine the device driver for ra0, my wifi device. It seems odd to me > that > > this device is in a "virtual" device folder, is that part of the problem? > > I'm at a total loss as to how NetworkManager is expecting to relate the > > device to its driver. > > > > The distro I'm using is Gentoo, and I configured the kernel myself. I > also > > compiled the wifi driver myself (even had to make some modifications to > get > > it to compile.. nothing major, just update some function names and add a > > license tag). > > I'm not sure what other info would be helpful in solving this problem, I > > will try to be prompt with any requests for more information. > > > > Thanks, > > Dan O. > > ___ > > networkmanager-list mailing list > > networkmanager-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/networkmanager-list > > > > > > You need to turn on Network Manager support in the config.mk file. > Out of curiosity, is rt2x00 not working for you, or is it just not > stable enough? > ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: rt3070sta not controllable with networkmanager
On Fri, Feb 4, 2011 at 3:30 AM, Dan O'Connor wrote: > Greetings, > > I have an rt3070sta based wifi usb adapter. I've actually got it working, > but I have to manually connect it to the correct ap (using ifconfig, > iwconfig, and dhcpcd) and cannot use NetworkManager. When starting > NetworkManager --no-daemon I get the following output: > NetworkManager: starting... > NetworkManager: modem-manager is now available > > (NetworkManager:5268): GLib-CRITICAL **: g_error_free: assertion `error != > NULL' failed > NetworkManager: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To > report bugs please use the NetworkManager mailing list. > NetworkManager: WiFi enabled by radio killswitch; enabled by state > file > NetworkManager: WWAN enabled by radio killswitch; enabled by state > file > NetworkManager: Ignoring insecure configuration file > '/etc/NetworkManager/system-connections/.keep_net-misc_networkmanager-0' > NetworkManager: (eth0): carrier is OFF > NetworkManager: (eth0): new Ethernet device (driver: 'r8169') > NetworkManager: (eth0): exported as > /org/freedesktop/NetworkManager/Devices/0 > NetworkManager: (eth0): now managed > NetworkManager: (eth0): device state change: 1 -> 2 (reason 2) > NetworkManager: (eth0): preparing device. > NetworkManager: (eth0): deactivating device (reason: 2). > NetworkManager: Added default wired connection 'Auto eth0' for > /sys/devices/pci:00/:00:1c.6/:08:00.0/net/eth0 > NetworkManager: device_creator(): /sys/devices/virtual/net/ra0: > couldn't determine device driver; ignoring... > * status: started > NetworkManager: default_adapter_cb(): bluez error getting default > adapter: The name org.bluez was not provided by any .service files > > The only important/unexpected line as far as I can tell is that it couldn't > determine the device driver for ra0, my wifi device. It seems odd to me that > this device is in a "virtual" device folder, is that part of the problem? > I'm at a total loss as to how NetworkManager is expecting to relate the > device to its driver. > > The distro I'm using is Gentoo, and I configured the kernel myself. I also > compiled the wifi driver myself (even had to make some modifications to get > it to compile.. nothing major, just update some function names and add a > license tag). > I'm not sure what other info would be helpful in solving this problem, I > will try to be prompt with any requests for more information. > > Thanks, > Dan O. > ___ > networkmanager-list mailing list > networkmanager-list@gnome.org > http://mail.gnome.org/mailman/listinfo/networkmanager-list > > You need to turn on Network Manager support in the config.mk file. Out of curiosity, is rt2x00 not working for you, or is it just not stable enough? ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
rt3070sta not controllable with networkmanager
Greetings, I have an rt3070sta based wifi usb adapter. I've actually got it working, but I have to manually connect it to the correct ap (using ifconfig, iwconfig, and dhcpcd) and cannot use NetworkManager. When starting NetworkManager --no-daemon I get the following output: NetworkManager: starting... NetworkManager: modem-manager is now available (NetworkManager:5268): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed NetworkManager: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. NetworkManager: WiFi enabled by radio killswitch; enabled by state file NetworkManager: WWAN enabled by radio killswitch; enabled by state file NetworkManager: Ignoring insecure configuration file '/etc/NetworkManager/system-connections/.keep_net-misc_networkmanager-0' NetworkManager: (eth0): carrier is OFF NetworkManager: (eth0): new Ethernet device (driver: 'r8169') NetworkManager: (eth0): exported as /org/freedesktop/NetworkManager/Devices/0 NetworkManager: (eth0): now managed NetworkManager: (eth0): device state change: 1 -> 2 (reason 2) NetworkManager: (eth0): preparing device. NetworkManager: (eth0): deactivating device (reason: 2). NetworkManager: Added default wired connection 'Auto eth0' for /sys/devices/pci:00/:00:1c.6/:08:00.0/net/eth0 NetworkManager: device_creator(): /sys/devices/virtual/net/ra0: couldn't determine device driver; ignoring... * status: started NetworkManager: default_adapter_cb(): bluez error getting default adapter: The name org.bluez was not provided by any .service files The only important/unexpected line as far as I can tell is that it couldn't determine the device driver for ra0, my wifi device. It seems odd to me that this device is in a "virtual" device folder, is that part of the problem? I'm at a total loss as to how NetworkManager is expecting to relate the device to its driver. The distro I'm using is Gentoo, and I configured the kernel myself. I also compiled the wifi driver myself (even had to make some modifications to get it to compile.. nothing major, just update some function names and add a license tag). I'm not sure what other info would be helpful in solving this problem, I will try to be prompt with any requests for more information. Thanks, Dan O. ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list