Posted: Tue Oct 22, 2013 14:36 Post subject: Re: Fix libc dependency issues
I know this is dragging something up from the but I've had this issue since upgrading to A_A 12.09 (DD-WRT v24-sp2 (03/25/13), had to put the keyboard down, walk outside silently and have a cigarette to get over the stupidity of it :-/ In this case I can only show my Atheros based unit as I;'m not at the office but...
Luckily I managed to fix it without any messing about with /etc configs etc.... Here's some of my terminal OP (the first few bits was a bit of diag/messing about, the last bit did the trick in a shot):
Code:
Connecting to downloads.openwrt.org (78.24.191.177:80)
libc_0.9.33.2-1_ar71 100% ø***********************************************************************************************************************************************************************************************************ø 219k 0:00:00 ETA
root@DD-WRT root $ ipkg upgrade libc_0.9.33.2-1_ar71xx.ipk
ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/non-free
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/backports
You probably want to run `ipkg update'
Package libc_0.9.33.2-1_ar71xx.ipk does not appear to be installed
Code:
root@DD-WRT root $ ipkg install libc_0.9.33.2-1_ar71xx.ipk
ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/non-free
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/backports
You probably want to run `ipkg update'
/bin/ipkg: line 1184: sort: not found
root@DD-WRT root $ ipkg update
The next made a mess of my libs directory! So I factory flashed 30/30/30 and started from scratch:
Code:
root@DD-WRT root $ ipkg install --force libc_0.9.33.2-1_ar71xx.ipk
ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/non-free
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/backports
You probably want to run `ipkg update'
/bin/ipkg: line 1184: sort: not found
/bin/ipkg: line 1184: can't open /jffs//usr/local/lib/ipkg/status: no such file
/bin/ipkg: line 1184: can't create /jffs//usr/local/lib/ipkg/status: nonexistent directory
/bin/ipkg: line 1184: can't create /jffs//usr/local/lib/ipkg/status: nonexistent directory
ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/non-free
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/backports
You probably want to run `ipkg update'
ipkg_get_install: ERROR: Cannot find package --force in //usr/local/lib/ipkg/lists
ipkg_get_install: Check the spelling and maybe run `ipkg update'.
/bin/ipkg: line 1184: can't open /jffs//usr/local/lib/ipkg/status: no such file
ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/non-free
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/backports
You probably want to run `ipkg update'
/bin/ipkg: line 1184: sort: not found
First thing I usually do is install nano or vim, in this case it was a libc check as vi is already included:
Code:
root@DD-WRT root $ opkg install nano
Installing nano (2.2.6-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/nano_2.2.6-1_ar71xx.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for nano:
* libc * libc * libc *
* opkg_install_cmd: Cannot install package nano.
...sat and thought about what that * is....
Decided to take a pot-shot to see if it made a difference:
Posted: Wed Oct 23, 2013 23:06 Post subject: Can not install Optware on TP-Link 1043nd v1.11
I have followed every guide that I could find and can not install optware at all. Every time I get to the section that states: opkg update. I get 'opkg not found'. I am running the latest firmware (r22118). Any help would be appreciated.
I have a WDR4900 that is not ar71xx (like the WNDR3700), but rather uses FreeScale MPC8343 as reported by DD-WRT. It's listed as being of the mpcC85xx variety on the OpenWRT website, which strikes me as a potential pitfall.
What are my options as far as getting Optware installed?
—that I would've thought should work for my setup. But I keep getting the same error:
Quote:
ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/non-free
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/backports
You probably want to run `ipkg update'
/bin/ipkg: line 1184: sort: not found
I don't know what to do.
"ipkg update" doesn't return anything. No error messages at all.
Hy !
I (hardly) manage to install opkg on my TL-WDR4900 with the Freescale CPU ... here are the steps I followed :
1 - Connect thought GUI,
activate Core USB support and select "Automatic Drive Mount"
reboot your router.
After the reboot go to the same menu and scroll "Disk Mount Point" to "/mnt"
reboot your router
After the reboot go to the same menu, you should see your disk "Disk Info"
to verify , connect thougt SSH and type "mount" you should have something like that :
/dev/sda1 on /tmp/mnt/sda_part1 type ext2 (rw,relatime,errors=continue,user_xattr)
2 - Create opkg directories and mount it
Thought SSH execute :
Code:
cd /mnt/sda_part1
mkdir -p etc opt/lib root
touch optware.enable
chmod -R 755 .
cp -a /etc/* /mnt/sda_part1/etc/
mount -o bind /mnt/sda_part1/etc /etc
mount -o bind /mnt/sda_part1/opt /opt
mount -o bind /mnt/sda_part1/root /tmp/root
3 - Connect thought SSH an Wget the first two packages
I am running:
Firmware: DD-WRT v24-sp2 (07/24/13) std
There is no option to Set Disk Mount Point to /mnt
only:
Mount this Partition to /jffs [ ] UUID
Mount this Partition to /opt [ ] UUID
I have set the UUID of my USB drive to the /opt
and it gives me this:
--- /dev/sda1
Block device, size 7.455 GiB (8004288512 bytes)
Ext2 file system
Volume name "USB1"
UUID E928E37D-BE83-89A5-3C65-0EDC86F83CD3 (NCS)
Volume size 7.455 GiB (8004288512 bytes, 7816688 blocks of 1 KiB)
/dev/sda1 mounted to /opt
I ran through all the steps but when I reboot the directories that I have created no longer exist. I suspect this is falling down because of the first step.
How do I adjust this walkthrough for these options?
I am running:
Firmware: DD-WRT v24-sp2 (07/24/13) std
I ran through all the steps but when I reboot the directories that I have created no longer exist. I suspect this is falling down because of the first step.
How do I adjust this walkthrough for these options?
I ran into the same problem, it seemed to me that although the webinterface says the disk is mounted it in reality is not, the installation steps run without errors. I had to put a "insmod ext2" in the startup before installation to keep the data after reboot.
Only fat usb got mounted without issues, but optware will not work form fat. (ext3 and ext4 also did not mount.)
I ran into the same problem, it seemed to me that although the webinterface says the disk is mounted it in reality is not, the installation steps run without errors. I had to put a "insmod ext2" in the startup before installation to keep the data after reboot.
Only fat usb got mounted without issues, but optware will not work form fat. (ext3 and ext4 also did not mount.)
You will have to bear with me as I am both a dd-wrt and *nix noob.
Where exactly did you have to put this command and did it solve your problem in the end?
Well i am not very skilled with linux too but i loaded the module at the commandline (insmod ext2) before i put the usb stick in and did the whole procedure.
Then at step 6:
6. Set the startup script to make the changes take effect each time upon reboot
I edited the script and added the the (insmod ext2) command right below #!/bin/sh
Ok, so I have the WR1043ND running 22118, and I need help from the real pros here.
I have tried this tutorial and a few others that I have found online and they all end the same. I get everything installed and "working" but the opkg update command fails.
I suspect that opkg cannot connect to the internet (pinging google fails) because in my network setup, my router receives internet from LAN port, not WAN port.
What do I need to change to allow opkg internet access?
Try this:
Go to setup/basic setup
In Network setup, Router IP, set your main router's ip as the gateway
Now I also ran into an error that might have been my fault as I seemed to have to follow the instructions from page one and page 24/25, but I had to rename the file names because an error was saying something about invalid characters (the _ characters), but I don't know why.