[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


can't access internet outside of local network

Posted on 2006-07-20
Medium Priority
Last Modified: 2010-03-18
I am very new to linux i have had suse linux installed for a couple weeks now and i have just lost any ability to access anything outside of my local network. I am not sure how to read the ifconfig output but here is what i am getting.  I had played with the network settings which could possibly be where i made a mistake.  Now i can't seem to correct it.

eth0      Link encap:Ethernet  HWaddr 00:40:63:C4:E8:EC
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::240:63ff:fec4:e8ec/64 Scope:Link
          RX packets:1133 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1484 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:79043 (77.1 Kb)  TX bytes:1773493 (1.6 Mb)
          Interrupt:11 Base address:0xec00

lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:76 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4974 (4.8 Kb)  TX bytes:4974 (4.8 Kb)
Question by:ethnarch
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5

Author Comment

ID: 17151326
some more info if i ping my router i get this

root@linuxSuse:~> ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=0.960 ms
64 bytes from icmp_seq=2 ttl=64 time=0.844 ms

--- ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1007ms
rtt min/avg/max/mdev = 0.844/0.902/0.960/0.058 ms

If i ping an outside address
root@linuxSuse:~> ping www.google.com
ping: unknown host www.google.com
LVL 25

Expert Comment

ID: 17151382
what are the contents of

Author Comment

ID: 17151401
domain site

linuxSuse:/etc/sysconfig/network # dir
total 54
drwxr-xr-x  6 root root  424 2006-07-20 17:19 .
drwxr-xr-x  7 root root 1464 2006-07-20 17:55 ..
-rw-r--r--  1 root root 6981 2006-07-19 16:47 config
-rw-r--r--  1 root root 6708 2006-07-20 17:56 dhcp
-rw-r--r--  1 root root  245 2006-07-20 18:30 ifcfg-eth-id-00:40:63:c4:e8:ec
-rw-r--r--  1 root root  141 2005-09-09 12:15 ifcfg-lo
-rw-r--r--  1 root root 9725 2006-01-20 21:24 ifcfg.template
drwxr-xr-x  2 root root   48 2005-09-09 12:27 if-down.d
-rw-r--r--  1 root root  239 2005-09-09 12:15 ifroute-lo
drwxr-xr-x  2 root root   88 2006-06-03 13:05 if-up.d
drwx------  2 root root   48 2005-09-09 12:27 providers
-rw-r--r--  1 root root    0 2006-07-20 17:19 routes
-rw-r--r--  1 root root   25 2006-07-20 17:19 routes.YaST2save
drwxr-xr-x  2 root root 1336 2006-06-03 15:12 scripts
-rw-r--r--  1 root root 5469 2006-06-03 15:12 wireless
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 25

Expert Comment

ID: 17151456
sorry about that, forgot you were in suse
what does /etc/sysconfig/network/routes say

also, with the /etc/resolv.conf empty of servers you won't be able to resolve any dns names

Author Comment

ID: 17151471
/etc/sysconfig/network/routes says
linuxSuse:/ # dir
total 23
drwxr-xr-x   23 root root   544 2006-07-20 18:33 .
drwxr-xr-x   23 root root   544 2006-07-20 18:33 ..
drwxr-xr-x    2 root root  2920 2006-06-03 15:15 bin
drwxr-xr-x    3 root root   496 2006-06-03 15:17 boot
drwxr-xr-x   12 root root 15860 2006-07-20 18:34 dev
drwxr-xr-x   74 root root  6920 2006-07-20 18:33 etc
drwxr-xr-x    3 root root    72 2006-06-03 17:12 home
drwxr-xr-x   10 root root  4000 2006-06-03 15:12 lib
drwxr-xr-x    3 root root    80 2006-07-19 14:02 media
drwxr-xr-x    2 root root    48 2005-09-09 12:27 mnt
drwxr-xr-x    5 root root   128 2006-06-03 14:00 opt
dr-xr-xr-x  104 root root     0 2006-07-20 18:32 proc
drwxr-xr-x    3 root root   136 2006-06-04 04:14 repos
drwx------   10 root root   392 2006-07-20 19:05 root
drwxr-xr-x    3 root root  7936 2006-06-03 15:15 sbin
drwxr-xr-x    5 root root   120 2006-06-04 04:58 srv
drwxr-xr-x    2 root root    48 2005-09-09 05:59 subdomain
drwxr-xr-x   10 root root     0 2006-07-20 18:32 sys
drwxrwxrwt   29 root root  1120 2006-07-20 19:30 tmp
drwxr-xr-x   12 root root   344 2006-06-03 13:05 usr
drwxr-xr-x   14 root root   360 2006-06-03 12:49 var

so if it only says domain site and has no servers listed do I put them in, I don't know what my dns servers are maybe i can get it from my router? And do i even need them in there?

Oh and by the way my router is setup for DHCP it's just a regular linksys router hooked to a cable modem

Author Comment

ID: 17151475
oh oops sorry i thought you were looking for a directory listing

there is nothing in the file routes
LVL 25

Expert Comment

ID: 17151478
the routes file (at least on my suse box) is suppose to contain something like this

default - -

if its empty you don't have a default gateway either which explains why you can't get off your subnet.  so thru the yast and see if you can reconfigure the nic card to grab everything from dhcp.  if the linksys router is setup right that should correct everything

Author Comment

ID: 17151482
do you know how i do that?

Author Comment

ID: 17151503
nevermind i figured it out

the file now says
default - -

but i still cannot get access to an outside webpage
LVL 25

Accepted Solution

Cyclops3590 earned 1000 total points
ID: 17151522
did you fill in a dns server
for example, if your router acts as a dns proxy there should be an entry like this in your /etc/resolv.conf file


Author Comment

ID: 17152844
I did set it up and it works now thanks

shouldn't this be automatically found somewhere?
LVL 25

Expert Comment

ID: 17153231
if you are using dhcp, then yes, it should be auto set provided the dhcp server actually issues that information, otherwise you have to put it in

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question