Jump to content

Ericsson H5321gw - WWAN Connection Failed


johnstray2001

Recommended Posts

I have an Ericsson H5321gw 3G Wireless WWAN device in my laptop that I'd like to get working, but I am in need of some help.
 
So far, I have successfully got the device to appear as a wwan device by patching CellPhoneHelper.kext with the correct idVendor, idProduct, etc.. I setup the correct apn for my service in network settings, "connect", tried both the Generic and Sony Ericsson profiles.
 
However, I have not been able to connect yet. The console is reporting errors from pppd; "LCP: timeout sending Config-Requests", which then results in the connection disconnecting again.
 
Is anyone able to help me solve this problem so that I can successfully connect? Thanks in advance for your help. It will be greatly appreciated.

PS: This device works perfectly when used under both Windows 7/8.1/10 and Ubuntu 15.04/16.10.

Here is the output from my console:
 

 

6/10/2016 7:50:40.395 AM configd[50] SCNC: start, triggered by (402) com.apple.preference.network.re, type PPPSerial, status 0, trafficClass 0
6/10/2016 7:50:40.415 AM pppd[707] publish_entry SCDSet() failed: Success!
6/10/2016 7:50:40.416 AM pppd[707] publish_entry SCDSet() failed: Success!
6/10/2016 7:50:40.416 AM pppd[707] pppd 2.4.2 (Apple version 809.50.2) started by thinkbook, uid 501
6/10/2016 7:50:41.471 AM ccl[708] Apple Base Script.ccl Version 3.3
6/10/2016 7:50:41.532 AM ccl[708] Initializing device: AT&FE0Q0V1
6/10/2016 7:50:41.538 AM ccl[708] Initializing PDP context: AT+CGDCONT=1,"IP","connect"
6/10/2016 7:50:41.588 AM ccl[708] Dialing: ATD*99***1#
6/10/2016 7:50:41.589 AM ccl[708] Waiting for connection
6/10/2016 7:50:42.591 AM ccl[708] Connection established
6/10/2016 7:50:45.626 AM pppd[707] Connect: ppp0 <--> /dev/cu.wwan
6/10/2016 7:50:54.430 AM SpotlightNetHelper[339] tcp_connection_destination_handle_tls_close_notify 12 closing socket due to TLS CLOSE_NOTIFY alert
6/10/2016 7:50:54.430 AM SpotlightNetHelper[339] tcp_connection_tls_session_error_callback_imp 12 __tcp_connection_tls_session_callback_write_block_invoke.434 error 32
6/10/2016 7:50:55.000 AM syslogd[41] ASL Sender Statistics
6/10/2016 7:50:56.716 AM powerd[51] Failed to read current rating(0xe00002f0)
6/10/2016 7:50:58.852 AM SpotlightNetHelper[339] tcp_connection_destination_handle_tls_close_notify 11 closing socket due to TLS CLOSE_NOTIFY alert
6/10/2016 7:50:58.853 AM SpotlightNetHelper[339] tcp_connection_tls_session_error_callback_imp 11 __tcp_connection_tls_session_callback_write_block_invoke.434 error 32
6/10/2016 7:51:19.663 AM pppd[707] LCP: timeout sending Config-Requests
6/10/2016 7:51:19.664 AM pppd[707] Connection terminated.
6/10/2016 7:51:19.670 AM symptomsd[187] nw_interface_create_with_name netutil_ifname_to_ifindex(ppp0) failed, dumping backtrace:
        [x86_64] libnetcore-583.50.1
    0   libsystem_network.dylib             0x00007fff91d69de9 __nw_create_backtrace_string + 123
    1   libsystem_network.dylib             0x00007fff91d8c1f3 nw_interface_create_with_name + 179
    2   Network                             0x00007fff83018edc -[NWInterface initWithInterfaceName:] + 120
    3   SymptomEvaluator                    0x00007fff96cb32fc config_callback + 874
    4   SystemConfiguration                 0x00007fff84818faf rlsPerform + 184
    5   SystemConfiguration                 0x00007fff8482c3ab __SCDynamicStoreSetDispatchQueue_block_invoke_2 + 52
    6   libdispatch.dylib                   0x00007fff8ce6c93d _dispatch_call_block_and_release + 12
    7   libdispatch.dylib                   0x00007fff8ce6140b _dispatch_client_callout + 8
    8   libdispatch.dylib                   0x00007fff8ce6603b _dispatch_queue_drain + 754
    9   libdispatch.dylib                   0x00007fff8ce6c707 _dispatch_queue_invoke + 549
    10  libdispatch.dylib                   0x00007fff8ce64d53 _dispatch_root_queue_drain + 538
    11  libdispatch.dylib                   0x00007fff8ce64b00 _dispatch_worker_thread3 + 91
    12  libsystem_pthread.dylib             0x00007fff9437e4de _pthread_wqthread + 1129
    13  libsystem_pthread.dylib             0x00007fff9437c341 start_wqthread + 13
