技术交流QQ群:①185473046   ②190706903   ③203744115   网站地图
登录

下次自动登录
现在的位置: 首页Router>正文
在X86平台物理机上安装OpenWrt软路由系统
2026年03月02日 Router 暂无评论 ⁄ 被围观 14次+

OpenWrt相关教程:

在ESXI上部署OpenWrt软路由系统

https://www.osyunwei.com/archives/16907.html

OpenWrt软路由系统扩容磁盘

https://www.osyunwei.com/archives/16933.html

在OpenWrt软路由系统中设置虚拟专用网拨号

https://www.osyunwei.com/archives/16944.html

对OpenWrt的squashfs格式镜像进行扩容操作

https://www.osyunwei.com/archives/16960.html

简单说明:

在X86平台物理机上安装OpenWrt软路由系统,建议使用ext4格式的镜像文件,安装后可以扩容,当然也能选择提前扩容好的squashfs格式的镜像文件来安装。

下载地址:

https://downloads.openwrt.org/releases/

https://downloads.openwrt.org/releases/24.10.5/targets/x86/64/

https://downloads.openwrt.org/releases/24.10.5/targets/x86/64/openwrt-24.10.5-x86-64-generic-ext4-combined.img.gz

所需工具:

1、可以从PE系统启动的u盘

2、写盘软件DiskImage:

https://roadkil.net/downloads.php

https://roadkil.net/download.php?FileID=409&ProgramID=12

3、OpenWrt镜像文件openwrt-24.10.5-x86-64-generic-ext4-combined.img

把openwrt-24.10.5-x86-64-generic-ext4-combined.img和DiskImage拷贝到u盘根目录下面

我这里有之前扩容好的

squashfs格式的

2GB镜像文件:

openwrt-24.10.5-x86-64-generic-squashfs-combined.img

以这个镜像为例来安装

从u盘启动,进PE系统

打开DiskImage_1_6_WinAll.exe写盘工具

切换到Write Image

Write Image to:选择要安装OpenWrt的磁盘,一定要选择正确

Source:选择我们下载好的OpenWrt镜像文件

确认无误后,点Start开始写盘操作

再次确认,点是

等待执行完成,然后关闭电脑,拔掉u盘,开机进bios设置刚刚写入OpenWrt镜像的硬盘为第一启动,保存重启

会看到下面的界面,等待启动完成。

这个时候OpenWrt已经安装完成了。

简单设置OpenWrt系统

默认root登录密码为空

默认第一款网卡是lan,默认ip地址是192.168.1.1

我们修改为自己需要的ip地址

vi /etc/config/network

config interface 'lan'

option device 'br-lan'

option proto 'static'

option ipaddr '192.168.21.100'

option netmask '255.255.255.0'

option ip6assign '60'

:wq! #保存退出

reboot #重启系统

登录web控制台

root

密码为空

登录成功

至此,在X86平台物理机上安装OpenWrt软路由系统完成。

     

  系统运维技术交流QQ群:①185473046 系统运维技术交流□Ⅰ ②190706903 系统运维技术交流™Ⅱ ③203744115 系统运维技术交流™Ⅲ

给我留言

您必须 [ 登录 ] 才能发表留言!



Copyright© 2011-2026 系统运维 All rights reserved
版权声明:本站所有文章均为作者原创内容,如需转载,请注明出处及原文链接
陕ICP备11001040号-3