LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problems at start up, dhcp... (https://www.linuxquestions.org/questions/slackware-14/problems-at-start-up-dhcp-156463/)

the_y_man 03-11-2004 06:06 PM

problems at start up, dhcp...
 
Anyways, i'm trying to setup a router/firewall/server out of an old P100 48MB RAM 800 Mb hard drive. (no X). I have slackware 9.1 installed and upgraded/built to kernel 2.6.4 (i have experience with gentoo but none with slackware).

I initially setup up my slackware + kernel compile on vmware on my faster machine (2ghz), when i switched the slackware 9.1 ready hd to the P100, all went ok....excpet for this

i've already tried netconfig and setting to recieve from dhcp...but it's not working...

during boot time i get this error:

Code:

INIT: Entering runlevel 3
Going multiuser . . .

dhcpcd[61]: broadcasting DHCP_REQUEST for 192.168.40.131

dhcpcd[61]: timed out waiting for DHCP_ ACK response

dhcpcd[61]: boradcasting DHCP_DISCOVER

dhcpcd[61]: timed out waiting for a valid DHCP server response


i did not setup my slackware machine to request address 192.168.40.131......how do i get eth0 or eth1 to get IP from dhcp?

I know for sure that my dhcp server (win2k ICS) is working..



ps: i have a experience with gentoo but none with slackware...this is my first shot at this distro

benjithegreat98 03-11-2004 06:46 PM

You can manually edit the file /etc/rc.d/rc.inet1.conf. Here is a portion of mine:
Code:

# Config informaiton for eth0
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config informaiton for eth1
IPADDR[1]="172.16.1.1"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
....



All times are GMT -5. The time now is 05:31 AM.