LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-23-2004, 08:13 AM   #1
juxstapose
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Rep: Reputation: 0
dhcp not obtaining lease on Slackware 10


Hello,

I need to know how to find out more information so I can figure out what is wrong with dhcp not being able to get an ip. Previously, I had it behind a router with a wireless usb adapter and it worked fine. Now I moved it and it is connected through a NIC card and that is connected directly to the cable modem.

Here is what I have done so far.

I have run netconfig setting it up as dhcp.
ifconfig -a shows the mac address but no ip and it is down.
mii-tool shows the card is there
dmesg | grep eth0 shows the card is being recongnized by the kernel

When I try dhcpcd eth0 it hangs and I get no ip

Where is the next step to look to find out in more detail what is going on?
Or if anyone has any suggestions about what could be wrong that would be great too.

Thanks
 
Old 07-23-2004, 10:06 AM   #2
har5ha
Member
 
Registered: Mar 2004
Location: NY
Distribution: Red Hat 9 [Kernel 2.6.6-1.435]
Posts: 72

Rep: Reputation: 15
Hi,

I share my internet connection with my friend who is directly connected to the Internet via cable modem through [Windows Internet connection sharing] .

Recently I connected my linux box directly as he was out...

when he came back he had the same problem as you [unable to obtain lease]..

The problem is at ur ISP side ... call em up and ask them to refresh ur h/w [Mac] address on ur machine .

The guys at My ISP Told me that they had the the old [my mac address pointing to the DHCP ip address they assigned me].. Since I didnt release my old lease...
[ipconfig /release *Con* on windows]

After they refreshed [or released] on their Side [ISP].. My friend was able to get the lease for his dhcp..


Bye!!!
Good Luck...
 
Old 07-23-2004, 07:04 PM   #3
juxstapose
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks! Your idea reminded me to just power cycle my cable modem.. And it worked!
 
  


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
Cannot obtain DHCP lease TroelsSmit Linux - Newbie 24 06-18-2005 03:32 AM
Problem with obtaining a DHCP Lease on WG311T Card Hockeyfan Linux - Wireless Networking 5 11-24-2004 02:20 PM
DHCP Lease Delete! kofi Linux - Networking 2 07-29-2004 07:00 PM
Renewing DHCP Lease JimKyle Linux - Networking 10 07-18-2004 06:54 PM
Obtaining an IP through DHCP orange400 Linux - General 1 06-09-2004 03:05 PM

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

All times are GMT -5. The time now is 04:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration