Learning: Difference between revisions

From Renesas.info
No edit summary
No edit summary
Line 7: Line 7:
* What is the Shoshinsha mark? [https://en.wikipedia.org/wiki/Shoshinsha_mark Click here to find out...]
* What is the Shoshinsha mark? [https://en.wikipedia.org/wiki/Shoshinsha_mark Click here to find out...]


=Linux=
<font size=+2> Other Topics </font>
==Using SD Card, MMC Card or USB Flash Drive==
{| class="toccolours " width="100%" style="text-align: center;"
 
|-
==Networking==
| style="width: 50%;" | <center><p style="background-color: #FFFFFF; width: 460px; box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);border: 0px solid;padding: 10px;"><font size=+1> ◼''' Linux 🐧'''</font><br>• General Embedded Linux Information<br>• '''[[Learning/Linux| Click here <font size=+2>🢂</font>]]'''</p></center>
===Use ifconfig to find your IP address===
|
* In Windows, you use i<font color=blue>p</font>config. In Linux, you use i<font color=read>f</font>config.
|-
* The ifconfig command will show you your IP address and MAC address as well as how many packets have been sent/received.
|
 
|
===Using Ethernet===
|-
The Linux OS used on the RZ boards brings up the Ethernet interface automatically during startup. This is done by the "systemd-networkd" service that is automatically start each time you boot. If your RZ board is connected to a network that has a DHCP server, the board will obtain an IP address from it automatically. You just need to execute ‘ifconfig’ to see what the assigned IP address is.
| colspan="2"| <br>
<pre>
|}
$ ifconfig
</pre>
 
In some scenarios the Ethernet interface may not be active (meaning "systemd-networkd" is not started or used). In this case, you would enter the follow to enable it and use the ifconfig to show what interfaces are active.
<pre>
$ ifconfig
$ ifconfig eth0 up
$ ifconfig
</pre>
 
After the interface is enabled, you will need to assign an IP address. You can either do that manually or use DHCP if it is available on the network.
 
Manual:
<pre>
$ ifconfig eth 1925.168.0.55
</pre>
 
DHCP:
<pre>
$ udhcpc -i eth0
</pre>
 
NOTE: After ‘ifconfig eth0 up’, you may notice that it already has an IPv6 address even though it doesn’t have a IPv4 address yet. No one really assigned that IPv6 address. In IPv6, you can always assign yourself a 'link local' address by just taking your MAC address and putt putting "fe80" at the beginning and "fe00" in the middle.
 
 
 
==Work with SSH==
🚧 coming soon
 
==Working with Files in Linux==
🚧 coming soon
 
==Edit a text file on the board using vi==
🚧 coming soon
 
==Partitioning and Formatting an SD Card==
🚧 coming soon
 
==Using PuTTY for your Serial Terminal==
🚧 coming soon
 
==Showing CPU Usage While Executing an Application==
🚧 coming soon

Revision as of 15:42, 4 April 2022

Introduction

This section is for general information regarding Linux, Software Development and Open Source.


Shoshinsha Mark 🔰

Other Topics

Linux 🐧
• General Embedded Linux Information
Click here 🢂