NM with usb g_ether interface



Hi,

i try to use network-manager to manage my usb ethernet device, but
this does not work.

i have a usb device (g_ether loaded with "g_ether
host_addr=02:50:C2:94:9C:3A dev_addr=00:50:C2:94:9C:3A) usb0:

usb0      Link encap:Ethernet  HWaddr 00:50:c2:94:9c:3a
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)




My systemconnection looks like:

[connection]
id=UsbHost
uuid=66d1285e-9905-4991-99c8-25fa3b3aa08a
type=802-3-ethernet

[ipv4]
method=link-local

[802-3-ethernet]
duplex=full
mac-address=00:50:C2:94:9C:3A

[ipv6]
method=ignore






When i start NetworkManager, i get:
~# NetworkManager --no-daemon
NetworkManager[994]: <info> NetworkManager (version 0.8.3) is starting...
NetworkManager[994]: <info> Read config file
/etc/NetworkManager/nm-system-settings.conf
NetworkManager[994]: <info> modem-manager is now available
NetworkManager[994]: <info> monitoring kernel firmware directory
'/lib/firmware'.
NetworkManager[994]:    SCPlugin-Ifupdown: init!
NetworkManager[994]:    SCPlugin-Ifupdown: update_system_hostname
NetworkManager[994]:    SCPluginIfupdown: management mode: unmanaged
NetworkManager[994]:    SCPlugin-Ifupdown: devices added (path:
/sys/devices/platform/at91_udc/gadget/net/usb0, iface: usb0)
NetworkManager[994]:    SCPlugin-Ifupdown: device added (path:
/sys/devices/platform/at91_udc/gadget/net/usb0, iface: usb0): no
ifupdown configuration found.
NetworkManager[994]:    SCPlugin-Ifupdown: devices added (path:
/sys/devices/virtual/net/lo, iface: lo)
NetworkManager[994]:    SCPlugin-Ifupdown: device added (path:
/sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration
found.
NetworkManager[994]:    SCPlugin-Ifupdown: end _init.
NetworkManager[994]: <info> Loaded plugin ifupdown: (C) 2008 Canonical
Ltd.  To report bugs please use the NetworkManager mailing list.
NetworkManager[994]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red
Hat, Inc.  To report bugs please use the NetworkManager mailing list.
NetworkManager[994]:    Ifupdown: get unmanaged devices count: 0
NetworkManager[994]:    SCPlugin-Ifupdown: (815696) ... get_connections.
NetworkManager[994]:    SCPlugin-Ifupdown: (815696) ...
get_connections (managed=false): return empty list.
NetworkManager[994]:    keyfile: parsing ModemGSM ...
NetworkManager[994]:    keyfile:     read connection 'ModemGSM'
NetworkManager[994]:    keyfile: parsing Ethernet ...
NetworkManager[994]:    keyfile:     read connection 'Ethernet'
NetworkManager[994]:    keyfile: parsing UsbHost ...
NetworkManager[994]:    keyfile:     read connection 'UsbHost'
NetworkManager[994]:    Ifupdown: get unmanaged devices count: 0
NetworkManager[994]: <info> WiFi enabled by radio killswitch; enabled
by state file
NetworkManager[994]: <info> WWAN enabled by radio killswitch; enabled
by state file
NetworkManager[994]: <info> WiMAX enabled by radio killswitch; enabled
by state file
NetworkManager[994]: <info> Networking is enabled by state file
NetworkManager[994]: <warn>
/sys/devices/platform/at91_udc/gadget/net/usb0: couldn't determine
device driver; ignoring...
/sbin/ifup: interface lo already configured
NetworkManager[994]: <warn> bluez error getting default adapter: The
name org.bluez was not provided by any .service files





and nmcli say:

~# nmcli dev
DEVICE     TYPE              STATE






cat /etc/NetworkManager/nm-system-settings.conf :
[main]
plugins=ifupdown,keyfile
no-auto-default=
[ifupdown]
managed=false





/etc/network/interfaces does only contain a line for the loopback interface.



Any ideas why usb0 is not handled?

Cheers Tom


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