0

on my Pi model 2b I connected a ethernet cable and an edimax n300 wifi usb dongle. I want to use the Pi over WLAN so I attached the WLAN dongle to the Pi and configured them with the following additional configuration in /etc/network/interfaces:

auto wlan0
iface wlan0 inet dhcp
wpa-ap-scan 1
wpa-scan-ssid 1
wpa-ssid "RouterName"
wpa-psk "***************"

After restarting the networking all worked fine. The new IP address that the Pi received from the router is pingable. Also in the console of the router I see the Pi with the additional IP and MAC address. If I disconnect the ethernet channel I cannot ping the new IP of the WLAN interface. Also SSH is not possible. When I connect the ethernet cable again to the Pi it works fine (ping,SSH,...).

I tested both: dhcp and static IP

Are there some other config steps necessary? Did someone also had this problems?

Thanks

  • Putting ANYTHING in /etc/network/interfaces will break networking! – Milliways Jun 1 '18 at 12:39
  • If I disconnect the ethernet channel I cannot ping the new IP of the WLAN interface ... probably because the ping is being routed over ethernet cable .... wlan is probably not transferring any data at all – jsotola Jun 1 '18 at 16:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.