-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Description
I’m trying to use my Pluto with a rtl8153 usb ethernet dongle, but is seems the DHCP client is broken.
I logged in using the UART on the power USB port, and the link gets up, but the pluto seems not run a DHCP client:
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:4c:20:e6:4a brd ff:ff:ff:ff:ff:ff
After a short while avahi assigns a link-local address:
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:4c:20:e6:4a brd ff:ff:ff:ff:ff:ff
inet 169.254.10.95/16 brd 169.254.255.255 scope link eth0:avahi
valid_lft forever preferred_lft forever
When I run ifup usb0
(after ifdown usb0
, if avahi already assigned an address), the interface immediately gets an IP assigned via DHCP and everything works as it should:
# ip a show dev eth0
5: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:4c:20:e6:4a brd ff:ff:ff:ff:ff:ff
# ifup eth0
udhcpc: started, v1.35.0
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting select for 10.11.128.22, server 10.11.128.1
udhcpc: lease of 10.11.128.22 obtained from 10.11.128.1, lease time 600
deleting routers
adding dns 10.11.128.1
# ip a show dev eth0
5: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:4c:20:e6:4a brd ff:ff:ff:ff:ff:ff
inet 10.11.128.22/24 brd 10.11.128.255 scope global eth0
valid_lft forever preferred_lft forever
my config.txt:
[USB_ETHERNET]
ipaddr_eth =
netmask_eth = 255.255.255.0
The generated config seems fine:
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto usb0
iface usb0 inet static
address 192.168.2.1
netmask 255.255.255.0
auto usb1
iface usb1 inet dhcp
auto eth0
iface eth0 inet dhcp
log output:
# tail /var/log/messages -n 20
Jan 1 00:11:50 (none) kern.info kernel: hub 1-0:1.0: 1 port detected
Jan 1 00:11:50 (none) kern.info kernel: usb 1-1: new high-speed USB device number 2 using ci_hdrc
Jan 1 00:11:50 (none) kern.info kernel: usb 1-1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
Jan 1 00:11:50 (none) kern.info kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
Jan 1 00:11:50 (none) kern.info kernel: usb 1-1: Product: USB 10/100/1000 LAN
Jan 1 00:11:50 (none) kern.info kernel: usb 1-1: Manufacturer: Realtek
Jan 1 00:11:50 (none) kern.info kernel: usb 1-1: SerialNumber: 000001000000
Jan 1 00:11:51 (none) kern.info kernel: usb 1-1: reset high-speed USB device number 2 using ci_hdrc
Jan 1 00:11:51 (none) kern.warn kernel: r8152 1-1:1.0: Direct firmware load for rtl_nic/rtl8153a-3.fw failed with error -2
Jan 1 00:11:51 (none) kern.warn kernel: r8152 1-1:1.0: unable to load firmware patch rtl_nic/rtl8153a-3.fw (-2)
Jan 1 00:11:51 (none) kern.info kernel: r8152 1-1:1.0 eth0: v1.11.11
Jan 1 00:11:54 (none) kern.info kernel: r8152 1-1:1.0 eth0: carrier on
Jan 1 00:12:00 (none) daemon.info avahi-autoipd(eth0)[2232]: Found user 'avahi' (UID 100) and group 'avahi' (GID 101).
Jan 1 00:12:00 (none) daemon.info avahi-autoipd(eth0)[2232]: Successfully dropped root privileges.
Jan 1 00:12:00 (none) daemon.info avahi-autoipd(eth0)[2232]: Starting with address 169.254.10.95
Jan 1 00:12:06 (none) daemon.info avahi-autoipd(eth0)[2232]: Callout BIND, address 169.254.10.95 on interface eth0
Jan 1 00:12:06 (none) daemon.info avahi-daemon[307]: Joining mDNS multicast group on interface eth0.IPv4 with address 169.254.10.95.
Jan 1 00:12:06 (none) daemon.info avahi-daemon[307]: New relevant interface eth0.IPv4 for mDNS.
Jan 1 00:12:06 (none) daemon.info avahi-daemon[307]: Registering new address record for 169.254.10.95 on eth0.IPv4.
Jan 1 00:12:10 (none) daemon.info avahi-autoipd(eth0)[2232]: Successfully claimed IP address 169.254.10.95
I can provide necessary debug logs if you tell me where i can find them as I’m not familiar with the system layout.
Metadata
Metadata
Assignees
Labels
No labels