Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-27-2008, 02:36 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2008
Location: Latvia
Distribution: arch
Posts: 23
Rep:
|
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
|
|
|
|
11-27-2008, 02:42 PM
|
#2
|
|
Member
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Rep:
|
eth0 has no ip. try setting up ip manually. if you are using ipv6 then i don't know.
Last edited by hasanatizaz; 11-27-2008 at 02:43 PM.
|
|
|
|
11-27-2008, 04:58 PM
|
#3
|
|
Member
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342
Rep:
|
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.
|
|
|
|
11-28-2008, 11:52 AM
|
#4
|
|
LQ Newbie
Registered: Nov 2008
Location: Latvia
Distribution: arch
Posts: 23
Original Poster
Rep:
|
hey, is there something like YaST for Ubuntu? Or where can I see more detailed network settings?
|
|
|
|
11-28-2008, 04:01 PM
|
#5
|
|
Member
Registered: Apr 2003
Location: Stuttgart, BW Germany
Distribution: SuSE 10.3-11.0, Knoppix, Ubuntu 8.10, Fedora 10
Posts: 119
Rep:
|
Quote:
Originally Posted by skazhy
hey, is there something like YaST for Ubuntu? Or where can I see more detailed network settings?
|
What info are you looking for?
|
|
|
|
11-29-2008, 07:31 AM
|
#6
|
|
LQ Newbie
Registered: Nov 2008
Location: Latvia
Distribution: arch
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
|
11-29-2008, 07:35 AM
|
#7
|
|
Member
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342
Rep:
|
Hi skazhy
Can you please do the following:
(as root, on a konsole)
And paste the output in this thread.
Thanks
|
|
|
|
11-29-2008, 08:20 AM
|
#8
|
|
LQ Newbie
Registered: Nov 2008
Location: Latvia
Distribution: arch
Posts: 23
Original Poster
Rep:
|
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
|
|
|
|
11-29-2008, 09:52 AM
|
#9
|
|
Member
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342
Rep:
|
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
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
|
|
|
|
11-29-2008, 10:03 AM
|
#10
|
|
LQ Newbie
Registered: Nov 2008
Location: Latvia
Distribution: arch
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by x_terminat_or_3
|
The Intel Pro/100 is an integrated card, an I have IBM/Lenovo PC. Maybe thats why..
|
|
|
|
11-29-2008, 10:05 AM
|
#11
|
|
Member
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342
Rep:
|
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?
|
|
|
|
11-29-2008, 12:32 PM
|
#12
|
|
LQ Newbie
Registered: Nov 2008
Location: Latvia
Distribution: arch
Posts: 23
Original Poster
Rep:
|
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
|
|
|
|
12-01-2008, 01:11 AM
|
#13
|
|
Member
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|