Linux - NetworkingThis 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.
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.
I installed gentoo using stage-1 and everything was going well. but when I booted my system up, dhcpcd didn't work! At first, I thought it was due to my network connection, so I set my eth0 as 192.168.0.1 then started sshd. It worked really well, I could connect my gentoo system through eth0.
at boot time, the message is like this
*Bring up eth0 [Ok]
* dhcp
*dhcpcd [!!]
'netmount' blah blah~
I checked my "dmesg | eth" and there was no suspicious messages.
and "dhcpcd -d eth0" just gives me "MAC address : ~~~~~" and doesn't start.
There was no messages. That drives me really crazy
Do you have any idea about this problem? Please help me.
I'm using 3c591x driver which really works well in my Ubuntu and Gentoo Live CD system.
Maybe my explanation is wrong. What I meant is I want to use DHCP in gentoo,
I already succeeded in static ip, but this is not what I want. I wonder there's no difference in /etc/conf.d/net between liveCD and mine but DHCP doesn't work.
I've already searched similar question, but solution for that was all about network card problem.
Is there anything do I have to do with dhcpcd except the options mentioned in manual?
youngtaek.oh, be aware that this didn't used to be needed. If using an old copy of the handbook (say 2004.3) it won't be mentioned.
The (always) current one online does - section 9.f
Is there something wrong?
There was networking configuration in section 8.b and I tried iface_eth0, too.
Maybe I need to use another dhcp client rather than dhcpcd.
Last edited by youngtaek.oh; 07-27-2005 at 12:15 AM.
I'm not sure why you have the parentheses around "dhcp". Aditionally, I'm not sure what the nodns nontp and nonis options are about, I didn't see those in the handbook, but perhaps I'm wrong.
The steps I outlined above didn't work? Those are as basic as dhcp requests get... it almost sounds like a problem with the server. One possible work around is to use 'dhcpcd -S', which helps with problems on some (broken) servers.
You *DO* have a DHCP server correctly configured somewhere I hope.
Silly question I know, but you need something to provide the service. If you have your router set for static IP, and/or you don't have the correct gateway address on the Gentoo box, your client is swimming around in circles.
Originally posted by syg00 You *DO* have a DHCP server correctly configured somewhere I hope.
Silly question I know, but you need something to provide the service. If you have your router set for static IP, and/or you don't have the correct gateway address on the Gentoo box, your client is swimming around in circles.
Actually, gateway addresses are provided by the DHCP server, but otherwise, you make an excellent point.
Oh, I'm using xDSL which has DHCP function. it worked well in my ubuntu system and I don't think I can configure that xDSL modem. I'll try some more experiment then I'll ask you guys again thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.