LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-07-2006, 09:51 AM   #1
bodean
LQ Newbie
 
Registered: May 2006
Distribution: UBuntu
Posts: 9

Rep: Reputation: 0
Clean install - No internet access


Hello.

Background, running a dual boot of winxp and linux on my ASUS V6J laptop. I started with UBuntu 5.10, and the wireless and wired network connections did not work. I clean installed Dapper Flight 7 cd, and having the same issues.
Maybe I am missing something, but I was assuming that after a clean install, AT LEAST my wired lan connection would work, but it doesnt. I go into firefox and it cant find any pages. From reports that I've heard, setting up the wireless card is a Pain in the &$(, so I will tackle that later, right now I just want to get on the net from within linux. So any help would be appreciated. I've read through multiple forms, but a lot of the stuff goes back and forth and isn't really pin pointed on a solution.

My specs are: ASUS V6J laptop
Wireless: Built-In Intel PRO/Wireless 3945 A/B/G miniPCI
Network card for lan: Gigabit LAN

http://proportable.com/detail.aspx?ID=174 for more details on the laptop setup. What do I need to do after a fresh install of Ubuntu (Flight 7) to at least get the network card working, on the internet with my lan connection?
 
Old 05-07-2006, 10:07 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Would you please post the results of the following command?

'/sbin/ifconfig' without the quotes. That will tell us if you have an ip address.

It would help a lot if you would tell us more. Are you running DHCP?
Can you see a driver loaded for your wired ethernet card? To find out, do a '/sbin/lsmod' again, no quotes. That will list your loaded modules. Look for the driver that should be loaded for your card or chip set.

From the symptoms posted, you may not have DNS configured. You can look at the file /etc/resolv.conf. It will list the DNS servers, and that should be the same as your ISP tells you to use.

If the name servers are not there, edit the file as root, and add a line for each name server.

example....

nameserver=xxx.yyy.zzz.123
 
Old 05-07-2006, 10:20 AM   #3
bodean
LQ Newbie
 
Registered: May 2006
Distribution: UBuntu
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by camorri
Would you please post the results of the following command?

'/sbin/ifconfig' without the quotes. That will tell us if you have an ip address.

It would help a lot if you would tell us more. Are you running DHCP?
Can you see a driver loaded for your wired ethernet card? To find out, do a '/sbin/lsmod' again, no quotes. That will list your loaded modules. Look for the driver that should be loaded for your card or chip set.

From the symptoms posted, you may not have DNS configured. You can look at the file /etc/resolv.conf. It will list the DNS servers, and that should be the same as your ISP tells you to use.

If the name servers are not there, edit the file as root, and add a line for each name server.

example....

nameserver=xxx.yyy.zzz.123
running /sbin/ifconfig I get:

Link encap: Local Loopback
inet addr: 127.0.0.1 Mask 255.0.0.0
inet6 addr: ::1/128 Scope:Host
and then some other misc stuff

Not sure what the driver should be for the nic, so I am not sure what to look for with the /sbin/lsmod

I assign a static IP for the computers on my home network. It is usually 192.168.1.xxx
The prefered DNS server I assign also based on my cable internet provider, which is 65.24.7.3 (read that out of my setup in windows xp).
 
Old 05-07-2006, 10:47 AM   #4
bodean
LQ Newbie
 
Registered: May 2006
Distribution: UBuntu
Posts: 9

Original Poster
Rep: Reputation: 0
Realtek NIC RTL8168/8111 is my network card FYI
 
Old 05-08-2006, 09:29 AM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
It would appear you do not have a DHCP server, since there is no IP address in the output of /sbin/ifconfig. The address 127.0.0.1 is your loopback address. Here is a sample form my machince of what it will look like when configured.

Code:
eth0      Link encap:Ethernet  HWaddr 00:D0:B7:26:B3:78
          inet addr:192.168.1.21  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13391 errors:0 dropped:0 overruns:0 frame:6
          TX packets:17995 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9387784 (8.9 MiB)  TX bytes:1288446 (1.2 MiB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1143 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1143 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:70064 (68.4 KiB)  TX bytes:70064 (68.4 KiB)
Note the inet addr field. My box is set up for static addressing.

On Ubuntu, there is a graphical tool to set this up. Go to System-->Administration-->Networking and the Networking will bring up a gui to configure your ethernet card. This should work O.K. if the installation detected your Realtek ethernet card. That is a fairly common card, so my guess is it did detect it.

Go in there and see if you can configure the IP address, gateway, DNS etc. and let us know if that gets it going. If not, we'll have to figure out what driver should be loaded for that card.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to install linmodem drivers, have no internet access Amazing Tater Debian 10 05-12-2006 01:50 PM
New install now will not access internet Stimz Linux - Newbie 8 09-14-2005 04:14 AM
Ok, let's try this again. New Mandrake install. Can't access router/internet! Mateo1041 Linux - Newbie 25 11-20-2004 09:35 AM
gentoo install without internet access ChaseCrum Linux - Distributions 2 08-26-2004 02:46 PM
Debian that does NOT require internet access to install. Lechium Linux - Newbie 3 07-29-2004 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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