How to remove network interface using CLI?

Discussion in 'OS X Yosemite (10.10)' started by nelly22, May 22, 2015.

  1. nelly22 macrumors 6502

    Joined:
    Sep 29, 2009
    #1
    If i run

    ls /dev/cu.*

    I see many extra usbmodem interfaces there but these are not in Network preference pane in System Preferences.

    How i can remove these extra modems? Maybe some CLI magic?
     
  2. Morpheo macrumors 65816

    Morpheo

    Joined:
    Feb 26, 2014
    Location:
    Paris/Montreal
    #2
    I don't see them in my /dev but may I ask why you'd want to remove these antiquities? ;) They're probably never used anyway and are less than 200 bytes... They're harmless. Now that I think of it how come I don't have them? Oh well...:)
     
  3. cloudydayagain macrumors newbie

    Joined:
    May 17, 2015
    #3
    I try to install modem. When i connect it to Mac, Network preferences don't show "new modem detected" dialog at all. These old modem entries are related to that modem so i need to delete these first.
     
  4. Morpheo macrumors 65816

    Morpheo

    Joined:
    Feb 26, 2014
    Location:
    Paris/Montreal
    #4
    It is really NOT recommended to delete any of the /dev files. I suspect the reason it's not detected is because the correct device hasn't been created - deleting the others won't change that.
     
  5. cloudydayagain macrumors newbie

    Joined:
    May 17, 2015
    #5
    These bad modems are Arduino board and now "ls" shows four modem entries but zero in Network preferences. I would like to delete these using CLI or something and then connect Arduino again so it shows up in Network preferences.
     

Share This Page