Comments (8)
谢谢反馈. 这种情况下, 先不要点击"重试"或者"退出", 以便保留构建了一半的虚拟机.
然后确认本地网络能打开"mirrors.tuna.tsinghua.edu.cn/openwrt", 不行再说
如果访问没问题, 接着用命令"ssh [email protected]"及密码"root"登录虚拟机.
然后:
- 执行
cat /etc/opkg/distfeeds.conf
, 看看是不是清华源: mirrors.tuna.tsinghua.edu.cn/openwrt. - 如果是, 执行
opkg update
opkg remove dnsmasq
opkg install dnsmasq-full ipset openssh-sftp-server libopenssl rng-tools
/etc/init.d/dropbear restart
把执行情况贴上来看看
from vrouter.
root@OpenWrt:~# cat /etc/opkg/distfeeds.conf
src/gz chaos_calmer_base http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/base
src/gz chaos_calmer_luci http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/luci
src/gz chaos_calmer_packages http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/packages
src/gz chaos_calmer_routing http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/routing
src/gz chaos_calmer_telephony http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/telephony
src/gz chaos_calmer_management http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/management
root@OpenWrt:~# opkg update
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/base/Packages.gz.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/base/Packages.sig.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Signature check failed.
Remove wrong Signature file.
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/luci/Packages.gz.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/luci/Packages.sig.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Signature check failed.
Remove wrong Signature file.
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/packages/Packages.gz.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/packages/Packages.sig.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Signature check failed.
Remove wrong Signature file.
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/routing/Packages.gz.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/routing/Packages.sig.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Signature check failed.
Remove wrong Signature file.
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/telephony/Packages.gz.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/telephony/Packages.sig.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Signature check failed.
Remove wrong Signature file.
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/management/Packages.gz.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Downloading http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/management/Packages.sig.
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
Signature check failed.
Remove wrong Signature file.
Collected errors:
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/base/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/base/Packages.sig, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/luci/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/luci/Packages.sig, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/packages/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/packages/Packages.sig, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/routing/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/routing/Packages.sig, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/telephony/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/telephony/Packages.sig, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/management/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://mirrors.tuna.tsinghua.edu.cn/openwrt/chaos_calmer/15.05.1/x86/64/packages/management/Packages.sig, wget returned 1.
from vrouter.
用chrome能访问mirrors.tuna.tsinghua.edu.cn/openwrt吗?
如果能, 在虚拟机里执行ifconfig
, 把结果贴上来
from vrouter.
问题可能在于虚拟机没能连上网络
from vrouter.
macOS 的 Chrome 可以访问 mirrors.tuna.tsinghua.edu.cn/openwrt
root@OpenWrt:~# wget mirrors.tuna.tsinghua.edu.cn/openwrt
wget: bad address 'mirrors.tuna.tsinghua.edu.cn'
root@OpenWrt:~# ifconfig
br-lan Link encap:Ethernet HWaddr 08:00:27:3F:ED:83
inet addr:10.19.28.37 Bcast:10.19.28.255 Mask:255.255.255.0
inet6 addr: fd5a:293b:a7b9::1/60 Scope:Global
inet6 addr: fe80::a00:27ff:fe3f:ed83/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:129 errors:0 dropped:0 overruns:0 frame:0
TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13498 (13.1 KiB) TX bytes:14568 (14.2 KiB)
eth0 Link encap:Ethernet HWaddr 08:00:27:3F:ED:83
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:134 errors:0 dropped:0 overruns:0 frame:0
TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15739 (15.3 KiB) TX bytes:15416 (15.0 KiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:76:2D:FD
inet6 addr: fe80::a00:27ff:fe76:2dfd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1038 (1.0 KiB) TX bytes:12078 (11.7 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:252 errors:0 dropped:0 overruns:0 frame:0
TX packets:252 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18072 (17.6 KiB) TX bytes:18072 (17.6 KiB)
from vrouter.
vrouter没能从路由器获取ip, 请检查是否在路由器打开了dhcp.
正常的eth1:
eth1 Link encap:Ethernet HWaddr 08:00:27:96:0D:3D
inet addr:192.168.10.17 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe96:d3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:71385381 errors:0 dropped:0 overruns:0 frame:0
TX packets:15135027 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:96452607046 (89.8 GiB) TX bytes:3185143788 (2.9 GiB)
from vrouter.
公司的网络, macOS 上显示以下信息, 应该是没问题的吧?
→ ipconfig getpacket en0
op = BOOTREPLY
htype = 1
flags = 0
hlen = 6
hops = 0
xid = 0xe812ca40
secs = 0
ciaddr = 0.0.0.0
yiaddr = 192.168.50.46
siaddr = 192.168.50.1
giaddr = 0.0.0.0
chaddr = 98:1:a7:92:e1:6d
sname =
file =
options:
Options count is 7
dhcp_message_type (uint8): ACK 0x5
server_identifier (ip): 192.168.50.1
lease_time (uint32): 0x3840
subnet_mask (ip): 255.255.254.0
router (ip_mult): {192.168.50.1}
domain_name_server (ip_mult): {192.168.50.1, 186.168.254.8, 119.29.29.29}
end (none):
from vrouter.
公司的网络可能和mac地址绑定了
from vrouter.
Related Issues (20)
- Vrouter 在 VirtualBox 5.2.2 版本下 无法 正常使用,会提示 未能安装必要软件包 HOT 10
- 使用Qemu的可行性
- 请问up 主,怎么做到开机自启呢?
- 麻烦请教 up 主, 想更新 ssr 怎么办呢?目前版本测试没有 auth_chain_a HOT 2
- 启动错误
- Error: Timed out while waiting for handshake
- 无法启用 HOT 1
- 出现错误,请问有办法解决么 HOT 6
- 0.4.2 版本启动失败 HOT 1
- At least electron-updater 2.18.2 is required by current electron-builder version HOT 1
- 第一次打开虚拟机很慢,但是只等待30秒。 HOT 1
- 在Mac上,休眠后重新唤醒后,透明代理无法自动恢复,必须手动“暂停”再“启用” HOT 2
- 下载必要软件包时提示构建错误
- 关于编译的问题建议
- 黑名单列表不生效
- 关于你说的kone
- MacOS 上智能分流更好的方案
- 支持HyperV
- 建议开发docker支持 HOT 2
- 能否支持局域网内透明代理?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vrouter.