Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-19-2008, 11:16 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
Smile IPaddress of wireless

If i wanna write a script to get IPaddress of wireless interface, how can i get it? because my problem is that each machine has different name of wireless card such as ath0, eth1, wlan0.

Old 07-19-2008, 01:36 PM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Maybe look at the output of
cat /proc/net/wireless ?
Old 07-19-2008, 04:49 PM   #3
LQ Newbie
Registered: Jul 2008
Posts: 5

Original Poster
Rep: Reputation: 0

Thanks too much for ur answer.
I know how to write the script now


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
gentoo - ipaddress aeby Linux - Networking 1 06-18-2007 09:28 AM
IPaddress packet xeon123 Linux - Networking 1 03-25-2007 08:01 PM
getting the location through the ipaddress deepclutch Linux - Networking 2 02-11-2007 02:10 AM
ipaddress my program... hegdeshashi Programming 5 07-06-2006 01:11 PM
ipaddress and hostname groverrajiv Linux - Networking 1 04-24-2004 09:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 PM.

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