.. .. rubric:: Static Network Connection

.. For first-time setup, you need to connect via LAN cable to configure the robot's network.

.. **On your PC (Ubuntu):**

.. 1. Navigate to **Settings → Network**.
.. 2. Click on the "+" icon to create a new connection.
.. 3. In **IPv4 Settings**, set the connection method to **Manual**.
.. 4. Enter the following details:

..    - **Address IP**: `192.168.123.51`
..    - **Netmask**: `24`

.. 5. Save and restart your network.

.. After a successful connection, check the host PC's local IP:

.. .. code:: bash

..     ifconfig

.. Ping the robot to verify connectivity:

.. .. code:: bash

..     ping 192.168.123.164

.. Access the robot via SSH:

.. .. code:: bash

..     ssh -X unitree@192.168.123.164

.. Default password:

.. .. code:: bash

..     123

.. .. rubric:: Network Table

.. +----------------------+--------------------+----------+------------+
.. | IP Address           | Device             | Username | Password   |
.. +======================+====================+==========+============+
.. | 192.168.123.161      | G1 MCU             | x        | x          |
.. +----------------------+--------------------+----------+------------+
.. | 192.168.123.164      | G1 Auxiliary PC 2  | unitree  | 123        |
.. +----------------------+--------------------+----------+------------+
.. | 192.168.123.164:9000 | G1 Webserver MBS   | x        | mybotshop  |
.. +----------------------+--------------------+----------+------------+
.. | 192.168.123.120      | Mid360 Lidar       | x        | x          |
.. +----------------------+--------------------+----------+------------+

.. .. note::
..    Do **not** set your PC IP as any of the G1 IP addresses listed below.


.. .. rubric:: Enable Internet LAN


.. This enables LAN via the ethernet cable. Ensure the cable is connected to a router with internet access.

.. .. code:: bash

..     sudo ip link set eth1 down && sudo ip link set eth1 up
..     sudo dhclient eth1
..     sudo date -s "$(wget --method=HEAD -qSO- --max-redirect=0 google.com 2>&1 | sed -n 's/^ *Date: *//p')"
..     ping google.com

.. .. rubric:: Enable Internet WiFi (Recommended)

.. You can attach a hub and WiFi via a hub. A link to a cost-effective hub and WiFi stick is provided in Enhancements.

.. .. code:: bash

..     sudo ip link set eth0 down && sudo ip link set eth0 up
..     sudo dhclient eth0