J.o.h.n.D.o., on Aug 3 2011, 03:08 PM, said:
2. Set up: Unfortunately the Client Utility doesn't save any modifications made as part of a network setup. Usually profiles are saved in /Library/Preferences/RtProfilesListV2.plist, which is only reasonably editable via PlistEditor. As part of this - and I hope this helps the folks concerned - I have added a cleaned up "RtProfilesListV2.plist" as attachment.
I have no idea how ascii passwords are encoded, but they don't seem to be saved in plain text. Therefore the only option available appears to be to enter the network key. I have only a WEP network to work with, so I am not sure how this affects WPA, but it might work as well - otherwise you have to figure out the corresponding entries yourself, I'm sorry to say.
The attached RtProfilesListV2.plist contains three lines which point to the items that should be replaced:
- Put in the Network Key
- Put in the SSID
- Put in the profile name
which you can easily edit via text editor if that suits you.
I never liked the crab, therefore the archive contains a network icon similar to Airport I use as a replacement for the crabby icon...
Realtek.zip
I was trying to make client utility work, and mine is now saving profiles very well. That was all related about permissions.
1. Go Library/Preferences/ and paste the file RtProfilesListV2.plist you attached.
2. Right mouse click on file > get info > set permissions Read&Write to all.
3. Set permissions Read&Write to all on folder Library and same with Preferences.
4. Now your Realtek Client Utility will save every profile you create/edit.
If you want, when you finished of editing/creating profiles, set permissions back (Only Read to staff and everyone).
And for those they need to open the Realtek Client Utility each time they boot their computer, when the app is opened, go dock, right click on Realtek Client Utility > Options > Open when login.
I don't know if menus are exactly as I said, because my hackintosh is in spanish.
Now, we need to find how make our Realtek Client Utility connect when pc goes sleep and wake up.
I want to modify icon as you, but I don't know (I'm pretty new on Mac OS). Could you give me exact steps? Thanks!
Edit:
I have tips to make our 8187L auto connect when PC wake up from sleep.
Writting a script that do something like:
sudo -s
echo [root password]
ifconfig [your 8187L interface] down
ifconfig [your 8187L interface] up
Doing that, Realtek Client Utility will recognize again the WLAN card when PC wakes, and Utility will auto connect to a existing profile. In last place, we need to program that script to run when pc wakes.
I will update post when I get it (I don't currently know how to write sh scripts)! Sorry bad english >.<
ReEdit:
I made it. I will update tomorrow with details(now go to sleep)!
ReReEdit:
To auto wake up your WLAN after PC wakes up from sleep:
Write an AppleScript with next script (search for AppleScript):
property userpassword : "[your root password"
do shell script "sudo ifconfig [your wlan interface] down;sudo ifconfig [your wlan interface] up" password userpassword with administrator privileges
To know your wlan interface, open terminal and write ifconfig.
For example, if your password is 123456 and your wlan interface is en0:
property userpassword : "123456"
do shell script "sudo ifconfig en0 down;sudo ifconfig en0 up" password userpassword with administrator privileges
Go compile, and then file > Save as. Name = rtl8187lwakeup and fomat -> Application
In my case I saved on Documents folder. (You can save it on another place)
To test if you are going right until now, if you run the app, your wlan will be desactivated and activated. (you can see this action on Realtek utility).
Next step is download SleepWatcher, from
here.
Mount image, install "sleepwatcher.pkg" and then "SleepWatcher StartupItem.pkg".
Now you need to create a text file, (use TextEdit) and write next: "/Users/[your name]/Documents/rtl8187lwakeup.app"
In my case was: "/Users/peposcarmona/Documents/rtl8187lwakeup.app"
Save with name wakeup and you need to place that at your home folder ("/Users/[your name]")
Now go to that folder and open terminal:
write: mv (space) (drag wakeup file to terminal) (space) (drag wakeup again) (remove wakeup.rtf at last and write .wakeup) (press enter)
file will dissapear from folder (you just changed name to .wakeup, mac os x doesn't show files that start with .)
Restart your mac/hackintosh and now, your wlan will wake automatically when PC comes back from sleep.
This guide should work for any Realtek WLAN with same problem.