internet link broken

Asked by GaryLKerr

 After doing the upgrade from 9.4 to 10.04, the laptop could no longer find the Internet connection. My desktop (this machine) has a listing for an "auto eth0", but right after that listing it shows "never". However, this computer makes the connection while the laptop does not. The laptop does not show any info on the "network connections" menu.
  I am wondering if the connection information was lost somehow; if lost, then how do I restore that data? Please offer a few suggestions, but keep in mind that I am not very familiar with the verbiage used in Ubuntu, nor am I very proficient in using it; especially when it comes to writing code in the "terminal" box. Thanks for whatever help you can render. Gary

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Dawning
Solved:
Last query:
Last reply:
Revision history for this message
Dawning (dawning) said :
#1

Hi Gary, could you please open the terminal and type in: "sudo ifconfig". The password it asks for is your password you use with your username. Please paste the contents in to a reply window. I'm just wanting to confirm that it is indeed detecting and configuring your network card to some end.

Thanks

Revision history for this message
GaryLKerr (glk-order) said :
#2

I have to use my desktop to send messages; therefore, the message on the
"terminal screen" on the laptop is re-typed to answer your question.
Here goes,

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:354 errors:0 dropped:0 overruns:0 frame:0
TX packets:354 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:30081 (30.0KB) TX bytes:30081 (30.0KB)

gary@gary-laptop:~$

Gary

On 05/05/2010 05:44 PM, Dawning wrote:
> Your question #109826 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/109826
>
> Status: Open => Needs information
>
> Dawning requested for more information:
> Hi Gary, could you please open the terminal and type in: "sudo
> ifconfig". The password it asks for is your password you use with your
> username. Please paste the contents in to a reply window. I'm just
> wanting to confirm that it is indeed detecting and configuring your
> network card to some end.
>
> Thanks
>
>

Revision history for this message
Dawning (dawning) said :
#3

What happens when you type in "sudo dhclient"?

Revision history for this message
GaryLKerr (glk-order) said :
#4

Dawning:
Listening on LPF/eth1/00:12:f0:5b:71:05
Sending on LPF/eth1/00:12:f0:5b:71:05
Listening on LPF/eth0/00:12:03f:cf:b9:43
Sending on LPF/eth0/00:12:03f:cf:b9:43
Sending on socket/fallback
DHCDISCOVER on eth1 255.255.255.255 port 67 interval 7
DHCDISCOVER on eth0 255.255.255.255 port 67 interval 7
DHCDISCOVER on eth1 255.255.255.255 port 67 interval 11
DHCDISCOVER on eth0 255.255.255.255 port 67 interval 10
DCHPOFFER of 192.168.0.3 from 192.168.0.1
DHCREQUEST of 192.168.0.3 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.0.3 from 192.168.0.1
bound to 192.168.0.3 renewal in 874383009 seconds
gary@gary-laptop

I hope that I have re-typed these instructions accurately. I can't
simply do a cut and past as this communication is on a separate
computer than the one that is troubled. Gary

On 05/05/2010 07:02 PM, Dawning wrote:
> Your question #109826 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/109826
>
> Status: Open => Needs information
>
> Dawning requested for more information:
> What happens when you type in "sudo dhclient"?
>
>

Revision history for this message
Best Dawning (dawning) said :
#5

Thank you for typing that out Gary. It sounds like you've got a connection now, can you please verify that? Do you now get the same results from "sudo ifconfig", I suspect not, but rather should have a bunch of stuff listed under eth0 in addition to the previous information.

If this did indeed resolve your problem, then you need to explore how to configure your network card to take the same action on start up. This sort of thing shouldn't happen, but perhaps you upgraded or something else weird happened. Anyway, this article should help you get it straightened out: http://www.ubuntugeek.com/ubuntu-networking-configuration-using-graphical-tool.html

Revision history for this message
GaryLKerr (glk-order) said :
#6

Dawning:
   HURRAY!!!! and thank you much. Yes, the computer no longer says the
connection failed. Both the browser and the e-mail energize at least.
Not sure if Thunderbird sends out a message, but it does receive them.
   From your reply, I am concluding that what you told me to do is a
manual operation that should be configured as part of the start up
sequence. Thanks for the help and I will check out that site. Happy
trails Gary

On 05/05/2010 07:33 PM, Dawning wrote:
> Your question #109826 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/109826
>
> Status: Open => Answered
>
> Dawning proposed the following answer:
> Thank you for typing that out Gary. It sounds like you've got a
> connection now, can you please verify that? Do you now get the same
> results from "sudo ifconfig", I suspect not, but rather should have a
> bunch of stuff listed under eth0 in addition to the previous
> information.
>
> If this did indeed resolve your problem, then you need to explore how to
> configure your network card to take the same action on start up. This
> sort of thing shouldn't happen, but perhaps you upgraded or something
> else weird happened. Anyway, this article should help you get it
> straightened out: http://www.ubuntugeek.com/ubuntu-networking-
> configuration-using-graphical-tool.html
>
>

Revision history for this message
GaryLKerr (glk-order) said :
#7

Thank you very much for the help in diagnosing the problem.

Revision history for this message
GaryLKerr (glk-order) said :
#8

Dawning:
   Just thought that you may not realize it, but the link you provided
is not for 10.04 because none of the instructions match what I see in on
my screen. The pop-up boxes are not the same and by using GUI
instructions, the initial "networking" tab does not exist. I tried
using the "terminal" window and the error message is that the command is
not found. Gary

On 05/05/2010 07:33 PM, Dawning wrote:
> http://www.ubuntugeek.com/ubuntu-networking-
> configuration-using-graphical-tool.html <http://www.ubuntugeek.com/ubuntu-networking-,configuration-using-graphical-tool.html>
>

Revision history for this message
Dawning (dawning) said :
#9

Hi Gary, Indeed I did know those instructions are for an older version of Ubuntu. I was hoping they'd be close enough.

You'll want to go through a process somewhat like the following.

1. Open System > Preferences > Network Connections
2. Click on the "Wired" tab (probably already selected)

Dabble around until you seem to get your network card setup correctly.. I don't really want to tell you what to do as I'm not sure what you've already go going on in there..

Hope that helps a bit more..

Revision history for this message
GaryLKerr (glk-order) said :
#10

Dawning:
   Under "wired connection 1": Using the "edit" tab, there are two
boxes. One labeled MAC address -- which is blank; the other one is
labeled MTU and that displays "automatic". Should the "MAC" box have
something entered? Gary

On 05/05/2010 08:40 PM, Dawning wrote:
> Your question #109826 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/109826
>
> Dawning posted a new comment:
> Hi Gary, Indeed I did know those instructions are for an older version
> of Ubuntu. I was hoping they'd be close enough.
>
> You'll want to go through a process somewhat like the following.
>
> 1. Open System> Preferences> Network Connections
> 2. Click on the "Wired" tab (probably already selected)
>
> Dabble around until you seem to get your network card setup correctly..
> I don't really want to tell you what to do as I'm not sure what you've
> already go going on in there..
>
> Hope that helps a bit more..
>
>

Revision history for this message
Dawning (dawning) said :
#11

No Gary, I'd leave the MAC address box empty. That refers to a kind of hardware entrenched serial number internationally unique to your network card. Some cards let you override that address (called MAC Address Spoofing) and that can have all sorts of fun and devious applications.. Nevertheless, for getting up and running, I'd suggest you leave that blank. I wouldn't mess with MTU either. You just want to try to setup the device to be configured via "DHCP" - that's what we did manually at the terminal by running "sudo dhclient".

Revision history for this message
GaryLKerr (glk-order) said :
#12

Good morning:
   Just to give you an update on the status of the issue about access to
the Internet, automatically. I eventually added "Auto Etho0" to the
network connections line. Now it automatically makes the connection
during startup. Just thought you may want to know. Gary

On 05/05/2010 09:04 PM, Dawning wrote:
> Your question #109826 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/109826
>
> Dawning posted a new comment:
> No Gary, I'd leave the MAC address box empty. That refers to a kind of
> hardware entrenched serial number internationally unique to your network
> card. Some cards let you override that address (called MAC Address
> Spoofing) and that can have all sorts of fun and devious applications..
> Nevertheless, for getting up and running, I'd suggest you leave that
> blank. I wouldn't mess with MTU either. You just want to try to setup
> the device to be configured via "DHCP" - that's what we did manually at
> the terminal by running "sudo dhclient".
>
>

Revision history for this message
Dawning (dawning) said :
#13

Good stuff Gary, thanks for the confirmation. I think something weird happened when you upgraded, maybe a butterfly in China was getting 'some' and it caused a bit to flip in your memory at a key moment during the upgrade ;)

Anyway, how you've now got it is what the default is supposed to be.

Have fun!