Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sausi
Post subject: Wlan schon vor dem anmelden starten  PostPosted: Mar 27, 2011 - 06:25 PM



Joined: Mar 08, 2006
Posts: 48
Location: Magdeburg
Hi,

gibt es eine Möglichkeit unter hellfire, dass mein wlan schon startet, wenn die Anmeldung noch läuft.

Hintergrund: Ich lasse Anwendung beim Anmelden starten, die auf eine Internetverbindung bauen.

Ja ich weiß, mit dem sleep-Befehl, könnte ich sie etwas warten lassen, aber ich bin halt etwas ungeduldig Lachen
 
 View user's profile Send private message  
Reply with quote Back to top
Kano
Post subject: Wlan schon vor dem anmelden starten  PostPosted: Mar 27, 2011 - 06:46 PM



Joined: Dec 17, 2003
Posts: 15544

Bau einfach sowas ein:
Code:
max=60;while ! ping -c1 google.de >/dev/null 2>&1;do max=$(($max-1));[ $max -lt 0 ] && break;sleep 1;done

Das wartet z.b. max 60s auf die internet verbindung. Kannst jeden anderen timeout auch nehmen.
 
 View user's profile Send private message  
Reply with quote Back to top
sausi
Post subject: Wlan schon vor dem anmelden starten  PostPosted: Jan 22, 2012 - 08:31 PM



Joined: Mar 08, 2006
Posts: 48
Location: Magdeburg
Habe den KNetworkmanager gegen Wicd getauscht. Nun ist die Onlineverbindung schon vorher vorhanden.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits