I tried to update my Archer C25 to the current version. Right now I use r6727-38bd4e4, which I installed a year ago, and I think is a beta/developer-version - trying to config my device as an repeater - but I gave up, cause of a not very intuitive UI/luci. (Why not developing luci with "easy-intuitive-mode" & "advanced-mode"?)
Well, now I wanted to give it a try again. Forgot my PW, made a reset, logon via SSH - works.
Connected the Archer-C25 to the WAN-port of my main-router, for internet-connection.
ping 188.8.131.52 (google nameserver) - works
ping google.com - fail
OK - nameserver.... must be resolv.conf - right? Changed to my main-router IP as local DNS.
ping google.com - fail
Well - that means I can not update the system and not install and enable lucy.
Any hints appreciated!
set dns under network > interfaces > EDIT > dns and gateway
echo "nameserver 184.108.40.206" > /etc/resolv..conf
route del default
route add default gw x.x.x.x
If you or wulfy23 doesn't catch it, I believe that should be
echo "nameserver 220.127.116.11" > /etc/resolv.conf
(with a single period in
uci show network; uci show dhcp; ls -l /etc/resolv.* /tmp/resolv.*; head -n -0 /etc/resolv.* /tmp/resolv.*
What is the output of these commands?
Because LuCI itself is the easy mode. Advanced people here use SSH.
root@OpenWrt:~# uci show network
root@OpenWrt:~# uci show dhcp
root@OpenWrt:~# ls -l /etc/resolv.* /tmp/resolv.*
lrwxrwxrwx 1 root root 16 Apr 19 17:15 /etc/resolv.conf -> /tmp/resolv.conf
-rw-r--r-- 1 root root 19 Apr 19 17:26 /tmp/resolv.conf
-rw-r--r-- 1 root root 56 Apr 19 17:23 /tmp/resolv.conf.auto
root@OpenWrt:~# head -n -0 /etc/resolv.* /tmp/resolv.*
==> /etc/resolv.conf <==
==> /tmp/resolv.conf <==
==> /tmp/resolv.conf.auto <==
# Interface wan
resolv.conf seems to be overwritten - after a few seconds/minute or after reboot it´s back to 127.0.0.1
While i can ping 18.104.22.168 i still can not opkg update
opkg update - works!
now I will try to install lucy and - again again - try to config the system as an repeater...
Luci would not install:
root@OpenWrt:~# opkg install luci
Installing luci (git-19.102.63814-0c7031b-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/ luci_git-19.102.63814-0c7031b-1_all.ipk
Installing libubox20170601 (2019-02-27-eeef7b50-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/base/ libubox20170601_2019-02-27-eeef7b50-1_mips_24kc.ipk
* check_data_file_clashes: Package libubox20170601 wants to install file /lib/l ibubox.so
But that file is already provided by package * libubox
* opkg_install_cmd: Cannot install package luci.
@olectrix Please use "Preformatted text </>" for logs, scripts, configs and general console output.
Please edit your postings accordingly.
I think you'll have to revisit intent A to achieve intent B
Could you explain your reply?
I feel I´m stuck here now. My intention was to get lucy running, download the newest firmware and upgrade the firmware with lucy... so that I finally would be able to do this repeater-thing...
good... i was a little confused....
thought you had forgot about the need to run an official/stable/more current release
wget http://downloads.openwrt.org/releases/18.06.2/targets/ar71xx/generic/openwrt-18.06.2-ar71xx-generic-archer-c25-v1-squashfs-sysupgrade.bin -O /tmp/sys.bin
sysupgrade -F -n /tmp/sys.bin
The snapshot system doesn't keep old versions of the packages on file. When using snapshots you have to download all the packages you need on the same day the firmware was built to ensure version compatibility.
So you'll have to upgrade with the CLI. If the router is connected to the Internet, this is a two-step process that is done almost completely on the router and only requires a SSH terminal from your PC.
- Download the new firmware to the /tmp directory. /tmp is a RAM disk which has enough space to store a complete firmware.
- Run the
sysupgrade program to flash the firmware.
The first step is done with the program wget ("Web Get") which can download a file from a web server without being a full browser. On your PC, look up the downloads page for the new firmware. Right click on the correct one and copy the URL. On the SSH terminal, cd /tmp then type wget and a space then copy the URL into the terminal. Edit this line to change the https to http. Then press enter and the router should connect to the OpenWrt server and fetch the file.
Optionally you can run
sha256sum on the file and check the result against the posted value to make sure you have a good download. Rather than retype the whole file name, type 'open' and press the Tab key and it should autocomplete.
Double check that you downloaded the correct file for your hardware and it is a sysupgrade not factory build.
sysupgrade -n with the file name. The -n option is the same as checking "do not save settings" in LuCI. This is recommended when the new version is considerably different from the old one.
The flashing will commence. Wait for several minutes for the install to complete. The new firmware can be accessed with ssh at 192.168.1.1.
Thnk you all - the Archer25 is upgraded to the last version, luci runs by default...
Now to the configuration as repeater..
Is there any "easy" way to do this configuration? I find luci not very intuitive, compared to commercial router-UIs... as far as I can see there´s nothing like a "reapeater-setting" in luci... (that´s why I would appreciate an "easy & advaced-mode")
What to do now to "easy" repeat/expand my wifi-network?
You might find the travelmate package helpful