Hi. I work at a Windows shop, but I setup my laptop to dual boot into Debian 8, with Gnome 3. I had to install the iwlwifi package to get Gnome to see the WiFi networks. I also had to adjust the netmanager config slight to get the ethernet managed. Other than that, I think it is a default system.
The networking seems to be fine on ethernet, but when on WiFi, connected to any of our routers, I see some weird behavior that prevents practical use. Here is a summary:
1. I can see all wireless networks, both with gnome and with iwlist. And I can connect successfully to any of them.
2. I can ping both localhost wlan0 ip address, as well as the gateway router. I can make dns requests to the gateway router.
3. I cannot ping anything past the gateway router, such as the next hop past the gateway router, or ip addresses on the Internet.
4. When booted into Windows, I have full connectivity using the same WiFi routers. I checked, and I have the same MAC address under both windows and Linux.
I can't understood how the WiFi routers would be discriminating against me based on my OS (that should be transparent). Maybe some issue with the routing configuration on my system...?
Code:
me@echo:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether <snip> brd ff:ff:ff:ff:ff:ff
inet 169.254.5.110/16 brd 169.254.255.255 scope link eth0:avahi
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether <snip> brd ff:ff:ff:ff:ff:ff
inet 192.168.1.57/24 brd 192.168.1.255 scope global dynamic wlan0
valid_lft 28240sec preferred_lft 28240sec
inet6 fe80::6e88:14ff:fe3e:bae8/64 scope link
valid_lft forever preferred_lft forever
me@echo:~$ cat /etc/resolv.conf
# Generated by NetworkManager
search <snip>
nameserver 192.168.1.2
me@echo:~$ ping -c 4 192.168.1.1 # 1st hop gateway router
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=2.03 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=5.20 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.88 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=10.6 ms
me@echo:~$ ping -c 4 192.168.0.1 # next hop gateway router
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 169.254.5.110 icmp_seq=1 Destination Host Unreachable
From 169.254.5.110 icmp_seq=2 Destination Host Unreachable
From 169.254.5.110 icmp_seq=3 Destination Host Unreachable
From 169.254.5.110 icmp_seq=4 Destination Host Unreachable
me@echo:~$ ping -c 4 8.8.8.8 # Google DNS
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 169.254.5.110 icmp_seq=1 Destination Host Unreachable
From 169.254.5.110 icmp_seq=2 Destination Host Unreachable
From 169.254.5.110 icmp_seq=3 Destination Host Unreachable
From 169.254.5.110 icmp_seq=4 Destination Host Unreachable
me@echo:~$ nslookup google.com
Server: 192.168.1.2
Address: 192.168.1.2#53
Non-authoritative answer:
Name: google.com
Address: 66.58.255.49
Name: google.com
Address: 66.58.255.15
Name: google.com
me@echo:~$ ping -c 4 google.com
PING google.com (66.58.255.44) 56(84) bytes of data.
From echo (169.254.5.110) icmp_seq=1 Destination Host Unreachable
From echo (169.254.5.110) icmp_seq=2 Destination Host Unreachable
From echo (169.254.5.110) icmp_seq=3 Destination Host Unreachable
From echo (169.254.5.110) icmp_seq=4 Destination Host Unreachable
root@echo:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@echo:/etc# cat NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true