networking - can't ping outside the local network
I recently installed Slackware Linux and I am having problems getting my network settings set correctly.
I attempted to use netconfig. I can ping other boxes on the network, but I am unable to ping sites outside of the network (e.g. google.com). I can ping my Slackware box from other Windows boxes on the network and I can ping sites outside the network from the Windows boxes. I have a cable modem which connects to my router which connects to my switch (which then connects to all of my boxes). Any Suggestions? |
1) Make sure the gateway line near the end of `/etc/rc.d/rc.inet1.conf` has the IP of your gateway(router)
2) make sure that `/etc/resolv.conf` has a nameserver entry that points to either your router or your ISP's nameserver. |
most likely a dns problem. try setting the primary name server to the ip of your router. i think there is a command like netconfig on redhat or something.
i had a similar problem and this fixed it. |
THANKS!
I am replying from my Slackware Linux machine. I am really new to Linux, yet very excited. I have to say that the community surrounding Linux makes me really happy and causes me much enthusiasm (sp)! I resolved the issue by editing '/etc/resolv.conf' with pico. I added the following two lines: Code:
nameserver 127.0.0.1 |
All times are GMT -5. The time now is 11:18 AM. |