List of users connected to ad-hoc wifi sharing network?

Discussion in 'macOS' started by gabedamien, May 25, 2010.

  1. gabedamien macrumors member

    gabedamien

    Joined:
    Oct 30, 2007
    Location:
    CT/NY
    #1
    Hello,

    Not having (or needing) a wireless router, I use Mac OS X's internet sharing protocol via a password-protected ad-hoc network from my macbook pro to my iPhone. This way I can browse apps, facebook, etc. much faster on my phone, and also sync apps like Pastebot and Things.

    Although I don't have great reason to believe that anyone is going to attempt to or succeed at hacking into this wifi, I was wondering a couple of things. First, is there any way to see what users are actually connected to my ad hoc network? Second, is there any way to set the network to not broadcast itself (i.e., to make it invisible unless a user knows the network name?).

    Thanks in advance to any networking guru willing to answer the above!
    —G
     
  2. appleguy123 macrumors 603

    appleguy123

    Joined:
    Apr 1, 2009
    Location:
    15 minutes in the future
  3. gabedamien thread starter macrumors member

    gabedamien

    Joined:
    Oct 30, 2007
    Location:
    CT/NY
    #3
    Well, my iPhone doesn't show up there, so I'm not sure why other people's computers would.
     
  4. gabedamien thread starter macrumors member

    gabedamien

    Joined:
    Oct 30, 2007
    Location:
    CT/NY
    #4
    Still interested in this. Surely there must be a simple way of listing all clients connected to an ad-hoc network?
     
  5. IDANNY macrumors 6502a

    IDANNY

    Joined:
    Dec 26, 2003
    Location:
    Las vegas
    #5
    couldnt you put a password on the adhoc network then not need to worry about it?
     
  6. gabedamien thread starter macrumors member

    gabedamien

    Joined:
    Oct 30, 2007
    Location:
    CT/NY
    #6
    IDanny,

    I do have a password on it. But I'm in a 22-story building in Manhattan—I am literally surrounded by a mass of wifi users, all of whom can see my computer. Even though most could never log in without a password, I'd rather that NONE could (I should probably bump the security to the 128-bit key). In fact, I'd rather that nobody could even see the network—i.e., that it did not advertise itself.

    When I used a wireless router (previous living space) I had it not advertise itself, I used 128-bit encryption, and I could filter access by MAC address. I could also log into the router and see at a glance all of the clients connected to it. It seems like an incredibly basic and obvious thing that Apple should enable at LEAST to see what is actually connected to an ad-hoc network, even if it doesn't allow MAC filters or non-advertised networking.

    Is there anyone out there who can actually address my question instead of changing it into something else? ;) (No offense to those who replied already, I do value your suggestions and appreciate your taking the time to answer me).
     
  7. adiand macrumors newbie

    Joined:
    Sep 7, 2014
    #7
    List mac addresses that have been accessing ad-hoc / wifi sharing

    I was wondering the same and found out this information is available in system.log (fire up Console application and search for "osif_connect"

    You should see something like:
    Sep 8 05:09:31 MySSID kernel[0]: 1148176.661388: osif_connect_event: sta: DE:VI:CE:MA:CA:AD arrive message posted
    Sep 8 05:14:01 MySSID kernel[0]: 1148446.855516: osif_connect_event: sta: DE:VI:CE:MA:CA:AD arrive message posted
    Sep 8 05:14:02 MySSID kernel[0]: 1148448.103477: osif_connect_event: sta: DE:VI:CE:MA:CA:AD arrive message posted
    Sep 8 05:59:10 MySSID kernel[0]: 1151156.174274: osif_connect_event: sta: DE:VI:CE:MA:CA:AD arrive message posted

    Here MySSID is the ssid for your wifi-share and DE:VI:CE:MA:CA:AD is the mac address of the devices that connect.

    To view historic connections open Terminal and issue the following commands:
    cd /private/var/log
    zgrep "osif_connect_event" system.log.*.gz | cut -d: -f2- | sort
     

Share This Page