Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
#This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.15
network 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameserver 4.2.2.2
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
Last night I had this same issue. I'm connected using SSH, even VNC works, but I can't route to the internet. Both boxes are connected to the same router (Shitty Netgear WPN824v2 wireless router), obviously it's working as I am able to post this. I can access the network shares from one pc to another, I can access the router website.. But I can't connect to the internet. iptables hasn't been configured apart from the default settings so I don't think that would be an issue..
Any reason why this wouldn't be working?
I do have 3 NIC's (Onboard = eth0, ethernet NIC and wireless NIC are both installed in the pc but not set up yet)
Last edited by RandomZero; 10-25-2009 at 11:42 PM.
I'm not entirely sure what "network" is supposed to be.. I was just googling possible configs and one seemed to have it in there so I threw it in mine.
I did however just change it
currently reads:
Code:
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.15
network 192.168.1.0
netmask 255.255.255.0
gateway 192.168.1.1
Also, seems to be just a DNS issue.
ping 4.2.2.2 works, but ping google.com does not. Which would explain why intranet works, and internet does not.
I know the dns server I had specified works, as I've used the same ones for a good 5 years now (even on this box..)
Last edited by RandomZero; 10-26-2009 at 12:02 AM.
Just noticed as I was rebooting the pc, the winbind daemon is failing to start. Quick google search shows it's used for resolving names from NT servers.. Would this have any affect on the DNS?
Last edited by RandomZero; 10-26-2009 at 12:23 AM.
Try testing them individually with dig as before and remove any that don't respond from your network config. After that, if you can successfully perform name resolution at the command line try this:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.