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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-25-2003, 04:10 PM
|
#1
|
Member
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224
Rep:
|
Linux times out waiting for a valid dhcp response
Hey, uh I have Cable internet, but I can't connect.
I have Linux configured for DHCP, and it times out waiting for a valid response. I gave it my gateway address, and told it to use dhcp, but didn't give it a host name or a DNS server. Can anyone help me?????
|
|
|
09-25-2003, 04:14 PM
|
#2
|
Member
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
|
I don't think it needs DNS info or hostname to find DHCP. That is a broadcast request.
How are you cabled up?
-K
|
|
|
09-25-2003, 05:20 PM
|
#3
|
Member
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224
Original Poster
Rep:
|
i'm hooked up through a network hub to the cablemodem
What's a hostname, and where do I put in the DNS info?
|
|
|
09-25-2003, 05:46 PM
|
#4
|
Member
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
|
All of that will be handled by the DHCP server if you ever get to it. Did you have another system plugged into this cable modem? Or the same system with a different ethernet card?
-K
|
|
|
09-25-2003, 05:59 PM
|
#5
|
Member
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224
Original Poster
Rep:
|
yes, into the same modem, however, it is windows, and as we all know, "Windoze doez it automatically." I also have windows on this system, and as you can see, I can get to the internet just fine from here
|
|
|
09-25-2003, 06:34 PM
|
#6
|
Member
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
|
Okay... well... I have run into trouble because if the MAC address changes, my cable provider won't give me a new IP until like 12 hours later. But that doesn't seem to be bothering you.
You might have a hostname assignment, like C12345A, it would be your Windows machine name...
then try adding this line to /etc/sysconfig/network-scripts/ifcfg-eth0
DHCP_HOSTNAME=C12345A
(or maybe its HOSTNAME= try them both)
then restart your network.
-KevinJ
|
|
|
09-25-2003, 08:34 PM
|
#7
|
Member
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224
Original Poster
Rep:
|
Hey, I'm running slackware and I saw that line in /etc/rc.d/inet1 or something like that, would that work??
|
|
|
09-25-2003, 09:18 PM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
When you said you gave it your gateway address, do you mean that another computer is hooked up to the cable modem and this computer is the gateway? More information on your local network, or whether you have one would be useful.
|
|
|
09-26-2003, 11:01 PM
|
#9
|
Member
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224
Original Poster
Rep:
|
K here's the layout:
CABLE MODEM
-----NETWORK HUB
------------WINDOWS PC
------------WINDOWS LAPTOP
------------MY PC
The cable modem is connected to the input jack on the hub, while three pc's, a windows PC, a windows Laptop, and mine are hooked up to separate jacks on the hub.
While in windows we can see each other too on the network if that helps
My pc runs windows and linux, and I can get to the internet on Linux
Last edited by enigma Z; 09-26-2003 at 11:04 PM.
|
|
|
09-27-2003, 04:24 PM
|
#10
|
Member
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224
Original Poster
Rep:
|
Hey, i just switched to Mandrake 9.1, and the network configuration thru Drakconf doesnt help either
|
|
|
10-29-2003, 04:39 PM
|
#11
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Your configuration is like mine. I use a linksys cable modem hub.
Does the hub have a dhcp server built in. You don't need to enter a gateway address if that is the case, the dhcp protocol takes care of that. The hub probably has a web setup interface.
The IP address probably is of the form xxx.xxx.0.1 where the first two numbers are the Network address. If you didn't change the local network address try typing http://192.168.0.1 in a web browser.
Most cable companies only issue a single dhcp cable modem ip address for residential service. The hub negotiates the address for itself, and issues different ip address for the computers hooked up to your local network. If you were using a gateway computer your configuration would look more like this:
Cable Modem --- Gateway PC --- Hub --- PC 1
. . . . . . . . . . . . . . . . . . . . . . . . .|--- PC 2
and the NAT translation would be performed by the Gateway PC.
Last edited by jschiwal; 10-29-2003 at 04:46 PM.
|
|
|
10-29-2003, 04:50 PM
|
#12
|
Member
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224
Original Poster
Rep:
|
Hey thanks. I solved the problem--my nic was dying
|
|
|
All times are GMT -5. The time now is 07:21 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
|
|