Jump to content

can't get connected on Ubuntu


Recommended Posts

First of all, hi :)

 

I believe I'm a super noob. I can't get connected to the net in ubuntu. I've tried DHCP and static IP as well. None of it works. I can't ping my router. I've set my IP, gateway, mask in ifconfig and... it does't work. Those settings are good, couse I'm working right now on Win XP. But what is strange, the dhcp dosn't work too (It should, right?). Could somebody help me please?

Link to post
Share on other sites

as root do this

 

ifconfig
paste the results of that here

 

then do this

 

lspci

 

and paste the output here

 

ifup eth0

 

should enable your network card if everything is 'ok'

 

cheers

anyweb

Link to post
Share on other sites

Here's ifconfig:

eth0 Link encap:Ethernet HWaddr 00:A0:24:89:04:F0

inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::2a0:24ff:fe89:4f0/64 Scope:Link

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:10 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:10781 (10.5 KiB) TX bytes:0 (0.0 B)

Interrupt:12 Base address:0xc000

 

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:259 errors:0 dropped:0 overruns:0 frame:0

TX packets:259 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:21072 (20.5 KiB) TX bytes:21072 (20.5 KiB)

 

And here's lspci:

 

0000:00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)

0000:00:01.0 PCI bridge: Intel Corp. 82815 815 Chipset AGP Bridge (rev 02)

0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 02)

0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 02)

0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 02)

0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 02)

0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 02)

0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 02)

0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 02)

0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)

0000:02:02.0 Ethernet controller: 3Com Corporation 3c590 10BaseT [Vortex]

0000:02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 01)

Link to post
Share on other sites

As you wish :D

route -n :

 

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

 

mii-tool eth0 :

eth0: 10 Mbit, half duplex, link ok

 

Router IP is 192.168.0.1

Link to post
Share on other sites
No one replies. Does it man those settings look ok?

 

weee.. I'll wave my hand at it ;)

 

route -n :
Kernel IP routing table
Destination	 Gateway		 Genmask		 Flags Metric Ref	Use Iface
192.168.0.0	 0.0.0.0		255.255.255.0		U	 0	  0		0 eth0
0.0.0.0		 192.168.0.1	 0.0.0.0				 UG	0	  0		0 eth0

 

eeek .. where is your loopback? :x should have another entry like:

127.0.0.0	   127.0.0.1	   255.0.0.0	   UG	0	  0		0 lo

 

did you just not paste it?

 

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
..
RX packets:259 errors:0 dropped:0 overruns:0 frame:0
TX packets:259 errors:0 dropped:0 overruns:0 carrier:0

 

259 ok.. so you might just not have pasted it

 

Correct this with .. if its missing!

route add -net 127.0.0.0

 

Router IP is 192.168.0.1[/quote]


[code]eth0 Link encap:Ethernet HWaddr 00:A0:24:89:04:F0
...
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

 

hrmm . no errors .. and nothing receive.. i figure that you are able to send out..

 

Try this

ping -c 3 www.google.com
ping -c 3 66.102.9.147

 

The first will work if you have DNS and web.. the second will work if you have web.

Link to post
Share on other sites
  • 2 weeks later...
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...