Skip to content

Commit

Permalink
update static ip guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasVon2021 committed Feb 28, 2024
1 parent 1536f3b commit 62076ba
Show file tree
Hide file tree
Showing 13 changed files with 253 additions and 83 deletions.
26 changes: 26 additions & 0 deletions docs/en/static_ip.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# **Set static IP**
To configure a static IP address on a BliKVM image, you can follow these steps:

## v1 v2 v3 version - debian
1. SSH into the BliKVM, If it is a read-only system, please use the `rw` command to make the system writable.
2. Edit the network interfaces configuration file using the following command:
```
Expand All @@ -21,4 +22,29 @@ To configure a static IP address on a BliKVM image, you can follow these steps:
sudo reboot
```

## v4 version - armbian
1. SSH into the BliKVM, If it is a read-only system, please use the `rw` command to make the system writable.
2. Edit the network interfaces configuration file using the following command:
```
sudo vim /etc/network/interfaces
```
3. Within the file, locate the section that starts with "# Example static IP configuration".
4. Uncomment the lines below that section and modify them to set your desired static IP address, gateway, DNS servers, and other network settings. For example:
```
source /etc/network/interfaces.d/*
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 192.168.0.1
```
Adjust the values according to your network configuration.
5. Save the changes.
6. Restart the BliKVM for the changes to take effect:
```
sudo reboot
```

After the reboot, your BliKVM will use the configured static IP address instead of obtaining one dynamically from a DHCP server. Make sure the static IP address you choose is not already assigned to another device on the network and is within the same subnet.
2 changes: 0 additions & 2 deletions docs/en/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@
- v4 hardware use release-h616-v4.tar.gz
SSH into the device terminal and use `tar -zxvf release.tar.gz` to extract the release.tar.gz file.
```
rw
sudo -i
cd /your release path/
python3 install_release.py --releasepath=./
ro
```
You can compare the versions before and after in /usr/bin/blikvm/package.json. If you have upgraded to the specified version, the installation is successful, and you can reboot for the changes to take effect.

Expand Down
25 changes: 25 additions & 0 deletions docs/zh/static_ip.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# **BliKVM OS设置静态IP**

## v1 v2 v3参考
1. 使用SSH连接到BliKVM的终端,如果是只读系统,请使用`rw`命令使系统可写。
2. 打开网络配置文件`/etc/dhcpcd.conf`以进行编辑:
```
Expand All @@ -19,4 +20,28 @@
sudo reboot
```

## v4参考
1. 使用SSH连接到BliKVM的终端,如果是只读系统,请使用`rw`命令使系统可写。
2. 打开网络配置文件`/etc/network/interfaces`以进行编辑:
```
sudo vim /etc/network/interfaces
```
3. 在文件末尾添加以下内容,替换为您想要设置的IP地址、网关和DNS服务器:
```
source /etc/network/interfaces.d/*
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 192.168.0.1
```
注意:根据您的网络设置,可能需要修改上述示例中的IP地址、网关和DNS服务器的值。
4. 保存文件并退出编辑器。
5. 重新启动BliKVM以使静态IP设置生效:
```
sudo reboot
```

根据您的网络环境和需求,您可以根据上述步骤自定义配置静态IP地址。请确保IP地址、网关和DNS服务器的设置与您的网络设置相匹配。
2 changes: 1 addition & 1 deletion generated/en/search/search_index.json

Large diffs are not rendered by default.

72 changes: 36 additions & 36 deletions generated/en/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,182 +2,182 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2024-02-18</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified generated/en/sitemap.xml.gz
Binary file not shown.
Loading

0 comments on commit 62076ba

Please sign in to comment.