LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-24-2008, 08:39 AM   #1
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
DHCP Issues in Slackware 12


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.
 
Old 01-24-2008, 08:50 AM   #2
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
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
 
Old 01-24-2008, 09:54 AM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
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.
 
Old 01-24-2008, 10:33 AM   #4
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Original Poster
Rep: Reputation: 33
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.
 
Old 01-24-2008, 07:09 PM   #5
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Original Poster
Rep: Reputation: 33
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?
 
Old 01-24-2008, 08:50 PM   #6
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
looks like a fine DHCP setup to me so far for eth0. Are you sure it is a static address or do you just happen to have the same address thus far?
 
Old 01-24-2008, 09:28 PM   #7
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Original Poster
Rep: Reputation: 33
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.
 
Old 01-24-2008, 09:41 PM   #8
ice_nine
Member
 
Registered: Sep 2007
Posts: 41

Rep: Reputation: 15
Looks like not seeing a dhcpcd message is normal behavior - just booted up my machine (which has a very fresh install) and didn't see any message.
 
Old 01-25-2008, 07:39 AM   #9
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Original Poster
Rep: Reputation: 33
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.
 
Old 01-26-2008, 01:50 PM   #10
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
Slack 12.0 using dhcp rather than static IP (during bootup, shows mac address and also "receiving IP address your IP address is")

Quote:
The message did appear, and then for some reason no longer appears during bootup.
ditto. I have the same issue on 2 or 3 different Slack 12.0 computers here.

http://www.slackware.com/changelog/stable.php?cpu=i386

June 30 (just prior to the July 1 Slack 12 release date) is the most recent "dhc"

I don't know what the cause is.

--
Alan.
 
  


Reply



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
DHCP Issues Jamie Linux - Wireless Networking 4 04-19-2007 06:20 PM
DHCP issues with SB5100 wingnut64 Linux - Networking 3 09-30-2004 01:43 AM
Network issues...No DHCP Brother Michael Slackware 19 01-16-2004 01:04 AM
dhcp issues axs89 Linux - Networking 2 02-17-2003 08:56 PM
dhcp issues.... Linuxchallenged Linux - Networking 4 06-27-2001 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:03 PM.

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
Open Source Consulting | Domain Registration