18

I have changed the settings of /etc/network/interfaces but with this action my internet doesn't work anymore.

Now I want to change it back but I can't find the default settings.

If you have the default setting, can you place them here please?

0

3 Answers 3

22

For my Raspberry Pi 3B model it was

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan1
iface wlan1 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
18

These are the default settings I have for /etc/network/interfaces (including WiFi settings) for my Raspberry Pi 1:

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
8

Assuming that you have a DHCP server running at your router I would use:

# /etc/network/interfaces
auto lo eth0
iface lo inet loopback

iface eth0 inet dhcp

After changing the file issue (as root):

/etc/init.d/networking restart
3
  • Do you also know what settings I need for wifi?
    – Lucas
    Commented Nov 27, 2013 at 20:06
  • This depends on your wifi setup and what type of wifi stick you are using. Would fit for another question
    – hek2mgl
    Commented Nov 27, 2013 at 20:21
  • Somebody downvoted this without leaving a reason. If you would tell me the reasons I could help with the problem and/or enhance the post to fit your needs.
    – hek2mgl
    Commented Apr 2, 2015 at 8:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.