LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-07-2004, 01:13 PM   #1
w0lf42
LQ Newbie
 
Registered: Feb 2003
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
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?
 
Old 04-07-2004, 01:21 PM   #2
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
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.
 
Old 04-07-2004, 05:31 PM   #3
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Rep: Reputation: 15
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.
 
Old 04-10-2004, 12:50 AM   #4
w0lf42
LQ Newbie
 
Registered: Feb 2003
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
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
nameserver 192.168.0.1
Thanks Again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 won't ping 127.0.0.1 or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 05:59 PM
Suse 9.2 firewall prevents 'ping' on local network? Steerpike SUSE / openSUSE 5 11-27-2004 05:56 PM
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 10:54 AM
Unable to ping or Traceroute or FTP from local network. retheesh Linux - Networking 3 10-15-2003 06:20 AM
Vector Linux : Can ping local network, can't access internet JoeLinux Linux - Networking 7 12-25-2002 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration