[NBLUG/talk] Can't connect to the Internet

Joey Moe family_geek at yahoo.com
Thu Jan 31 13:39:56 PST 2008


Usually when something like this happens I find that the simplest solution winds up being the right solution. I have noticed that when I shut down my Ubuntu box, the nick continues to give ok connectivity lights. This leads me to believe that the router and your Ubunut NIC continue to communicate. By shutting down the computer probably while it was churning at some background process most likely left the computer in a state of flux. 

Try shutting down the computer for about 10 sec, unplugging the network cable, and restarting the machine. Then you can plug in the network cable and freshly renew your DHCP settings.

Hope that helps!

Joey Moe

talk-request at nblug.org wrote: Send talk mailing list submissions to
 talk at nblug.org

To subscribe or unsubscribe via the World Wide Web, visit
 http://nblug.org/cgi-bin/mailman/listinfo/talk
or, via email, send a message with subject or body 'help' to
 talk-request at nblug.org

You can reach the person managing the list at
 talk-owner at nblug.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of talk digest..."


Today's Topics:

   1. OLPC demand exceeds supply! (Lincoln Peters)
   2. Can't connect to the Internet (Roger House)
   3. Re: Can't connect to the Internet (Jack Smith)
   4. Re: Can't connect to the Internet (Jack Smith)
   5. Re: Can't connect to the Internet (Barry Stump)
   6. Re: Can't connect to the Internet (Troy Arnold)
   7. Re: Can't connect to the Internet (Roger House)
   8. Re: Can't connect to the Internet (Ken McGlothlen)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 Jan 2008 23:53:49 -0800
From: "Lincoln Peters" 
Subject: [NBLUG/talk] OLPC demand exceeds supply!
To: "General NBLUG chatter about anything Linux, answers to questions,
 etc." 
Message-ID:
 
Content-Type: text/plain; charset=ISO-8859-1

