9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] USB Network
@ 2024-11-06  3:18 gnufan42 via 9fans
  2024-11-08 16:57 ` James Cook
  0 siblings, 1 reply; 9+ messages in thread
From: gnufan42 via 9fans @ 2024-11-06  3:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] USB Network
  2024-11-06  3:18 [9fans] USB Network 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
  0 siblings, 2 replies; 9+ messages in thread
From: James Cook @ 2024-11-08 16:57 UTC (permalink / raw)
  To: 9fans; +Cc: Fans of the OS Plan 9 from Bell Labs

"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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] USB Network
  2024-11-08 16:57 ` James Cook
@ 2024-11-08 20:59   ` Aidan K. Wiggins
  2024-11-11 10:32   ` gnufan42 via 9fans
  1 sibling, 0 replies; 9+ messages in thread
From: Aidan K. Wiggins @ 2024-11-08 20:59 UTC (permalink / raw)
  To: 9fans

Hi James,

As for 9front, you can get the info of the adapter a number of
ways, `usbtree` is one such command. Would you mind sharing the
exact model of the adapter? And the usbtree output?

Best,
Aidan


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] USB Network
  2024-11-08 16:57 ` James Cook
  2024-11-08 20:59   ` Aidan K. Wiggins
@ 2024-11-11 10:32   ` gnufan42 via 9fans
  2024-11-11 17:22     ` James Cook
                       ` (2 more replies)
  1 sibling, 3 replies; 9+ messages in thread
From: gnufan42 via 9fans @ 2024-11-11 10:32 UTC (permalink / raw)
  To: 9fans

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] USB Network
  2024-11-11 10:32   ` gnufan42 via 9fans
@ 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
  2 siblings, 1 reply; 9+ messages in thread
From: James Cook @ 2024-11-11 17:22 UTC (permalink / raw)
  To: 9fans

Answering both Aidan and gnufan42:

"gnufan42 via 9fans" <9fans@9fans.net> wrote:
...
> 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:

I think I saw similar messages when I first plugged it in on Friday.
I don't remember whether I needed to unplug/replug between those
messages and the first time I saw it working. Today when I tried
it again, I did not see those messages. And the messages I saw when
it stopped working were different.

        usbreadproc: Stopped
        usbreadproc: device is detached
        usbreadproc: device is detached

> 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

Here's my usbtree output. The second-last field is different; I don't know how significant that is.

ep7.0: 255 csp 0x00ffff vid 0x0b95 did 0x1790 'ASIX Elec. Corp.' AX88179 e3ece xhci

As for the exact model: the brand is "TechKey" but I couldn't find anything that looks like a model number.
If it helps, the Amazon product page is at https://www.amazon.ca/dp/B07XLLTL7V and the description there is "USB C to Ethernet Adapter, Techkey USB Thunderbolt 3 / Type C to RJ45 Gigabit Ethernet LAN Network Adapter Compatible for MacBook Pro 2019/2018/2017 Dell XPS ChromeBook Galaxy S9/S8 and More". 


-- 
James

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] USB Network
  2024-11-11 10:32   ` gnufan42 via 9fans
  2024-11-11 17:22     ` James Cook
@ 2024-11-11 19:21     ` Aidan K. Wiggins
  2024-11-12  0:38     ` Aidan K. Wiggins
  2 siblings, 0 replies; 9+ messages in thread
From: Aidan K. Wiggins @ 2024-11-11 19:21 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

Thanks for the info!

For reference the adapters I tested with were:

        https://a.co/d/5YCkFtt
and
        https://a.co/d/4VMk1xg

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

[-- Attachment #2: Type: message/rfc822, Size: 12650 bytes --]

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
Message-ID: <FeFX0Y9KBJKqSnsTifJgibW_Yxf6G1H1G6HSEejyMew3QuSK29AWM6MBJ0xUSlvBk8iTdCaBtIisjYAQDQk6-4L_TIa7d9gFgY3h25Mv-8g=@protonmail.com>

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] USB Network
  2024-11-11 17:22     ` James Cook
@ 2024-11-11 20:16       ` Aidan K. Wiggins
  0 siblings, 0 replies; 9+ messages in thread
From: Aidan K. Wiggins @ 2024-11-11 20:16 UTC (permalink / raw)
  To: falsifian, 9fans

[-- Attachment #1: Type: text/plain, Size: 287 bytes --]

Thanks James, I'll get this one and see if I can reproduce.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ta1429dcd3e1eface-Mf5cee5628002e98ac01f8082
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: message/rfc822, Size: 12622 bytes --]

From: James Cook <falsifian@falsifian.org>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] USB Network
Date: Mon, 11 Nov 2024 17:22:08 +0000
Message-ID: <3UWO3PAQP44R0.3CNKVA4KV0G1E@falsifian.org>

Answering both Aidan and gnufan42:

"gnufan42 via 9fans" <9fans@9fans.net> wrote:
...
> 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:

I think I saw similar messages when I first plugged it in on Friday.
I don't remember whether I needed to unplug/replug between those
messages and the first time I saw it working. Today when I tried
it again, I did not see those messages. And the messages I saw when
it stopped working were different.

        usbreadproc: Stopped
        usbreadproc: device is detached
        usbreadproc: device is detached

> 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

Here's my usbtree output. The second-last field is different; I don't know how significant that is.

ep7.0: 255 csp 0x00ffff vid 0x0b95 did 0x1790 'ASIX Elec. Corp.' AX88179 e3ece xhci

As for the exact model: the brand is "TechKey" but I couldn't find anything that looks like a model number.
If it helps, the Amazon product page is at https://www.amazon.ca/dp/B07XLLTL7V and the description there is "USB C to Ethernet Adapter, Techkey USB Thunderbolt 3 / Type C to RJ45 Gigabit Ethernet LAN Network Adapter Compatible for MacBook Pro 2019/2018/2017 Dell XPS ChromeBook Galaxy S9/S8 and More". 


-- 
James

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] USB Network
  2024-11-11 10:32   ` gnufan42 via 9fans
  2024-11-11 17:22     ` James Cook
  2024-11-11 19:21     ` Aidan K. Wiggins
@ 2024-11-12  0:38     ` Aidan K. Wiggins
  2024-11-16 12:04       ` gnufan42 via 9fans
  2 siblings, 1 reply; 9+ messages in thread
From: Aidan K. Wiggins @ 2024-11-12  0:38 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

(Sorry, 9fans, for all the emails)

4d5a9000,

Regarding your card..  this has happened occasionally, I find that
replugging the adapter itself usually does the trick, with the
addition that on my desktop, the first ethernet card (ether0) takes
precedence, so I will have to get an ip for the usb adapter
specifically:

        ip/ipconfig ether /net/etherUxxxxx

(Assuming it's not actually a defective chip)

Best,
Aidan
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ta1429dcd3e1eface-Ma73431b6ccab21385097cba4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: message/rfc822, Size: 12650 bytes --]

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
Message-ID: <FeFX0Y9KBJKqSnsTifJgibW_Yxf6G1H1G6HSEejyMew3QuSK29AWM6MBJ0xUSlvBk8iTdCaBtIisjYAQDQk6-4L_TIa7d9gFgY3h25Mv-8g=@protonmail.com>

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] USB Network
  2024-11-12  0:38     ` Aidan K. Wiggins
@ 2024-11-16 12:04       ` gnufan42 via 9fans
  0 siblings, 0 replies; 9+ messages in thread
From: gnufan42 via 9fans @ 2024-11-16 12:04 UTC (permalink / raw)
  To: 9fans

Hi Aidan,

It took a few days, but I got another AX88179 card. Yes, I confirmed that the old one is defective. The new one worked like a charm :-)

This card is pretty stable for me. I left Plan 9 with it running for a day and didn't see the USB Transaction Error.

Thanks,
4d5a9000


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-11-16 12:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-06  3:18 [9fans] USB Network 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
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

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).