9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Jens Staal <staal1978@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] question about nusb/ether
Date: Mon, 1 Apr 2024 19:05:38 +0200	[thread overview]
Message-ID: <c7mhftmko2it5a64f7he467x3p6mq5gl7bnf5vjc74xuxwnuro@hzlhxmn4b2lv> (raw)
In-Reply-To: <E1AE67C0D6D2C23E94B953DAB2CDA8EB@oneiri.one>

I have not yet set up mail on my 9front but here is the manually
transcribed entry corresponding to usb ethernet:

ep6.0: 255 csp 0x00ffff vid 0x2357 did 0x0601 TP-LINK 'USB 10/100/1000 LAN' 1d9aa xhci

On Sun, Mar 31, 2024 at 11:09:53PM -0700, Aidan K. Wiggins wrote:
> Great to hear!
> 
> Would you mind additionally providing the output of usbtree so that we could (if necessary) add it to one of cases in /sys/src/9/boot/nusbrc to be recognized on attach?
> 
> Best,
> Aidan

> Date: Mon, 1 Apr 2024 07:03:41 +0200
> From: Jens Staal <staal1978@gmail.com>
> To: 9front@9front.org
> Subject: Re: [9front] question about nusb/ether
> 
> Hi Aidan,
> 
> Sorry for the late reply but I just wanted to tell you that your tip
> worked!
> 
> nusb/ether 6
> ip/ipconfig ether /net/etherU6
> 
> gave me internet access on my 9front install.
> 
> 
> 
> On Sun, Mar 24, 2024 at 11:26:02AM -0700, Aidan K. Wiggins wrote:
> > Hi Jens,
> > 
> > It's possible the card you are using is not supported; the supported
> > cards are listed in nusb(4).  Which device are you trying to
> > initialize?  You can check which card you have by investigating the
> > output of the usbtree command.  In the case it says it is supported,
> > we can troubleshoot.  Nevertheless, usage of nusb/ether looks
> > something like this:
> > 
> > 	nusb/ether -t ethertype devid
> > 
> > where 'devid' can be drawn from the output of your usbtree as the N
> > value in 'epN.M' (more info in usb(3)).  'ethertype' is one of those
> > listed in the man page.  Generally, this should be ran by nusbrc(8)
> > when the device is attached..
> > 
> > To actually get this registered and running with your network
> > (assuming nusb/ether succeeds in creating some /net/etherU* device for
> > you), you need to run ip/ipconfig on the specified device:
> > 
> > 	ip/ipconfig ether [your /net/etherU*]
> > 
> > Hope this helps,
> > Aidan
> 
> > Date: Sun, 24 Mar 2024 08:59:06 +0100
> > From: Jens Staal <staal1978@gmail.com>
> > To: 9front@9front.org
> > Subject: [9front] question about nusb/ether
> > 
> > Hi
> > 
> > I have an issue with ethernet over usb. I am not sure if it is because
> > of an unsupported adapter of because I do not understand how to activate
> > it.
> > 
> > I did not get any wiser from the nusb man page unfortunately.
> > 
> > Are there any "for dummies" usgage examples for nusb/ether? How do I
> > know what "device" I should give as a command argument etc?
> > 
> > Thanks, 
> > Jens
> 


  reply	other threads:[~2024-04-01 17:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24  7:59 Jens Staal
2024-03-24 18:26 ` Aidan K. Wiggins
2024-04-01  5:03   ` Jens Staal
2024-04-01  6:09     ` Aidan K. Wiggins
2024-04-01 17:05       ` Jens Staal [this message]
2024-04-02 21:01       ` Shawn Rutledge
2024-04-02 23:36         ` Aidan K. Wiggins

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=c7mhftmko2it5a64f7he467x3p6mq5gl7bnf5vjc74xuxwnuro@hzlhxmn4b2lv \
    --to=staal1978@gmail.com \
    --cc=9front@9front.org \
    /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).