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'm running Fedora, and having problems configuring an ethernet interface. I have a router set up to use DHCP. With the system up, I run the dhclient, which gives me the following output -
/sbin/dhclient
Internet Software Consortium DHCP Client V3.0pl2
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
/sbin/dhclient-script: configuration for eth0 not found.
Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 192.168.0.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
/sbin/dhclient-script: configuration for eth0 not found.
DHCPDECLINE on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.0.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
etc.......
Originally posted by RHELL Well that file could also be under /etc/sysconfig/networking/profiles, but dhclient can't find it either, so it probably isn't being created.
You can determine your module name and add an alias into /etc/modules.conf
code:
alias eth0 [foomodule]
code.
or you could try to create the ifcfg-eth0 file manually kinda like this:
code:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
code.
dhclient should be run by ifup/ifdown, so you shouldn't have to call it directly.
What card are you using?
I looked at the network start up script and it seemed like a lot of dynamic stuff was configured if the env variable DYNCONFIG was set. However putting this in ifcfg-eth0 caused the machine to hang during the boot process. I'll try your suggestion though.
My network card is a Belkin F5D5000.
I have only seen DHCPDECLINEs when there is a IP conflict on the network (two computers with the same IP address). Is there another computer that has a static IP set?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.