Apparently, the OLPC foundation's "Give 1, Get 1" program was such a
huge success that their production capacity is overwhelmed.  My order
(and countless others, I'm sure) has been delayed, and won't arrive
for another 45-60 days.  Not surprisingly, I have mixed feelings--I'm
glad that the program was successful, but I'm annoyed that it's going
to take so long to get my hands on an XO.

This Spring, I'm leading hikes at the Fairfield Osborn Preserve with
elementary school children, and I had thought that an XO laptop might
prove to be an excellent teaching tool.  For example, I could lead
them to the creek, and then use the laptop to show them pictures of
the creek before the big rains from two years ago.  But hikes start in
about 30 days, which is 15-30 days (or 2-5 hikes) before I could
expect to receive my XO laptop!

I'm not terribly upset, though.  I've led these hikes before, without
any such technological aids, so I know I don't need it.  I just think
it would be a great way to enrich their experience.


I hope that they eventually revive the "Give 1, Get 1" program, as I
know a lot of people in this area who I think would really benefit
from them.  Of course, I also hope they can significantly boost their
production capacity and avoid future delays.


-- 
Lincoln Peters




------------------------------

Message: 2
Date: Thu, 31 Jan 2008 08:48:40 -0800
From: Roger House 
Subject: [NBLUG/talk] Can't connect to the Internet
To: talk at nblug.org
Message-ID: <47A1FBE8.20009 at sonic.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Yesterday while using my Ubuntu machine to work on a remote machine via
VPN (using vpnc), my keyboard locked up.  The mouse cursor still worked,
but there seemed to be no way to get back to Ubuntu on my local machine.
In desperation (and perhaps foolishly), I hit the reset button.  Soon
enough Ubuntu was back up and running on my local machine, but I had no
Internet connection, and I have not had it since.

I have a home office network with a cable modem, router, and three
computers, the Ubuntu machine, my wife's Windows machine, and another
Windows machine that I almost never use.  I quickly verified that both
Windows machines have Internet access.  So the problem lies with the
Ubuntu machine or its connection to the router.  The latter does not
seem to be a problem since I can access the router from the Ubuntu
machine with Firefox.  In fact I see a DHCP Clients Table which contains
info on my two Windows machines, but not on the Ubuntu machine.

I'm guessing that by hitting the reset button things were left in some
unpleasant state on the Ubuntu machine which prevents it from connecting
to the Internet.

Any input on what to do will be greatly appreciated.

Roger House




------------------------------

Message: 3
Date: Thu, 31 Jan 2008 12:11:08 -0500
From: "Jack Smith" 
Subject: Re: [NBLUG/talk] Can't connect to the Internet
To: "General NBLUG chatter about anything Linux, answers to questions,
 etc." 
Message-ID:
 
Content-Type: text/plain; charset="iso-8859-1"

On Jan 31, 2008 11:48 AM, Roger House  wrote:

> Yesterday while using my Ubuntu machine to work on a remote machine via
> VPN (using vpnc), my keyboard locked up.  The mouse cursor still worked,
> but there seemed to be no way to get back to Ubuntu on my local machine.
> In desperation (and perhaps foolishly), I hit the reset button.  Soon
> enough Ubuntu was back up and running on my local machine, but I had no
> Internet connection, and I have not had it since.
>
> I have a home office network with a cable modem, router, and three
> computers, the Ubuntu machine, my wife's Windows machine, and another
> Windows machine that I almost never use.  I quickly verified that both
> Windows machines have Internet access.  So the problem lies with the
> Ubuntu machine or its connection to the router.  The latter does not
> seem to be a problem since I can access the router from the Ubuntu
> machine with Firefox.  In fact I see a DHCP Clients Table which contains
> info on my two Windows machines, but not on the Ubuntu machine.
>
> I'm guessing that by hitting the reset button things were left in some
> unpleasant state on the Ubuntu machine which prevents it from connecting
> to the Internet.
>
> Any input on what to do will be greatly appreciated.
>
> Roger House
>

I ran into a problem with multiple NICs after a complete install of Fedora
8.  In my case I had a NIC connecting to a wireless router and another
connecting to another router that connects to the cable modem.  Since the
wireless router daisy-chained through the regular router to get to the
Internet I had multiple possible routes to the Internet and it appears to
have confused my computer, even though everything looked fine.  In my case
it healed itself in about a day.

So what I'm asking, is there any way your computer could be confused about
the correct path to the Internet?

-- 
Jack Smith

English doesn't borrow from other languages -- English follows other
languages down dark alleys and takes what it wants.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://nblug.org/pipermail/talk/attachments/20080131/a4f26b61/attachment-0002.htm 

------------------------------

Message: 4
Date: Thu, 31 Jan 2008 12:11:08 -0500
From: "Jack Smith" 
Subject: Re: [NBLUG/talk] Can't connect to the Internet
To: "General NBLUG chatter about anything Linux, answers to questions,
 etc." 
Message-ID:
 
Content-Type: text/plain; charset="iso-8859-1"

On Jan 31, 2008 11:48 AM, Roger House  wrote:

> Yesterday while using my Ubuntu machine to work on a remote machine via
> VPN (using vpnc), my keyboard locked up.  The mouse cursor still worked,
> but there seemed to be no way to get back to Ubuntu on my local machine.
> In desperation (and perhaps foolishly), I hit the reset button.  Soon
> enough Ubuntu was back up and running on my local machine, but I had no
> Internet connection, and I have not had it since.
>
> I have a home office network with a cable modem, router, and three
> computers, the Ubuntu machine, my wife's Windows machine, and another
> Windows machine that I almost never use.  I quickly verified that both
> Windows machines have Internet access.  So the problem lies with the
> Ubuntu machine or its connection to the router.  The latter does not
> seem to be a problem since I can access the router from the Ubuntu
> machine with Firefox.  In fact I see a DHCP Clients Table which contains
> info on my two Windows machines, but not on the Ubuntu machine.
>
> I'm guessing that by hitting the reset button things were left in some
> unpleasant state on the Ubuntu machine which prevents it from connecting
> to the Internet.
>
> Any input on what to do will be greatly appreciated.
>
> Roger House
>

I ran into a problem with multiple NICs after a complete install of Fedora
8.  In my case I had a NIC connecting to a wireless router and another
connecting to another router that connects to the cable modem.  Since the
wireless router daisy-chained through the regular router to get to the
Internet I had multiple possible routes to the Internet and it appears to
have confused my computer, even though everything looked fine.  In my case
it healed itself in about a day.

So what I'm asking, is there any way your computer could be confused about
the correct path to the Internet?

-- 
Jack Smith

English doesn't borrow from other languages -- English follows other
languages down dark alleys and takes what it wants.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://nblug.org/pipermail/talk/attachments/20080131/a4f26b61/attachment-0003.htm 

------------------------------

Message: 5
Date: Thu, 31 Jan 2008 10:06:14 -0800
From: "Barry Stump" 
Subject: Re: [NBLUG/talk] Can't connect to the Internet
To: "General NBLUG chatter about anything Linux, answers to questions,
 etc." 
Message-ID:
 <3a1097b40801311006r72d28087hdfd0cc76e746edf8 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

I've run into your exact problem.  If you restart or reset your
computer without using vpnc-disconnect, it won't clean up the extra
vpnc entries in resolv.conf, and your DNS resolution will be all
screwed up.  The solution is to sort the file out by hand, and then
remember to never restart without explicitly calling vpnc-disconnect
first.  Good luck.

-Barry

On Jan 31, 2008 8:48 AM, Roger House  wrote:
> Yesterday while using my Ubuntu machine to work on a remote machine via
> VPN (using vpnc), my keyboard locked up.  The mouse cursor still worked,
> but there seemed to be no way to get back to Ubuntu on my local machine.
> In desperation (and perhaps foolishly), I hit the reset button.  Soon
> enough Ubuntu was back up and running on my local machine, but I had no
> Internet connection, and I have not had it since.
>
> I have a home office network with a cable modem, router, and three
> computers, the Ubuntu machine, my wife's Windows machine, and another
> Windows machine that I almost never use.  I quickly verified that both
> Windows machines have Internet access.  So the problem lies with the
> Ubuntu machine or its connection to the router.  The latter does not
> seem to be a problem since I can access the router from the Ubuntu
> machine with Firefox.  In fact I see a DHCP Clients Table which contains
> info on my two Windows machines, but not on the Ubuntu machine.
>
> I'm guessing that by hitting the reset button things were left in some
> unpleasant state on the Ubuntu machine which prevents it from connecting
> to the Internet.
>
> Any input on what to do will be greatly appreciated.
>
> Roger House
>
>
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/cgi-bin/mailman/listinfo/talk
>



------------------------------

Message: 6
Date: Thu, 31 Jan 2008 11:07:21 -0800
From: Troy Arnold 
Subject: Re: [NBLUG/talk] Can't connect to the Internet
To: "General NBLUG chatter about anything Linux, answers to questions,
 etc." 
Message-ID: <20080131190721.GA3437 at zenux.net>
Content-Type: text/plain; charset=us-ascii

On Thu, Jan 31, 2008 at 08:48:40AM -0800, Roger House wrote:
> Yesterday while using my Ubuntu machine to work on a remote machine via
> VPN (using vpnc), my keyboard locked up.  The mouse cursor still worked,
> but there seemed to be no way to get back to Ubuntu on my local machine.
> In desperation (and perhaps foolishly), I hit the reset button. 

I see Barry answered the hard part, so here's another tip:

If you want to restart a machine whose display or keyboard is hosed, you
can ssh in (assuming ssh is enabled) from another machine and type
sudo /sbin/reboot or sudo /sbin/poweroff.  In many cases you'd probably be
able to fix the issue without restarting by doing:
  sudo /etc/init.d/gdm restart
(where gdm is your display manager.  Other common DM's are xdm and kdm)


If you're concerned about running sshd, you can add the line,
ALL: ALL 
to /etc/hosts.deny
and 
sshd: 192.168.1.
to /etc/hosts.allow.  
That will deny sshd for everyone not in 192.168.1.0/24.  You can also use
specific hosts instead of a range:
sshd: 192.168.1.10
sshd: 192.168.1.7

I hope I haven't drifted too far OT with this but I rely on ssh so much
that I can't imagine not having it available.

-troy



------------------------------

Message: 7
Date: Thu, 31 Jan 2008 11:43:17 -0800
From: Roger House 
Subject: Re: [NBLUG/talk] Can't connect to the Internet
To: "General NBLUG chatter about anything Linux, answers to questions,
 etc." 
Message-ID: <47A224D5.60005 at sonic.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Thank you very much to everyone who responded.  I looked at /etc/resolv.conf
and found this (other than comments and blank lines):

    search hsd1.ca.comcast.net. infocentricity.com
    nameserver 192.168.11.25
    nameserver 192.168.11.26

Unfortunately, I don't know if this info is okay, and, if not, what it 
should
be changed to.  My ISP is Comcast and the place I VPN into is 
InfoCentricity,
both referenced in the "search" line.

Here is the info displayed by the Status tab of my LinkSys router:

Host Name:        
Firmware Version:         1.39, Jun 04 2001

Login:     
   Disable

LAN:     
   (MAC Address: 00-04-5A-D2-D0-1B)
    
   IP Address:    192.168.1.1
   Subnet Mask:    255.255.255.0
   DHCP server:    Enabled

WAN:     
   (MAC Address: 00-04-5A-D2-D0-1C)
    
   IP Address:    67.188.231.59
   Subnet Mask:    255.255.254.0
   Default Gateway:    67.188.230.1
   DNS:    208.201.224.11
        208.201.224.33
         68.87.76.178

Please tell me how resolv.conf should be modified.

Roger House


Barry Stump wrote:
> I've run into your exact problem.  If you restart or reset your
> computer without using vpnc-disconnect, it won't clean up the extra
> vpnc entries in resolv.conf, and your DNS resolution will be all
> screwed up.  The solution is to sort the file out by hand, and then
> remember to never restart without explicitly calling vpnc-disconnect
> first.  Good luck.
>
> -Barry
>
> On Jan 31, 2008 8:48 AM, Roger House  wrote:
>   
>> Yesterday while using my Ubuntu machine to work on a remote machine via
>> VPN (using vpnc), my keyboard locked up.  The mouse cursor still worked,
>> but there seemed to be no way to get back to Ubuntu on my local machine.
>> In desperation (and perhaps foolishly), I hit the reset button.  Soon
>> enough Ubuntu was back up and running on my local machine, but I had no
>> Internet connection, and I have not had it since.
>>
>> I have a home office network with a cable modem, router, and three
>> computers, the Ubuntu machine, my wife's Windows machine, and another
>> Windows machine that I almost never use.  I quickly verified that both
>> Windows machines have Internet access.  So the problem lies with the
>> Ubuntu machine or its connection to the router.  The latter does not
>> seem to be a problem since I can access the router from the Ubuntu
>> machine with Firefox.  In fact I see a DHCP Clients Table which contains
>> info on my two Windows machines, but not on the Ubuntu machine.
>>
>> I'm guessing that by hitting the reset button things were left in some
>> unpleasant state on the Ubuntu machine which prevents it from connecting
>> to the Internet.
>>
>> Any input on what to do will be greatly appreciated.
>>
>> Roger House
>>
>>
>> _______________________________________________
>> talk mailing list
>> talk at nblug.org
>> http://nblug.org/cgi-bin/mailman/listinfo/talk
>>
>>     
>
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/cgi-bin/mailman/listinfo/talk
>
>
>   




------------------------------

Message: 8
Date: 31 Jan 2008 12:02:26 -0800
From: Ken McGlothlen 
Subject: Re: [NBLUG/talk] Can't connect to the Internet
To: talk at nblug.org
Message-ID: <86hcgtojal.fsf at c3po.artlogix.com>
Content-Type: text/plain; charset=us-ascii

| From: Roger House 
| 
| [...]  I looked at /etc/resolv.conf and found this (other than comments and
| blank lines):
| 
|     search hsd1.ca.comcast.net. infocentricity.com
|     nameserver 192.168.11.25
|     nameserver 192.168.11.26
| 
| Unfortunately, I don't know if this info is okay, and, if not, what it should
| be changed to.  My ISP is Comcast and the place I VPN into is InfoCentricity,
| both referenced in the "search" line.
| 
| Here is the info displayed by the Status tab of my LinkSys router:
| 
| [...]
| WAN:     
|    (MAC Address: 00-04-5A-D2-D0-1C)
|     
|    IP Address:    67.188.231.59
|    Subnet Mask:    255.255.254.0
|    Default Gateway:    67.188.230.1
|    DNS:    208.201.224.11
|         208.201.224.33
|          68.87.76.178
| 
| Please tell me how resolv.conf should be modified.

Well, your LinkSys is getting its information from the Comcast DHCP server;
that's where it's getting its DNS server information from.  If you change the
contents of your /etc/resolv.conf file to match:

        search hsd1.ca.comcast.net. infocentricity.com
        nameserver 208.201.224.11
        nameserver 208.201.224.33
        nameserver 68.87.76.178

that should work.

                                                        ---Ken



------------------------------

_______________________________________________
talk mailing list
talk at nblug.org
http://nblug.org/cgi-bin/mailman/listinfo/talk


End of talk Digest, Vol 46, Issue 31
************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://nblug.org/pipermail/talk/attachments/20080131/28e43a1c/attachment-0001.htm 


More information about the talk mailing list