{"action":"created","issue":{"url":"https://api.github.com/repos/jwise/HoRNDIS/issues/92","repository_url":"https://api.github.com/repos/jwise/HoRNDIS","labels_url":"https://api.github.com/repos/jwise/HoRNDIS/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/jwise/HoRNDIS/issues/92/comments","events_url":"https://api.github.com/repos/jwise/HoRNDIS/issues/92/events","html_url":"https://github.com/jwise/HoRNDIS/issues/92","id":388185994,"node_id":"MDU6SXNzdWUzODgxODU5OTQ=","number":92,"title":"HoRNDIS only works on first boot","user":{"login":"theronic","id":1011676,"node_id":"MDQ6VXNlcjEwMTE2NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1011676?v=4","gravatar_id":"","url":"https://api.github.com/users/theronic","html_url":"https://github.com/theronic","followers_url":"https://api.github.com/users/theronic/followers","following_url":"https://api.github.com/users/theronic/following{/other_user}","gists_url":"https://api.github.com/users/theronic/gists{/gist_id}","starred_url":"https://api.github.com/users/theronic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theronic/subscriptions","organizations_url":"https://api.github.com/users/theronic/orgs","repos_url":"https://api.github.com/users/theronic/repos","events_url":"https://api.github.com/users/theronic/events{/privacy}","received_events_url":"https://api.github.com/users/theronic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-06T12:09:54Z","updated_at":"2018-12-10T08:56:08Z","closed_at":null,"author_association":"NONE","body":"The HoRNDIS driver only seems to work on initial boot. When I plug in a Raspberry Pi Zero or Raspberry Pi 3B+, it shows up as a Ethernet gadget that gets an address assigned via DHCP and I can SSH into it. But if I unplug it and plug it back in, the *RNDIS Ethernet gadget remains disconnected.\r\n\r\nRunning `kextstat | grep DIS` shows:\r\n\r\n```\r\n ~  sudo kextload /Library/Extensions/HoRNDIS.kextss                                                                                               \r\n ~  kextstat | grep DIS                                                                                                                            \r\n  189    0 0xffffff7f83840000 0x6000     0x6000     com.joshuawise.kexts.HoRNDIS (9.2) 10ED3B68-FBFE-326E-B848-DC8082240F4A <22 15 7 5 4 3 1>\r\n```\r\n\r\nI have tried manually unloading and reloading the HoRNDIS driver like so:\r\n\r\n```\r\nsudo kextunload /Library/Extensions/HoRNDIS.kext\r\nsudo kextload /Library/Extensions/HoRNDIS.kext\r\n```\r\n\r\nBut this does not seem to help. Is there a way to confirm that OSX is indeed using the correct driver when plugging in an RPi?"},"comment":{"url":"https://api.github.com/repos/jwise/HoRNDIS/issues/comments/445738370","html_url":"https://github.com/jwise/HoRNDIS/issues/92#issuecomment-445738370","issue_url":"https://api.github.com/repos/jwise/HoRNDIS/issues/92","id":445738370,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTczODM3MA==","user":{"login":"theronic","id":1011676,"node_id":"MDQ6VXNlcjEwMTE2NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1011676?v=4","gravatar_id":"","url":"https://api.github.com/users/theronic","html_url":"https://github.com/theronic","followers_url":"https://api.github.com/users/theronic/followers","following_url":"https://api.github.com/users/theronic/following{/other_user}","gists_url":"https://api.github.com/users/theronic/gists{/gist_id}","starred_url":"https://api.github.com/users/theronic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theronic/subscriptions","organizations_url":"https://api.github.com/users/theronic/orgs","repos_url":"https://api.github.com/users/theronic/repos","events_url":"https://api.github.com/users/theronic/events{/privacy}","received_events_url":"https://api.github.com/users/theronic/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T08:56:08Z","updated_at":"2018-12-10T08:56:08Z","author_association":"NONE","body":"Hi @mikhailai :) Thanks for getting back to me. I'm running Mac OS High Sierra 10.13.6. Yes, I'm powering the RPi Zero via the USB data port, so it is rebooting. I tried uninstalling HoRNDIS and reinstalling.\r\n\r\nWhen I run `system_profiler SPUSBDataType`, I get:\r\n\r\n ```\r\n       RNDIS/Ethernet Gadget:\r\n\r\n          Product ID: 0xa4a2\r\n          Vendor ID: 0x0525  (PLX Technology, Inc.)\r\n          Version: 4.14\r\n          Speed: Up to 480 Mb/sec\r\n          Manufacturer: Linux 4.14.79+ with 20980000.usb\r\n          Location ID: 0x14200000 / 13\r\n          Current Available (mA): 500\r\n          Current Required (mA): 2\r\n          Extra Operating Current (mA): 0\r\n```\r\n\r\nBut when I open Network settings, I see this:\r\n\r\n<img width=\"689\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1011676/49720959-c7e15880-fc69-11e8-92c6-e54f739508f3.png\">\r\n\r\nRPi is configured like so:\r\n\r\n/boot/cmdline.txt:\r\n\r\n`dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=2e6c8d06-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether\r\n`\r\n\r\n/boot/config.txt:\r\n\r\n```\r\n# ...all the defaults, plus:\r\ndtoverlay=dwc2\r\n```\r\n"}}
{"actor":{"display_login":"theronic"}}