ThothK
Oct 28th, 2022
56
0
Never
This is comment for paste NetBSD 9.3 Not Getting IPV4 from DHCP
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Using:
  2. https://nycdn.netbsd.org/pub/arm/HEAD/202210261350Z/NetBSD-HEAD-aarch64-202210261350Z-sopine-baseboard.img.gz
  3.  
  4. arm64# uname -a
  5. 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
  6.  
  7. arm64# ifconfig
  8. emac0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  9. capabilities=0x3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
  10. capabilities=0x3f00<UDP4CSUM_Rx,UDP4CSUM_Tx>
  11. enabled=0
  12. ec_capabilities=0x1<VLAN_MTU>
  13. ec_enabled=0
  14. address: 02:ba:49:71:73:11
  15. media: Ethernet autoselect (1000baseT full-duplex,flowcontrol,rxpause,txpause)
  16. status: active
  17. inet6 fe80::176c:2fcb:7164:debf%emac0/64 flags 0 scopeid 0x1
  18. inet 169.254.138.167/16 broadcast 169.254.255.255 flags 0
  19. lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33624
  20. status: active
  21. inet6 ::1/128 flags 0x20<NODAD>
  22. inet6 fe80::1%lo0/64 flags 0 scopeid 0x2
  23. inet 127.0.0.1/8 flags 0
  24.  
  25.  
  26. arm64# dmesg | grep phy
  27. [ 1.000004] sunxiusbphy0 at simplebus1: USB PHY
  28. [ 1.000004] sunxihdmiphy0 at simplebus1: HDMI PHY
  29. [ 1.000004] sunxihdmiphy0: autoconfiguration error: HDMI PHY resistance calibration timed out
  30. [ 1.000004] dwhdmi0: version 1.32a, phytype 0xfe
  31. [ 1.000004] mcommphy0 at emac0 phy 1: Motorcomm YT8511 GbE PHY
  32. [ 1.000004] mcommphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
  33. [ 1.000004] sunxiusbphy0 at simplebus1: USB PHY
  34. [ 1.000004] sunxihdmiphy0 at simplebus1: HDMI PHY
  35. [ 1.000004] dwhdmi0: version 1.32a, phytype 0xfe
  36. [ 1.000004] mcommphy0 at emac0 phy 1: Motorcomm YT8511 GbE PHY
  37. [ 1.000004] mcommphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
  38.  
  39.  
  40. arm64# netstat -rn
  41. Routing tables
  42. Internet:
  43. Destination Gateway Flags Refs Use Mtu Interface
  44. default link#1 UC - - - emac0
  45. ...
  46.  
  47. After manually adding IP and default gateway:
  48. arm64# netstat -rn | head -15
  49. Routing tables
  50.  
  51. Internet:
  52. Destination Gateway Flags Refs Use Mtu Interface
  53. default 192.168.125.1 UGS - - - emac0
  54. 127/8 127.0.0.1 UGRS - - 33624 lo0
  55. 127.0.0.1 lo0 UHl - - 33624 lo0
  56. 169.254/16 link#1 UC - - - emac0
  57. 169.254.24.61 link#1 UHl - - - lo0
  58. 192.168.125/24 link#1 UC - - - emac0
  59. 192.168.125.30 link#1 UHl - - - lo0
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
Advertisement
Add Comment
Please, Sign In to add comment