LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Network awareness - HowTo? (https://www.linuxquestions.org/questions/linux-newbie-8/network-awareness-howto-590739/)

osle 10-10-2007 04:51 AM

Network awareness - HowTo?
 
Hi guys,

I need to write a small client application that detects network connectivity: is connected, is it wired connection or wireless connection.

I prefer to write the application using native Linux tools and commands.

Your suggestions are most appreciated.

Thanks
Osnat

duffmckagan 10-11-2007 12:01 AM

If you are using KDE, there's already an application that does the stuff you are after...

Its called KNemo and it can be found here.

Tinkster 10-11-2007 03:16 AM

Quote:

Originally Posted by osle (Post 2919421)
Hi guys,

I need to write a small client application that detects network connectivity: is connected, is it wired connection or wireless connection.

I prefer to write the application using native Linux tools and commands.

Your suggestions are most appreciated.

Thanks
Osnat

You could have a close look at /proc/net with standard
Linux tools ...


Cheers,
Tink

osle 10-11-2007 08:59 AM

Thanks!
 
Thanks for your reply. I'll have a look.

Osnat


All times are GMT -5. The time now is 05:08 PM.