Check to see that your network interface is actually up and running.
Code:
jeff@rwharch:~$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr [clip]
inet addr:192.168.1.47 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:201501 errors:0 dropped:0 overruns:0 frame:0
TX packets:185060 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:150254740 (143.2 Mb) TX bytes:89024228 (84.9 Mb)
Interrupt:11 Base address:0xb000
You'll be able to see if the card is pulling an IP from the router as you want it to.
If it doesn't have an IP as it should, then check your network configuration. Slackware makes it easy to do this -> it's all in a single text file
/etc/rc.d/rc.inet1.conf
Open that file in any text editor (you'll need root access). It will look like this:
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 ("").
# Config information for eth0:
IPADDR[0]="192.168.1.47"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]="no"
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
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]=""
# Default gateway IP address:
GATEWAY="IPADDR[1]"
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
All you'll be looking for is a "yes" next to USE_DHCP for the appropriate interface.
AFAIK, you won't need to specify the search domain or DNS when your using DHCP.