LinuxQuestions.org
Visit Jeremy's Blog.
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-11-2016, 08:22 PM   #1
bbwlf67
LQ Newbie
 
Registered: Apr 2016
Location: N.E. AR, US
Distribution: Currently: Ubuntu Lucid 10.04
Posts: 15

Rep: Reputation: Disabled
Unable to connect to Internet in Ubuntu 10.04


Thanks in advance for any and all assistance:

My windows xp rig died. Pulled this box out of mothballs and rapidly learned how much one can forget in ten years.

After two days of cussing and being cussed at (wife) I've gotten it talking to the router and her computer. however I cannot access the internet.

We utilize a linksys/cisco router connected to an HN9000 satellite modem.

I am a bit more competent than standard helpdesk script, I have truly forgotten nearly everything that I ever knew about linux.
I am certain I am missing something relatively simple. But if I don't free up her rig soon, I am liable to hear much more cussing.
 
Old 04-11-2016, 08:41 PM   #2
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
do you have dhcp running on the interface your using to connect to the router ?

Last edited by rob.rice; 04-11-2016 at 08:49 PM.
 
Old 04-11-2016, 10:00 PM   #3
bbwlf67
LQ Newbie
 
Registered: Apr 2016
Location: N.E. AR, US
Distribution: Currently: Ubuntu Lucid 10.04
Posts: 15

Original Poster
Rep: Reputation: Disabled
No. I set a static on the router using the MAC. I set the static in ifconfig
 
Old 04-11-2016, 10:37 PM   #4
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi...

Welcome to the forum

Just FYI, although an excellent version (I used it exclusively for three years,) Ubuntu 10.04 is no longer supported by Canonical and it wouldn't surprise me if they haven't already shut down the repositories (for this version.) This means you will not have any access (or easy access) to any applications (programs) or security updates! I would highly advise installing a current version of either Lubuntu or Xubuntu, if this an older system and you want to stay with the 'buntu line.

Regards...
 
1 members found this post helpful.
Old 04-11-2016, 10:45 PM   #5
bbwlf67
LQ Newbie
 
Registered: Apr 2016
Location: N.E. AR, US
Distribution: Currently: Ubuntu Lucid 10.04
Posts: 15

Original Poster
Rep: Reputation: Disabled
ardvark, thank you for the suggestion. 15.10 is on my do list(and saved for installation, once my brain recovers from the improper dry storage). Just need to get this thing running long enough to bone up on all the required procedures, without having to do it from my wife's rig. (she truly despises my being on it)
 
Old 04-12-2016, 02:42 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
xubuntu.
and always use LTS (not sure if 16.04 is out yet, might want to wait a few days).
 
Old 04-12-2016, 04:47 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,926

Rep: Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000
Normally with DHCP/networkmanager the DNS information is automatically configured but not when using a static IP address. You need to manually add a DNS nameserver to your /etc/resolv.conf file. Try:

nameserver 8.8.8.8
 
1 members found this post helpful.
Old 04-12-2016, 09:43 AM   #8
bbwlf67
LQ Newbie
 
Registered: Apr 2016
Location: N.E. AR, US
Distribution: Currently: Ubuntu Lucid 10.04
Posts: 15

Original Poster
Rep: Reputation: Disabled
many moons ago I used SCO-Unix on a daily basis. back then this was all a piece of cake. Now, however I have been codified by microshaft.
I can access ect/resolv.conf from the gui in gedit. It shows to be read only and will not allow me to save an altered version.
From the root dir; I don't remember how to change permissions or how exactly to edit the file.
As you suspected no DNS is in the file. Further network-manager does not appear to be installed. Without inet access not sure how to correct this.
From the gui system/preferences/connection I had included the DNS: 67.142.182.10, 67.142.182.11 though they do not appear in etc/resolv.conf

I really do appreciate all of the help. Thank you all for your time and patience.
 
Old 04-12-2016, 09:58 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,926

Rep: Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000
You need to use sudo:

sudo gedit /etc/resolv.conf
 
1 members found this post helpful.
Old 04-12-2016, 11:34 AM   #10
bbwlf67
LQ Newbie
 
Registered: Apr 2016
Location: N.E. AR, US
Distribution: Currently: Ubuntu Lucid 10.04
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks Michael. That did allow me to edit the file. No change to connectivity.

I ran netstat -r. The address of my modem is showing up, as is the subnet mask. the gateway addr is not though.

If I try to ping the modem it fails. If I ping this rig or the router it does so nicely.

regarding gateway addr; router states the gateway is 192.168.0.2 this unit states that the default gateway is the router addr. this would imply that the gateway I should be using on the 10.04 rig should be that of the router. is this correct?
 
Old 04-12-2016, 11:42 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,926

Rep: Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000
Yes, the gateway should be the router's LAN address.

If it is just a DNS problem you should be able to ping google.com using its IP address vs URL i.e.
173.194.200.101

Is the MODEM also a router?
 
Old 04-12-2016, 12:09 PM   #12
bbwlf67
LQ Newbie
 
Registered: Apr 2016
Location: N.E. AR, US
Distribution: Currently: Ubuntu Lucid 10.04
Posts: 15

Original Poster
Rep: Reputation: Disabled
I don't think that the modem has any routing capability and it only has one lan connection and no wifi.

pinging google failed.

changing the gateway in the system/preferences/network connections wired1 ip4 (GUI)changed nothing either. Is there a file where the gateway can be edited?

Since you are nice enough to walk me through all of this; what is the command to restart the network?

I'm feeling pretty dumb about now. You wouldn't know that once upon a time I administered a NWN persistent world on a linux server.
 
Old 04-12-2016, 02:57 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,926

Rep: Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000Reputation: 6000
The /etc/network/interfaces
Here is an example

auto eth0
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
gateway 10.0.0.1

sudo ifdown eth0
sudo ifup eth0
 
1 members found this post helpful.
Old 04-12-2016, 05:12 PM   #14
bbwlf67
LQ Newbie
 
Registered: Apr 2016
Location: N.E. AR, US
Distribution: Currently: Ubuntu Lucid 10.04
Posts: 15

Original Poster
Rep: Reputation: Disabled
noticed something peculiar. On startup ifconfig only reports lo and wlan. have to ifconfig eth0 {addr} to get it to report eth0 stats.

managed to "lose" this computer. got it back again, but I'm not certain what I changed to cause it.

I think in general that the computer is fixin' to make a funny sound (never heard what one sounds like when it is thrown through a window).

Michael, again, thanks for all of your help.
 
Old 04-12-2016, 05:34 PM   #15
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by bbwlf67 View Post
noticed something peculiar. On startup ifconfig only reports lo and wlan. have to ifconfig eth0 {addr} to get it to report eth0 stats.
Odd. Could you open a terminal and post the entire results of these commands...

Code:
lspci -nnk | grep -i net -A2
Code:
dmesg | grep -iC 3 "eth0"
Code:
ip a
Code:
sudo lshw -C network
Perhaps there might be some information there that might give us a clue as to what's going on.

Quote:
Originally Posted by bbwlf67 View Post
managed to "lose" this computer. got it back again, but I'm not certain what I changed to cause it.
How so? What happened exactly?

Quote:
Originally Posted by bbwlf67 View Post
I think in general that the computer is fixin' to make a funny sound (never heard what one sounds like when it is thrown through a window).
Now, let's not be hasty...

Do you know where this is coming from in the computer and what it sounds like?

Regards...
 
  


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
[SOLVED] Unable to connect to internet on Ubuntu 11.04 DrArroganto Linux - Newbie 12 10-13-2011 05:17 PM
Unable to connect internet in ubuntu ravi_nandula Linux - Newbie 7 09-06-2011 04:40 PM
Unable to connect internet in ubuntu ravi_nandula Linux - Laptop and Netbook 2 09-06-2011 05:50 AM
Unable to connect internet in ubuntu ravi_nandula Linux - Hardware 3 09-03-2011 12:31 PM
[SOLVED] Unable to connect to internet from ubuntu sree_ec Linux - Networking 15 10-02-2010 12:48 PM

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

All times are GMT -5. The time now is 06:39 PM.

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