6/10/2016 7:51:19.671 AM symptomsd[187] -[NWInterface initWithInterfaceName:] nw_interface_create_with_name(ppp0) failed, dumping backtrace:
        [x86_64] libnetcore-583.50.1
    0   libsystem_network.dylib             0x00007fff91d69de9 __nw_create_backtrace_string + 123
    1   Network                             0x00007fff83018f46 -[NWInterface initWithInterfaceName:] + 226
    2   SymptomEvaluator                    0x00007fff96cb32fc config_callback + 874
    3   SystemConfiguration                 0x00007fff84818faf rlsPerform + 184
    4   SystemConfiguration                 0x00007fff8482c3ab __SCDynamicStoreSetDispatchQueue_block_invoke_2 + 52
    5   libdispatch.dylib                   0x00007fff8ce6c93d _dispatch_call_block_and_release + 12
    6   libdispatch.dylib                   0x00007fff8ce6140b _dispatch_client_callout + 8
    7   libdispatch.dylib                   0x00007fff8ce6603b _dispatch_queue_drain + 754
    8   libdispatch.dylib                   0x00007fff8ce6c707 _dispatch_queue_invoke + 549
    9   libdispatch.dylib                   0x00007fff8ce64d53 _dispatch_root_queue_drain + 538
    10  libdispatch.dylib                   0x00007fff8ce64b00 _dispatch_worker_thread3 + 91
    11  libsystem_pthread.dylib             0x00007fff9437e4de _pthread_wqthread + 1129
    12  libsystem_pthread.dylib             0x00007fff9437c341 start_wqthread + 13
6/10/2016 7:51:19.675 AM symptomsd[187] nw_interface_create_with_name netutil_ifname_to_ifindex(ppp0) failed, dumping backtrace:
        [x86_64] libnetcore-583.50.1
    0   libsystem_network.dylib             0x00007fff91d69de9 __nw_create_backtrace_string + 123
    1   libsystem_network.dylib             0x00007fff91d8c1f3 nw_interface_create_with_name + 179
    2   Network                             0x00007fff83018edc -[NWInterface initWithInterfaceName:] + 120
    3   SymptomEvaluator                    0x00007fff96cb32fc config_callback + 874
    4   SystemConfiguration                 0x00007fff84818faf rlsPerform + 184
    5   SystemConfiguration                 0x00007fff8482c3ab __SCDynamicStoreSetDispatchQueue_block_invoke_2 + 52
    6   libdispatch.dylib                   0x00007fff8ce6c93d _dispatch_call_block_and_release + 12
    7   libdispatch.dylib                   0x00007fff8ce6140b _dispatch_client_callout + 8
    8   libdispatch.dylib                   0x00007fff8ce6603b _dispatch_queue_drain + 754
    9   libdispatch.dylib                   0x00007fff8ce6c707 _dispatch_queue_invoke + 549
    10  libdispatch.dylib                   0x00007fff8ce64d53 _dispatch_root_queue_drain + 538
    11  libdispatch.dylib                   0x00007fff8ce64b00 _dispatch_worker_thread3 + 91
    12  libsystem_pthread.dylib             0x00007fff9437e4de _pthread_wqthread + 1129
    13  libsystem_pthread.dylib             0x00007fff9437c341 start_wqthread + 13
6/10/2016 7:51:19.675 AM symptomsd[187] -[NWInterface initWithInterfaceName:] nw_interface_create_with_name(ppp0) failed, dumping backtrace:
        [x86_64] libnetcore-583.50.1
    0   libsystem_network.dylib             0x00007fff91d69de9 __nw_create_backtrace_string + 123
    1   Network                             0x00007fff83018f46 -[NWInterface initWithInterfaceName:] + 226
    2   SymptomEvaluator                    0x00007fff96cb32fc config_callback + 874
    3   SystemConfiguration                 0x00007fff84818faf rlsPerform + 184
    4   SystemConfiguration                 0x00007fff8482c3ab __SCDynamicStoreSetDispatchQueue_block_invoke_2 + 52
    5   libdispatch.dylib                   0x00007fff8ce6c93d _dispatch_call_block_and_release + 12
    6   libdispatch.dylib                   0x00007fff8ce6140b _dispatch_client_callout + 8
    7   libdispatch.dylib                   0x00007fff8ce6603b _dispatch_queue_drain + 754
    8   libdispatch.dylib                   0x00007fff8ce6c707 _dispatch_queue_invoke + 549
    9   libdispatch.dylib                   0x00007fff8ce64d53 _dispatch_root_queue_drain + 538
    10  libdispatch.dylib                   0x00007fff8ce64b00 _dispatch_worker_thread3 + 91
    11  libsystem_pthread.dylib             0x00007fff9437e4de _pthread_wqthread + 1129
    12  libsystem_pthread.dylib             0x00007fff9437c341 start_wqthread + 13

 

 

Link to comment
Share on other sites

  • Administrators

You obviously have the WWAN module correctly setup since it's clearly detected by the OS and you initiate connections. I'd say it's your apn settings that are probably incorrect. May be you can post details of those settings.

Link to comment
Share on other sites

I have attached screenshots of the various settings related to this.

To inject my device into CellPhoneHelper.kext, I actually created an Codeless Injector kext which is loaded by Clover. Following is the content of the Info.plist file:
 

<?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>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleGetInfoString</key>
	<string>Ericsson H5321gw 3G Wireless WAN Device Driver</string>
	<key>CFBundleIdentifier</key>
	<string>com.ericsson.h5321gw</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>Ericsson H5321gw 3G Wireless WAN Device Driver</string>
	<key>CFBundlePackageType</key>
	<string>KEXT</string>
	<key>CFBundleVersion</key>
	<string>1.0.0</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>IOKitPersonalities</key>
	<dict>
		<key>0x0BDB/0x1926 Ericsson H5321 gw</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>connect</string>
					<key>ConnectionPersonality</key>
					<string>Sony Ericsson GPRS</string>
					<key>ConnectionScript</key>
					<string>Generic GPRS.ccl</string>
					<key>DeviceContextID</key>
					<string>1</string>
					<key>DeviceModel</key>
					<string>GPRS (GSM/3G)</string>
					<key>Device Vendor</key>
					<string>Sony Ericsson</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>
					</dict>
					<key>HiddenProperties</key>
					<dict>
						<key>CommandPortBaseName</key>
						<string>wwan</string>
						<key>ControlPortBaseName</key>
						<string>wwan</string>
						<key>DataPortBaseName</key>
						<string>wwan</string>
						<key>InterfaceDriver</key>
						<string>AppleUSBCDC</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>
				</dict>
				<key>WWAN</key>
				<true/>
			</dict>
			<key>bcdDevice</key>
			<integer>0</integer>
			<key>idProduct</key>
			<integer>6438</integer>
			<key>idVendor</key>
			<integer>3035</integer>
		</dict>
	</dict>
	<key>OSBundleLibraries</key>
	<dict>
		<key>com.apple.driver.AppleUSBHostMergeProperties</key>
		<string>1.0</string>
		<key>com.apple.iokit.IOUSBHostFamily</key>
		<string>1.0.1</string>
		<key>com.apple.kpi.iokit</key>
		<string>8.0</string>
		<key>com.apple.kpi.libkern</key>
		<string>9.0.0</string>
	</dict>
</dict>
</plist>

This was created based on information in another post here. The F5521gw is virtually the same card as this one, with the only difference being that the F is the Full-height mPCI version where as the H is the Half-height version.

From the information I have found; This device has these interfaces:
 - H5321 gw Mobile Broadband Modem

 - H5321 gw Mobile Broadband Data Modem
 - H5321 gw Mobile Broadband GPS Port
 - H5321 gw Mobile Broadband Device Management
 - H5321 gw Mobile Broadband USIM Port

IORegistryEditor shows this device as having 10 interfaces? IOReg dump attached. You'll find it under XHC@14 -> HSP4@144 -> H5321 gw@144

post-98153-0-01999700-1475832174_thumb.png

post-98153-0-36283100-1475832211_thumb.png

post-98153-0-56444400-1475832228_thumb.png

post-98153-0-69869700-1475833191_thumb.png

ThinkBook.ioreg.zip

Link to comment
Share on other sites

  • Administrators

I would suggest you add all H5321gw entries to the list of installed interfaces and try to connect using the specific WWAN entry.

 

NB: I have not looked very deep into the difference between models 5321gw and 5521gw but the H5321gw is half-size model of F5321gw, not F5521gw. H5321gw datasheet specifies it was designed for tablets, which meant reduced size and very-low power consumption. I also saw that the 5321gw model supports HSPA Evolution, not the 5521gw. Other than that, these modules appear indeed quite similar (21Mbps download, 5,76Mbps upload).

Link to comment
Share on other sites

  • Administrators

Try to revert to patched CellPhoneHelper.kext and make sure to patch your current vanilla kext (it varies slightly between OS X versions and releases). Your injector header is a little different from the full header of the vanilla kext, though I cannot say if that's an issue per sé.

 

One other thing. You have:

<key>AccessPointName</key>
<string>connect</string>

when El Capitan 10.11.6 vanilla kext has:

<key>AccessPointName</key>
<string>Obtain From Service Provider</string>

Why don't you try the vanilla settings instead?

 

One last thing. Although it only happened to me once and under ML when I 1st played with WWAN modules a few years ago, I had to specify a username + password in the WWAN module PrefPane tab. I never had to do it again with subsequent installations. You could be in that same situation. All details are here. Check your telco/service provider's published APN settings, they're usually available on the web. Examples here or here.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...