LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   network not working at all! (http://www.linuxquestions.org/questions/linux-networking-3/network-not-working-at-all-686695/)

skazhy 11-27-2008 03:36 PM

network not working at all!
 
Hi all! I have a problem connecting to internet - I can't connect to internet at all!. I have a DSL (with dhcp) connection and 2 pcs are connected to it via ethernet switch. I have tried Ubuntu (6.06 up to 8.04), Knoppix 5.3.1 and had openSUSE 10.3 installed for a while. I've tested LiveCDs on both pcs, have tried connectding pcs directly to DSL modem, but the network still isn't working! So, currently i'm running xp :-/ (of course, internet on xp works only after install of proper drivers). I have 2 network cards for this PC: Intel Pro/100 & Realtek RTL 8139. Oh, and when the linux is running all the `link` lights (on both network switch & network card) are on. Also, I connected my work laptop (opensuse 10.3) to my home DSL modem, and there also was no connection!

What could be the problem here? Cause I really want to switch to linux @ home. I ran ifconfig on ubuntu 8.04 livecd (on both network cards) and here are the results:

Code:

eth0      Link encap:Ethernet  HWaddr 00:11:25:6F:1D:5C
          inet6 addr: fe80::211:25ff:fe6f:1d5c/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1102 (1.0 Kb)  TX bytes:5284 (5.1 Kb)

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:254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:254 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18988 (18.5 Kb)  TX bytes:18988 (18.5 Kb)



eth0      Link encap:Ethernet  HWaddr 00:11:25:6F:1D:5C
          inet6 addr: fe80::211:25ff:fe6f:1d5c/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1728 (1.6 Kb)  TX bytes:7054 (6.8 Kb)

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:286 errors:0 dropped:0 overruns:0 frame:0
          TX packets:286 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:21532 (21.0 Kb)  TX bytes:21532 (21.0 Kb)

Or maybe proper networking will be avaliable after full install?

Thanks in advance,

-skazhy

hasanatizaz 11-27-2008 03:42 PM

eth0 has no ip. try setting up ip manually. if you are using ipv6 then i don't know.

x_terminat_or_3 11-27-2008 05:58 PM

Hi skazhy

In your network settings, disable IPv6, make sure DHCP is enabled, then restart your pc and check again. It should get an IP address now.

skazhy 11-28-2008 12:52 PM

hey, is there something like YaST for Ubuntu? Or where can I see more detailed network settings?

framp 11-28-2008 05:01 PM

Quote:

Originally Posted by skazhy (Post 3357972)
hey, is there something like YaST for Ubuntu? Or where can I see more detailed network settings?

What info are you looking for?

skazhy 11-29-2008 08:31 AM

OK, I installed Ubuntu 8.10, disabled IPv6 and enabled dhcp. But still nothing is working. In the upper right corner it shows that `network connections are disconnected` Also, I tried to connect my PC directly to modem, but it's still the same.

x_terminat_or_3 11-29-2008 08:35 AM

Hi skazhy

Can you please do the following:

(as root, on a konsole)

Code:

ethtool eth0
And paste the output in this thread.

Thanks

skazhy 11-29-2008 09:20 AM

here it is:

Code:

Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x00000007 (7)
        Link detected: yes


x_terminat_or_3 11-29-2008 10:52 AM

Based on previous messages, and in combination with the above output from ethtool, I have come a possible conclusion

>Your router is not issuing an IP address because the MAC address of your NIC is different than the one it is set to when using windows.<

To verify this, boot up in Windows, open a command line (Start -> run -> cmd), then type in

Code:

ipconfig /all
And compare the `Physical Address' that it reports to the one reported above (00:11:25:6F:1D:5C). If they differ, come back here, and we'll give you help on how to change it in Linux.

What baffles me though, is that you say that you have an Intel Pro/100, and a Realtek RTL 8139 NIC, but the MAC address shown above belongs to IBM Network cards: http://www.coffer.com/mac_find/?stri...3A6F%3A1D%3A5C

skazhy 11-29-2008 11:03 AM

Quote:

Originally Posted by x_terminat_or_3 (Post 3358694)
What baffles me though, is that you say that you have an Intel Pro/100, and a Realtek RTL 8139 NIC, but the MAC address shown above belongs to IBM Network cards: http://www.coffer.com/mac_find/?stri...3A6F%3A1D%3A5C


The Intel Pro/100 is an integrated card, an I have IBM/Lenovo PC. Maybe thats why..

x_terminat_or_3 11-29-2008 11:05 AM

Fair enough, are you able to assess that the MAC address your network card is bound to, is the same in Windows as on Linux?

skazhy 11-29-2008 01:32 PM

i re-installed ubuntu 8.10 & spared some GBs for XP. But there was strange thing. Wen ubuntu was connecting to eth0, it showed, that 126 updates are avaliable (in a list). But when I tried to install them, there were some error messages (disconnected etc). I guess it downloaded the list from the internet right?

and address for Intel Pro/100 card is the same in ubuntu & winXP - 00:11:25:6f:1d:5c
and address for Realtek card is also the same in both systems - 00:08:54:3d:e2:57

soroccoheaven 12-01-2008 02:11 AM

check your dsl modem configuration and make sure it is configured for pppoe and dhcp is enabled.(if it is configured for bridge mode this setup will not work you have to put bridge with the box which is dialing the connection.)
now enable dhcp in your linux box, and browse the internet.


All times are GMT -5. The time now is 12:59 AM.