I already tried dist-update and this post
I have a Raspberry Pi 3 B + and my operating system is "Raspbian GNU/Linux 9 (stretch)"
I am connected to it using a Lan cable and use ssh or Remmina to connect to it.
This is my wlan configuration in wpa suppliant:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DK
network={
ssid="secret"
psk="secret"
key_mgmt=WPA-PSK
}
network={
ssid="eduroam"
scan_ssid=1
proto=RSN
pairwise=CCMP
eap=PEAP
identity="secret"
password="secret"
key_mgmt=WPA-EAP
}
When connected to either of the 2 Wlan (they do connect) I dont recieve internet from them. The only way I can get internet from my raspberry pi is if my laptop is connected to wifi and then through the ethernet cable connected to my Pi I get internet. EDIT:
pi@raspberrypi:~ $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.42.0.1 0.0.0.0 UG 202 0 0 eth0 0.0.0.0 10.68.64.4 0.0.0.0 UG 303 0 0 wlan0 10.42.0.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 10.68.64.0 0.0.0.0 255.255.192.0 U 303 0 0 wlan0
what i found strange is that my route -n from my raspberry pi output is always the same no matter if i enable or disable the laptop wifi and reboot inbetween.
Output of iwconfig:
pi@raspberrypi:~ $ iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11 ESSID:"eduroam"
Mode:Managed Frequency:5.28 GHz Access Point: 40:E3:D6:56:67:D0
Bit Rate=24 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=32/70 Signal level=-78 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:160 Invalid misc:0 Missed beacon:0
my laptop is connected not to eduroam but a third wireless connection not mentioned, though there is internet on all of them, so wlan0 is from the raspberrypi for sure.
pi@raspberrypi:~ $ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.42.0.253 netmask 255.255.255.0 broadcast 10.42.0.255
inet6 fe80::4819:8dbd:df90:5a6f prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:81:dc:b1 txqueuelen 1000 (Ethernet)
RX packets 7722 bytes 1829686 (1.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8297 bytes 2438399 (2.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 33 bytes 15914 (15.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 33 bytes 15914 (15.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.68.107.205 netmask 255.255.192.0 broadcast 10.68.127.255
inet6 fe80::aa8b:b7e0:9252:a9eb prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:d4:89:e4 txqueuelen 1000 (Ethernet)
RX packets 118 bytes 35794 (34.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 637 bytes 103843 (101.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
pi@raspberrypi:~ $ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d
pi@raspberrypi:~ $ cat /etc/resolv.conf # Generated by resolvconf domain eduroam.local nameserver 10.42.0.1 nameserver 208.67.222.222 nameserver 208.67.220.220