Hi
I use Debian 10.3 on a beaglebone enhanced industrial and try to configure 
eth0 to a static ip.
https://wiki.debian.org/NetworkConfiguration  claim /etc/network/interfaces 
should have the lines
   auto eth0
   iface eth0 inet static
       address 192.168.10.156
       netmask 255.255.255.0
       gateway 192.168.10.1

the commands ifup and ifdown should then take care of the switching.

$ ifdown eth0
results in an error 
   ifdown: interface eth0 not configured

When I reboot, I do get the right address and everything seem to work.
However *the service networking.service gets an error.*

Interestingly, the original version of /etc/network/interfaces does not 
mention eth0, yet it starts correctly. Is there some other mechanism 
starting it? 

What is the correct way of configuring static ip for eth0?

best
Johan Ingvast

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/33fafacd-c77d-473b-bb74-ba4eca78492fn%40googlegroups.com.

Reply via email to