This post has been de-listed (Author was flagged for spam)
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Is anyone else running NixOS and has any pointers for getting the ethernet expansion card to work?
lsusb
shows the card:
Bus 004 Device 002: ID 0bda:8156 Realtek Semiconductor Corp. USB 10/100/1G/2.5G LAN
But ip a
shows no carrier:
enp0s13f0u4c2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 9c:bf:0d:00:0e:88 brd ff:ff:ff:ff:ff:ff
Does anyone have an idea? I'm connected via Wifi, but that can be a bit unstable in my flat unfortunately. The cable is working, I tried it on my old Thinkpad, and I even tried the expansion card on my husband's Macbook and it did work there.
Edit: I figured it out: The usb autosuspend was too aggressive. Setting up a udev rule (ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"
) or setting the corresponding kernel parameter (usbcore.autosuspend=20
) fixed it
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/framework/c...