Openwrt Barrier Breaker 14.07 how to install sftp

I want to install sftp server and client
I use tp-link tl-wa901nd v3 please I new advice or something please
50309863_539632363200784_1991857268966031360_n

I don't think you're likely to get much help here for 14.07 -- Barrier Breaker is VERY old and has multiple security vulnerabilities. The repositories may be broken and are certainly not maintained, and things may even operate differently on these older versions than they do currently, so people just may not really remember the implementation details.

Instead, it is highly recommended that you update to something more recent. Technically it looks like your router is supported by the latest 18.06, but since you are using a 4/32 device, you'd be best off with 17.01 instead.

2 Likes

Your URLs look malformed. Why are there two forward slashes before the Packages.gz for each entry?

http://archive.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/Packages.gz
That’s the proper link for one of them.

@lantis1008 Linux ignores double forward slashes. That's not the issue at hand here. You might even put three, four, five, ... ; it treats them as one.

@codeanon What's happening here is opkg does not support HTTPS, and i think {archive-,}openwrt.org is HTTPS only. You'd have to download the package manually from your browser (use /tmp as your destination!), scp it over to your router, SSH in and install it manually.

No, you can use plain HTTP:

$ curl -v http://archive.openwrt.org/
*   Trying 2001:470:2030:2::3...
* TCP_NODELAY set
* Connected to archive.openwrt.org (2001:470:2030:2::3) port 80 (#0)
> GET / HTTP/1.1
> Host: archive.openwrt.org
> User-Agent: curl/7.61.1
> Accept: */*
> 
< HTTP/1.1 200 OK
< Server: nginx
< Date: Sun, 20 Jan 2019 10:11:53 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
< 
<!-- This directory index page generated on the fly by dir-index.cgi -->
...
1 Like

OK. Either way, wget doesn't seem to fall back to plain HTTP. I don't know if the busybox implementation is supposed to.

wget: not an http or ftp url

you need to change the url from https to http first

check the contents of /etc/opkg/distfeeds.conf

Or if your using luci look under
system->software->configuration(TAB)->distribution feeds(SECTION)

1 Like

capture-20190121-065002
change https to http but ....

reboot
rm -f /var/lock/opkg.lock
opkg update

how to use /tmp can you explain to me or Do you have an example?

I do it but wget:bad address archive.openwrt.org all the time but thank for the help TT

nslookup archive.openwrt.org
nslookup archive.openwrt.org 8.8.8.8
ping -c3 archive.openwrt.org

name or service not known

At this point, you'd be better off updating to 17.01.6 rather than spending more time troubleshooting this ancient installation.

It seems there's no internet connectivity.

Oh how can I fix it ? someone have another url please TT

check if there is internet first
ping -c 3 8.8.8.8

Post the contents of /etc/config/network and /etc/config/firewall for a start. But as soon as you get internet connection up and running it's advised to upgrade to a more modern version.

capture-20190122-075200

Thank you now I can install sftp now I think because I set something wrong .

Please update to 17.01.6