Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RPI using recent image boots with non functioning gateway



On Tue, Dec 15, 2015 at 4:50 PM, John Klos <john%ziaspace.com@localhost> wrote:
>> Well, I'm now totally clueless as to where the actual problem lies!
>> For the record could you report the build version and date of your NetBSD
>> kernel and the dhcpcd version you are using please?
>
>
> Also, what's the default route before it's deleted?

To answer Roy:

rpi# uname -a
NetBSD rpi 7.99.24 NetBSD 7.99.24 (RPI.DEC13_2015) #0: Sun Dec 13
10:19:09 MST 2015
root@machine:/usr/obj-evbarm-current/sys/arch/evbarm/compile/RPI.DEC13_2015
evbarm
rpi# dhcpcd --version
dhcpcd 6.9.3
Copyright (c) 2006-2015 Roy Marples

This happened with the Generic kernel as well, I can reboot into that
if you like. All I added was IPSEC to this one.

To answer John:

(Note: I added a USB network adapter axe0. I should go back and try
with the built in, I think it's the same problem though. Shouldn't
matter.)

rpi# ping www.netbsd.org
ping: Cannot resolve "www.netbsd.org" (Host name lookup failure)
rpi# netstat -rn -f inet
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use    Mtu Interface
default            192.168.0.254      UGS         -        -      -  axe0
127/8              127.0.0.1          UGRS        -        -  33192  lo0
127.0.0.1          lo0                UHl         -        -  33192  lo0
192.168.0/24       link#2             UC          -        -      -L axe0
192.168.0.254      fa:ke:ma:ca:dd:rr  UHLc        -        -      -L axe0
rpi# route delete 0.0.0.0/0 192.168.0.254
delete net 0.0.0.0: gateway 192.168.0.254
rpi# netstat -rn -f inet
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use    Mtu Interface
127/8              127.0.0.1          UGRS        -        -  33192  lo0
127.0.0.1          lo0                UHl         -        -  33192  lo0
192.168.0/24       link#2             UC          -        -      -L axe0
192.168.0.254     fa:ke:ma:ca:dd:rr  UHLc        -        -      -L axe0
rpi# ping www.netbsd.org
ping: Cannot resolve "www.netbsd.org" (Host name lookup failure)
rpi# route add default 192.168.0.254
add net default: gateway 192.168.0.254
rpi# netstat -rn -f inet
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use    Mtu Interface
default            192.168.0.254      UGS         -        -      -  axe0
127/8              127.0.0.1          UGRS        -        -  33192  lo0
127.0.0.1          lo0                UHl         -        -  33192  lo0
192.168.0/24       link#2             UC          -        -      -L axe0
192.168.0.254      fa:ke:ma:ca:dd:rr  UHLc        -        -      -L axe0
rpi# ping www.netbsd.org
PING www.netbsd.org (199.233.217.205): 56 data bytes
64 bytes from 199.233.217.205: icmp_seq=0 ttl=248 time=40.867324 ms
64 bytes from 199.233.217.205: icmp_seq=1 ttl=248 time=38.890366 ms
^C
----www.netbsd.org PING Statistics----
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 38.890366/39.878845/40.867324/1.397920 ms

Andy


Home | Main Index | Thread Index | Old Index