Sun Dec 18, 2016 6:51 pm
Hi I did not post the question, but I have the smae problem. I just bought a Pi 3 Model B and I am seemingly able to connect to the LAN. I can see the classic internet connected chevron in the top right hand corner, with a 100% signal strength. I was able to run your commands... here are the responses, all carefully typed in...
pi@raspberypi: ~ $ ip add show
1: lo: I am not sure you are interested in this.
2: eth0 the same
3: wlan0 looks like it is working <Broadcast, Multicast, Up, Lower_up> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link ether b8:27:eb:9b:d9:54 brd ff:ff:ff:ff:ff
inet 192.168.0.101 brd 192.168.0.2555 scope global wlan0
valid_lft forever preferred_lft forever
pi@raspberypi: ~ $ ip route
default vi 192.168.0.254 dev wlan0 metric 303
192.168.0.0/24 dev wlan0 proto kernal scope link src 192.168.0.101 metric 303
pi@raspberypi: ~ $ ping -c3 $(ip route | awk 'default/ {print $3}')
ping icmp open socket: Operation not permitted
pi@raspberypi: ~ $ ping -c3 8.8.8.8
ping icmp open socket: Operation not permitted
pi@raspberypi: ~ $ sudo ping -c3 $(ip route | awk 'default/ {print $3}')
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
64 bytes from 192.168.0.254: icmp_seq=1 ttl=64 time=5.07 ms
64 bytes from 192.168.0.254: icmp_seq=2 ttl=64 time=4.55 ms
64 bytes from 192.168.0.254: icmp_seq=3 ttl=64 time=4.81 ms
... 192.168.0.254 ping statistics ...
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 4.550/4.810/5.071/0.2220 ms
pi@raspberypi: ~ $ sudo ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data
sudo
... 8.8.8.8 ping statistics ...
3 packets transmitted, 0 received, 100% packet loss, time 2003ms
pi@raspberypi: ~ $ sudo ping -c3 google.com
ping: unknown host google.com
pi@raspberypi: ~ $ sudo cat /etc/resolv.conf
# generated by resolvconf
nameserver 192.168.0.254
e & o e!
ping: unknown host google.com