Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello,
- I have a fresh install of NetBSD 9.3 on a Pine64 A64 LTS.
- It is not getting an IPV4 IP Address from the DHCP server running on the gateway router.
- arm64# uname -a
- NetBSD arm64 9.3_STABLE NetBSD 9.3_STABLE (GENERIC64) #0: Thu Oct 20 13:20:35 UTC 2022 [email protected]:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
- arm64# ifconfig
- emac0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
- capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
- capabilities=3f00<UDP4CSUM_Rx,UDP4CSUM_Tx>
- enabled=0
- ec_capabilities=1<VLAN_MTU>
- ec_enabled=0
- address: 02:ba:49:71:73:11
- media: Ethernet autoselect (1000baseT full-duplex,flowcontrol,rxpause,txpause)
- status: active
- inet6 fe80::1a1d:48c2:aa75:969c%emac0/64 flags 0x0 scopeid 0x1
- inet 169.254.138.167/16 broadcast 169.254.255.255 flags 0x0
- lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33624
- inet6 ::1/128 flags 0x20<NODAD>
- inet6 fe80::1%lo0/64 flags 0x0 scopeid 0x2
- inet 127.0.0.1/8 flags 0x0
- arm64# tail -19 /etc/rc.conf
- rc_configured=YES
- hostname=arm64
- no_swap=YES
- savecore=NO
- sshd=YES
- dhcpcd=YES
- ntpd=YES
- ntpd_flags="-g"
- creds_msdos=YES
- creds_msdos_partition=/boot
- resize_disklabel=YES
- resize_root=YES
- resize_root_flags="-p"
- resize_root_postcmd="/sbin/reboot -n"
- mdnsd=YES
- devpubd=YES
- wscons=$(dev_exists wsdisplay0)
- ec2_init=$(dev_exists ena0)
- arm64# netstat -rn
- Routing tables
- Internet:
- Destination Gateway Flags Refs Use Mtu Interface
- default link#1 UCS - - - emac0
- 127/8 127.0.0.1 UGRS - - 33624 lo0
- 127.0.0.1 lo0 UHl - - 33624 lo0
- 169.254/16 link#1 UC - - - emac0
- 169.254.138.167 link#1 UHl - - - lo0
- Internet6:
- Destination Gateway Flags Refs Use Mtu Interface
- ::/104 ::1 UGRS - - 33624 lo0
- ::/96 ::1 UGRS - - 33624 lo0
- ::1 lo0 UHl - - 33624 lo0
- ::127.0.0.0/104 ::1 UGRS - - 33624 lo0
- ::224.0.0.0/100 ::1 UGRS - - 33624 lo0
- ::255.0.0.0/104 ::1 UGRS - - 33624 lo0
- ::ffff:0.0.0.0/96 ::1 UGRS - - 33624 lo0
- 2001:db8::/32 ::1 UGRS - - 33624 lo0
- 2002::/24 ::1 UGRS - - 33624 lo0
- 2002:7f00::/24 ::1 UGRS - - 33624 lo0
- 2002:e000::/20 ::1 UGRS - - 33624 lo0
- 2002:ff00::/24 ::1 UGRS - - 33624 lo0
- fe80::/10 ::1 UGRS - - 33624 lo0
- fe80::%emac0/64 link#1 UC - - - emac0
- fe80::1a1d:48c2:aa75:969c link#1 UHl - - - lo0
- fe80::%lo0/64 fe80::1 U - - - lo0
- fe80::1 lo0 UHl - - - lo0
- ff01:1::/32 link#1 UC - - - emac0
- ff01:2::/32 ::1 UC - - 33624 lo0
- ff02::%emac0/32 link#1 UC - - - emac0
- ff02::%lo0/32 ::1 UC - - 33624 lo0
Advertisement
Comments
-
- arm64# dmesg | grep phy
- [ 1.000010] sunxiusbphy0 at simplebus1: USB PHY
- [ 1.000010] sunxihdmiphy0 at simplebus1: HDMI PHY
- [ 1.000010] sunxihdmiphy0: autoconfiguration error: HDMI PHY resistance calibration timed out
- [ 1.000010] dwhdmi0: version 1.32a, phytype 0xfe
- [ 1.000010] ukphy0 at emac0 phy 1: OUI 0x000000, model 0x0010, rev. 10
- [ 1.000010] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
- [ 1.000010] sunxiusbphy0 at simplebus1: USB PHY
- [ 1.000010] sunxihdmiphy0 at simplebus1: HDMI PHY
- [ 1.000010] dwhdmi0: version 1.32a, phytype 0xfe
- [ 1.000010] ukphy0 at emac0 phy 1: OUI 0x000000, model 0x0010, rev. 10
- [ 1.000010] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
-
- After Update:
- arm64# dmesg | grep phy
- [ 1.000010] sunxiusbphy0 at simplebus1: USB PHY
- [ 1.000010] sunxihdmiphy0 at simplebus1: HDMI PHY
- [ 1.000010] sunxihdmiphy0: autoconfiguration error: HDMI PHY resistance calibration timed out
- [ 1.000010] dwhdmi0: version 1.32a, phytype 0xfe
- [ 1.000010] mcommphy0 at emac0 phy 1: Motorcomm YT8511 GbE PHY
- [ 1.000010] sunxiusbphy0 at simplebus1: USB PHY
- [ 1.000010] sunxihdmiphy0 at simplebus1: HDMI PHY
- [ 1.000010] dwhdmi0: version 1.32a, phytype 0xfe
- [ 1.000010] mcommphy0 at emac0 phy 1: Motorcomm YT8511 GbE PHY
-
- Using:
- https://nycdn.netbsd.org/pub/arm/HEAD/202210261350Z/NetBSD-HEAD-aarch64-202210261350Z-sopine-baseboard.img.gz
- arm64# uname -a
- NetBSD arm64 9.99.102 NetBSD 9.99.102 (GENERIC64) #0: Wed Oct 26 13:35:25 UTC 2022 [email protected]:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
- arm64# ifconfig
- emac0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
- capabilities=0x3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
- capabilities=0x3f00<UDP4CSUM_Rx,UDP4CSUM_Tx>
- enabled=0
- ec_capabilities=0x1<VLAN_MTU>
- ec_enabled=0
- address: 02:ba:49:71:73:11
- media: Ethernet autoselect (1000baseT full-duplex,flowcontrol,rxpause,txpause)
- status: active
- inet6 fe80::176c:2fcb:7164:debf%emac0/64 flags 0 scopeid 0x1
- inet 169.254.138.167/16 broadcast 169.254.255.255 flags 0
- lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33624
- status: active
- inet6 ::1/128 flags 0x20<NODAD>
- inet6 fe80::1%lo0/64 flags 0 scopeid 0x2
- inet 127.0.0.1/8 flags 0
- arm64# dmesg | grep phy
- [ 1.000004] sunxiusbphy0 at simplebus1: USB PHY
- [ 1.000004] sunxihdmiphy0 at simplebus1: HDMI PHY
- [ 1.000004] sunxihdmiphy0: autoconfiguration error: HDMI PHY resistance calibration timed out
- [ 1.000004] dwhdmi0: version 1.32a, phytype 0xfe
- [ 1.000004] mcommphy0 at emac0 phy 1: Motorcomm YT8511 GbE PHY
- [ 1.000004] mcommphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
- [ 1.000004] sunxiusbphy0 at simplebus1: USB PHY
- [ 1.000004] sunxihdmiphy0 at simplebus1: HDMI PHY
- [ 1.000004] dwhdmi0: version 1.32a, phytype 0xfe
- [ 1.000004] mcommphy0 at emac0 phy 1: Motorcomm YT8511 GbE PHY
- [ 1.000004] mcommphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
- arm64# netstat -rn
- Routing tables
- Internet:
- Destination Gateway Flags Refs Use Mtu Interface
- default link#1 UC - - - emac0
- ...
- After manually adding IP and default gateway:
- arm64# netstat -rn | head -15
- Routing tables
- Internet:
- Destination Gateway Flags Refs Use Mtu Interface
- default 192.168.125.1 UGS - - - emac0
- 127/8 127.0.0.1 UGRS - - 33624 lo0
- 127.0.0.1 lo0 UHl - - 33624 lo0
- 169.254/16 link#1 UC - - - emac0
- 169.254.24.61 link#1 UHl - - - lo0
- 192.168.125/24 link#1 UC - - - emac0
- 192.168.125.30 link#1 UHl - - - lo0
Add Comment
Please, Sign In to add comment