Hi there.
So if you have problem with Ad-Hoc connection on 1.1.3 and 1.1.4 (you lost connection after 2-3 seconds after you press home button) read this

I don't know if is this already here. If is, sorry, I am blind
Try it, works for me:
1. download from \Library\Preferences\SystemConfiguration\ file
com.apple.wifi.plist
2. make backup for this file
3. open it and edit (I used XMLeditor, so I don't know if it will work with textEditor)
LINK for XmlEditor
4. original file (after reseting network settings) looks like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AllowEnable</key>
<integer>1</integer>
<key>JoinMode</key>
<string>Automatic</string>
<key>List of known networks</key>
<array/>
</dict>
</plist>
5. under "List of known networks" replace line <array/> with these 6 lines:
Code:
<array>
<dict>
<key>SSID_STR</key>
<string>***********************</string>
</dict>
</array>
6. now the file "com.apple.wifi.plist" should look exactly like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AllowEnable</key>
<integer>0</integer>
<key>Custom network settings</key>
<dict/>
<key>JoinMode</key>
<string>Automatic</string>
<key>List of known networks</key>
<array>
<dict>
<key>SSID_STR</key>
<string>***********************</string>
</dict>
</array>
</dict>
</plist>
instead of *********************** you must write name of your connection (SSID) - EXACTLY how it is so respect small letters, big letters,blank spaces and other symbols !!!!
7. close, save it and copy (rewrite) back to \Library\Preferences\SystemConfiguration\
So, finally, here is example for that file, how it should look like:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AllowEnable</key>
<integer>0</integer>
<key>Custom network settings</key>
<dict/>
<key>JoinMode</key>
<string>Automatic</string>
<key>List of known networks</key>
<array>
<dict>
<key>SSID_STR</key>
<string>NameOfYourNetwork</string>
</dict>
</array>
</dict>
</plist>
And if you want add more than 1 network it looks like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AllowEnable</key>
<integer>0</integer>
<key>Custom network settings</key>
<dict/>
<key>JoinMode</key>
<string>Automatic</string>
<key>List of known networks</key>
<array>
<dict>
<key>SSID_STR</key>
<string>NameOfYourNetwork_01</string>
</dict>
<dict>
<key>SSID_STR</key>
<string>NameOfYourNetwork_02</string>
</dict>
<dict>
<key>SSID_STR</key>
<string>NameOfYourNetwork_03</string>
</dict>
</array>
</dict>
</plist>
It should work on iPhone too, but i haven't iPhone, so it isn't confirmed.
Hope this will help you.
