Hello,
I have a BBBK Rev B with Debian 7.6 booting from a SD card. I’m trying to set up a static IP.
I have added the following lines in the /etc/network/interfaces file :
Works for me using debian. I went so far as to paste your config into my interface. Should have been a mess for me. ifconfig said eht0 was 192.168.1.99 but I could not telnet even if I set the gatway to my 192.168.0.1
I'm using BeagleBoard.org BeagleBone Debian Image 2014-05-14 Try pasting mine, check your gatway with route -n Best, Dan.
Most home use routers come per-configured with DHCP addresses being in the range of *.02 to *.100, or less. The idea is to keep DHCP address in one small sub range while static ip’s are above this.
BTW has this issue been posted before ? Or did someone drag up an old post ?
auto eth0
iface eth0 inet static
address 192.168.1.99
netmask 255.255.255.0 network 192.168.0.0 <— wrong network based on the rest of the configuration
gateway 192.168.1.1
broadcast 192.168.1.255
network 192.168.0.0 should be network 192.168.1.0 OR the rest of the configuration is wrong.
I’ve tried what you suggested but, unfortunately, without any success.
I’m wondering if the root cause of my problem isn’t that I run Debian from the SDCARD (not loaded in eMMC).
I have a similar issue with fstab. I’ve added a mount command to a network share and it is not taken into account at boot time. If I run the “mount -a” manually it works.
So, it seems that any change I make in the /etc folder is not used at boot time. I don’t understand why …
It takes a long time (sometimes a minute or more) for the BBB's
network connection to start up after booting. Are you possiblly seing
a consequence of this where the mount of the remote file systems at
boot time fails because the network isn't available?