9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "gnufan42 via 9fans" <9fans@9fans.net>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] USB Network
Date: Mon, 11 Nov 2024 10:32:38 +0000	[thread overview]
Message-ID: <FeFX0Y9KBJKqSnsTifJgibW_Yxf6G1H1G6HSEejyMew3QuSK29AWM6MBJ0xUSlvBk8iTdCaBtIisjYAQDQk6-4L_TIa7d9gFgY3h25Mv-8g=@protonmail.com> (raw)
In-Reply-To: <2BA0VM3NBGROV.3TM84VJ8ZB4TR@falsifian.org>

On Saturday, November 9th, 2024 at AM 12:57, James Cook <falsifian@falsifian.org> wrote:

> "gnufan42 via 9fans" 9fans@9fans.net wrote:
> 
> > Hello 9Fans,
> > 
> > I'm trying to get network working on a spare laptop. The laptop in question is relatively new, and has no extra PCI or PCIe slots, so I'll have to find a USB network adapter (I have an AX88772B, but that isn't recognized. In fact, the only thing I tried that worked was an Android phone with tethering turned on).
> > 
> > Can anyone recommend one (can be either Ethernet or 802.11) that works for Plan 9?
> > 
> > Thanks,
> > 4d5a9000
> 
> 
> I just tried out my USB C wired ethernet adaptor in 9front with
> partial success.
> 
> I don't know how to report hardware info from 9front, but here is
> what OpenBSD dmesg says about my adaptor:
> 
> axen0 at uhub0 port 13 configuration 1 interface 0 "ASIX Elec. Corp. AX88179" rev 3.00/1.00 addr 4
> axen0: AX88179, address 00:90:9e:9d:0f:34
> rgephy0 at axen0 phy 3: RTL8169S/8110S/8211, rev. 5
> 
> It is automatically detected by 9front's install/live ISO; after
> plugging in, I just run ip/ipconfig.
> 
> It seems to work for a while (once for less than a minute, once for
> a few minutes), and then I see "usbreadproc: USB Transaction Error"
> printed to the console, and it stops working until I unplug, plug,
> ip/ipconfig again. I only tried ip/ping and briefly browsed 9fs
> 9front.
> 
> Let me know if further debugging would be useful to anyone. I do
> not normally run Plan 9 on that laptop (but it's my only one with
> USB C ports).
> 
> --
> James

Hi James,

I bought one USB Ethernet adapter with that chip, and it somewhat get recognized. On boot this showed up:

 nusb/ether: a179linkup: no link
 nusb/ether: a88179 init failed:

It seems that the one I got is defective. I tested the card on a Windows machine, and Windows also says "Network cable unplugged", although I'm sure I plugged the cable in, connected to a router.

Here's the result of usbtree:

 ep15.0: 255 csp 0x00ffff vid 0x0b95 did 0x1790 'ASIX Elec. Corp.' AX88179 118ae xhci

I'll try to get another one and see if that works.

Thanks,
4d5a9000




------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ta1429dcd3e1eface-M92eec357d78c393a461bf307
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  parent reply	other threads:[~2024-11-11 10:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-06  3:18 gnufan42 via 9fans
2024-11-08 16:57 ` James Cook
2024-11-08 20:59   ` Aidan K. Wiggins
2024-11-11 10:32   ` gnufan42 via 9fans [this message]
2024-11-11 17:22     ` James Cook
2024-11-11 20:16       ` Aidan K. Wiggins
2024-11-11 19:21     ` Aidan K. Wiggins
2024-11-12  0:38     ` Aidan K. Wiggins
2024-11-16 12:04       ` gnufan42 via 9fans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='FeFX0Y9KBJKqSnsTifJgibW_Yxf6G1H1G6HSEejyMew3QuSK29AWM6MBJ0xUSlvBk8iTdCaBtIisjYAQDQk6-4L_TIa7d9gFgY3h25Mv-8g=@protonmail.com' \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).