agent paisley, to connect to the BBB from outside my LAN I use the public ip of my network, not the the static ip of the BBB in my LAN. I can't connect to it if I use 'iface eth0 inet static', but if I use 'iface eth0 inet dhcp', it works perfectly and I can connect to BBB outside my LAN.
On Thursday, 29 January 2015 23:53:53 UTC+1, greedman wrote: > > Hi all, > > I use a BBB, with Debian, to transfer files through a SSH connection, and > I have been configuring it to have a static IP. > > I have configured it modifying the file “/etc/network/interfaces”, where > I've added: > > # The primary network interface > auto eth0 > #iface eth0 inet dhcp > iface eth0 inet static > #name Ethernet alias LAN card > address 192.168.0.89 > netmask 255.255.255.0 > network 192.168.0.1 > broadcast 192.168.0.255 > > And I've also modified the file “/etc/resolv.conf”, where I've added: > nameserver 192.168.0.1 > nameserver 8.8.8.8 > > On the inTRAnet it works perfectly, but when I try to connect from the > internet to the BBB it doesn't work (with the original configuration, > without static ip, the connection is established). > > I think the trouble is due to the “interfaces” file changes, but I do not > know why. > > I've used the next links: > > https://sheldondwill.wordpress.com/2013/12/14/beaglebone-black-ubuntu-change-to-static-ip-address/ > https://www.howtoforge.com/debian-static-ip-address > > Thanks in advance > > > -- 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]. For more options, visit https://groups.google.com/d/optout.
