LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wlan check at startup (https://www.linuxquestions.org/questions/linux-newbie-8/wlan-check-at-startup-361679/)

kirmet 09-09-2005 02:53 AM

wlan check at startup
 
hi there mighty mighty linux people

i am (not in desperate) but in curious need of an answer.
is it possible to check if a pcmcia card is plugged in and if yes gets configured?
as far as i understand it should just be something like

if [ card_plugged_in ]
then
config
fi

where can i look for information if it is plugged in or not?

normally i config my card with start-wlanconfig
stupid question but i am not able to find the config file itself :(
any hints where to look?


thx

bosewicht 09-09-2005 07:46 PM

dmesg

type man dmesg in a terminal or google dmesg

Poetics 09-09-2005 08:36 PM

As an addendium to the above, dmesg replays all of the information that is displayed in your startup. combining that command with "grep" and others will help weed out all the extraneous info (there's a lot) and help you discover exactly what you want.


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