Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HoRNDIS rel7 on OS X 10.9.5 with Motorola Defy+ (Android 2.3.6): self asigned IP address #29

Open
chris-scheurle opened this issue Oct 28, 2014 · 2 comments

Comments

@chris-scheurle
Copy link

First of all: I don't know whether this is a HoRNDIS issue at all. There's also some vendor specific syncing software (MotoCast) installed on my system. But I decided to try my luck here, anyway.

When I first insatlled HoRNDIS and rebooted my computer, everything worked finde. My phone appeared in the Networking Preferences panel and I got a working Internet connection.
But my phone appeared there twice, as "MB526" and as "MotMobile", MB526 beeing the connection that actually did something. So I decided to delete MotMobile and from thereon everything stopped working. The phone keeps showing up in the panel and correctly shows if there is a USB cable connection or not, but seems unable to get a connection to the Internet.

And I still can't get things to work again, even after deleting /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist and /Library/Preferences/SystemConfiguration/preferences.plist and setting everything up from scratch.
One thing I keep noticing: when I rebuild my kernel extensions cache, the system complains about HoRNDIS not beeing signed by a trusted developer but seems to load it anyway.

My system logs:

connecting the phone:

28.10.14 11:58:44,000 kernel[0]: USBMSC Identifier (non-unique): 0A3AAAB80C02301B 0x22b8 0x41d9 0x216, 2
28.10.14 11:58:45,044 MotoHelperDaemon[378]: ARRIVAL:PID: 0x41d9 model: MB526 
28.10.14 11:58:45,079 MotoHelperDaemon[378]: Launching MotoHelperAgent
28.10.14 11:58:45,285 MotoHelperAgent[772]: MotoHelperAgent :: **SUE** SUEPlugin bundle is loaded
28.10.14 11:58:45,372 MotoHelperAgent[772]: ---------------------------------------
28.10.14 11:58:45,373 MotoHelperAgent[772]: New log started for SUE plugin.
28.10.14 11:58:45,377 MotoHelperAgent[772]: 2014-10-28 10:58:45 +0000 [I]: Client version: 12.12.19.02, MAC: Version 10.9.5 (Build 13F34)
28.10.14 11:58:45,580 xpcd[305]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
28.10.14 11:58:45,742 xpcd[305]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
28.10.14 11:58:45,827 xpcd[305]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
28.10.14 11:58:45,935 xpcd[305]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
28.10.14 11:58:46,022 xpcd[305]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
28.10.14 11:58:46,085 networksetup[777]: proxies = nil.
28.10.14 11:58:46,168 xpcd[305]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
28.10.14 11:58:46,253 xpcd[305]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
28.10.14 11:58:46,355 xpcd[305]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
28.10.14 11:58:46,420 MotoHelperAgent[772]: MotoHelperAgent :: the value of g_activeSerialNumber is = 0A3AAAB80C02301B
28.10.14 11:58:46,420 MotoHelperAgent[772]: 2014-10-28 10:58:46 +0000 [D]: <ComMotorolaSuepluginPrincipal:SUEIsDeviceSupported:descriptor::294> - pid=0x41d9 descriptor=MB526
28.10.14 11:58:47,387 MotoHelperAgent[772]: 2014-10-28 10:58:47 +0000 [I]: <ComMotorolaSuepluginDeviceRoutingTableParser:deviceSupported:descriptor::249> - Verify device with PID-0x41d9, Product descriptor-MB526, it's not supported by the routing table
28.10.14 11:58:47,388 MotoHelperAgent[772]: MotoHelperAgent :: **SUE** device not supported: 0x41d9, MB526
28.10.14 11:58:47,391 MotoHelperAgent[772]: Can't open input server /Users/christianscheurle/Library/InputManagers/Smart Crash Reports
28.10.14 11:58:47,406 MotoHelperAgent[772]: MotoHelperAgent :: Retrieved WaitingForLaunch = 0
28.10.14 11:58:48,474 MotoHelperAgent[772]: Bartender: Loaded BartenderHelperSeventyFour
28.10.14 11:58:55,721 MotoHelperDaemon[378]: REMOVAL:PID: 0x41d9 model: MB526 
28.10.14 11:58:56,509 MotoHelperDaemon[378]: ARRIVAL:PID: 0x41d6 model: MB526 
28.10.14 11:58:56,536 MotoHelperDaemon[378]: Launching MotoHelperAgent
28.10.14 11:58:56,658 MotoHelperAgent[783]: Can't open input server /Users/christianscheurle/Library/InputManagers/Smart Crash Reports

activating usb tethering on the phone:

