08-28-2008, 02:24 PM
Hi,
My problem is the command bash-3 . 2#
it says command not found
can u help me please
My problem is the command bash-3 . 2#
it says command not found
can u help me please
(04-23-2008 05:08 PM)veagles Wrote: Guests cannot see links in the messages. Please register in our forum for free by clicking here to see links.Here is a tutorial for getting the ZTE AC8700 Modem to work on Mac. It works on OS X 10.5, i.e Leopard and OS X 10.4.
UPDATE Few users complained of slow speeds with pl2303 driver. An alternate way of using this modem is given in Guests cannot see links in the messages. Please register in our forum for free by clicking here to see links..
1. Get the Prolific PL2303 driver from Guests cannot see links in the messages. Please register in our forum for free by clicking here to see links.. This chip is used in various devices like usb serial dongles and as cheap embedded USB bridge in cellphones, GPS receivers and other applications with low data traffic.
Install the Driver and Reboot
2. The next step involves Kernel Extension Patching. Start Terminal. You can start it in spotlight or Open it from utilities folder.
3. Get Root Access.
You should enter your password, that you used when you created your account.Code:
~<Username>$ sudo -s
4. Find Info.plist.
Check if Info.plist is present in this directory using ls command. You should add the device and vendor id of the modem to this file.Code:
bash-3.2# cd /System/Library/Extensions/osx-pl2303.kext/Contents/
5. Change permission of Info.plist to get write access.
6. Add the hardware id's to Info.plistCode:
bash-3.2# chmod 644 Info.plist
You can use any text editor. I am using vi here.
Press I to enter insert mode. Copy and paste this text into your file. This text contains the id's of ZTE AC 8700.Code:
bash-3.2# vi Info.plist
Quote:<key>05c6_6000</key>
<dict>
<key>CFBundleIdentifier</key>
<string>nl.bjaelectronics.driver.PL2303</string>
<key>IOClass</key>
<string>nl_bjaelectronics_driver_PL2303</string>
<key>IOKitDebug</key>
<integer>0</integer>
<key>IOMatchCategory</key>
<string>ProfilicSerialUSB</string>
<key>IOProviderClass</key>
<string>IOUSBDevice</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>idProduct</key>
<integer>24576</integer>
<key>idVendor</key>
<integer>1478</integer>
</dict>
Now where you copy this text is very important.
Copy the text here after this,
Quote:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>osx-pl2303</string>
<key>CFBundleIdentifier</key>
<string>nl.bjaelectronics.driver.PL2303</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Mac OS X Driver for PL2302 USB-to-serial bridge</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.0d1</string>
<key>IOKitPersonalities</key>
<dict>
and before this
Quote:<key>19d2_fffd</key>
<dict>
<key>CFBundleIdentifier</key>
<string>nl.bjaelectronics.driver.PL2303</string>
.......
.......
.......
Save the file. In vi, press Escape followed by :wq.
7. Repair Permissions.
You can repair permissions from the disk utility too.Code:
bash-3.2# chown -R root:wheel /System/Library/Extensions
8. Load your modified kext
9. Now unplug your device and plug it back.Code:
bash-3.2# sudo kextload -v /System/Library/Extensions/osx-pl2303.kext
10. Open System Preferences -> Network Click on the + sign on the bottom of the list of devices, to add a new device. ZTE CDMA TECH will be available in the list, select it.
11. Go to advanced and select Generic Dial Up device. Make sure the option "Enable error correction and compression in modem" is selected.
Close the widow.
12. Enter #777 in telephone number field. Enter your bnsl number into the account name and password fields.
13. Save and Connect.
14. Open Safari and Surf..
15. Clear the Kext Cache, for the new kext to load at boot.
Code:
~<Username>$ sudo -s
bash-3.2# touch /System/Library/Extension
I have tried to be as clear as possible. If you have any doubts, you can ask me in this thread.
Please dont email me or pm me. Ask your problems here. I have given a modified Info.plist in post #3. Use it if you dont want to modify it yourself.
Two users, Guests cannot see links in the messages. Please register in our forum for free by clicking here to see links. and Guests cannot see links in the messages. Please register in our forum for free by clicking here to see links. have sucessfully tested this method.