So I installed OMV "Kralizec" over Debian 7 "Wheezy".
I needed to create a bridge, but could not do so through the GUI, so I modified /etc/network/interfaces (I followed the guidelines from debian wiki).
At some point I had some issues with this configuration, so I proceeded to drop the bridge and get back to a single static IP address.
I finally tried to change this IP address from GUI, and got some further complication (empty /etc/network/interfaces).
I kind of lost track of all my actions here, but the situation is the following:
If I keep the server on the "old" IP address (192.168.1.9), no problems, everything works.
If I try to modify the IP address of the server through the Web-UI (for instance 192.168.1.8), I can't access the web interface (404 error from nginx), even after rebooting. I can ping the server, access the shares, connect via SSH.
If I revert (manual revert through SSH) to the "old" IP address, everything is back to normal.
I tried to solve the issue with omv-firstaid, same issues.
I don't understand what's going on...
root@NAS:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1e:8c:89:8e:7c
inet adr:192.168.1.8 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2996 errors:0 dropped:96 overruns:0 frame:0
TX packets:2849 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:286188 (279.4 KiB) TX bytes:524237 (511.9 KiB)
Interruption:17
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:6127 (5.9 KiB) TX bytes:6127 (5.9 KiB)
Alles anzeigen
root@NAS:/# cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
iface lo inet6 loopback
# eth0 network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.8
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 192.168.1.1
pre-down ethtool -s $IFACE wol g
iface eth0 inet6 manual
pre-down ip -6 addr flush dev eth0
Alles anzeigen
root@NAS:/# netstat -tulpen | grep 80
tcp6 0 0 :::80 :::* LISTEN 0 7531 2793/nginx
udp6 0 0 :::678 :::* 0 7180 2220/rpcbind
$ ping 192.168.1.8
PING 192.168.1.8 (192.168.1.8) 56(84) bytes of data.
64 bytes from 192.168.1.8: icmp_req=1 ttl=64 time=0.313 ms
64 bytes from 192.168.1.8: icmp_req=2 ttl=64 time=0.303 ms
64 bytes from 192.168.1.8: icmp_req=3 ttl=64 time=0.294 ms
64 bytes from 192.168.1.8: icmp_req=4 ttl=64 time=0.321 ms
64 bytes from 192.168.1.8: icmp_req=5 ttl=64 time=0.302 ms
^C
--- 192.168.1.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3997ms
rtt min/avg/max/mdev = 0.294/0.306/0.321/0.021 ms
Alles anzeigen