netconfig DOES ask you for dynamic IP settings. It is DHCP.
Anyhow, you can edit /etc/rc.d/rc.inet1.conf
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]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
This is for Slackware 9.1 and later. See the USE_DHCP[0]="yes"
Yours should look like that.
AND if your Slackware installation is still using the stock-kernel. Then you should have the eth0 working already.
The steps you should do are:
1. Boot-up Slackware (9.1 or later)
2. Login as root
3. cd /etc/rc.d
4. use your favourite text editor to edit the rc.inet1.conf file to the example above.
5. still in /etc/rc.d -- > ./rc.inet1 stop and then ./rc.inet1 start
you should be able to see your MAC address and your DHCP address.
6. ifconfig to double check.
ifconfig will show your eth1 and some thing like :
Code:
root@bigmac:/etc/rc.d# ifconfig
eth0 Link encap:Ethernet HWaddr 00:xx:75:AD:xx:3x
inet addr:10.x.x.xx Bcast:10.5.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7407208 errors:0 dropped:0 overruns:243 frame:0
TX packets:8652779 errors:0 dropped:0 overruns:0 carrier:0
collisions:260942 txqueuelen:1000
RX bytes:1206018170 (1150.1 Mb) TX bytes:3440706136 (3281.3 Mb)
Interrupt:9 Base address:0xac00
I have edited the info above for safety purposes.