Portux static ip configuration failure

Hi everybody,

automatic configuration (DHCP) works when the device (Portux Mini PC) is attached to a router.

However, I'd like to assign a static IP at boot time as described in the manual. I edited /etc/network/interfaces according to the manual:

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.200

Unfortunately this configuration does not work during boot.

I have to invoke "ifup eth0" manually. This configures eth0 as desired
And produces output
ifup: can't open '/var/run/ifstate': No such file or directory
eth0: link up (100/Full)

The second message is fine, the first one may indicate a problem...

Why does automatic at boot time work but not static?

Any help or hint is appreciated. How do you do your static ip config???

Best Regards,
Uwe

Re: Portux static ip configuration failure

Static IP configuration works here with your config. The error message indicates that it is a problem with the volatile file system and not your config. See this FAQ entry for a possible solution: http://www.armbedded.eu/node/238

Syndicate content