<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.somlabs.com/index.php?action=history&amp;feed=atom&amp;title=Connecting_to_Linux_console</id>
	<title>Connecting to Linux console - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.somlabs.com/index.php?action=history&amp;feed=atom&amp;title=Connecting_to_Linux_console"/>
	<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Connecting_to_Linux_console&amp;action=history"/>
	<updated>2026-04-28T05:07:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.somlabs.com/index.php?title=Connecting_to_Linux_console&amp;diff=1935&amp;oldid=prev</id>
		<title>KrzysztofChojnowski at 08:25, 8 June 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Connecting_to_Linux_console&amp;diff=1935&amp;oldid=prev"/>
		<updated>2020-06-08T08:25:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:25, 8 June 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;sudo minicom -b 115200 -D /dev/ttyUSB0 -s&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;sudo minicom -b 115200 -D /dev/ttyUSB0 -s&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Enter &#039;&#039;Serial port setup&#039;&#039;, press &#039;&#039;F&#039;&#039; to disable hardware flow control, press &#039;&#039;Enter&#039;&#039;, choose &#039;&#039;Exit&#039;&#039;, now you can log in. It is strongly recommended to change the default passwords of existing users. To do that enter &#039;&#039;passwd &amp;lt;user_name&amp;gt;&#039;&#039; command, you will be prompted to enter password twice:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Enter &#039;&#039;Serial port setup&#039;&#039;, press &#039;&#039;F&#039;&#039; to disable hardware flow control, press &#039;&#039;Enter&#039;&#039;, choose &#039;&#039;Exit&#039;&#039;, now you can log in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;as root (password root) or som (password som)&lt;/ins&gt;. It is strongly recommended to change the default passwords of existing users. To do that enter &#039;&#039;passwd &amp;lt;user_name&amp;gt;&#039;&#039; command, you will be prompted to enter password twice:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;root@somlabs:~# passwd root&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;root@somlabs:~# passwd root&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Enter new UNIX password:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Enter new UNIX password:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>KrzysztofChojnowski</name></author>
	</entry>
	<entry>
		<id>https://wiki.somlabs.com/index.php?title=Connecting_to_Linux_console&amp;diff=1607&amp;oldid=prev</id>
		<title>KrzysztofChojnowski at 10:36, 1 November 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Connecting_to_Linux_console&amp;diff=1607&amp;oldid=prev"/>
		<updated>2019-11-01T10:36:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:36, 1 November 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{PageHeader|Connecting to Linux console}} __toc__&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{PageHeader|Connecting to Linux console}} __toc__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Linux =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Linux &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;host PC &lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Prerequisites ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Prerequisites ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* PC with Ubuntu 16.04 operating system and USB port (for USB-UART converter connection) or local network connection (for SSH connection)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* PC with Ubuntu 16.04 operating system and USB port (for USB-UART converter connection) or local network connection (for SSH connection)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l80&quot;&gt;Line 80:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 80:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now you can log in as tom with SSH client.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now you can log in as tom with SSH client.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Windows =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Windows &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;host PC &lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Prerequisites ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Prerequisites ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* PC with Windows operating system and USB port (for USB-UART converter connection) or local network connection (for SSH connection)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* PC with Windows operating system and USB port (for USB-UART converter connection) or local network connection (for SSH connection)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>KrzysztofChojnowski</name></author>
	</entry>
	<entry>
		<id>https://wiki.somlabs.com/index.php?title=Connecting_to_Linux_console&amp;diff=1606&amp;oldid=prev</id>
		<title>KrzysztofChojnowski: Created page with &quot;{{PageHeader|Connecting to Linux console}} __toc__ = Linux = == Prerequisites == * PC with Ubuntu 16.04 operating system and USB port (for USB-UART converter connection) or lo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Connecting_to_Linux_console&amp;diff=1606&amp;oldid=prev"/>
		<updated>2019-11-01T10:33:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PageHeader|Connecting to Linux console}} __toc__ = Linux = == Prerequisites == * PC with Ubuntu 16.04 operating system and USB port (for USB-UART converter connection) or lo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PageHeader|Connecting to Linux console}} __toc__&lt;br /&gt;
= Linux =&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
* PC with Ubuntu 16.04 operating system and USB port (for USB-UART converter connection) or local network connection (for SSH connection)&lt;br /&gt;
* VisionCB-STD board with VisionSOM-6ULL and Linux image installed&lt;br /&gt;
* Micro-USB cable&lt;br /&gt;
&lt;br /&gt;
== Connecting to Linux console through UART-USB converter ==&lt;br /&gt;
VisionCB-STD has built-in UART-USB converter, it lets you connect to the console via virtual COM port. First of all you need to determine what is the VisionCB-STD virtual COM number on your Linux system. To do that connect VisionCB-STD board to your PC with micro-USB cable and list your terminal devices:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ls /dev/ttyUSB*&lt;br /&gt;
/dev/ttyUSB0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there is only one device then it is the terminal you are looking for (/dev/ttyUSB0 in the example above), if there are more &amp;#039;&amp;#039;/dev/ttyUSB*&amp;#039;&amp;#039; terminal then disconnect and reconnect your board to find proper one.&lt;br /&gt;
&lt;br /&gt;
Now install minicom:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt install minicom&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start minicom:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo minicom -b 115200 -D /dev/ttyUSB0 -s&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter &amp;#039;&amp;#039;Serial port setup&amp;#039;&amp;#039;, press &amp;#039;&amp;#039;F&amp;#039;&amp;#039; to disable hardware flow control, press &amp;#039;&amp;#039;Enter&amp;#039;&amp;#039;, choose &amp;#039;&amp;#039;Exit&amp;#039;&amp;#039;, now you can log in. It is strongly recommended to change the default passwords of existing users. To do that enter &amp;#039;&amp;#039;passwd &amp;lt;user_name&amp;gt;&amp;#039;&amp;#039; command, you will be prompted to enter password twice:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# passwd root&lt;br /&gt;
Enter new UNIX password:&lt;br /&gt;
Retype new UNIX password:&lt;br /&gt;
passwd: password updated successfully&lt;br /&gt;
root@somlabs:~#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To exit minicom press &amp;#039;&amp;#039;Ctrl+A&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Z&amp;#039;&amp;#039;, &amp;#039;&amp;#039;X&amp;#039;&amp;#039;, then confirm by pressing &amp;#039;&amp;#039;Enter&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Connecting to Linux console via SSH client ==&lt;br /&gt;
=== Connecting as root - not recommended ===&lt;br /&gt;
Login to the UART-USB console as described in the previous section and change the root password. Once you have changed it (still via UART-USB connection) you need to modify /etc/ssh/sshd_config file:&lt;br /&gt;
&amp;lt;pre&amp;gt;nano /etc/ssh/sshd_config&amp;lt;/pre&amp;gt;&lt;br /&gt;
Add line:&lt;br /&gt;
&amp;lt;pre&amp;gt;PermitRootLogin yes&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restart SSH service:&lt;br /&gt;
&amp;lt;pre&amp;gt;service sshd restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you can log in as root via SSH, you only need IP address of VisionSOM-6ULL. Enter &amp;#039;&amp;#039;ip a&amp;#039;&amp;#039; for list of all network interfaces and their IP addresses:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# ip a&lt;br /&gt;
1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default&lt;br /&gt;
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;br /&gt;
    inet 127.0.0.1/8 scope host lo&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
    inet6 ::1/128 scope host&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
2: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc pfifo_fast state UP group default qlen 1000&lt;br /&gt;
    link/ether a6:e3:1c:a0:3d:b0 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
    inet 192.168.0.25/24 brd 192.168.0.255 scope global eth0&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
    inet6 2a02:a310:813c:d700:a4e3:1cff:fea0:3db0/64 scope global mngtmpaddr dynamic&lt;br /&gt;
       valid_lft 974055sec preferred_lft 369255sec&lt;br /&gt;
    inet6 fe80::a4e3:1cff:fea0:3db0/64 scope link&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
3: sit0@NONE: &amp;lt;NOARP&amp;gt; mtu 1480 qdisc noop state DOWN group default&lt;br /&gt;
    link/sit 0.0.0.0 brd 0.0.0.0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case the IP address of the Ethernet (eth0) interface is 192.168.0.25. Now you can connect to VisionSOM-6ULL with SSH client from your Linux host PC:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ssh root@192.168.0.25&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Connecting as regular user ===&lt;br /&gt;
To connect as a regular user you need to create new account or use existing one. In the first case login as root through USB-UART converter or SSH, and add a new account and set password:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# useradd tom&lt;br /&gt;
root@somlabs:~# passwd tom&lt;br /&gt;
Enter new UNIX password:&lt;br /&gt;
Retype new UNIX password:&lt;br /&gt;
passwd: password updated successfully&lt;br /&gt;
root@somlabs:~#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default new user has no home directory and his shell is /bin/sh. To create home directory enter:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# mkdir /home/tom&amp;lt;/pre&amp;gt;&lt;br /&gt;
To change shell to bash enter:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# chsh -s /bin/bash tom&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you can log in as tom with SSH client.&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
* PC with Windows operating system and USB port (for USB-UART converter connection) or local network connection (for SSH connection)&lt;br /&gt;
* VisionCB-STD board with VisionSOM-6ULL and Linux image installed&lt;br /&gt;
* Micro-USB cable&lt;br /&gt;
* [http://www.putty.org/ PuTTY terminal]&lt;br /&gt;
&lt;br /&gt;
== Connecting to Linux console through UART-USB converter ==&lt;br /&gt;
VisionCB-STD has built-in UART-USB converter, it lets you connect to Linux console via virtual COM port. First of all you need to determine what is the VisionCB-STD virtual COM number on your Windows system, to do that open &amp;#039;&amp;#039;Control Panel&amp;#039;&amp;#039;, connect VisionCB-STD to your computer, find &amp;#039;&amp;#039;Ports (COM &amp;amp; LPT)&amp;#039;&amp;#039; and expand it. You should see &amp;#039;&amp;#039;USB Serial Port (COM&amp;lt;port_number&amp;gt;)&amp;#039;&amp;#039;, if there is only one item with this name then it is your port, if there are more ports then disconnect and reconnect VisionCB-STD to check which port shows up.&lt;br /&gt;
Now we can connect with PuTTY to your VisionSOM-6ULL, connect VisionCB-STD to your PC, run PuTTY and:&lt;br /&gt;
* Select &amp;#039;&amp;#039;Serial&amp;#039;&amp;#039; in &amp;#039;&amp;#039;Connection type&amp;#039;&amp;#039; section&lt;br /&gt;
* Enter VisionCB-STD port number in &amp;#039;&amp;#039;Serial line&amp;#039;&amp;#039; field&lt;br /&gt;
* Enter 115200 in &amp;#039;&amp;#039;Speed&amp;#039;&amp;#039; field&lt;br /&gt;
* Click &amp;#039;&amp;#039;Open&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Now you can log in using one of existing user names. It is strongly recommended to change the default passwords of existing users. To do that enter &amp;#039;&amp;#039;passwd &amp;lt;user_name&amp;gt;&amp;#039;&amp;#039; command, you will be prompted to enter password twice:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# passwd root&lt;br /&gt;
Enter new UNIX password:&lt;br /&gt;
Retype new UNIX password:&lt;br /&gt;
passwd: password updated successfully&lt;br /&gt;
root@somlabs:~#&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Connecting to Linux console via SSH client ==&lt;br /&gt;
=== Connecting as root - not recommended ===&lt;br /&gt;
Login to the UART-USB console as described in the previous section and change the root password. Once you have changed it (still via UART-USB connection) you need to modify /etc/ssh/sshd_config file:&lt;br /&gt;
&amp;lt;pre&amp;gt;nano /etc/ssh/sshd_config&amp;lt;/pre&amp;gt;&lt;br /&gt;
Add line:&lt;br /&gt;
&amp;lt;pre&amp;gt;PermitRootLogin yes&amp;lt;/pre&amp;gt;      &lt;br /&gt;
Restart SSH service:&lt;br /&gt;
&amp;lt;pre&amp;gt;service sshd restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you can log in as root via SSH, you only need IP address of VisionSOM-6ULL. Enter &amp;#039;&amp;#039;ip a&amp;#039;&amp;#039; for list of all network interfaces and their IP addresses:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# ip a&lt;br /&gt;
1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default&lt;br /&gt;
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;br /&gt;
    inet 127.0.0.1/8 scope host lo&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
    inet6 ::1/128 scope host&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
2: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc pfifo_fast state UP group default qlen 1000&lt;br /&gt;
    link/ether a6:e3:1c:a0:3d:b0 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
    inet 192.168.0.25/24 brd 192.168.0.255 scope global eth0&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
    inet6 2a02:a310:813c:d700:a4e3:1cff:fea0:3db0/64 scope global mngtmpaddr dynamic&lt;br /&gt;
       valid_lft 974055sec preferred_lft 369255sec&lt;br /&gt;
    inet6 fe80::a4e3:1cff:fea0:3db0/64 scope link&lt;br /&gt;
       valid_lft forever preferred_lft forever&lt;br /&gt;
3: sit0@NONE: &amp;lt;NOARP&amp;gt; mtu 1480 qdisc noop state DOWN group default&lt;br /&gt;
    link/sit 0.0.0.0 brd 0.0.0.0&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
In this case the IP address of the Ethernet (eth0) interface is 192.168.0.25. Now you can connect to VisionSOM-6ULL with SSH client from your Windows host PC:  &lt;br /&gt;
&lt;br /&gt;
* Start PuTTY&lt;br /&gt;
* Enter VisionSOM-6ULL IP address in &amp;#039;&amp;#039;Host Name&amp;#039;&amp;#039; field&lt;br /&gt;
* Click &amp;#039;&amp;#039;Open&amp;#039;&amp;#039; button&lt;br /&gt;
&lt;br /&gt;
[[File:Visionsom-6ull-putty.jpg|center|PuTTY connection window]]&lt;br /&gt;
&lt;br /&gt;
=== Connecting as regular user ===&lt;br /&gt;
To connect as a regular user you need to create new account or use existing one. In the first case login as root through USB-UART converter or SSH, and add a new account and set password:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# useradd tom&lt;br /&gt;
root@somlabs:~# passwd tom&lt;br /&gt;
Enter new UNIX password:&lt;br /&gt;
Retype new UNIX password:&lt;br /&gt;
passwd: password updated successfully&lt;br /&gt;
root@somlabs:~#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default new user has no home directory and his shell is /bin/sh. To create home directory enter:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# mkdir /home/tom&amp;lt;/pre&amp;gt;&lt;br /&gt;
To change shell to bash enter: &lt;br /&gt;
&amp;lt;pre&amp;gt;root@somlabs:~# chsh -s /bin/bash tom&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you can log in as tom with SSH client.&lt;/div&gt;</summary>
		<author><name>KrzysztofChojnowski</name></author>
	</entry>
</feed>