LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-25-2006, 02:28 PM   #1
chrisjs162216
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: FC4
Posts: 17

Rep: Reputation: 0
Cannot connect to internet or ping router in Ubuntu 5.04


I have a Dell Dimention XPS R400 desktop and stuck Ubuntu 5.04 on it since Windows stopped working on it. I was going to use a wireless card, but it didn't reconize is so I figured I would put the ethernet card in it (Intel Pro/100) and update to Breezy. However, once I go to System>Administration>Networking and enable eth0, it acts like it isn't connected. I can't update Synaptic Package Manager, ping my router or anything. Pinging 192.168.1.1 (router) simply says:

root@ubuntu:/home/jack # ping 192.168.1.1
connect: Network is unreachable.

Since I'm still new to linux, I don't really know what to do. Any suggestions?
 
Old 02-25-2006, 02:35 PM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
hmmm


can you do "sudo lspci" from the command prompt to see if it's being detected. hopefully that should throw up your card....

then you might do "sudo ifconfig -a" to list the status of your network cards....

try that and post the results.

if both come back positive you could try to configure it manually (but this will stop at reboot):

"sudo ifconig eth0 192.168.1.100 netmask 255.255.255.0"
"sudo ifconfig eth0 up"
"sudo route add default gw 192.168.1.1"

adjust the setting for your netmask / ip range etc....
 
Old 02-25-2006, 03:12 PM   #3
chrisjs162216
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
ok, I get:

Quote:
jack@ubuntu:~$ sudo lspci
Password:
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:0d.0 VGA compatible controller: nVidia Corperation NV34 [GeForce FX 5200] (rev a1)
0000:00:0f.0 Ethernet Controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 02)
0000:00:10.0 Multimedia audio controller: Aureal Semiconductor Vortex 1 (rev 02)
0000:01:00.0 VGA compatible controller: Texas Instruments TV4020 [Permedia 2] (rev 01)
jack@ubuntu:~$ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:A0:C9:98:B2:FB
inet addr:192.168.1.66 Bcast:192.168.1.255 Mask 255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo 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:39013 errors:0 dropped:0 overruns:0 frame:0
TX packets:39013 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3557842 (3.3 MiB) TX bytes:3557842 (3.3 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

jack@ubuntu:~$

"sudo ifconfig eth0 192.168.1.166 netmask 255.255.255.0" comes up with SIOCSIFFLAGS: Resource temporarily unavailible

same with sudo ifconfig eth0 up

and same with sudo route add default gw 192.168.1.1

Last edited by chrisjs162216; 02-25-2006 at 03:19 PM.
 
Old 02-25-2006, 03:19 PM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
looks like its detect.

you've got an ip address:

Quote:
eth0 Link encap:Ethernet HWaddr 00:A0:C9:98:B2:FB
inet addr:192.168.1.66 Bcast:192.168.1.255 Mask 255.255.255.0
try:
sudo ifconfig eth0 up

what's /etc/network/interfaces look like.


also maybe do "sudo ps -ef|grep -i dhcp" to check if that's running.....
 
Old 02-25-2006, 03:26 PM   #5
chrisjs162216
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
"sudo ifconfig eth0 up" says "SIOCSIFFLAGS: Resource temporarily unavailable"

"sudo ps -ef|grep -i dhcp" says "jack 10291 0 16:23 pts/1 00:00:00 grep -i dhcp"

i'll try looking at /etc/network/interfaces
 
Old 02-25-2006, 03:32 PM   #6
chrisjs162216
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
/etc/network/interfaces shows up as

# This file describes the network interfaces available on your
system
# and how to activate them. For more information, see
interfaces(5).

# The lookback network interface
auto lo
iface lo inet loopback

iface eth0 inet dhcp

auto eth0
 
Old 02-25-2006, 03:39 PM   #7
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
hmm

Quote:
sudo ifconfig eth0 up" says "SIOCSIFFLAGS: Resource temporarily unavailable
this worries me.

not sure what to do,

has it ever worked??

maybe try dpkg-reconfigure linux-image
 
Old 02-25-2006, 03:47 PM   #8
chrisjs162216
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
I installed Ubuntu about a week ago and it hasn't worked yet.

is linux-image supposed to be replaced with something? it says that package 'linux-image' is not installed and no info is available.
 
Old 02-25-2006, 04:23 PM   #9
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
okay, my plan was just to reconfig the kernel and thus the modules.

i'm really surprised this NIC is not working. esp with ubuntu....

ok new plan (better plan)

try this:

sudo dpkg-reconfigure etherconf
 
Old 02-26-2006, 09:42 AM   #10
chrisjs162216
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
same thing as before: etherconf in not installed and no info is available
 
Old 02-26-2006, 09:55 AM   #11
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
sounds like you've got a bad install.

trying ubuntu 5.10 with a fresh intall.

that package should be there.....
 
Old 02-26-2006, 11:57 AM   #12
chrisjs162216
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
ok, guess I need to download another 650 MB File
 
Old 02-26-2006, 12:04 PM   #13
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
lol,
cmon it doesnt take that long.

about 30mins for me...
 
  


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
No internet/but I can ping router acidblue Slackware 9 03-06-2009 07:24 PM
able to ping router but no internet madhacker Linux - Networking 4 02-25-2006 12:13 PM
PING works, but no Internet in Ubuntu only bond00 Linux - Networking 2 01-22-2006 04:41 PM
i can connect to the internet but i cant ping ?? linux juggler Fedora 16 12-11-2004 09:18 AM
Internet Ping AND router? garr0323 Linux - Networking 1 03-09-2004 11:30 AM

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

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