LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-07-2005, 06:58 PM   #1
vishalsethia
LQ Newbie
 
Registered: May 2005
Location: Athens,OH
Distribution: Fedora 3 (2.6.11)
Posts: 5

Rep: Reputation: 0
Interface card(Ethernet) not sending DHCP requests


Hi,

I had Fedora Core 2.6.9 installed and I gave yum update to upgrade my kernel. Everything was working fine until i re-booted my machine.

After I rebooted, the grub laoder gave me three options
1) Fedora 2.6.11
2) Fedora 2.6.9
3) Other

And now if i try to log on to Fedora(Both Kernels), my interface card does not send DHCP requests and so I'am unable to connect to the internet.

I found out a way in which i assigned a static IP address and set the gateway address to that of my default gateway ........ in that case ping,traceroute works, but DNS fails.... so if i try google.com, it is unable to resolve the name and hence page not found.

Everything works fine in Windows.

I dont know where I am making a mistake. Any help will be greatly appreciated.


Vishal
 
Old 05-07-2005, 08:45 PM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
try typing dhcpcd -t 10 -d eth0 (or other ethernet card, if you manually configure you know what it is)
 
Old 05-08-2005, 12:50 AM   #3
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
And after running exodist's suggestion, you can verify that the correct DNS servers were set by examing the contents of the /etc/resolv.conf file. You should see "nameserver xxx.xxx.xxx.xxx" entries for each of your DNS servers.
 
Old 05-08-2005, 01:05 AM   #4
vishalsethia
LQ Newbie
 
Registered: May 2005
Location: Athens,OH
Distribution: Fedora 3 (2.6.11)
Posts: 5

Original Poster
Rep: Reputation: 0
my machine does not have dhcpcd. i tried it using locate /whereis and none of them returned any thing
 
Old 05-08-2005, 01:12 AM   #5
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Rep: Reputation: 30
First check that the ethernet card is activated? If not, are modules loaded for ethernet card?

If active, check that you can reach your modem?

Does your modem have the onboard flash memory to get your IP from your ISP?

Some of the following commands may give you some ideas to check. Should be easy to find out what each command is doing ..

#killalll dhcpcd
#ifconfig eth0 down
#dhcpcd eth0
#ifconfig eth0
#lsmod
#netconfig
#/etc/rc.d/rc.inet1 stop
#/etc/rc.d/rc.ient1 start
#dhcpcd
#dmesg | less
#man ifconfig
#cat /proc/pci
#ping 216.239.37.99
#ping www.google.com
#cat /proc/net/dev
#start adsl
#adsl-setup
#adsl-start
#stty
#/sbin/modprobe xxxxx (to load module)
#/etc/rc.d/rc.inet1 eth0_restart
#ifconfig eth0
#./rc.inet1 stop
#./rc.inet1 start
#ifconfig eth0 up
 
Old 05-08-2005, 01:12 AM   #6
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
you have to be root to use dhcpcd, it should be in /sbin, if not then eather you have a problem, or your distro uses an alternate meathod for dhcp (unlikely, but I have seen it) if this is the case I do not know the distro-safe way, but you can download the source and compile it yourself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LCP: timeout sending Config-Requests tompouceuh Linux - Networking 0 10-25-2005 06:08 AM
Configuring Network Interface Card (Ethernet) in SUSE 9.1 AskMe Linux - Software 2 04-14-2005 11:18 AM
CCP: timeout sending Config-Requests oldi Slackware 0 05-02-2004 09:32 AM
how do i set up my ethernet card w/o dhcp if i have a router jooper317 Linux - Hardware 3 01-07-2004 11:51 PM
pppd sending requests for ever tombom Linux - Newbie 5 12-13-2003 09:43 AM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration