LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-06-2010, 09:35 PM   #1
lindners
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Rep: Reputation: 0
Suddenly, cannot connect o the internet


Hi there,

First, I post this under "General" b/c I have the same problem with ethernet and wireless, and it does not seem to be a distribution-specific problem (I have slack 12.2).

I suddenly cannot connect to the internet from work and at home with my laptop. Both ethernet and wireless won't work. I still get an IP address, and can also ping it, but cannot ping other addresses. What befuddles me that it happened today at work and at home, that it worked fine at both places before, and that I just connected to the internet yesterday at an airport. I have not installed any new programs, nor have we changed our internet provider etc. My girlfriend's laptop (Windows -- gnnn) still can connect to the internet without problems.

I'm using wicd 1.5.4 and it worked fine so far.

I would be grateful for any ideas what could be the reason.

Cheers,

STephan

Last edited by lindners; 07-06-2010 at 09:38 PM.
 
Old 07-06-2010, 10:01 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Check if the default gateway is correct.
Post the output of "sudo /sbin/ifconfig" and "sudo /sbin/route".
Post the contents of /etc/resolv.conf and /etc/nsswitch.conf.

To test if dns is resolving hostnames correctly try:
getent hosts www.google.com
 
Old 07-07-2010, 09:10 AM   #3
lindners
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Hi there,

Thanks for the reply. Sorry for the slow response, the laptop is at work, and I have to use a different computer to post. Below are the outputs, hope they are instructive.

-- Stephan



sudo /sbin/ifconfig

eth0 Link encap:Ethernet HWaddr 00:03:0d:77:a8:08
inet addr:141.211.139.232 Bcast:141.211.139.255 Mask:255.255.255.0
inet6 addr: fe80::203:dff:fe77:a808/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5221 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:447550 (437.0 KiB) TX bytes:2972 (2.9 KiB)
Interrupt:18 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:400 (400.0 B) TX bytes:400 (400.0 B)

wlan0 Link encap:Ethernet HWaddr 00:1b:77:10:d8:2d
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wmaster0 Link encap:UNSPEC HWaddr 00-1B-77-10-D8-2D-65-74-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)



sudo /sbin/route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
141.211.139.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 141.211.139.1 0.0.0.0 UG 0 0 0 eth0


Contents of /etc/resolv.conf

search pdxwifi.com
nameserver 65.106.1.196
nameserver 65.106.7.196


Contents of /etc/nsswitch.conf

#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# [NOTFOUND=return] Stop searching if not found so far
#

# passwd: files nis
# shadow: files nis
# group: files nis

passwd: compat
group: compat

hosts: files dns
networks: files

services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
bootparams: files

automount: files
aliases: files



getent hosts www.google.com

No output (i.e., the program processed for a while, then did not print any output, no error message either).
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suddenly, Cannot connect to network gilman824 Linux - Networking 4 11-27-2006 04:36 PM
Suddenly can't wirelessly connect with my Inspiron E1405 muskyminxx Linux - Newbie 2 08-27-2006 09:46 AM
Slackware10.2 suddenly isn't able to connect to internet makinavaja Linux - Networking 6 05-06-2006 10:16 AM
This one's got me stumped...suddenly can only connect in not out ealpert1 Linux - Networking 8 12-19-2004 12:39 PM
Hello. I don't know why suddenly i can't go on internet..can anyone help me out. babyboss Linux - Networking 8 10-16-2004 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:46 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