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. |
|
 |
06-30-2006, 06:51 AM
|
#1
|
|
Member
Registered: Apr 2006
Posts: 40
Rep:
|
Network Card Not getting IP (newbie)
I set up DSL linux on an OLD laptop. Upon Boot my Network Card is recognized as Eth0 (something like that) it says it is getting DHCP. Once i get to the GUI my card has no IP address. I tried assigning a static IP via net card config, i was able to do that, except i get no connectivity. I tried to ping 127.0.0.1 to see if maybe this was a hardware issue, but i get the error stating i can't ping unless i am root.
I didn't login so i thought maybe i was already in as root evidently not.
Also When I plug my lan line in to the Card then I check my switch theat the line is plugged into I do not get a link light. I am pretty sure that even if my NIC card configuration is wrong I should still be able to at least get the Link lights to light up. I tried plugging the cable to another pc and the link light was fine on my switch.
Being a novice with Linux I am unsure what to try next.
Thanks
Last edited by gtjr92; 06-30-2006 at 06:53 AM.
|
|
|
|
06-30-2006, 09:14 AM
|
#2
|
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
The first thing to solve is why you aren't getting the link light on the NIC - this is independent of the OS and if it isn't lighting up, then there are a few options:
- faulty cable
- faulty NIC
- router not turned on
- crossover cable instead of standard cable or vice-versa
When you've identified the problem and got a link light, then we can look at the other problems you mentioned but there's no point trying to fix any of the other problems until you've got working hardware.
|
|
|
|
06-30-2006, 09:23 AM
|
#3
|
|
Member
Registered: Apr 2006
Posts: 40
Original Poster
Rep:
|
Re
It's not "faulty cable,router not turned, or crossover cable instead of standard cable or vice-versa"
As i stated in my post i tried plugging the cable to another pc and it is fine.
I am thinking it's faulty nic, but I am not sure the best way to go about diagnosing this.
Like i said i tried to ping 127.0.0.1 but got the acess denied problem.
Any ideas how to diagnose the nic?
Thanks
|
|
|
|
06-30-2006, 09:24 AM
|
#4
|
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
Has the NIC ever worked?
Can you try the NIC in another machine?
Do you have another NIC you can try in this machine?
Oh and you'll need root access at some point, so you might as well fix that now too.
Try
which should prompt you for the root password. You are now root, so try pinging again.
|
|
|
|
06-30-2006, 09:29 AM
|
#5
|
|
Member
Registered: Apr 2006
Posts: 40
Original Poster
Rep:
|
yes the nic has worked but it has been a LONG time since i have used this pc. I can't try the nic in another pc or try another nic because this is an OLD laptop. I'll have to try to login as root when i get home.
|
|
|
|
06-30-2006, 01:27 PM
|
#6
|
|
LQ Newbie
Registered: Dec 2001
Distribution: SuSE 10.1
Posts: 19
Rep:
|
Using a PCMCIA NIC on the old laptop might not be a bad idea. It does sound like a NIC hardware failure.
|
|
|
|
07-01-2006, 12:29 PM
|
#7
|
|
LQ Newbie
Registered: Jun 2006
Posts: 7
Rep:
|
hmm.. might be a NIC problem of course, the connector contacts might be dirty or oxidated, so it might be minor hardware fault..(hopefully). if it worked before then it might not fail completely so might be a minor thing, check for connection contacts(both LAN and PCMCIA).
Also, you should try to connect that machine & NIC to another network. It might be a cable problem (crossover instead of straight tru) even if it works on another computer... the other computer might have a newer NIC and new generation NICs have the ability to detect and negotiate the medium, so regardless of cable type the new card still works.. but the old laptop nic doesn't know about that. Also, try to connect the laptop in a P2P net with another computer and see if u get a link... if none of them works (and one more thing that cames into my mind, u said it is a PCMCIA card, is it turned on? is pcmcia working proberly? if it is and the system recognizez the card correctly...) then it might be a hardware failure.. 
|
|
|
|
07-01-2006, 01:32 PM
|
#8
|
|
Member
Registered: Feb 2003
Location: Heddon on-the-wall, northumberland, england
Distribution: Ubuntu
Posts: 317
Rep:
|
to get root access go to shell and type
sudo has been set up to not ask for a password for commands 
|
|
|
|
| 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 12:09 AM.
|
|
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
|
|