New Server - Fresh Zima OS 1.5.0 install - Network

I got my new Aroostar WTR Max and installed from the same thumbdrive as my other server, and it’s up and going, but under Network this is all I ee


Nothing under connection. I want to change the IP from the dhcp one it has to a specific static IP like I have on my other server.

Also how do I make it pick up the 1.5.1 update?

New system
CPU
AMD Ryzen 7 PRO 8845HS w/ Radeon 780M Graphics
8 Cores3.80 GHz16 Threads
RAM
2 RAM 64 GB total
5600 MHzDDR5

Boot drive 1TB NVME
Storage 1 2TB NVME
Also 1 4TB NVME Drive
Soon adding 2 16TB HDD

Has 2 2.5gb nics and 2 SFP+ nics
ethernet should be currently enp102s0
has an Ip of 192.168.1.125

May I know how you got the IP address and visited it?

The .125 was assigned by DHCP. On my router, I set that to Fixed IP (Reservation essentially). I still see no option to change to static IP in the Settings on this device. I am guessing it is because it’s plugged into the 2nd 2.5gb nic instead of the 1st one. (eth1 instead of eth0) I’m leaving it how it is incase Zima wants logs or anything. Oh, and it has been updated to 1.5.1, still shows Plus on it.
The 2 2.5gb nics are Ethernet Controller I226-V (Rev 4) (Eth0 and Eth1)
The 2 SFP ports I hope to use soon (When you add drivers, or can I add the drivers some way?)
Ethernet Controller X710 for 10GbE SFP+ (Rev 02) (Eth2 and Eth3)

The only one connected currently is Eth1 It will be plugged in to 2.5gb and maybe the SFP+ too in the next 48 hours hopefully.

I also have my 16TB raid 1 setup :slight_smile:

Could you try unsetting the fixed IP address in your router and then using Zima Client to discover and connect to your ZimaOS? We suggest you make the IP static in ZimaOS instead, after that.

The real IP is also shown on a dedicated connected screen(If connected).

Regarding the x710 driver, I have forwarded the driver integration request to @Zima-Jerry for review. Hopefully, we will receive good news.

Look forward to your feedback.

There is NO WAY to set a static IP in Zima OS settings!!

Ähm, on my machine I am able to set a static IP.

You mean you followed the advice and removed the router’s address settings, but ZimaOS still can’t provide the IP settings interface? Am I understanding correctly?

Some command return is required

lspci
cat /etc/casaos/zimaos.conf

Theoretically, the value of ETHS and the network card PCI of lspci do not match, resulting in no display, you can directly empty the value of ETHS and try it

corresponding commands

sed -i 's/^\(ETHS\s*=\s*\).*/\1/' /etc/casaos/zimaos.conf
systemctl restart zimaos

Here is the output of lspci that is ethernet related

64:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
64:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
65:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
66:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)

Here is zimaos.conf Before the command to remove ETHS

root@ZimaWTR:/etc/casaos ➜ # cat zimaos.conf
[app]
PAGE_SIZE       = 10
RuntimeRootPath = runtime/
LogPath         = /var/log/casaos/
LogSaveName     = log
LogFileExt      = log
DateStrFormat   = 20060102
DateTimeFormat  = 2006-01-02 15:04:05
TimeFormat      = 15:04:05
DateFormat      = 2006-01-02
DBPath          = /var/lib/casaos
ShellPath       = /usr/share/casaos/shell
UserDataPath    = /var/lib/casaos/conf

[server]
RunMode      = release
ServerApi    = https://api.casaos.io/casaos-api
Handshake    = socket.casaos.io
Token        =
USBAutoMount =
GPU          = 0
ETHS         =
THUS         =
ScheduledOff =

[system]

[common]

So it was already ETHS = (blank)
But ran the command to make it bland and restart Zimaos anyway. No change.

I have tried various things to get it to show under network in settings, and nothing is making it show there.

I first did a shut down, and then powered it back up.
No change
I removed the ip reservation
It picked up a new IP .123
Still nothing in configuration
I switched ports to the other 2.5gb port (ETH0 instead of ETH1)
Nothing in Settings/network
Powered it down again (Note it never shut down the 2 times I tried it via the gui, I had to kill power to it)
Watched it power up again, picked up .123 again.
Settings/network still doesn’t show it.

Here is the output of ifconfig showing it is now on eth0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.123  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fdf7:efe6:2b88:b71:f5b4:ed95:711d:e780  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::ec87:fa78:7c3d:a870  prefixlen 64  scopeid 0x20<link>
        ether c8:ff:bf:0e:3e:32  txqueuelen 1000  (Ethernet)
        RX packets 12448  bytes 2059925 (1.9 MiB)
        RX errors 0  dropped 412  overruns 0  frame 0
        TX packets 4426  bytes 1846682 (1.7 MiB)
        TX errors 0  dropped 2 overruns 0  carrier 0  collisions 0
        device memory 0xdca00000-dcafffff

zimaos.conf still shows eths =

[server]
RunMode      = release
ServerApi    = https://api.casaos.io/casaos-api
Handshake    = socket.casaos.io
Token        =
USBAutoMount =
GPU          = 0
ETHS         =
THUS         =
ScheduledOff =

[system]

[common]

I would like to manually set the static via this cli command

sudo nmcli connection modify "Wired connection 1" ipv4.method manual ipv4.addresses "192.168.1.10/24" ipv4.gateway "192.168.1.1" ipv4.dns "8.8.8.8,8.8.4.4"

Unless you have something else for me to try, I plan to do that.
I’d actually like to find a way to use that same IP no matter which interface I use
I’d love to be able to do Both SFP+ aggregated for 20Gig connection. My switch supports that.
Or in the mean time try Dual 2.5gb for 5Gig connection. My switch supports that too (different switch)

sed -i 's/^\(ETHS[[:space:]]*=[[:space:]]*\).*$/\1 64:00.0,64:00.1/' /etc/casaos/zimaos.conf
systemctl restart zimaos

change ETHS pci and then restart zimaos service

Since we only made mesh display compatibility for ZimaCube devices before, other devices need specific mesh PCI and fill it in

Provide a screenshot of the reference

I think you had me set it to the wrong. The # you had me do was for the sfp+ ports. I did that first, still didn’t show able to change in settings/network.

So I then did this

sed -i 's/^\(ETHS[[:space:]]*=[[:space:]]*\).*$/\1 65:00.0,66:00.0/' /etc/casaos/zimaos.conf
systemctl restart zimaos


And this picture tells it all.
Still settings/network doesn’t show the interfaces. I even end up doing the restart from here in settings, and still the same

I’ll try a full on power cycle in the morning. I need to head to bed for now.
Also my time keeps doing weird stuff, It’s showing the right time now but it’s back to 24hr. I’ve changed it to 12 hour more than once. And earlier today it was off by several hours until I reset the time zone again.

Can you give me the return result of this command?

curl http://127.0.0.1/v2/zimaos/network/interfaces

Get this message

I also did a power off (Actually powered down this time). Gave it a good 30 seconds plus before powering up, and still in Settings/Network no option to configure the network.

According to this error, it should be judged that the lshw information parsing error is wrong, and use this command to retrieve the lshw information from ZimaOS-HD
change to root mode first

sudo -i
lshw > /DATA/lshw.log

I sent the output to you in a private message.