second nic card problems
I'm currently running slackware 9.1. I have install a second nic card, it detected alright but i cannot to get it to load at start. I can start it up once i get into shell and do a ifconfig eth1 up. i also cannot config the second card with ip address, i have try to do this with netconfig but dont seem to work. can anyone help how do i get this to load up at boot time like eth0 and config it as well. Currently eth0 work with the network.
Thank |
if you're using dhcp, you can get an ip address for your second card by typing "dhcpcd eth1". to have it automatically done at boot time, edit your /etc/rc.d/inet1.conf. you'll find a bunch of fields arranged by network card. look for one that has something like DHCP_CLIENT[1] = "" (note: I'm not 100% sure it's called DHCP_CLIENT, but it starts with DHCP). as you see the quotes contain nothing between them. change that to DHCP_CLIENT[1]="yes"
|
A simple solution is adding "ifconfig eth1 up" in /etc/rc.d/rc.local
|
Thank for the help it did work editing local file. But i have other question, shoulden't slackware do this automaticly when it detect two nic card. Also how do config the second card i have try to use netconfig but how does it know which one ur trying to config, should a command like this work with netconfig "netconfig eth0" etc... work for the second card.
|
All times are GMT -5. The time now is 07:28 AM. |