Now, find the line UserPassword and behind the = type in your personal userpassword you got from the admin.Ħ. But if the value is set to =0, set the value to =1 and go on with the following steps.ĥ. If the value is set to =1 and your username (step 3) was already entered, everything is fine and you can use the former posted hint. Find the line Username= and make sure that your Username as distributed by your admin is entered there.Ĥ. Textedit (whereas "YourProfile" is the Profilename the Cisco-GUI shows when connecting).ģ. Shut down the VPN-Connection and quit the GUI (because it will override all of the following, when being closed later).Ģ. To get rid of the prompt, there will be some editing necessary on the Connection-Profile placed in the folder …/private/etc/opt/cisco-vpnclient/Profiles/ (you can browse hidden folders with e.g. Another advantage: You won´t need the Cisco-GUI anymore and therefore will have a bit more space in your dock for something else -)įorgot one thing to mention:This hint only works if there is no prompt for your password on login to the Cisco-Network. Now, whenever I startup my machine or wake it up, the internetconnection is automatically being (re)established. (whereas MYNAME has to be replaced by the name of your Homedirectory).Īnd that did it. Opened the Terminal and made the ".wakeup"-file an executable Unix-file by typing the following line: MacExplorer easily to find if you need to edit it).Ĥ. Saved the such created Texteditfile as ".wakeup" (w/o anything written before the stopmark and w/o the quotes) in my Homedirectory where it is being placed as an invisible file (but with e.g. #!/bin/sh vpnclient connect PROFILE(whereas PROFILE has to be replaced by the Name of the File your Cisco VPNClient works with located in …/private/etc/opt/cisco-vpnclient/Profiles/ – btw the path is invisible but can be made visible with e.g. Wrote a little script (I used Textedit) containing just the following two lines: Installed the Files "SleepWatcher" and "SleepWatcher StartupItem" from the downloaded SleepWatcher File.Ģ. Now, by the help of SleepWatcher (btw: thanx for the great hint and thanx for the software) the connection is always being reestablished automatically w no need of using the GUI anymore. I was annoyed by always being forced to reestablish the Internetconnection by the Cisco-GUI after waking up my machine. Hint: TextMate/TextMate.app/Contents/SharedSupport/Support/bin/play) * BTW, if you are a user of the excellent TextMate text-editor from, there's an (apparently) undocumented cmd-line sound app already tucked away inside it. This created a problem with trapped heat and increased the risk of toting around a unit that I thought was safely asleep that wasn't. In the past, I've run into a sporadic problem of the PB not sleeping properly when I closed the lid. Yes, it's stupid, but besides making me laugh, it actually does has a practical effect - it tells me that the PB has shut down successfully before I tuck it away in a carrying case and begin hefting it around. (Experienced AppleScripters could probably do some similar magic with osascript or something.) The sound I have the PowerBook play comes from here. sleep script basically invokes a cmd-line sound player app* such as found here or here. I use SleepWatcher to play a sound every time my PowerBook goes to sleep.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |