找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 840|回复: 4

镜像生成器ImageBuilder使用哪地方不对?

[复制链接]
发表于 2020-4-13 07:59 | 显示全部楼层 |阅读模式
下载了https://downloads.openwrt.org/sn ... Linux-x86_64.tar.xz
解压缩后,将在原openwrt里面增加中文界面,命令:
make image PROFILE=youhua_wr1200js PACKAGES="luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn"
编译出来 openwrt-imagebuilder-ramips-mt7621.Linux-x86_64/bin/targets/ramips/mt7621/openwrt-ramips-mt7621-youhua_wr1200js-squashfs-sysupgrade.bin
用breed刷入友华1200js路由,Lan看到分配地址是192.168.1.xxx,电脑通过路由器能上网,但浏览器怎么也打不开 192.168.1.1管理界面。
在输入openwrt网上原版的固件后,就可以打开 192.168.1.1管理界面。
哪地方不正确?


我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-4-13 09:56 | 显示全部楼层
你没有编译进去界面

点评

make image PROFILE=youhua_wr1200js PACKAGES="luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn" 这个命令不是在原包基础上再增加luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn吗? 应该怎么写? 是将Default  详情 回复 发表于 2020-4-13 10:03
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-4-13 10:03 | 显示全部楼层
隐形的肩膀 发表于 2020-4-13 09:56
你没有编译进去界面

make image PROFILE=youhua_wr1200js PACKAGES="luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn"
这个命令不是在原包基础上再增加luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn吗?
应该怎么写?
是将Default Packages+youhua_wr1200js默认包+需要增加的包?

make info 命令,看到如下信息:

Current Target: "ramips/mt7621"
Current Revision: "r12896-5d7812495b"
Default Packages: base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd urandom-seed urngd kmod-leds-gpio kmod-gpio-button-hotplug dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall odhcpd-ipv6only odhcp6c kmod-ipt-offload
Available Profiles:

Default:
    Default Profile
    Packages: kmod-usb3 kmod-usb-ledtrig-usbport
    hasImageMetadata: 0

...
youhua_wr1200js:
    YouHua WR1200JS
    Packages: kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic iwinfo
    hasImageMetadata: 1
    SupportedDevices: youhua,wr1200js
...

编译命令应该是:
make image PROFILE=youhua_wr1200js PACKAGES="base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd urandom-seed urngd kmod-leds-gpio kmod-gpio-button-hotplug dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall odhcpd-ipv6only odhcp6c kmod-ipt-offload kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic iwinfo luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn"

是吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-13 13:37 | 显示全部楼层



  1. make image PROFILE=youhua_wr1200js PACKAGES="luci luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn luci-i18n-opkg-zh-cn"
复制代码


点评

好的。谢谢。按照你提供的命令行,这次编译的能够打开 192.168.1.1管理界面  详情 回复 发表于 2020-4-13 14:54
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-4-13 14:54 | 显示全部楼层

好的。谢谢。按照你提供的命令行,这次编译的能够打开 192.168.1.1管理界面
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-28 23:07

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表