I have just bought a NetGear EX3700 and installed snapshot version of Openwrt, the flash was sucessful, but can´t install luci, makind the router useless, here I post the log of the problem:
login as: root
BusyBox v1.29.3 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r8284-212aa33
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7620/packages/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.openwrt.org/snapshots/targets/ramips/mt7620/packages/Packages.gz
Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7620/kmods/4.14.74-1-07adef10283aff998cdc411ef754b152/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.openwrt.org/snapshots/targets/ramips/mt7620/kmods/4.14.74-1-07adef10283aff998cdc411ef754b152/Packages.gz
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
Failed to establish connection
*** Failed to download the package list from http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/targets/ramips/mt7620/packages/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/targets/ramips/mt7620/kmods/4.14.74-1-07adef10283aff998cdc411ef754b152/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
I'm using a Windows 8,1 machine and my internet connection is being made by WIFI, btw as soon as I connect Ethernet cable my internet connection dies, what am I doing wrong?
Is it possible to revert to stock firmware using putty?
I don't recall, but I suspect that setting a root password may "magically" resolve your issues.
Looks like you don't have an "upstream" connection of any type. Knowing your ISP and connectivity and what you've configured past "defaults" would be helpful.
Please define a root password... if you first login with your terminal, it should pop up and ask you to set a root pw....then....you can edit other relevant settings and fix the problem....
Look your protocoll please, it says:
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
That wget error message pretty much tells the essential. You have somehow wrong network configuration and the router itself has no internet connectivity.
mbo2o, I reckon you must be a linux expert or close to that.
I should rename the bin file for my router to "openwrt-sysupgrade.bin", and let's suppose the bin file is stored on my "C:\Bin" folder on my hard disk as an example, how does putty identifies the path of the file to copy it to internal memory of the router?
If your using Putty on windows you also have scp command, you need to open a windows command prompt (cmd.exe) and run the scp commnd in the previous post from C:\Bin for example.
pscp -scp openwrt.bin root@192.168.1.1:/tmp/
Sorry ( the screenshot below is from openSSH ) which I didn't realise was part of windows 10 until just now.
I don't know what has happened for not downloading anything, but one thing I notice, as soon as I plug my ethernet cable to my laptop internet just dies, but it doesn't always happens, tried to bridge Ethernet with Wifi, also the same doesn't do nothing.
I guess best solution is to upgrade offline to a firmware with luci embedded.
Failed to download …
This “famous” wget 4 error in opkg is just a general error from wget that says that your network settings are wrong, see wget manual. It has almost nothing to do with opkg itself.
Solution: Check your network settings and get your internet access up and running, then it should work.
ssh 192.168.1.1 root root
edit etc/config/network similar to this
config interface 'lan'
option type 'bridge'
option ifname 'eth0 eth0.1 eth0.2'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60' option gateway '192.168.1.1' > my router is 192.168.1.1 option dns '192.168.1.1 8.8.8.8
option ipaddr '192.168.2.251' > for me i have changed with this
or test:with uci command uci set network.lan.dns=8.8.8.8
uci commit network
reboot
after opkg update
opkg iinstall luci
if i have a little time i can compile for you a firmware with LUCI
/root/tmp/1.bin is not /tmp/, the former would be on your flash, which is obviously too small to hold both the running and the new firmware, the later is in RAM (tmpfs), which should be big enough.