Orangepi: Difference between revisions

From Hurlster Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
*/etc/NetworkManager/system-connections# cat Wired\ connection\ 1.nmconnection  
*/etc/NetworkManager/system-connections# cat Wired\ connection\ 1.nmconnection  
<pre>
<pre>
[connection]
id=Wired connection 1
uuid=449b420e-a0c0
type=ethernet
autoconnect-priority=-999
interface-name=end1
timestamp=1771535068


[ethernet]
### ADD TO BOTTOM OF EXISTING CONFIG
 
[ipv4]
method=auto
 
[ipv6]
addr-gen-mode=default
method=auto
 
[proxy]
### SET SPEED TO 100M
### SET SPEED TO 100M
[802-3-ethernet]
[802-3-ethernet]
speed=100
speed=100
duplex=full
duplex=full
</pre>
</pre>
Then reboot
Then reboot

Revision as of 22:24, 19 February 2026

OrangePi 3B info
Install the following image for bookworm/debian to SD/TF card

Orangepi3b_1.0.8_debian_bookworm_server_linux5.10.160.img

Then run the following commands to fix Ethernet port not working

Option 1:


  • /etc/NetworkManager/system-connections# cat Wired\ connection\ 1.nmconnection

### ADD TO BOTTOM OF EXISTING CONFIG
### SET SPEED TO 100M
[802-3-ethernet]
speed=100
duplex=full

Then reboot

Option 2:


io -4 0xFDC60284 0x3f3f3f3f
io -4 0xFDC6028C 0x003f003f
io -4 0xFDC60298 0x3f003f00
io -4 0xFDC6029C 0x3f3f3f3f
io -4 0xfdc60388 0xFFFF0049
  • Make permanent

Add the following before "exit 0" on /etc/rc.local

# ETHERNET FIX
io -4 0xFDC60284 0x3f3f3f3f
io -4 0xFDC6028C 0x003f003f
io -4 0xFDC60298 0x3f003f00
io -4 0xFDC6029C 0x3f3f3f3f
io -4 0xfdc60388 0xFFFF0049
chmod +x /etc/rc.local
  • Install to eMMC
scp Orangepi3b_1.0.8_debian_bookworm_server_linux5.10.160.img orangepi@orangepi3b:~/
  • Find eMMC drive
ls /dev/mmcblk*boot0 | cut -c1-12
  • Clear eMMC
sudo dd bs=1M if=/dev/zero of=/dev/mmcblk0 count=1000 status=progress
sudo sync
  • Copy img to eMMC
dd bs=1M if=Orangepi3b_1.0.8_debian_bookworm_server_linux5.10.160.img of=/dev/mmcblk0 status=progress
sudo sync

After successfully burning the Linux image of the development board to the eMMC,
you can use the poweroff command to shut down. Then please pull out the TF card, and
then short press the power button to turn on, and then the Linux system in the eMMC will
be started.
Category Linux