View Single Post
Posts: 474 | Thanked: 30 times | Joined on Jan 2006
#4
Originally Posted by brendan View Post
/sbin/ifconfig wlan0

will give you an IP address, if you are connected. also, the RX/TX counters will not be 0. you should not need root access for this.
This doesn't help you if you're not using wlan

Frethop, check out libconic. There's a DBUS call you can make that will report back what you're connected to (if anything). I'll try to get you a command line in a bit...
 

The Following User Says Thank You to aleksandyr For This Useful Post: