LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Clean install - No internet access (https://www.linuxquestions.org/questions/ubuntu-63/clean-install-no-internet-access-442476/)

bodean 05-07-2006 09:51 AM

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?

camorri 05-07-2006 10:07 AM

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

bodean 05-07-2006 10:20 AM

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).

bodean 05-07-2006 10:47 AM

Realtek NIC RTL8168/8111 is my network card FYI

camorri 05-08-2006 09:29 AM

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.


All times are GMT -5. The time now is 09:49 PM.