PINE64
Need help with a problem on all OSs - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: General Discussion on ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=86)
+--- Thread: Need help with a problem on all OSs (/showthread.php?tid=5988)



Need help with a problem on all OSs - jaimehrubiks - 04-19-2018

Hello everyone.

I have a problem that I can not solve on my own. I've been trying for some days without success so I had no choice other than asking for help here.

The thing is that I can not set correctly a static IP on my rock64. I mean, I do can, but the device will ALSO maintain the previous DHCP assigned IP forever. My device does have two IP addresses on the same interface eth0 (not even eth0:1). The problem is that the behaviour is unpredictable.  I will explain myself:

For example, I can connect to it using TCP, and it works perfectly, on BOTH IPs.

But, if I use UDP, it will answer with the DHCP assigned IP, thus the source discards the connection.

I have tried everything I could think of. I installed three different ayufan's stable releases as well as non stable ones (jessie minimal 0.5.15, OMV3 0.6.31, OMV3 0.15.5, OMV4, now I have stretch 0.6.31).. And the problem persists.

No matter if I use omv web panel, or /etc/network/interfaces. I can set an IP, but the other one will be there as well forever.

The only thing that I can think of is the way I am installing the OSs, in case there is some problem.

I just use a SD-installed OS to boot, then I use a script that automatically downloads and writes the image to the emmc card. I am not "formatting" that emmc before. rock64_reset_emmc.sh does not work for me, nor does the jumper to boot on sd card. If I have both the sd and emmc, it will boot the sd, so I use it to write the emmc, then I take the sd off to boot from emmc. If I use the jumper, I will boot on SD as well, but the emmc will not be available, even if I take the jumper off, and use the reset script (which says device does not exist).

Thanks for your help. If you need any further information to help me I will provide it as soon as I can.


RE: Need help with a problem on all SOs - pfeerick - 04-19-2018

(04-19-2018, 09:51 AM)jaimehrubiks Wrote: No matter if I use omv web panel, or /etc/network/interfaces. I can set an IP, but the other one will be there as well forever.

I'm not sure how OMV configures the networking, but if it's via NetworkManager, you might need to use nmtui/nmcli to configure the network settings instead, not /etc/network/interfaces and /etc/network/interfaces/interfaces.d/<contents of directory>. I'm wondering if the DHCP configuration is not being completely removed, hence why you're seeing that behaviour.


RE: Need help with a problem on all OSs - jaimehrubiks - 04-20-2018

Ok. After some testing I couldn't find out the reason of this error.

However, I can confirm that I fixed my problem by installing ubuntu instead of any debian-based OS.

Very weird problem because never happened to me something like this before... I could even verify by arp-ing both IPs getting the same link-level address.