Hey guys,
to test out a few options to report back to this thread about my built, I wanted to get the USB-Gigabit adapter for my RPi3 working. I kinda did, but I must have messed up something along the way.
As OMV overwrites /etc/network/interfaces if you edit anything in Network>Interfaces, I added the adapter as eth01 by hand after setting WLAN up through the GUI. I can reach the Web GUI through all three interfaces, but I can't connect to anything outside of my network.
After getting errors trying to install plugins I used omv-aptclean as root and got tons of "Something wicked happened resolving 'archive.raspberrypi.org:http' (-5 - No address associated with hostname)" and "W: Failed to fetch https://openmediavault.github.…ain/binary-armhf/Packages Could not resolve host: openmediavault.github.io", so I figure I made a mistake when editing /etc/network/interfaces.
Here's the file:
# The loopback network interface
auto lo
iface lo inet loopback
# eth0 network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.2.131
netmask 255.255.255.0
gateway 192.168.2.1
iface eth0 inet6 manual
pre-down ip -6 addr flush dev $IFACE
# eth1 network interface
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.2.33
netmask 255.255.255.0
gateway 192.168.2.1
iface eth1 inet6 manual
# wlan0 network interface
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.2.44
gateway 192.168.2.1
netmask 255.255.255.0
wpa-ssid home
wpa-key-mgmt WPA-PSK
wpa-psk DubQR=wfUeBmMupzduqXmMvAR
iface wlan0 inet6 manual
pre-down ip -6 addr flush dev $IFACE
Alles anzeigen
ifconfig gives me:
root@vandal-server:~# ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:fb:a9:25
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:55 errors:0 dropped:2 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8795 (8.5 KiB) TX bytes:11188 (10.9 KiB)
eth1 Link encap:Ethernet HWaddr 00:e0:97:00:26:fd
inet addr:192.168.2.33 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4338 errors:0 dropped:121 overruns:0 frame:0
TX packets:2818 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:960219 (937.7 KiB) TX bytes:5660412 (5.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:7488 errors:0 dropped:0 overruns:0 frame:0
TX packets:7488 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:707778 (691.1 KiB) TX bytes:707778 (691.1 KiB)
wlan0 Link encap:Ethernet HWaddr b8:27:eb:ae:fc:70
inet addr:192.168.2.44 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:726 errors:0 dropped:460 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:121596 (118.7 KiB) TX bytes:5537 (5.4 KiB)
Alles anzeigen
What did I mess up here?
Thanks in advance,
V