USB Ethernet

I am trying to get a USB Ethernet connection going on my laptop without a regular Ethernet port. I am so determined, I’ve bought a third USB Ethernet adapter already. Still, no luck.

The first with ASIX AX88772B chipset which I thought should work according to https://dev.haiku-os.org/wiki/HardwareInfo/usb_asix ; the other two are ECM ones (Realtek RTL8152 and RTL8153).

All three get recognized as a network device (/dev/net/usb_asix/0 or /dev/net/usb_ecm/0) but fail to configure connection via DHCP or a static address.

listusb output for AX88772B and RTL8152:
0b95:772a /dev/bus/usb/0/0 "ASIX Electronics Corp." "AX88772A Fast Ethernet" ver. 0001
0bda:8152 /dev/bus/usb/0/0 "Realtek Semiconductor Corp." "RTL8152 Fast Ethernet Adapter" ver. 2000

Any suggestions to get any of them working? Or should I keep trying new ones :slight_smile :slight_smile:

Edit: correct link, formatting

I know that this one works using usb_ecm driver. Apart from that you can open a ticket at https://dev.haiku-os.org/newticket and attach your syslog there.

1 Like

I simply use an ethernet/wifi bridge. It is about 25 EUR. You put the ethernet cable into the port and for every system you provide simple ethernet.
The wifi bridge is connected with the router. Installation time: 2 minutes
Works with every system.

3 Likes

Nice to know. I would like to have more info about this solution.
Sounds great!

I know that this one works

So I bought this one too, and it doesn’t work on my laptop either. That got me thinking and I tried all the adapters on a different machine. Indeed, they worked there. Might be something with my USB controller? Are there any known problems? I might not be experienced enough to troubleshoot this.

1 Like

I simply use an ethernet/wifi bridge.

Wouldn’t I need an ethernet port on my laptop to connect to the wifi bridge? My laptop doesn’t have one. That’s why I’m trying USB ethernet. (My wifi is unsupported too.)

Saw the model that you have linked…It is an Ethernet to USB adopter…
I have raised a ticket for PCIe wireless network card, WL-88ND, ver2.o RTL8192EE not working on Haiku…no drivers…it is a desktop PC
Any working model to convert USB modem to Ethernet (RJ45) for my case?

Check sysog for errors hen you plug in USB adapters:
tail -F /var/log/syslog

This is what I get when I plug in the TP-link UE300:

~> tail -F /var/log/syslog
KERN: Highpoint-IDE: supports_device()
Last message repeated 1 time
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/bus/usb_raw
KERN: sis7018:init_hardware:ver:2.0.2
KERN: es1370: init_hardware()
KERN: emuxki: init_hardware()
KERN: echo3g: init_hardware()
KERN: echo3g: no card found
KERN: auvia: init_hardware()
KERN: auich: init_hardware()
KERN: usb hub 2: port 12: new device connected
KERN: usb hub 2: port 12 was warm reset
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff82bb1c90 (1)
KERN: usb xhci 0: transfer error on slot 5 endpoint 3: Length invalid
KERN: usb error xhci 0: KERN: TRB 0x25d36220 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff82c0f108 (2)
KERN: usb error xhci 0: unsuccessful command 15, error Context state (19)
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff82c0f068 (3)
KERN: usb error xhci 0: unsuccessful command 15, error Context state (19)
KERN: usb error xhci 0: unsuccessful command 13, error Parameter (17)
KERN: usb_ecm: read mac address: d0:37:45:ea:6d:c2
KERN: usb_ecm: ecm device 0 added
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff82c0f068 (3)
KERN: usb xhci 0: transfer error on slot 5 endpoint 7: Length invalid
KERN: usb error xhci 0: KERN: TRB 0x25d36660 was not found in the endpoint!
KERN: usb error xhci 0: unsuccessful command 13, error Parameter (17)
KERN: /dev/net/usb_ecm/0: media change, media 0x900020 quality 1000 speed 10000000
KERN: usb xhci 0: transfer error on slot 5 endpoint 3: Endpoint not enabled
KERN: usb error xhci 0: KERN: TRB 0x0 was not found in the endpoint!
KERN: register_domain(4, link)
DAEMON 'DHCP': /dev/net/usb_ecm/0: Send DHCP_DISCOVER to 255.255.255.255:67
KERN: usb xhci 0: transfer error on slot 5 endpoint 4: Endpoint not enabled
KERN: usb error xhci 0: KERN: TRB 0x0 was not found in the endpoint!

So it looks like some xhci driver problem. Do you have USB2 ports?

Sadly not on this laptop. Does it mean I’m out of luck here?

I use this model:
Vonets VAP11G-300
http://en.vonets.es/products/VAP11G-300/ This is an example. There are other bridges as well to buy. Here is an image:
0
You need an RJ45 connector on your machine.

Ah very informative thanks. RJ45 is the Network cable, is it?
Great for a lot of user to know of this solution.

Yes, it is a normal network cable. I searched myself long time for a solution. This or similar ones are usable with every operating system, because you use just a normal lan cable.
In the blue box is the bridge, connected to the router with wifi.

1 Like

a USB hub might also help.

I use this: TP-Link TL-WA850RE WLAN Repeater

2 Likes

Thats a good way too. I prefered a mobile solution, therefore I bought the Vonets bridge. So I have only 2 very short cables, one for the ethernet port and one for usb (only for power supply).
I can move around in our house and I’m not bound to a long cable.

Will somebody pl. Suggest how to connect USB modem to ethernet port (RJ45 conector) on my desktop PC…
All because the bloody PCIe 8192EE is not recognized