SlackwareThis Forum is for the discussion of Slackware Linux.
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 would like to know how I can properly set up my Slackware 12 computer to obtain an IP address from my router correctly. I have performed netconfig and selected DHCP assigned to my computer. However, when I log into the router and look at the connected computers, it shows the MAC address of the Slackware 12 computer as being an unknown machine, and the IP address set as static. I have tow other computers, a Windows and an openSuSE computer, also on the same router and both of their computer names are displayed, as well as receiving a DHCP-assigned IP address. I was just wondering how I can set up Slackware to achieve the same thing. I don't know what methods by which Windows and openSuSE achieve this.
On my router Slackware computer names show up kind of garbled, but the DHCP works for them. It should work for you, too, since all you really have to do is specify DHCP in netconfig.
Please show the configuration section of you interface (most likely eth0) from /etc/rc.d/rc.intet1.conf
That is odd, netconfig has always properly set-up DHCP for me on my Slackware boxes. Maybe you could try running netconfig again on your Slack box. Perhaps your configuration is incorrect.
I've tried netconfig numerous times, with the same results. I did happen to notice that, during bootup, there is no longer any dhcpcd messge displayed, as there used to be. I have a Slackware 11 computer, and this message appears during bootup on this machine. I don't know the exact message displayed, but on the Slackware 12 computer the dhcpcd daemon appears to be running after boot, just no message. Also, to note, on the other Slackware 11 computer, I have the same problem with the router not correctly seeing the name of the computer, and the IP address set as static, although the message displayed during boot from dhcpcd appears to properly be obtaining an IP address from the router. I would imagine that I do not have something configured properly in Slackware, as Windows and openSuSE seem to have no problems, rather than being an issue with the router (which is a Westell 327W).
This really is not a worrisome issue to me, as I have the necessary network access that I need, however I would just like to know what I may have not setup correctly to allow for such behavior from my Slackware computer(s). I shall post the contents of my /etc/rc.d/rc.inet1.conf file once I have access to my Slackware 12 machine later today if this would better to help look into this issue.
Last edited by swampdog2002; 01-24-2008 at 10:38 AM.
Here are the contents of my /etc/rc.d/rc.inet1.conf file:
Code:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
# =============================================================================
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""
Is there any indication herein that is not correct?
I believe that it is DHCP assigned, as I mentioned I have the same issue with a Slackware 11 computer. I could possibly just place the issue with the router itself, but as I mentioned there appear to be no issues with obtaining an IP address from either my Slackware 11 or 12 computers. Just out of curiosity, why do you think that I do not receive a message from the dhcpcd daemon during bootup on my Slackware 12 computer, even though the daemon is apparently active? This just seems odd, as I did receive a message before, but now do not. Perhaps it was a system update that I may have done, and I believe the dhcp package was one of them.
Last edited by swampdog2002; 01-24-2008 at 09:33 PM.
The message did appear, and then for some reason no longer appears during bootup. This does not appear to be normal behavior. I am just wondering why this has occurred all of a sudden.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.