I can't connect to the Internet October 21, 2017 05:58PM |
Registered: 6 years ago Posts: 8 |
Quote
cp /etc/config/network /etc/config/network.backup
uci set network.wan=interface
uci set network.wan.ifname=$( uci get network.lan.ifname )
uci set network.wan.macaddr=$( uci get network.lan.macaddr ) ## this line is needed at VoCore
uci set network.wan.proto=dhcp
uci del network.lan.ifname
uci commit
Quote
root@************:~# uci commit
uci: Invalid argument
Quote
root@***:~# /etc/init.d/piratebox nodns
root@***:~# ping alisezisli.com.tr
PING alisezisli.com.tr (5.2.87.131): 56 data bytes
64 bytes from 5.2.87.131: seq=0 ttl=56 time=7.926 ms
64 bytes from 5.2.87.131: seq=1 ttl=55 time=8.162 ms
64 bytes from 5.2.87.131: seq=2 ttl=56 time=8.550 ms
64 bytes from 5.2.87.131: seq=3 ttl=56 time=8.317 ms
64 bytes from 5.2.87.131: seq=4 ttl=56 time=8.072 ms
^C
--- alisezisli.com.tr ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 7.926/8.205/8.550 ms
Quote
root@***:~# opkg update
Downloading [downloads.openwrt.org].
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading [stable.openwrt.piratebox.de].
Updated list of available packages in /var/opkg-lists/piratebox.
root@***:~# opkg install nano
Installing nano (2.2.6-1) to root...
Downloading [downloads.openwrt.org].
wget: bad address 'downloads.openwrt.org'
Collected errors:
* opkg_download: Failed to download [downloads.openwrt.org], wget returned 1.
* opkg_install_pkg: Failed to download nano. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package nano.
root@***:~# opkg update
Downloading [downloads.openwrt.org].
wget: bad address 'downloads.openwrt.org'
Downloading [stable.openwrt.piratebox.de].
^C
Re: I can't connect to the Internet October 21, 2017 06:46PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: I can't connect to the Internet October 21, 2017 07:00PM |
Registered: 6 years ago Posts: 8 |
Re: I can't connect to the Internet October 22, 2017 07:05AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: I can't connect to the Internet October 22, 2017 09:11AM |
Registered: 6 years ago Posts: 8 |
Re: I can't connect to the Internet October 22, 2017 12:15PM |
Admin Registered: 13 years ago Posts: 4,680 |
uci commit networkDo not use the complete path to the configuration file.