DiskStation (local multimedia server) disconnecting

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

DiskStation (local multimedia server) disconnecting

Post#1 by Rava » 16 Apr 2017, 23:13

I have a disk station (local server for multimedia), it is already setup and should be okay to go.

Now, I did not use it in quite some time.
When I last used it I also had an old laptop, serving as a local IPCop router, and the local network was at http://192.168.7.x

That's also the web address lastpass saved for my DiskStation:
http://192.168.7.173:5000/webman/index.cgi

Now I no longer use the IPCop router, therefore I have no longer a 192.168.7.x local network.

Later I only relied on my provider's router. Currently I don't have local internet access, and therefore no running router. So I connected the DiskStation directly via LAN with the PC Porteus (3.1 x86-64) is running on.

Code: Select all

# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::725a:b6ff:fec1:ebac  prefixlen 64  scopeid 0x20<link>
        ether XX:YY:etcetera  txqueuelen 1000  (Ethernet)
        RX packets 74  bytes 18928 (18.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 107  bytes 19284 (18.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
How do I translate the inet6 or the ether address given by ifconfig into address that the browser can understand?


Also, the eth0 / the DiskStation gets connected and disconnected all the time.

e.g.:

Code: Select all

Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Auto-activating connection 'Wired connection 1'.
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) starting connection 'Wired connection 1'
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> NetworkManager state is now CONNECTING
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> dhcpcd started with pid 25813
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Beginning IP6 addrconf.
Apr 16 02:13:04 porteus avahi-daemon[1582]: Withdrawing address record for fe80::725a:b6ff:fec1:ebac on eth0.
Apr 16 02:13:04 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Apr 16 02:13:04 porteus dhcpcd[25813]: version 6.0.5 starting
Apr 16 02:13:05 porteus dhcpcd[25813]: eth0: soliciting an IPv6 router
Apr 16 02:13:05 porteus NetworkManager[1502]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Apr 16 02:13:05 porteus dhcpcd[25813]: eth0: soliciting a DHCP lease
Apr 16 02:13:06 porteus avahi-daemon[1582]: Registering new address record for fe80::725a:b6ff:fec1:ebac on eth0.*.
Apr 16 02:13:24 porteus NetworkManager[1502]: <info> (eth0): IP6 addrconf timed out or failed.
Apr 16 02:13:24 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Apr 16 02:13:24 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Apr 16 02:13:24 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Apr 16 02:13:35 porteus dhcpcd[25813]: exited
Apr 16 02:13:35 porteus NetworkManager[1502]: <info> (eth0): DHCPv4 client pid 25813 exited with status 1
Apr 16 02:13:35 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Apr 16 02:13:35 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Apr 16 02:13:35 porteus NetworkManager[1502]: <info> (eth0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Apr 16 02:13:35 porteus NetworkManager[1502]: <info> NetworkManager state is now DISCONNECTED
Apr 16 02:13:35 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Apr 16 02:13:35 porteus NetworkManager[1502]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Apr 16 02:13:35 porteus NetworkManager[1502]: <info> (eth0): deactivating device (reason 'none') [0]
^[[BApr 16 02:13:37 porteus NetworkManager[1502]: <info> Auto-activating connection 'Wired connection 1'.
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) starting connection 'Wired connection 1'
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> NetworkManager state is now CONNECTING
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> dhcpcd started with pid 25816
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Beginning IP6 addrconf.
Apr 16 02:13:37 porteus avahi-daemon[1582]: Withdrawing address record for fe80::725a:b6ff:fec1:ebac on eth0.
Apr 16 02:13:37 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Apr 16 02:13:38 porteus dhcpcd[25816]: version 6.0.5 starting
Apr 16 02:13:38 porteus NetworkManager[1502]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Apr 16 02:13:38 porteus dhcpcd[25816]: eth0: soliciting an IPv6 router
Apr 16 02:13:38 porteus dhcpcd[25816]: eth0: soliciting a DHCP lease
Apr 16 02:13:39 porteus avahi-daemon[1582]: Registering new address record for fe80::725a:b6ff:fec1:ebac on eth0.*.
Apr 16 02:13:57 porteus NetworkManager[1502]: <info> (eth0): IP6 addrconf timed out or failed.
Apr 16 02:13:57 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Apr 16 02:13:57 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Apr 16 02:13:57 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Apr 16 02:14:08 porteus dhcpcd[25816]: exited
Apr 16 02:14:08 porteus NetworkManager[1502]: <info> (eth0): DHCPv4 client pid 25816 exited with status 1
Apr 16 02:14:08 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Apr 16 02:14:08 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Apr 16 02:14:08 porteus NetworkManager[1502]: <info> (eth0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Apr 16 02:14:08 porteus NetworkManager[1502]: <info> NetworkManager state is now DISCONNECTED
Apr 16 02:14:08 porteus NetworkManager[1502]: <info> Marking connection 'Wired connection 1' invalid.
Apr 16 02:14:08 porteus NetworkManager[1502]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Apr 16 02:14:08 porteus NetworkManager[1502]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Apr 16 02:14:08 porteus NetworkManager[1502]: <info> (eth0): deactivating device (reason 'none') [0]
Any ideas what's going wrong? The DiskStation is supposed to work as stand-alone media server, but also supposed to work together with a router.

Now, previously I never tried using it without a local router, and now that I have to, it connects and disconnects all the time, without me understanding why.

"reason 'ip-config-unavailable'" is somehow understandable, but it also tells me " device state change: failed -> disconnected (reason 'none')" and "(eth0): deactivating device (reason 'none')"

Really helpful, disconnecting because of reason "none"... </irony>

Any ideas?
Cheers!
Yours Rava

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: DiskStation (local multimedia server) disconnecting

Post#2 by donald » 17 Apr 2017, 00:10

Hi Rava

According to this page
http://ipv6-literal.com/
your ipv6 address translates into
IPv6 URL http://[fe80::725a:b6ff:fec1:ebac]

The "ether address" is not an ip, it is a mac address
(ipv4 would show up as inet )

Couldn't you keep the router switched on, even if there is no internet connection,
so that the dhcp server is running?

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: DiskStation (local multimedia server) disconnecting

Post#3 by Rava » 18 Apr 2017, 04:25

donald wrote:Hi Rava

According to this page
http://ipv6-literal.com/
your ipv6 address translates into
IPv6 URL http://[fe80::725a:b6ff:fec1:ebac]
Thanks...
The "ether address" is not an ip, it is a mac address
(ipv4 would show up as inet )
I thought ether meant ethernet, why don't they call it MAC when it's a MAC? :(
Couldn't you keep the router switched on, even if there is no internet connection,
so that the dhcp server is running?
Probably could. I still have it. But now I want to check out how to get it running without any router. Could be I want to use it somewhere else, and there is no router. Or one with just one Net-Cable, and that needs to be used for something else (like the local internet), and therefore I either have to bring my own switch (which I usually not carry around) or use it without router.

Therefore my attempt to get it running without router. :)
Cheers!
Yours Rava

Post Reply