Electronics Repair (sci.electronics.repair) Discussion of repairing electronic equipment. Topics include requests for assistance, where to obtain servicing information and parts, techniques for diagnosis and repair, and annecdotes about success, failures and problems.

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to alt.internet.wireless,alt.os.linux,sci.electronics.repair
external usenet poster
 
Posts: 12
Default How to get a list of IP addresses connected to a WISP homebroadband router?

Clément Durand wrote, on Sat, 09 Aug 2014 21:05:32 +0000:

How do I find what machines are connected & their traffic?
I can log into my ubiquiti Rocket M2 radio from Linux using:
$ ssh -l ubnt IP ADDRESS
I know the IP address of the home broadband router (192.168.1.100) which
is connected to the radio, but my first question is how I would find that
router IP address if I didn't already know it?

Route -n doesn't seem to report the router (which is 192.168.1.100):
XM.v5.5.6# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.50.0.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
0.0.0.0 10.50.0.1 0.0.0.0 UG 0 0 0 ath0


I'm surprised Jeff Liebermann hasn't responded, since he knows
everything about setting up WiFi security, but, luckily, I *think*
I have figured out one potential way to tell what the home broadband
router IP address might be from the Ubiquiti AirOS command line.

Assuming the rooftop antenna Rocket M2 is at IP 192.168.1.20 and the
home broadband router connected to it by wire is at 192.168.1.1 ...

$ ssh -l ubnt 192.168.1.20
XM.v5.5.8#

At that prompt, cat this file:
XM.v5.5.8# cat /tmp/dhcpd.leases

More often than not, that file seems to contain the IP address of the
home broadband router which is connected to the rooftop transceiver.

If you know of a *better* way to find the IP address of the router which
is connected to your Ubiquiti AirOS device, please let me know.

The router IP address will also be in the radio /proc/net/nf_conntrack
file, so, I think we can grep for it using a syntax sort of like the following:

XM.v5.5.8# grep 192.168.1. /proc/net/nf_conntrack


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ and email addresses John Rumm UK diy 14 April 30th 09 04:07 PM
Internet Explorer or WISP Problem? Andy Asberry Metalworking 1 April 19th 09 01:35 AM
FS Multi Router on Craig's List Portland Jane & David Woodworking 0 November 4th 07 02:34 AM
IP Addresses....WTF? Phil UK diy 0 October 27th 05 10:35 AM
Email addresses RBM Home Repair 9 March 28th 05 11:02 PM


All times are GMT +1. The time now is 05:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"