LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-15-2010, 11:16 PM   #1
ranban282
LQ Newbie
 
Registered: Jul 2006
Location: Hyderabad
Distribution: Fedora 8
Posts: 28

Rep: Reputation: 2
Problem with dhclient or ISP?


Hello,

My ISP finished some 'upgrades' on its infrastructure. The result is that I am having great difficulty in connecting to the internet.

I have 3 operating systems on my box - XP, Fedora 8 and Feota 12.

I connect using an ethernet card, using dhcp. In fedora 12, the ethernet card is controlled be networkmanager. After the ISP completed their upgrades, I was not able to connect. I tried to connect manually using

Code:
ifup eth0
There was an error message -

Code:
rtnetlink answers invalid argument
I read the advice here: http://www.unix.com/unix-dummies-que...-argument.html, and removed all but the important lines.
But even after that neither ifup eth0 or dhclient eth0 works.

In fedora 8, the ethernet card is activated by ifup eth0 in /etc/rc.local. I was able to connect on a couple of occasions, but that too stopped working. I tried both ifup eth0, dhclient eth0, and tried to use the gui( which fires the dhclient command), but none worked.

If it is of help to anybody, when I use windows, it takes about 2 minutes to get an ip (earlier it was immediate). Sometimes that doesnt work and I have to click on "repair" whereupon it starts working.

Obviously my ISP has been up to something, could anybody hazard an informed guess as to whats going on? Any ideas on how to connect to the net using linux?

Note that I havent made any changes to my hardware, and things worked perfectly before.
 
Old 02-16-2010, 12:43 PM   #2
jvaldivia
Member
 
Registered: Sep 2007
Distribution: Debian Lenny
Posts: 61
Blog Entries: 2

Rep: Reputation: 19
If you want to ask for an IP address using DHCP just do it, forget about ifup.

Debian comes with dhclient, maybe fedora too.

Just run dhclient eth0, it will show debug getting the IP address.

If you don't have the command you may have dhcpd3 or something like that, it should do the trick
 
  


Reply



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
problem with dhclient sh4d0w13 Linux - Networking 3 09-11-2005 10:54 PM
dhclient problem tomap Linux - Wireless Networking 0 10-25-2004 09:27 PM
Problem with DHCLIENT JohnLinx Linux - General 2 09-27-2004 10:39 PM
dhclient problem ajfielden Linux - Networking 7 05-05-2004 03:13 PM
dhclient problem Promo Slackware 12 03-09-2003 09:26 PM

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

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