kevdog
July 4th, 2008, 04:14 PM
Try to write script that determines active wireless or wired interface such as eth0, wlan0. I don't think ifconfig is the correct place -- Although I can decipher which interface is up while looking at ifconfig, I need a script to do this. I remember a post a long time ago that showed a file located in /var that stored the active interface. Anyone have any ideas?