Open tingox opened 3 years ago
had to power off / power on the server again today (funny story, ask me sometime), and as usual, the lan0 interface needed to be down before the server responds on it's bite.lan.bitraf.no address.
$ sudo ip link set down lan0
that's all.
After todays power outage (electrical work on premisies) everything came up again as it was supposed to do, but p2k16 gave a "refused to connect" error message when you tried to reach it in a web browser. As soon as I did $ sudo ip link set down lan0
on bite, the problem vanished.
After todays power outage (electrical work on premisies) everything came up again as it was supposed to do, but p2k16 gave a "refused to connect" error message when you tried to reach it in a web browser. As soon as I did
$ sudo ip link set down lan0
on bite, the problem vanished.
scratch that - I've set the interface up now, and p2k16 still works.
checked the lan0 interface today after the server came up
tingo@bite:~$ sudo ip link show dev lan0
8: lan0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 06:f0:3b:2f:0f:32 brd ff:ff:ff:ff:ff:ff
no ip address there. Trying to set it down and up
tingo@bite:~$ sudo ip link set up lan0
tingo@bite:~$ sudo ip link show dev lan0
8: lan0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 06:f0:3b:2f:0f:32 brd ff:ff:ff:ff:ff:ff
when the lan0 interface is up, bite can't talk (or be talked to) on the local interface (bite.lan.bitraf.no)
as soon as the lan0 interface goes down, the local interface on bite works again:
needs to be fixed permanently, but I'm too tired now.