LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2007, 05:51 AM   #1
osle
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
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
 
Old 10-11-2007, 01:01 AM   #2
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 48
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.
 
Old 10-11-2007, 04:16 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by osle View Post
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
 
Old 10-11-2007, 09:59 AM   #4
osle
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks!

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

Osnat
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Raising Linux Awareness: A "Bottoms-Up" Approach LXer Syndicated Linux News 0 04-01-2007 08:31 AM
Howto Network Monitor bierpullen Ubuntu 1 02-26-2006 02:43 PM
Wireless Network Howto jtshaw Linux - Wireless Networking 3 01-28-2004 06:46 AM
home network howto? ferretmanus Linux - Newbie 4 01-09-2004 02:07 PM
Network howto setup Jonas82 Slackware 2 12-02-2003 02:50 PM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration