March 20, 2019, 02:10:19 PM

Author Topic: Print name of WLAN device from given IP?  (Read 49 times)

Offline Yellownakji

  • Full Member
  • ***
  • Posts: 115
  • Whoop-de-doo-ba-dooo!
Print name of WLAN device from given IP?
« on: March 14, 2019, 09:29:51 PM »
Hello.

I'm trying to return the SSID/String name of a device connected to my router.     I'd like to input the IP of my device and then have it print out "XPMachine", which is the name of the device.  Also, i'm curious about how to check if an IP exists or not.  I'd like to know when it's available or not.

Any ideas?  Is there a built in module?  i've never done networking on BMXNG before.

Offline Yellownakji

  • Full Member
  • ***
  • Posts: 115
  • Whoop-de-doo-ba-dooo!
Re: Print name of WLAN device from given IP?
« Reply #1 on: Today at 03:08:47 AM »
Anyone?

Offline Brucey

  • Jr. Member
  • **
  • Posts: 63
Re: Print name of WLAN device from given IP?
« Reply #2 on: Today at 06:18:31 AM »
Hello, there's this stuff on Windows : https://docs.microsoft.com/en-us/windows/desktop/nativewifi/native-wifi-api-sample

On macOS, there's this : https://stackoverflow.com/questions/4740932/getting-osx-connected-wi-fi-network-name

On Linux, there's some info about libnl and the command line : https://stackoverflow.com/questions/5102186/wireless-api-for-linux-in-c-or-java

Probably something in there will get the information you require.