28.10.14 12:03:20,121 MotoHelperDaemon[378]: REMOVAL:PID: 0x41d6 model: MB526 
28.10.14 12:03:20,000 kernel[0]: HoRNDIS: init: HoRNDIS tethering driver for Snow Leopard+, by Joshua Wise
28.10.14 12:03:20,000 kernel[0]: HoRNDIS: rndisInit: their MTU 1486
28.10.14 12:03:20,000 kernel[0]: HoRNDIS: setMaxTransferUnit: Excuse me, but I said you could have an MTU of 1486, and you just tried to set an MTU of 1500.  Good try, buddy.
28.10.14 12:03:20,000 kernel[0]: HoRNDIS: init: starting up with MTU 1486
28.10.14 12:03:20,000 kernel[0]: en3: attached with 4 suspended link-layer multicast membership(s)
28.10.14 12:03:20,000 kernel[0]: en3: failed to restore 4 suspended link-layer multicast membership(s) (err=102)
28.10.14 12:03:22,000 kernel[0]: 0        1 AppleUSBCDCACMData: start - Find CDC driver for ACM data interface failed
28.10.14 12:03:22,000 kernel[0]: 0        1 AppleUSBCDCECMData: start - Find CDC driver for ECM data interface failed
28.10.14 12:03:22,000 kernel[0]: HoRNDIS: message: kIOMessageServiceIsAttemptingOpen
28.10.14 12:03:22,000 kernel[0]: HoRNDIS: message: kIOMessageServiceWasClosed
28.10.14 12:03:22,000 kernel[0]: HoRNDIS: message: kIOMessageServiceIsAttemptingOpen
28.10.14 12:03:22,376 MotoHelperDaemon[378]: ARRIVAL:PID: 0x41e4 model: MB526 
28.10.14 12:03:22,399 MotoHelperDaemon[378]: Wild Card check
28.10.14 12:03:29,217 xpcd[305]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
28.10.14 12:03:31,032 AirPlayUIAgent[556]: 2014-10-28 12:03:31.032060 PM [AirPlayUIAgent] Changed PIN pairing: no
28.10.14 12:03:31,057 AirPlayUIAgent[556]: 2014-10-28 12:03:31.056980 PM [AirPlayUIAgent] Changed PIN pairing: no
28.10.14 12:03:40,544 configd[19]: ndeetwork changed: v4(en1:192.168.178.24) DNS Proxy SMB

deactivating usb tethering on the phone:

28.10.14 12:06:12,000 kernel[0]: HoRNDIS: dataReadComplete: I/O aborted: device unplugged?
28.10.14 12:06:12,000 kernel[0]: HoRNDIS: rndisSetPacketFilter: SET not successful?
28.10.14 12:06:12,000 kernel[0]: HoRNDIS: message: kIOMessageServiceIsTerminated
28.10.14 12:06:12,797 MotoHelperDaemon[378]: REMOVAL:PID: 0x41e4 model: MB526 
28.10.14 12:06:12,800 configd[19]: DHCP en3: INIT transmit failed
28.10.14 12:06:12,800 configd[19]: arp_client_open_fd: bpf_setif(en3) failed: Device not configured (6)
28.10.14 12:06:12,808 mDNSResponder[59]: getExtendedFlags: SIOCGIFEFLAGS failed, errno = 6 (Device not configured)
28.10.14 12:06:12,810 configd[19]: network changed: v4(en1:192.168.178.24) DNS Proxy SMB
28.10.14 12:06:12,817 mDNSResponder[59]: getExtendedFlags: SIOCGIFEFLAGS failed, errno = 6 (Device not configured)
28.10.14 12:06:13,728 MotoHelperDaemon[378]: ARRIVAL:PID: 0x41d6 model: MB526 
28.10.14 12:06:13,757 MotoHelperDaemon[378]: Launching MotoHelperAgent
28.10.14 12:06:13,857 MotoHelperAgent[813]: Can't open input server /Users/christianscheurle/Library/InputManagers/Smart Crash Reports
28.10.14 12:06:22,896 AirPlayUIAgent[556]: 2014-10-28 12:06:22.895519 PM [AirPlayUIAgent] Changed PIN pairing: no
28.10.14 12:06:22,923 AirPlayUIAgent[556]: 2014-10-28 12:06:22.923004 PM [AirPlayUIAgent] Changed PIN pairing: no

unplugging my phone:

28.10.14 12:07:52,417 MotoHelperDaemon[378]: REMOVAL:PID: 0x41d6 model: MB526 
@jwise
Copy link
Owner

jwise commented Oct 28, 2014

Chris,

Thanks for the detailed bug report.

It looks like some IP address is being assigned, if 'en1' is the phone device...

Unfortunately, this is one of those weird situations where it's very difficult to diagnose without a repro case :-( (This is one of the things I've found over the course of developing HoRNDIS... there are lots of bugs I'd like to track down, and way too few opportunities to actually do it...) So I'm not sure how much use I can be here.

I'll write back if I can think of anything to try. In the mean time, do please let me know if you find anything...

joshua

@chris-scheurle
Copy link
Author

en1 is my wifi. The phone device is en3. As far as I can tell from the logs, there seems to be a problem with the MTU size (but manually setting that to 1486 doesn't change the output at all), there's the thing with en3: failed to restore 4 suspended link-layer multicast membership(s) (err=102), I don't know what CDC driver for ACM data and CDC driver for ECM data are, but there seems to be a problem as well, and as I mentioned in my previous post: my computer complains about the kernel extension not being signed by a trusted developer.

=> Maybe anything of that can help to narrow down the error / help to fix my problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants