Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 3 of 3
  1. #1
    bharoche is offline Registered User
    Join Date
    Nov 2005
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Q Re Resetting Nic (mac Unix)

    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


  2. #2
    BjarneDM's Avatar
    BjarneDM is offline Registered User
    Join Date
    Oct 2005
    Location
    København ; Danmark ; Europa
    Posts
    218
    Thanks
    0
    Thanked 14 Times in 14 Posts
    how about: sudo ifconfig en0 media autoselect ?

  3. #3
    bharoche is offline Registered User
    Join Date
    Nov 2005
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Great. That did it. Thank you.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •