Contribute
Register

EliteBook BCM20702A0 - WWAN/GPS(HSPA) miniPCI-E un2430 (Gobi300)

Status
Not open for further replies.
Yes. It worked on Windows 7. Had to set APN only.
 
Yes. It worked on Windows 7. Had to set APN only.

All i have ever had to do is, edit CellPhoneHelp.kext as shown, install, repair permissions and so on, reboot. It can be a bit temperament to install some time.
Do you have the original unedited CellPhoneHelp.kext to start over with?
Only copy 0x0FCE/0XD0D0 Sony Ericsson W350 Entry and edit as my previous post?
 
Yeah I've started over.
 
Does It have something to do with my laptops SMbios? WWAN card in a Macbook is a legacy feature and is no longer used in new generations from what I've read.
 
Does It have something to do with my laptops SMbios? WWAN card in a Macbook is a legacy feature and is no longer used in new generations from what I've read.

No i wouldn't think so ? FYI i had an issue before, with windows switching the card off when you stopped using it. It is the default setting in HP Connection manager.
once my card is recognized as a wwan in system profile it would work.
If you google Ericsson F5521gw hackintosh or Using Ericsson F5521gw / HP hs2340 HSPA+ / Dell DW5550 in OS X .
 
Hi, just got my F5521gw (0x0bdb/0x1911) to work on x220.
It's important to follow steps in first post and patch all three kexts: CellPhoneHelper.kext, AppleWWANSupport.kext and AppleWWANSupport1.kext.

I'm wondering how to make GPS port on WWAN modem. But I think it's subject for new thread.

Best wishes.
 
EliteBook BCM20702A0 - WWAN/GPS(HSPA) miniPCI-E HP un2430 (Gobi3000)

Hi to all,

I want to contribute to this topic, by posting solution for enabling following interfaces in Elitebook 8470p:

- Bluetooth integrated module BCM20702A0
- WWAN/GPS(HSPA) miniPCI-E HP branded HP un2430 Mobile broadband module (Gobi300)

Both of devices are actually USB type of device (even they are integrated/in form of MiniPCI-E), and are recognised by OS X under USB tree device list. Go in: --> Utilities --> System Information --> (left pane) Hardware --> (branch) USB. If you see both of them then you can proceed with further steps. Mine was like this:

View attachment 177418


1. Enabling Bluetooth module:

In order to enable bluetooth, you'll have to install following kext - BrcmPatchRAM2.kext
- Download and extract this ZIP file: https://bitbucket.org/RehabMan/os-x-brcmpatchram/downloads/RehabMan-
BrcmPatchRAM-2016-0205.zip

- With KextWizard install following ONLY these two kexts (beware there are total 4 kexts in the zip file): BrcmPatchRAM2.kext and BrcmFirmwareData.kext.
- Rebuild permissions and caches, and reboot.

That's it ! You have Bluetooth now !

2. Enabling WWAN (3G/HSPA) HP un2430 Mobile broadband module (Gobi300)

You will have to edit 3 files and add following records inside each file. I've used vi/vim editor from Terminal, you can use whatever is suitable for you. Beware that if you use vi/vim, you'l have to start edit files with root credentials or with "sudo vi <file_name>". After finish the editing of the files you MUST rebuild permissions and caches prior reboot (I've used KextWizard for this). Now the files and the new records:

- vi /System/Library/Extensions/CellPhoneHelper.kext/Contents/Info.plist
add following record at line number 43 (after section:
<key>IOKitPersonalities</key>
<dict>)


Code:
<key>0x03F0/0x371D HP un2430 Mobile Broadband Module</key>
                <dict>
                        <key>CFBundleIdentifier</key>
                        <string>com.apple.driver.AppleUSBHostMergeProperties</string>
                        <key>IOClass</key>
                        <string>AppleUSBHostMergeProperties</string>
                        <key>IOProviderClass</key>
                        <string>IOUSBHostDevice</string>
                        <key>IOProviderMergeProperties</key>
                        <dict>
                                <key>DeviceModemOverrides</key>
                                <dict>
                                        <key>AccessPointName</key>
                                        <string>Obtain From Service Provider</string>
                                        <key>Default Personality</key>
                                        <string>Sierra GSM Personality</string>
                                        <key>ConnectionScript</key>
                                        <string>WWAN.ccl</string>
                                        <key>DeviceContextID</key>
                                        <string>1</string>
                                        <key>DeviceModel</key>
                                        <string>GSM</string>
                                        <key>DeviceVendor</key>
                                        <string>Sierra Wireless</string>
                                </dict>
                                <key>DevicePPPOverrides</key>
                                <dict>
                                        <key>LCPMTU</key>
                                        <integer>1450</integer>
                                </dict>
                                <key>InfoCommands</key>
                                <dict>
                                        <key>ATCommands</key>
                                        <dict>
                                                <key>DirectoryNumber</key>
                                                <string>+cnum</string>
                                                <key>IMEI</key>
                                                <string>+cgsn</string>
                                                <key>IMSI</key>
                                                <string>+cimi</string>
                                                <key>Manufacturer</key>
                                                <string>+cgmi</string>
                                                <key>Model</key>
                                                <string>+cgmm</string>
                                                <key>ModemSW</key>
                                                <string>+cgmr</string>
                                                <key>Serial#</key>
                                               <string>+gsn</string>
                                        </dict>
                                        <key>HiddenProperties</key>
                                        <dict>
                                        <key>CommandPortBaseName</key>                                                <string>wwan</string>
                                                <key>ControlPortBaseName</key>
                                                <string>wwanCNTL</string>
                                                <key>DataPortBaseName</key>
                                                <string>wwan</string>
                                                <key>StatusType</key>
                                                <string>CellPhoneGSM</string>
                                        </dict>
                                </dict>
                                <key>Initializing</key>
                                <true/>
                                <key>InterfaceMapping</key>
                                <dict>
                                        <key>2</key>
                                        <dict>
                                                <key>name</key>
                                                <string>wwan</string>
                                        </dict>
                                        <key>1</key>
                                        <dict>
                                                <key>name</key>
                                                <string>wwanCNTL</string>
                                        </dict>
                                </dict>
                                <key>WWAN</key>
                                <true/>
                        </dict>
                        <key>bcdDevice</key>
                        <integer>002</integer>
                        <key>idProduct</key>
                        <integer>14109</integer>
                        <key>idVendor</key>
                        <integer>1008</integer>
                </dict>

- vi /System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/AppleWWANSupport.kext/Contents/Info.plist

Add following on line number 45:

Code:
<key>0x3F0/* HP un2430 Mobile Broadband Module</key>
                  <dict>
                          <key>CFBundleIdentifier</key>
                          <string>com.apple.driver.AppleWWANSupport</string>
                          <key>IOClass</key>
                          <string>AppleWWANSupport</string>
                          <key>IOProviderClass</key>
                          <string>IOUSBHostDevice</string>
                          <key>idProduct</key>
                          <string>*</string>
                          <key>idVendor</key>
                          <integer>1008</integer>
                  </dict>

- vi /System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/AppleWWANSupport1.kext/Contents/Info.plist

At line number 45 add following code:

Code:
<key>0x3F0/* HP un2430 Mobile Broadband Module</key>
                 <dict>
                         <key>CFBundleIdentifier</key>
                         <string>com.apple.driver.AppleWWANSupport1</string>
                         <key>IOClass</key>
                         <string>AppleWWANSupport1</string>
                         <key>IOProviderClass</key>
                         <string>IOUSBHostInterface</string>
                         <key>InputBuffers</key>
                         <integer>16</integer>
                         <key>OutputBuffers</key>
                         <integer>4</integer>
                         <key>bConfigurationValue</key>
                         <integer>1</integer>
                         <key>bInterfaceNumber</key>
                         <string>*</string>
                         <key>idProduct</key>
                         <string>*</string>
                         <key>idVendor</key>
                         <integer>1008</integer>
                 </dict>

Rebuild permissions and caches and reboot.

After reboot your WWAN interface should be listed in the network interfaces in System Preferences --> Network.

View attachment 177419

If after reboot there is no "HP_un2430_Mobile_Broadband_Modu" Service then you should create new Service and add our Interface. Click on the "+" sign at the bottom of the left pane, and choose following:

View attachment 177420

After that, Select newly created service, insert Username and password according your providers instructions:

View attachment 177421
Then click on "Advanced" Button to define the APN:

View attachment 177422
After all is setup, Click on the Connect button. If everything done as described, you should have active HSPA connection :)

Note: At this moment WWAN status icon which is located at top bar, does not show the Operator name - instead "Unknown" is reported. I think that missing AT command (or unsupported) is the cause in the WWAN.ccl deffinition. This is just cosmetically "bug", it not affect at all funcionality nor speed of your WWAN.

PS. If admins find it appropriate, please make this post sticky, as It will spare a lot of time to others (especially for WWAN part).

BR
Boro




Hello, great God, I have been in accordance with your method to drive the UN2430 WWAN well, but can not be dial-up Internet access, is China Unicom card, but also look great god. Thank you
 
**UPDATE to this topic

An change in Dialup script must be made in order to establish succesfull ppp connection

Location of script is:

/Library/Modem Scripts/Generic GPRS.ccl/Contents/Resources/Base Script.ccl

Here is already modified script:

Code:
!  Generic HSDPA
!
!   Author: Ross Barkman
!
!   History:
!       06 Apr 01   First release of base script
!       30 Dec 02   Configured for generic GPRS settings
!       29 Jun 03   Allow three tries at response test
!       15 Mar 04   Serial speed increased for UMTS, APN check added
!       01 Sep 04   Add connect speed report for 384000 & 460800
!       29 Sep 06   Serial speed increased for HSDPA
!
!
!  'mlts' resource info:
!    byte 1 == 01 -> modem HAS built-in error correction protocols
!    byte 2 == 01 -> modem HAS built-in data compression protocols
!    byte 3 == 200 -> max number of chars in varstr 7
!    byte 4 == 200 -> max number of chars in varstr 8
!    byte 5 == 200 -> max number of chars in varstr 9
! 
@ORIGINATE
@ANSWER
!
note "Dell Mobile Broadband" 1
!
!   Check APN
!
!   Common mistake: using *99 instead of APN
!
ifstr 1 110 "*99#"
ifstr 1 110 "*99***1#"
ifstr 1 110 "*99***2#"
ifstr 1 110 "*99***3#"
ifstr 1 110 "*99***4#"
ifstr 1 110 "*99***5#"
ifstr 1 110 "*99***6#"
ifstr 1 110 "*99***7#"
ifstr 1 110 "*99***8#"
ifstr 1 110 "*99***9#"
ifstr 1 110 "*99***10#"
!
! ---- Modem setup ----
!
! Set serial port speed 7.2Mbps, all interface signals off
!
serreset 7200000, 0, 8, 1
hsreset 0 0 0 0 0 0
settries 0
!
! Check the card is responding
!
@LABEL 1
matchclr
matchstr 1 2 "OK\13\10"
write "AT\13"
matchread 30
inctries
iftries 3 101
jump 1
!
! Manufacturer check - not used
!
@LABEL 2
settries 0
!matchclr
!matchstr 1 3  "<manufacturer>"
!write "AT+CGMI\13"
!matchread 60
!jump 109
!
!
@LABEL 3
!
! Configure the phone, turn on radio
!
matchclr
matchstr 1 5   "OK\13\10"
matchstr 2 101 "ERROR\13\10"
write "AT+CFUN=1\13"
matchread 30
inctries
iftries 3 101
jsr 9
jump 3
!
!
@LABEL 5
pause 20
settries 0
!
!
@LABEL 6
!
! Set additional options
!
matchclr
matchstr 1 10  "OK\13\10"
matchstr 2 108 "ERROR\13\10"
!
! Check Access Point Name stored in dialstring (VarString 1)
! If APN is set to None, ignore it
!
ifstr 1 7 "None"
ifstr 1 7 "none"
ifstr 1 7 "NONE"
!
!   Set APN using +CGDCONT=1,"IP","<APN>"
!
write "AT+CGDCONT=^23,\34IP\34,\34^22\34\13"
jump 8
!
!
@LABEL 7
!
!   No APN
!
write "AT\13"
!
!
@LABEL 8
matchread 60
inctries
iftries 3 101
jump 6
!
!
@LABEL 9
!
! Subroutine: Attempt to reset the phone
!
DTRClear
pause 5
DTRSet
flush
return
!
!
@LABEL 10
!
! Setup complete
!
ifANSWER 32
!
!
! ---- Place a call ----
!
@LABEL 20
!
!
note "Making 3G connection" 3
write "ATD*99***^23#\13"
!
!
! ---- Connect response ----
!
! Parses successful connect responses in the following format:
!   CARRIER xxxxx
!   PROTOCOL: ppp
!   COMPRESSION: ccc
!   CONNECT zzzzz
!
@LABEL 32
matchclr
matchstr  1 81  "RING\13\10"
matchstr  2 102 "NO DIALTONE\13\10"
matchstr  3 103 "NO CARRIER"
matchstr  4 103 "ERROR\13\10"
matchstr  5 104 "BUSY\13\10"
matchstr  6 105 "NO ANSWER\13\10"
matchstr  7 34  "CARRIER"
matchstr  8 34  "CONNECT"
matchstr  9 61  "PROTOCOL"
matchstr 10 66  "COMPRESSION"
matchread 700
ifANSWER 32
jump 105
!
!
!  CARRIER/CONNECT parsing
!
@LABEL 34
!
!    2400, 4800 and 34800 have three entries each
!    to distinguish them from 24000, 48000 and 384000
!
matchclr
matchstr  1 40 "2400\13"
matchstr  2 40 "2400/"
matchstr  3 40 "2400 "
matchstr  4 41 "4800\13"
matchstr  5 41 "4800/"
matchstr  6 41 "4800 "
matchstr  7 42 "7200"
matchstr  8 43 "9600"
matchstr  9 44 "12000"
matchstr 10 45 "14400"
matchstr 11 46 "19200"
matchstr 12 51 "28800"
matchstr 13 52 "38400\13"
matchstr 14 52 "38400/"
matchstr 15 52 "38400 "
matchstr 16 53 "57600"
matchstr 17 54 "115200"
matchstr 18 55 "230400"
matchstr 19 56 "384000"
matchstr 20 57 "460800"
matchread 10
jump 59
!
! -- Connection rates --
!
! CommunicatingAt informs ARA of the link speed
!
@LABEL 40
note "Communicating at 2400 bps." 2
CommunicatingAt 2400
jump 60
!
@LABEL 41
note "Communicating at 4800 bps." 2
CommunicatingAt 4800
jump 60
!
@LABEL 42
note "Communicating at 7200 bps." 2
CommunicatingAt 7200
jump 60
!
@LABEL 43
note "Communicating at 9600 bps." 2
CommunicatingAt 9600
jump 60
!
@LABEL 44
note "Communicating at 12400 bps." 2
CommunicatingAt 12400
jump 60
!
@LABEL 45
note "Communicating at 14400 bps." 2
CommunicatingAt 14400
jump 60
!
@LABEL 46
note "Communicating at 19200 bps." 2
CommunicatingAt 19200
jump 60
!
@LABEL 51
note "Communicating at 28800 bps." 2
CommunicatingAt 28800
jump 60
!
@LABEL 52
note "Communicating at 38400 bps." 2
CommunicatingAt 38400
jump 60
!
@LABEL 53
note "Communicating at 57600 bps." 2
CommunicatingAt 57600
jump 60
!
@LABEL 54
note "Communicating at 115200 bps." 2
CommunicatingAt 115200
jump 60
!
@LABEL 55
note "Communicating at 230400 bps." 2
CommunicatingAt 230400
jump 60
!
@LABEL 56
note "Communicating at 384000 bps." 2
CommunicatingAt 384000
jump 60
!
@LABEL 57
note "Communicating at 460800 bps." 2
CommunicatingAt 460800
jump 60
!
@LABEL 59
note "Communicating at an unknown rate." 2
!
@LABEL 60
jump 70
!
! -- PROTOCOL parsing --
!
! Userhook 2 informs ARA that a modem-to-modem error
! correcting protocol has been negotiated
!
@LABEL 61
matchclr
matchstr  1 63 "NONE"
matchstr  2 62 "LAPM"
matchstr  3 62 "ALT"
matchstr  4 63 "\13"
matchread 10
jump 63
!
@LABEL 62
note "Modem Reliable Link Established." 2
userhook 2
!
@LABEL 63
jump 32
!
! -- COMPRESSION parsing --
!
! Userhook 3 informs ARA that a modem-to-modem compression
! protocol has been negotiated
!
@LABEL 66
matchclr
matchstr  1 68 "NONE"
matchstr  2 67 "V42B"
matchstr  3 67 "MNP5"
matchstr  4 68 "\13"
matchread 10
jump 68
!
@LABEL 67
note "Modem Compression Established." 2
userhook 3
!
@LABEL 68
jump 32
!
!
! -- Normal exit after "CONNECT" --
!
!
@LABEL 70
!
! Turn CTS on, for hardware flow control
!
HSReset 0 1 0 0 0 0
!
ifANSWER 71
pause 30
!
@LABEL 71
exit 0
!
!
! ---- Answer calls ----
!
!   A RING result from the modem and in ANSWERING mode
!   claims the serial port and answering the phone
!
@LABEL 81
ifORIGINATE 32
userhook 1
note "Answering phone..." 2
write "ATA\13"
jump 32
!
!
! ---- Hang up and reset modem ----
!
@HANGUP
@LABEL 90
settries 0
HSReset 0 0 0 0 0 0
!
@LABEL 92
!
!  Escape from data to command mode
!
matchclr
matchstr 1 94 "OK\13\10"
pause 11
write "+++"
matchread 20
!
@LABEL 94
!
! Send hangup command
!
pause 10
matchclr
matchstr 1 98 "NO CARRIER\13\10"
matchstr 2 98 "OK\13\10"
matchstr 3 98 "ERROR\13\10"
matchstr 4 98 "0\13\10"
write "ATH0\13"
matchread 30
!
! If that fails, toggle DTR
!
DTRClear
pause 5
DTRSet
flush
!
! Try this three times only
!
inctries
iftries 3 101
jump 92
!
!
@LABEL 98
!
! Reset phone to default settings
!
pause 10
matchclr
matchstr 1 99 "OK\13\10"
write "AT&F\13"
matchread 30
jump 101
!
@LABEL 99
exit 0
!
! ---- Error messages -----
!
! Modem Not Responding
@LABEL 101
exit -6019
!
! No Dial Tone
@LABEL 102
exit -6020
!
! No Carrier or Error
@LABEL 103
exit -6021
!
! Busy
@LABEL 104
exit -6022
!
! No Answer
@LABEL 105
exit -6023
!
! User Cancellation
@LABEL 107
exit -6008
!
@LABEL 108
note "The phone or network does not seem to support the GPRS options required for this script" 1
ask 2 "The phone or network does not seem to support the GPRS options required for this script"
exit -6002
!
@LABEL 109
note "This script is only suitable for xxxxx" 1
ask 2 "This script is only suitable for xxxxxx"
exit -6002
!
@LABEL 110
note "DO NOT put *99... in the telephone number - use the Access Point Name (APN) for your network instead" 1
ask 2 "DO NOT put *99... in the telephone number - use the Access Point Name (APN) for your network instead"
exit -6002

This will establish 3G/PPP connection with correct IP address

BR
Boris

**EDIT: After OSx update, complete process must be re-initiated (from first post and script change)..
 
**UPDATE to this topic

An change in Dialup script must be made in order to establish succesfull ppp connection

Location of script is:

/Library/Modem Scripts/Generic GPRS.ccl/Contents/Resources/Base Script.ccl

Here is already modified script:

Code:
!  Generic HSDPA
!
!   Author: Ross Barkman
!
!   History:
!       06 Apr 01   First release of base script
!       30 Dec 02   Configured for generic GPRS settings
!       29 Jun 03   Allow three tries at response test
!       15 Mar 04   Serial speed increased for UMTS, APN check added
!       01 Sep 04   Add connect speed report for 384000 & 460800
!       29 Sep 06   Serial speed increased for HSDPA
!
!
!  'mlts' resource info:
!    byte 1 == 01 -> modem HAS built-in error correction protocols
!    byte 2 == 01 -> modem HAS built-in data compression protocols
!    byte 3 == 200 -> max number of chars in varstr 7
!    byte 4 == 200 -> max number of chars in varstr 8
!    byte 5 == 200 -> max number of chars in varstr 9
!
@ORIGINATE
@ANSWER
!
note "Dell Mobile Broadband" 1
!
!   Check APN
!
!   Common mistake: using *99 instead of APN
!
ifstr 1 110 "*99#"
ifstr 1 110 "*99***1#"
ifstr 1 110 "*99***2#"
ifstr 1 110 "*99***3#"
ifstr 1 110 "*99***4#"
ifstr 1 110 "*99***5#"
ifstr 1 110 "*99***6#"
ifstr 1 110 "*99***7#"
ifstr 1 110 "*99***8#"
ifstr 1 110 "*99***9#"
ifstr 1 110 "*99***10#"
!
! ---- Modem setup ----
!
! Set serial port speed 7.2Mbps, all interface signals off
!
serreset 7200000, 0, 8, 1
hsreset 0 0 0 0 0 0
settries 0
!
! Check the card is responding
!
@LABEL 1
matchclr
matchstr 1 2 "OK\13\10"
write "AT\13"
matchread 30
inctries
iftries 3 101
jump 1
!
! Manufacturer check - not used
!
@LABEL 2
settries 0
!matchclr
!matchstr 1 3  "<manufacturer>"
!write "AT+CGMI\13"
!matchread 60
!jump 109
!
!
@LABEL 3
!
! Configure the phone, turn on radio
!
matchclr
matchstr 1 5   "OK\13\10"
matchstr 2 101 "ERROR\13\10"
write "AT+CFUN=1\13"
matchread 30
inctries
iftries 3 101
jsr 9
jump 3
!
!
@LABEL 5
pause 20
settries 0
!
!
@LABEL 6
!
! Set additional options
!
matchclr
matchstr 1 10  "OK\13\10"
matchstr 2 108 "ERROR\13\10"
!
! Check Access Point Name stored in dialstring (VarString 1)
! If APN is set to None, ignore it
!
ifstr 1 7 "None"
ifstr 1 7 "none"
ifstr 1 7 "NONE"
!
!   Set APN using +CGDCONT=1,"IP","<APN>"
!
write "AT+CGDCONT=^23,\34IP\34,\34^22\34\13"
jump 8
!
!
@LABEL 7
!
!   No APN
!
write "AT\13"
!
!
@LABEL 8
matchread 60
inctries
iftries 3 101
jump 6
!
!
@LABEL 9
!
! Subroutine: Attempt to reset the phone
!
DTRClear
pause 5
DTRSet
flush
return
!
!
@LABEL 10
!
! Setup complete
!
ifANSWER 32
!
!
! ---- Place a call ----
!
@LABEL 20
!
!
note "Making 3G connection" 3
write "ATD*99***^23#\13"
!
!
! ---- Connect response ----
!
! Parses successful connect responses in the following format:
!   CARRIER xxxxx
!   PROTOCOL: ppp
!   COMPRESSION: ccc
!   CONNECT zzzzz
!
@LABEL 32
matchclr
matchstr  1 81  "RING\13\10"
matchstr  2 102 "NO DIALTONE\13\10"
matchstr  3 103 "NO CARRIER"
matchstr  4 103 "ERROR\13\10"
matchstr  5 104 "BUSY\13\10"
matchstr  6 105 "NO ANSWER\13\10"
matchstr  7 34  "CARRIER"
matchstr  8 34  "CONNECT"
matchstr  9 61  "PROTOCOL"
matchstr 10 66  "COMPRESSION"
matchread 700
ifANSWER 32
jump 105
!
!
!  CARRIER/CONNECT parsing
!
@LABEL 34
!
!    2400, 4800 and 34800 have three entries each
!    to distinguish them from 24000, 48000 and 384000
!
matchclr
matchstr  1 40 "2400\13"
matchstr  2 40 "2400/"
matchstr  3 40 "2400 "
matchstr  4 41 "4800\13"
matchstr  5 41 "4800/"
matchstr  6 41 "4800 "
matchstr  7 42 "7200"
matchstr  8 43 "9600"
matchstr  9 44 "12000"
matchstr 10 45 "14400"
matchstr 11 46 "19200"
matchstr 12 51 "28800"
matchstr 13 52 "38400\13"
matchstr 14 52 "38400/"
matchstr 15 52 "38400 "
matchstr 16 53 "57600"
matchstr 17 54 "115200"
matchstr 18 55 "230400"
matchstr 19 56 "384000"
matchstr 20 57 "460800"
matchread 10
jump 59
!
! -- Connection rates --
!
! CommunicatingAt informs ARA of the link speed
!
@LABEL 40
note "Communicating at 2400 bps." 2
CommunicatingAt 2400
jump 60
!
@LABEL 41
note "Communicating at 4800 bps." 2
CommunicatingAt 4800
jump 60
!
@LABEL 42
note "Communicating at 7200 bps." 2
CommunicatingAt 7200
jump 60
!
@LABEL 43
note "Communicating at 9600 bps." 2
CommunicatingAt 9600
jump 60
!
@LABEL 44
note "Communicating at 12400 bps." 2
CommunicatingAt 12400
jump 60
!
@LABEL 45
note "Communicating at 14400 bps." 2
CommunicatingAt 14400
jump 60
!
@LABEL 46
note "Communicating at 19200 bps." 2
CommunicatingAt 19200
jump 60
!
@LABEL 51
note "Communicating at 28800 bps." 2
CommunicatingAt 28800
jump 60
!
@LABEL 52
note "Communicating at 38400 bps." 2
CommunicatingAt 38400
jump 60
!
@LABEL 53
note "Communicating at 57600 bps." 2
CommunicatingAt 57600
jump 60
!
@LABEL 54
note "Communicating at 115200 bps." 2
CommunicatingAt 115200
jump 60
!
@LABEL 55
note "Communicating at 230400 bps." 2
CommunicatingAt 230400
jump 60
!
@LABEL 56
note "Communicating at 384000 bps." 2
CommunicatingAt 384000
jump 60
!
@LABEL 57
note "Communicating at 460800 bps." 2
CommunicatingAt 460800
jump 60
!
@LABEL 59
note "Communicating at an unknown rate." 2
!
@LABEL 60
jump 70
!
! -- PROTOCOL parsing --
!
! Userhook 2 informs ARA that a modem-to-modem error
! correcting protocol has been negotiated
!
@LABEL 61
matchclr
matchstr  1 63 "NONE"
matchstr  2 62 "LAPM"
matchstr  3 62 "ALT"
matchstr  4 63 "\13"
matchread 10
jump 63
!
@LABEL 62
note "Modem Reliable Link Established." 2
userhook 2
!
@LABEL 63
jump 32
!
! -- COMPRESSION parsing --
!
! Userhook 3 informs ARA that a modem-to-modem compression
! protocol has been negotiated
!
@LABEL 66
matchclr
matchstr  1 68 "NONE"
matchstr  2 67 "V42B"
matchstr  3 67 "MNP5"
matchstr  4 68 "\13"
matchread 10
jump 68
!
@LABEL 67
note "Modem Compression Established." 2
userhook 3
!
@LABEL 68
jump 32
!
!
! -- Normal exit after "CONNECT" --
!
!
@LABEL 70
!
! Turn CTS on, for hardware flow control
!
HSReset 0 1 0 0 0 0
!
ifANSWER 71
pause 30
!
@LABEL 71
exit 0
!
!
! ---- Answer calls ----
!
!   A RING result from the modem and in ANSWERING mode
!   claims the serial port and answering the phone
!
@LABEL 81
ifORIGINATE 32
userhook 1
note "Answering phone..." 2
write "ATA\13"
jump 32
!
!
! ---- Hang up and reset modem ----
!
@HANGUP
@LABEL 90
settries 0
HSReset 0 0 0 0 0 0
!
@LABEL 92
!
!  Escape from data to command mode
!
matchclr
matchstr 1 94 "OK\13\10"
pause 11
write "+++"
matchread 20
!
@LABEL 94
!
! Send hangup command
!
pause 10
matchclr
matchstr 1 98 "NO CARRIER\13\10"
matchstr 2 98 "OK\13\10"
matchstr 3 98 "ERROR\13\10"
matchstr 4 98 "0\13\10"
write "ATH0\13"
matchread 30
!
! If that fails, toggle DTR
!
DTRClear
pause 5
DTRSet
flush
!
! Try this three times only
!
inctries
iftries 3 101
jump 92
!
!
@LABEL 98
!
! Reset phone to default settings
!
pause 10
matchclr
matchstr 1 99 "OK\13\10"
write "AT&F\13"
matchread 30
jump 101
!
@LABEL 99
exit 0
!
! ---- Error messages -----
!
! Modem Not Responding
@LABEL 101
exit -6019
!
! No Dial Tone
@LABEL 102
exit -6020
!
! No Carrier or Error
@LABEL 103
exit -6021
!
! Busy
@LABEL 104
exit -6022
!
! No Answer
@LABEL 105
exit -6023
!
! User Cancellation
@LABEL 107
exit -6008
!
@LABEL 108
note "The phone or network does not seem to support the GPRS options required for this script" 1
ask 2 "The phone or network does not seem to support the GPRS options required for this script"
exit -6002
!
@LABEL 109
note "This script is only suitable for xxxxx" 1
ask 2 "This script is only suitable for xxxxxx"
exit -6002
!
@LABEL 110
note "DO NOT put *99... in the telephone number - use the Access Point Name (APN) for your network instead" 1
ask 2 "DO NOT put *99... in the telephone number - use the Access Point Name (APN) for your network instead"
exit -6002

This will establish 3G/PPP connection with correct IP address

BR
Boris

**EDIT: After OSx update, complete process must be re-initiated (from first post and script change)..


Great God, Hello, according to your method to modify the document, but still can not, prompt:
Failed to establish a connection to the PPP server. Try connecting again. If there are still problems, verify your settings and contact your administrator
Also hope that the great God advice
 
i am sucessfully using your script with this guide on a elitebook 8460p anyway i have huge packet loss and also the speed of the line is very poor. anybody has an idea on what could be the issue?
 
Status
Not open for further replies.
Back
Top