StarSurfer Posted September 23, 2019 Share Posted September 23, 2019 Armbianmonitor: http://ix.io/1WBO Hello everybody and a nice evening. I have two EspressoBin 1GB at home and try desperately to change the static IP. No matter if in the armbian-config or under /etc/systemd/network/10-br0.network I just can not get it. Does anyone else have any advice? I've already tried Google and the forum search but any attempt fails that the IP is constantly jumping or that I no longer get a gateway. Armbian is a great distro and nobody has gotten the kernel to work so far. I hope you can help me. Alone a nice evening :-) LG StarSurfer Link to comment Share on other sites More sharing options...
ManoftheSea Posted September 25, 2019 Share Posted September 25, 2019 StarSurfer, are you trying to set a static IP on the "external" interface (/etc/systemd/network/10-wan.network) or the internal interface (br0)? Will you paste your configuration file(s) in /etc/systemd/network/ ? Additionally, beware the order of the ports. It may be that the "wan" interface is the right port instead of the left one. In your report, it shows lan0 is UP and wan is DOWN. Link to comment Share on other sites More sharing options...
guidol Posted September 25, 2019 Share Posted September 25, 2019 On 9/23/2019 at 10:46 PM, StarSurfer said: I have two EspressoBin 1GB at home and try desperately to change the static IP. No matter if in the armbian-config or under /etc/systemd/network/10-br0.network I just can not get it. Does anyone else have any advice? how about setting the network via the nmtui utility for setting the network-manager-config? On the IP of the device you have to add /24 like 192.168.6.16/24, but on the other IPs (Gateway/DNS) you dont need the /24 armbian is normally using the netmork-manager Link to comment Share on other sites More sharing options...
ebin-dev Posted September 26, 2019 Share Posted September 26, 2019 On 9/25/2019 at 5:31 PM, guidol said: armbian is normally using the netmork-manager That is true - but EspressoBin is an exception - systemd-networkd is used instead: root@ebin:~# nmtui NetworkManager is not running. root@ebin:~# networkctl IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier unmanaged 2 eth0 ether degraded configured 3 wan dsa degraded configured 4 lan0 dsa no-carrier configuring 5 lan1 dsa no-carrier configuring 6 br0 bridge routable configured 6 links listed. @StarSurfer The default configuration is DHCP=ipv4. So your router determines the ip address: root@ebin:/etc/systemd/network# cat 10-br0.network [Match] Name=br0 [Network] DHCP=ipv4 You may specify a static IP in 10-br0.network. According to this explanation the following should work (change the address according to your needs): root@ebin:/etc/systemd/network# cat 10-br0.network [Match] Name=br0 [Network] Address=10.1.10.9/24 Gateway=10.1.10.1 DNS=10.1.10.1 #DNS=8.8.8.8 Link to comment Share on other sites More sharing options...
StarSurfer Posted September 27, 2019 Author Share Posted September 27, 2019 Hey Guys thanks for your help. It was initially the right way to edit 10-br0.network. The mistake ansich was PiHole because Pi Hole made the IP always the same IP. I have now uninstalled Pi Hole and lo and behold, everything works now. The IP is now static. That's what it looks like now. [Match] Name = br0 [Network] Address = 192.168.179.23 / 24 Gateway = 192.168.179.1 DNS = 192.168.179.1 # DNS = 8.8.8.8 Thanks for your help :-) Have a nice weekend. Link to comment Share on other sites More sharing options...
Recommended Posts