I've added the getaway (the address of my router), and the same thing, it works in my LAN, but it doesn't work outside my LAN.
# The loopback network interface auto lo iface lo inet loopback # 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 getaway 192.168.0.1 On Friday, 30 January 2015 00:23:30 UTC+1, David wrote: > > Just a guess, but you do not have a gateway defined. Maybe that is the > issue? > On 01/29/2015 04:53 PM, 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 beagleboard...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.