This is how I get the IP information from a Ubiquity wireless Nanostation.
XM.v5.5.3# ifconfig br0 br0 Link encap:Ethernet HWaddr DC:9F:DB:42:59:2B inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::de9f:dbff:fe42:592b/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:921 errors:0 dropped:0 overruns:0 frame:0 TX packets:501 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:158229 (154.5 KiB) TX bytes:198834 (194.1 KiB) |
I typed ssh [email protected] -p 22
in Cygwin and this allowed me to access the Nanostation for easy command-line access.
This is how I am getting the networking information from the Nanostation.
XM.v5.5.3# netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 ::ffff:192.168.1.20:ssh ::ffff:192.168.1.64:53626 ESTABLISHED Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 3 [ ] STREAM CONNECTED 1053 unix 3 [ ] STREAM CONNECTED 1052 |
And I am pinging the connected laptop from the Nanostation.
XM.v5.5.3# ping 192.168.1.64 PING 192.168.1.64 (192.168.1.64): 56 data bytes 64 bytes from 192.168.1.64: seq=0 ttl=128 time=1.026 ms 64 bytes from 192.168.1.64: seq=1 ttl=128 time=0.542 ms 64 bytes from 192.168.1.64: seq=2 ttl=128 time=0.518 ms ^C --- 192.168.1.64 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.518/0.695/1.026 ms |
This is how easy it is to connect to a Nanostation and get networking information.