[Howto] Install Optware on Atheros units (such as WNDR3700)

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3 ... 29, 30, 31
Author Message
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Thu May 05, 2016 20:55    Post subject: Updated links Reply with quote
Hello,
You can find libc from Chaos Calmer here: https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/

then just search for it on the page.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Sponsor
MoltenSolder
DD-WRT Novice


Joined: 10 May 2016
Posts: 3

PostPosted: Wed Jun 01, 2016 23:59    Post subject: Problem at step 5 Reply with quote
Hello - am new to DD-WRT - running 29621 for the past week and have successfully (I think!) altered the paths (shown below) to point to the new locations for download from OpenWrt of "libc" and "opkg" but if you take a look at the screen dump shown below

root@DD-WRT:~# cd /tmp
root@DD-WRT:/tmp# wget http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/libc_0.9.33.2-1_ar71xx.ipk
Connecting to downloads.openwrt.org (78.24.191.177:80)
libc_0.9.33.2-1_ar71 100% |*************************************************************************************************************| 209k 0:00:00 ETA
root@DD-WRT:/tmp# wget http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/opkg_9c97d5ecd795709c8584e972bfdf3aee3a5b846d-9_ar71xx.ipk
Connecting to downloads.openwrt.org (78.24.191.177:80)
opkg_9c97d5ecd795709 100% |********************************************************************************************************************| 59490 0:00:00 ETA
root@DD-WRT:/tmp# ipkg libc_0.9.33.2-1_ar71xx.ipk opkg_9c97d5ecd795709c8584e972bfdf3aee3a5b846d-9_ar71xx.ipk
ERROR: unknown sub-command `libc_0.9.33.2-1_ar71xx.ipk'
usage: ipkg [options...] sub-command [arguments...]

issuing the "ipkg" command line results in an error that is not listed in step 5 nor does it show any "Unpacking" or "Configuring" messages as shown in step 5 on page one of this thread.

Does any expert know where I have made an error OR how to work around this problem?

Also tried "ipkg install" command as in:-
root@DD-WRT:/tmp# ipkg install libc_0.9.33.2-1_ar71xx.ipk opkg_9c97d5ecd795709c8584e972bfdf3aee3a5b846d-9_ar71xx.ipk
ERROR: File not found: //usr/local/lib/ipkg/lists/barrier_breaker
You probably want to run `ipkg update'
mkdir: can't create directory '/jffs/tmp/': Read-only file system
root@DD-WRT:/tmp#

But as you can see got a different error this time of "file not found" also with a mysterious reference to "barrier breaker" INSTEAD of "chaos calmer" (if I got the paths correctly altered to point to "chaos calmer" version where is the "barrier breaker" version reference coming from?) - also the "ipkg install" looks like it tried to run a "mkdir" which failed as you can see.

Does anyone know how to resolve this? Help would be appreciated.
MoltenSolder
DD-WRT Novice


Joined: 10 May 2016
Posts: 3

PostPosted: Sat Jun 04, 2016 21:30    Post subject: Reply with quote
OK I made some adjustments to these instructions which got me to the end of the installation -Step 8- issued the "opkg update" command and then all the optware libraries scrolled past on screen as everything updated itself just fine! Laughing
juliushibert
DD-WRT Novice


Joined: 18 Jul 2010
Posts: 44

PostPosted: Sun Jul 24, 2016 16:23    Post subject: Reply with quote
I'm having no luck getting ipkg to work on my Buffalo WZR-HP-AG300H. Usually ipkg produces no results and when trying to install a specific package I get an unhelpful error:

Code:
ipkg install libc_0.9.33.2-1_ar71xx.ipk
ipkg_install_file: ERROR: File  not found

_________________
Buffalo WZR-HP-AG300H: DD-WRT v3.0-r32170 std (06/01/17)
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Sun Jul 24, 2016 19:53    Post subject: Optware Reply with quote
Hello,
You need to transfer the .ipk file to the router manually (using WinSCP or Filezilla), then cd to that location, then run that command. It can be done but it takes a fair bit of legwork.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
juliushibert
DD-WRT Novice


Joined: 18 Jul 2010
Posts: 44

PostPosted: Sun Jul 24, 2016 21:05    Post subject: Reply with quote
So I've transferred the packages to ~/ but I still get the same error.

Code:
root@bhib:~# cd ~/
root@bhib:~# ll
-rwxr-xr-x    1 root     root       16.4K Jul 22 00:09 coreutils-tee_8.23-1_ar71xx.ipk
-rwxr-xr-x    1 root     root       37.0K Jul 22 00:06 curl_7.49.0-1_ar71xx.ipk
-rwxr-xr-x    1 root     root      209.3K Jul 21 23:43 libc_0.9.33.2-1_ar71xx.ipk
-rwxr-xr-x    1 root     root       56.2K Jul 21 23:43 opkg_618-3_ar71xx.ipk
root@bhib:~# ipkg install ./libc_0.9.33.2-1_ar71xx.ipk
ipkg_install_file: ERROR: File  not found

_________________
Buffalo WZR-HP-AG300H: DD-WRT v3.0-r32170 std (06/01/17)
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Sun Jul 24, 2016 21:09    Post subject: RAM Reply with quote
Transfer them to /tmp

tmp is actually ram so it is cleared when the power is first turned on. Then type:
cd /tmp

then run the ipkg command.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
juliushibert
DD-WRT Novice


Joined: 18 Jul 2010
Posts: 44

PostPosted: Sun Jul 24, 2016 22:34    Post subject: Reply with quote
I've transfered them into /tmp but it still doesn't seem to be installing the packages via ipkg...

Code:
root@bhib:/tmp# ipkg install /tmp/libc_0.9.33.2-1_ar71xx.ipk /tmp/opkg_618-3_ar71xx.ipk
ipkg_install_file: ERROR: File  not found

_________________
Buffalo WZR-HP-AG300H: DD-WRT v3.0-r32170 std (06/01/17)
js1662
DD-WRT Guru


Joined: 23 Jul 2014
Posts: 1237
Location: BC, CA

PostPosted: Mon Jul 25, 2016 7:22    Post subject: Reply with quote
I suggest that you follow this guide instead: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=177532 as it was updated less than a month ago on 7/1/2016.
juliushibert
DD-WRT Novice


Joined: 18 Jul 2010
Posts: 44

PostPosted: Mon Jul 25, 2016 12:30    Post subject: Reply with quote
Thank you js1662. That guide worked a charm and now I can install packages via opkg.

I get the odd error about directory's not existing or being writable, but despite that the packages appear to install correctly. So I guess they're to be ignored for now.

_________________
Buffalo WZR-HP-AG300H: DD-WRT v3.0-r32170 std (06/01/17)
Goto page Previous  1, 2, 3 ... 29, 30, 31 Display posts from previous:    Page 31 of 31
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum