Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: [HOW TO] Stay connected on 1.1.3(4) FW in Ad-Hoc mode

  1. #1
    What's Jailbreak?
    Join Date
    Aug 2007
    Posts
    2
    Thanks
    0
    Thanked 2 Times in 1 Post
    Default [HOW TO] Stay connected on 1.1.3(4) FW in Ad-Hoc mode
    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.

  2. The Following 2 Users Say Thank You to NeoN_ For This Useful Post:

    chicocvenancio (2008-05-03), jdonn2009 (2008-06-12)

  3. #2
    ok, I'm sorry, I got lost with the step one, what is that and where do i get it from?

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •