5. Static IP and hotspot mode

This section uses jetson nano as an example.

5.1. Static IP

First, click the WiFi icon in the upper right corner and the following frame will appear, click [Edit Connections...] at the bottom.

image-20210901100320751

Double-click the connected Wi-Fi, here is [Yahboom].

Screenshot from 2021-09-01 10-06-14

In the [Wi-Fi] directory, select [Client] for [Mode].

Screenshot from 2021-09-01 10-06-31

In the [IPv4 Settings] directory, click the [Add] icon, enter the IP as shown below, and finally click [save] to save.

Screenshot from 2021-09-01 10-06-49

Modify the .bashrc file and enter the command

Set ROS_IP to the IP modified in the previous step, as shown in the following figure. Note; if you do not connect this Wi-Fi, be sure to comment out the modified line (just add # in front).

image-20210901103926824

When we newly open the terminal, [binary operator expected] appears, don't bother, it does not affect the use.

Screenshot from 2021-09-01 10-10-22

5.2. Hotspot mode

First, click the WiFi icon in the upper right corner and the following frame will appear, click [Edit Connections...] at the bottom.

image-20210901100320751

The frame as shown below will pop up, click [+] to select [Wi-Fi] mode, and click [Create...].

Screenshot from 2021-09-01 09-59-22

In the [Wi-Fi] directory, add [yah] in the [SSID] column, and select [Hotspot] in the [Mode] column.

Screenshot from 2021-09-01 10-00-37

In the [Wi-Fi Security] directory, select [WPA & WPA2 Personal] in the [Security] column, and enter the password in the [Password] column.

Screenshot from 2021-09-01 10-00-30

In the [IPv4 Settings] directory, click the [Add] icon, and enter the IP as shown below.

Screenshot from 2021-09-01 10-01-47

In the [IPv4 Settings] directory, select [Ignore] in the [Method] column, and finally click [Save] to save.

Screenshot from 2021-09-01 10-01-41

In the [Wi-Fi] mode, our newly created WIFI appears.

Screenshot from 2021-09-01 10-02-39

At this point, the new WIFI has been successfully created, and the next step is to connect the new WIFI. Follow the steps as shown below.

501

In the pop-up dialog box [Connections], select the newly created WIFI [Wi-Fi connections 1], and click [Connect].

Screenshot from 2021-09-01 10-03-43