View: 10166|Reply: 41

USB Gadget Mode (Ethernet) on an Orange Pi Zero 2

[Copy link]

3

threads

4

posts

35

credits

Novice

Rank: 1

credits
35
Published in 2022-3-2 15:36:51 | Show all floors |Read mode
Hey there, I have a use case that requires USB Gadget Mode (Ethernet) on an Orange Pi Zero 2. After some research, it seems one solution is to enable the g_ether module which I did and after that I can see the USB port from orangepi-config. But that's as far as I could get, wasn't able to actually get Ethernet over USB working. Any guidance would be much appreciated.

thanks much,

Al


https://github.com/armbian/build ... e3c5a8bbac93dc2412d

0

threads

2

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2023-3-22 06:38:43 | Show all floors
I have a similar situation with my Orange Pi R1, I have changed /etc/modules to have g_ether, I have also ran armbian-config and made sure to enable all usb ports under "System > Hardware", using ifconfig or ip addr within the orange pi I can see the network usb0, I can even ping it to the ip I set on /etc/network/interfaces and it responds, but when I plug the Orange Pi to either a linux or Windows laptops, I see nothing, even after running lsusb all I get is:

  1. Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  2. Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  3. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  4. Bus 001 Device 008: ID 0bda:0177 Realtek Semiconductor Corp. USB2.0-CRW
  5. Bus 001 Device 004: ID 0c45:671f Microdia Integrated_Webcam_HD
  6. Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
  7. Bus 001 Device 002: ID 045e:07f8 Microsoft Corp. Wired Keyboard 600 (model 1576)
  8. Bus 001 Device 005: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
  9. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  10. Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  11. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Copy code


For the time being I'm just going to plug an Ethernet to USB dongle to my laptop and "share internet" to the Orange Pi via a regular Ethernet cable so I can ssh into it regardless of the networks available at the places I work at, but still, I would love it if USB Gadget mode just worked and I could simply plug the little guy directly to my laptop without further hassle.

16

threads

1079

posts

2756

credits

Gold member

Rank: 6Rank: 6

credits
2756
Published in 2023-11-6 18:33:00 | Show all floors
I just astounded aided by the test most people made to choose this specified share wonderful. Marvelous recreation!        hire fiction ghostwriter

16

threads

1079

posts

2756

credits

Gold member

Rank: 6Rank: 6

credits
2756
Published in 2023-11-9 17:48:58 | Show all floors
Awesome posting, it has the such a interesting site there is listed here, keep up to date favorable deliver the results, might be backside.        Seminyak Restaurant Place

0

threads

17

posts

64

credits

Registered member

Rank: 2

credits
64
Published in 2023-11-14 15:55:48 | Show all floors
The shell shockers customization options allow you to create your own unique egg character.

1

threads

301

posts

1217

credits

Gold member

Rank: 6Rank: 6

credits
1217
Published in 2023-12-28 21:38:48 | Show all floors
I remember when I was first diagnosed with diabetes and my doctor recommended that I start wearing diabetic socks. At first, I didn't think they would make much of a difference, but I decided to give them a try. I soon realized just how much of a difference they made for me. Not only were the socks incredibly comfortable, but they also helped improve my circulation and reduce the risk of developing any foot complications. I no longer experienced discomfort or pain in my feet after wearing them for extended periods of time. One particular instance that stands out to me is when I had to take a long flight for work. Usually, my feet would swell up and become extremely uncomfortable during flights, but with the diabetic socks on, I noticed a significant decrease in swelling and discomfort. It was such a relief to be able to travel without having to worry about my feet bothering me. Overall, diabetic socks have been an essential part of managing my diabetes and have greatly improved my overall comfort and well-being. I'm grateful for their impact on my daily life and will continue to rely on them as an important tool in managing my condition.        socks

1

threads

301

posts

1217

credits

Gold member

Rank: 6Rank: 6

credits
1217
Published in 2024-1-2 19:29:08 | Show all floors
it's really attractive and even meanful. it's really nice web log. Associating is amazingly invaluable item. you have got certainly given a hand to plenty of people just who have a look at web log and allow them all usefull tips.        pokój dziecięcy dla chłopca

1

threads

301

posts

1217

credits

Gold member

Rank: 6Rank: 6

credits
1217
Published in 2024-1-2 21:54:48 | Show all floors
Incredible! Just what an eye fixed opener this kind of submit continues to be for me personally. Quite definitely treasured, book marked, My partner and i can’t watch for a lot more!        All Season Tires Ottawa

0

threads

29

posts

80

credits

Registered member

Rank: 2

credits
80
Published in 2024-1-3 11:57:11 | Show all floors
It's quite alluring and even tunnel rush cruel. This web journal is pretty good. Making connections is a really useful thing. You have undoubtedly helped a lot of people that visit the web log and provided them with helpful advice.   

1

threads

509

posts

1447

credits

Gold member

Rank: 6Rank: 6

credits
1447
Published in 2024-1-10 17:30:27 | Show all floors
Great content material and great layout. Your website deserves all of the positive feedback it’s been getting.        изработка на уебсайт
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list