Q Re Resetting Nic (mac Unix)

bharoche

Registered
I'm setting up a standalone powerbook for developing with CFML and SQL server. I'm able to run SQL server on virtualpc but to do so I have to set the powerbook's ethernet card to loopback using these commands:

sudo ifconfig en0 mediaopt hw-loopback
sudo ifconfig eno media 100baseTX

Works fine...I can develop without being attached to an ethernet network. The only downside is I have to re-boot the machine in order to reset the NIC and access the Net or re-join a LAN. I imagine there's a command(s) I can use to disable the loopback, or re-set the NIC without a re-boot. I've googled around and tried variations of down, delete, -alias, up etc. without luck.

I'm a unix newbie but I know how to type in a terminal window. Easy explanations appreciated. TIA.

--
Regards,
Bob Haroche

OnPoint Solutions
www.OnPointSolutions.com

 
Back
Top