• 0 Posts
  • 73 Comments
Joined 1 年前
cake
Cake day: 2023年7月31日

help-circle





  • I’ve generally had good luck with hardware and things just worked under linux. But one day I upgraded a few machines on my network to 2.5G ethernet. Several already had the ports, but my little NUC NAS box didn’t, so I installed a 2.5G usb ethernet dongle. No matter what I did, I couldn’t get it to work. It would show up and NM would act like it was up and there were no errors or anything, but it just wouldn’t actually function.

    Eventually, I found out that it has a built in USB data partition that contains the drivers for windows. The card was coming up as a usb disk first when the hardware was assigned and not a network card which it should have been.

    I had to write a blacklist the usb modules first, which I had done before, but I had to also write a udev rule to automatically add the network card and driver on boot. It wasn’t that difficult to actually do, but I had just never had to do anything with udev rules before. Took me a good three days of troubleshooting to finally get everything to work correctly on boot.

    ACTION=="add", ATTRS{idVendor}=="20f4", ATTRS{idProduct}=="e02c", RUN+="/sbin/modprobe r8152" RUN+="/bin/sh -c 'echo 20f4 e02c > /sys/bus/usb/drivers/r8152/new_id'"




  • pixelscience@lemm.eetoMicroblog Memes@lemmy.worldIt's true.
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    2
    ·
    edit-2
    8 个月前

    It’s because it actually is a security risk with the Chinese government having the ability to do who knows what with a frightening amount of data. There is also the option of selling the company to one that isn’t related to the Communist Party government, but no one seems to be talking about that option.

    The only slippery slope is more apps owned by a foreign government that is not exactly our friend.

    If the app was owned by North Korea, would you be cool with it too?They aren’t banning Instagram and Facebook.