From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk0-f172.google.com ([209.85.220.172]) by ur; Thu Jan 5 09:06:56 EST 2017 Received: by mail-qk0-f172.google.com with SMTP id n21so433527365qka.3 for <9front@9front.org>; Thu, 05 Jan 2017 06:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AuPVMa+/3p9z8JQnEQrx6Dav1IFaHmp6hPoZCnGB07s=; b=uTrdC5K7a0Lu+u1fkOhv5u5d6yCuIbHOre8Iz8Wgix0/5qQo/Ps0XoHyvt5o2IyPD1 KjxVDNls2sq7oR11dLRNeNXbbMtvdk7jhdDnTVfjScsyZgdqifwTqiRlCrzSAXyOVle8 8GbQuzQ6nhs8cdZVSoYtQyi8J1P+0tud5iXYiLahenaWpMnttKRDDc/y788d8SCe1GcR SOKxKMMJu32HKwN6XNFQduvyNN27tEVkbxEGYE/o1WSpqCwcj0T4VdMoBe+LW2Tzs75Z KImXJ83QeUM4EDwGRFLIstz0NXkPDwB2xUpdlrSTWZT6nyASWU08ZgmIJITEM/w9srLm Q6+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AuPVMa+/3p9z8JQnEQrx6Dav1IFaHmp6hPoZCnGB07s=; b=RI/BjHGz4+55r0qfxtdzioSQ3JyWstCefQmjEj7e7AyCTxk9zAH+HtBRxPNhyoa6cs dOtgTh+sKth0HCbRLRUvfgIZ92w5EGP83JTq6zYoAxsmpsaIw2amB2mQLU/2UFHxW3iJ a3moHaM5TfEudcvqLd3FD8R+I2ghSYChw9pmX1tA/HR0raPMmyTPQX/GNWLm6bvySYxX pZfm9X774QfZh8SZiajZMHPgAEmU83UyDj5K3kU4xiP3gyAyG1Byq7pwWRVQd0xH3MM2 OalnM6UxLTKAzIAdkhWzFMZYhscNyURXYgwszaogMuHv+9xYkq+SXnn11INykgHj3DkV uhQA== X-Gm-Message-State: AIkVDXJwQrmbnLjtzAq34LF7Z4oa9I/LwydqCjJzx19CyIGUBA1+vRW0Fo1qPaiUG+ogtjjJUEyEynfKjk5uSg== X-Received: by 10.55.78.146 with SMTP id c140mr69598789qkb.55.1483625213127; Thu, 05 Jan 2017 06:06:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.33.12 with HTTP; Thu, 5 Jan 2017 06:06:22 -0800 (PST) In-Reply-To: <1b89fb9b2c22e6b7351e3be528134b94@quintile.net> References: <8981471e80e3938f4d3dc68ee77a876f@felloff.net> <1b89fb9b2c22e6b7351e3be528134b94@quintile.net> From: Dave MacFarlane Date: Thu, 5 Jan 2017 09:06:22 -0500 Message-ID: Subject: Re: [9front] DHCP not working on usb ethernet dongle To: 9front mailing list <9front@9front.org> Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: mobile descriptor I don't think it's related, since there's no primary ethernet or /net on the laptop for it to conflict with (there's just a wifi card that isn't supported, which is why I needed the dongle in the first place.) I spent some time comparing nusb/ether/asix.c to the axeg(4) driver on my lunch hour yesterday, and I'm suspecting that it might be a 88178 vs 88178a chipset thing since the rx ctl register is different between the two drivers and the problem is that asixreceive() is never getting called, but I haven't had a chance to dig any deeper or verify if it's an "a" chipset with mislabeled packaging while I have physical access to the machine/dongle. On Wed, Jan 4, 2017 at 6:20 PM, Steve Simon wrote: > Its not the same problem, but just in case it helps, > adding a second usb ether adapter onto a raspberry pi, > which runs the labs distro not 9front. > > I need to add > ether1=type=usb > to cmdline.txt > > and then add the following to /cfg/$sysname/termrc > > if(! ~ `{cat '#l1/ether1/addr'} 000000000000){ > echo ether1: present > bind -b '#l1' /net.alt > bind -b '#I1' /net.alt > ip/ipconfig -x /net.alt ether /net.alt/ether1 > ndb/cs -x /net.alt > ndb/dns -x /net.alt -r > } > if not { > echo ether1: missing > } > > this worked seamlessly once I got a supported, and reliable ethernet dongle. > I tried a couple of chinese ones but settled on an apple one which is well > manufactured (perhaps I was just unlucky). > > All kudos to Richard Miller who helped me through this. > > -Steve -- - Dave