From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from duke.felloff.net ([216.126.196.34]) by ur; Thu Dec 29 23:13:09 EST 2016 Message-ID: Date: Fri, 30 Dec 2016 05:13:02 +0100 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] DHCP not working on usb ethernet dongle In-Reply-To: <20161230010213.4857936.7083.14772@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: method GPU-oriented hardware template > There is no built in ethernet, but I just tried explicitly passing it and still > no luck. It looks like it's sending out packets, but not reading any responses back. check on the other side if it is really sending packets. snoopy sees the packets that go out because the kernel just loops back what gets send on the interface. but that doesnt mean these packets actually hit the wire. otherwise it looks like the driver isnt working, so you'd have to debug the driver. 0) figure out what device this is, cat /dev/usb/ctl... 1) run ps aux and find the nusb/ether processed and notice the program arguments if any. we need the -t parameter and the device id. 2) unbind the ip interface and kill the nusb/ether processes 3) locate the driver for your specific type in /sys/src/cmd/nusb/ether and add debug prints. you can then rebuild and start a fresh driver process with the program arguments from (1). 4) look up the dragonflybsd driver from the info from (0) and see if we need todo some special magic to get that device working. -- cinap