On Thu, 7 Sep 2000, Stephen King wrote:
> Trying to add a second NIC to my Linux RH6.2 box. Where is the config file
> for the NIC's? Also, what is the easiest way to add a second card from a
> telnet session?
> SK
]$ su root
]# PATH="`echo
$PATH`:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin"
]# export PATH
]# modprobe <nic-module> #www.redhat.com/hardware/
#If no errors, then:
]# cat >> /etc/conf.modules
alias eth1 <nic-module>
^D
]# cat > /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
ONBOOT="yes"
BOOTPROTO="none"
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
NETMASK="255.255.255.0"
IPADDR="192.168.0.1"
USERCTL=no
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
^d
]# chmod 755 /etc/sysconfig/network-scripts/ifcfg-eth1
]# ifup eth1
]# ifconfig -a
]# exit
]$ ping <something>
Hope this helps,
L.G.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list