View Single Post
  #7   (View Single Post)  
Old 1st September 2008
hsw hsw is offline
New User
 
Join Date: May 2008
Posts: 6
Default

Quote:
Originally Posted by disappearedng View Post
I did the following:

1) #kld_load if_sis
2) edited my /boot/loader.conf and /etc/rc.conf with
"if_sis_load="YES""
if_sis_load="YES" only in /boot/loader.conf
rc.conf needs
ifconfig_sis0="DHCP"


I usually add this to /etc/rc.conf then whichever card is plugged in comes up:

NIC="de em ixgb txp vx bfe bge dc fxp lge nge pcn re rl sf sis sk ste ti tl tx vge vr wb xl cs ed ex ep fe ie lnc sn xe an awi wi ath gem"

for i in ${NIC}
do
eval ifconfig_${i}0="DHCP"
eval ifconfig_${i}1="DHCP"
done

Otherwise you might need a static IP +default router like:

ifconfig_sis0="inet 192.168.99.45 netmask 0xffffff00"
defaultrouter="192.168.99.1"

If you use static IP remember to set up /etc/resolv.conf with your name server IPs.

Hope this helps.
Reply With Quote