Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock5/linux/debian"

< Rock5‎ | linuxRedirect page
(Option 4: SSH)
(Redirected page to Rock5/guide/radxa-debian)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{rock5_header}}
+
#redirect [[Rock5/guide/radxa-debian]]
 
+
{{Languages|rock5/Debian}}
+
 
+
    [[rock5 | ROCK 5]] > [[rock5/linux | Working With Linux]] > [[rock5/linux/debian | Debian]]
+
 
+
__TOC__
+
 
+
== Work with ROCK 5 Debian ==
+
 
+
=== Introduction to ROCK 5 Debian ===
+
 
+
This guide is available for official ROCK 5 Debian images.
+
+
ROCK 5 Debian is an easy to use desktop system. While working with ROCK 5 Debian, you will find it do well on playing music, Internet, Bluetooth, AI and so on.
+
 
+
ROCK 5 Debian uses '''systemd''' to manage system.
+
 
+
Command prepended by $ means the command may be executed by an unprivileged user. And command prepended by # means the command may be executed by an privileged user. But the symbol, $ or #, is not part of the command.
+
 
+
=== List of boards supported ===
+
 
+
* ROCK 5B
+
 
+
=== Access from the Host PC/Laptop ===
+
 
+
==== Option 1: HDMI monitor and Mouse ====
+
 
+
You would see Desktop on HDMI monitor.
+
 
+
==== Option 2: Serial console ====
+
 
+
See [[rock5/dev/serial-console | Serial Console]]
+
 
+
==== Option 3: SSH ====
+
 
+
SSH server  is enabled on port 22 of ROCK 5 default image.
+
 
+
Please use [https://angryip.org/ angryip] to find your board IP address.
+
 
+
$ ping ip-of-device
+
$ ssh rock@ip-of-device
+
 
+
=== Debian Default User Account ===
+
 
+
Non-root User:
+
 
+
User Name : rock
+
Password  : rock
+
 
+
=== Build ===
+
 
+
{| class="wikitable"
+
|-
+
! XFCE4 Desktop
+
|-
+
| * ROCK 5B
+
|}
+
 
+
=== Radxa APT ===
+
 
+
Radxa APT source includes stable one and testing one. Stable source includes stable packages while testing source includes latest but maybe unstable packages.
+
 
+
Radxa APT stable source is added by default while testing source is not added.
+
 
+
You can uncomment line like "deb http://apt.radxa.com/bullseye-testing/ buster main" in file /etc/apt/sources.list.d/apt-radxa-com.list to add testing source.
+
 
+
See file /etc/apt/sources.list.d/apt-radxa-com.list
+
 
+
deb http://apt.radxa.com/bullseye-stable/ buster main
+
deb http://apt.radxa.com/bullseye-testing/ buster main
+
 
+
After adding testing source, you need to update APT and install your needed packages.
+
 
+
$ sudo apt-get update
+
 
+
For more detail about Radxa APT, please see [[rock5/linux/radxa-apt | Radxa APT]].
+
 
+
=== Upgrade necessary packages ===
+
 
+
Here is the example of upgrading rockchip-overlay and kernel packages.
+
 
+
$ sudo apt-get update
+
$ sudo apt-get install -y rockchip-overlay
+
 
+
=== Ethernet ===
+
 
+
<div class="bs-example bs-example-tabs">
+
        <ul id="tabeth" class="nav nav-tabs nav-justified nav-tabs" style="margin:0;">
+
            <li class="active" data-toggle="tab">[http://wiki.radxa.com/Nav_Tabs#5b-ethernet ROCK 5B]</li>   
+
        </ul>
+
</div>
+
        <div id="tabeth" class="tab-content">
+
 
+
            <div class="tab-pane active" id="5b-ethernet">
+
=== 5B Ethernet ===
+
 
+
ROCK 5B is equipped with one 2.5G Ethernet port.
+
You can use a network cable (one end connected to the external network port or route) to connect your ROCK 5B to the network.
+
The ROCK 5B will automatically configure the network for your surfing on the Internet.
+
 
+
Ethernet throughput test result table.
+
 
+
{| class="wikitable" border="1"
+
|-
+
! Direction
+
! Bitrate
+
|-
+
| Upstream
+
| 2.34 Gbits/sec
+
|-
+
| Downstream
+
| 2.35 Gbits/sec
+
|}
+
 
+
===== To test the Ethernet, we need to follow the steps: =====
+
 
+
* Switch to super user mode by command
+
$ sudo su
+
 
+
* Check whether the Ethernet is normal by command, ifconfig, which would show us a network card, eth0 or enP4p65s0 , and the Ethernet IP address. Also, use tool, ping, to connect to a normal domain.
+
 
+
$ ifconfig
+
$ ping www.baidu.com
+
 
+
* If failed to connect to a normal domain. , try
+
 
+
$ sudo dhclient eth0
+
or
+
$ sudo dhclient enP4p65s0
+
 
+
            </div> <!--  id="5b-ethernet" end-->
+
        </div>
+
 
+
=== Storage device ===
+
 
+
* uSD Card: /dev/mmcblk0
+
* eMMC: /dev/mmcblk1
+
* NVME M.2 SDD:  /dev/nvme0n1
+
 
+
=== Changelog ===
+

Latest revision as of 03:51, 19 October 2022