View Full Version : ESSID configuration data
jeremy09
2008-01-20, 09:48 PM CST
Hi,
I could find the the file that stored ip6 address in /proc/net/if_inet6, but now I want to get the file that stored iwconfig configurations and essid in fedora core 5. Anybody know the path/ source? Thank you so much!
Regards,
Jeremy
stevea
2008-01-20, 10:11 PM CST
Well it isn't necessarily a file. The /proc stuff is an artifact (well a well designed artifact) of the kernel and not really files in the conventional sense.
If you want to see what "iwconfig" or any other command does use strace. "strace iwconfig" or perhaps "strace -etrace=open iwconfig". Currently /proc/net/dev ... but FC6 may be different. More likely the ioctls on the socket represent the ESSID.
jeremy09
2008-01-20, 10:30 PM CST
Hmm... How do I see this ESSID on the ioctls on the socket? Actually I just need to know where to get the ESSID and store into a variable so that I can use in my simple program. Do you have any idea how to do this?
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.