Joined: 06 Feb 2010 Posts: 7401 Location: Little Rock
Posted: Sun Jul 07, 2013 17:37 Post subject:
rebelldersonne wrote:
Thanks for this newbie-friendly tutorial!
Now, I wanted to install minidlna on my WNDR3700 because the DLNA-function from Netgear is driving me crazy... But I get the error
Code:
-sh: opkg: not found
I think this is because my router doesn't "recognize" the WAN-connection. It is connected to modem-router which is the DHCP-server and connected to the LAN-1-port of my Netgear. Is there a way to download the package and copy it on the Netgear or to get the Netgear "recognizing" the Internet connection?
Now I got to manage everything and the opkg update works, BUT, when I want to reinstall libc with opkg (because I want to use miniDLNA), I get:
Code:
@DD-WRT:/tmp# opkg install libc_0.9.33.2-1_ar71xx.ipk
Installing libc (0.9.33.2-1) to root...
Configuring libc.
Collected errors:
* extract_archive: Cannot create symlink from ./lib/libm.so.0 to 'libm-0.9.33.2.so': Operation not permitted.
* extract_archive: Cannot create symlink from ./lib/libcrypt.so.0 to 'libcrypt-0.9.33.2.so': Operation not permitted.
* extract_archive: Cannot create symlink from ./lib/libc.so.0 to 'libuClibc-0.9.33.2.so': Operation not permitted.
* extract_archive: Cannot create symlink from ./lib/libdl.so.0 to 'libdl-0.9.33.2.so': Operation not permitted.
* extract_archive: Cannot create symlink from ./lib/libutil.so.0 to 'libutil-0.9.33.2.so': Operation not permitted.
* extract_archive: Cannot create symlink from ./lib/ld-uClibc.so.0 to 'ld-uClibc-0.9.33.2.so': Operation not permitted.
All I just did was
Code:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libc_0.9.33.2-1_ar71xx.ipk
opkg install libc_0.9.33.2-1_ar71xx.ipk
Furthermore, I have the login-issue a few guys mentioned earlier in this thread and I can't fix it - I don't know how they did.
So, when I reboot after this tutorial, I can't SSH into the router.
buddee wrote:
which build # of dd-wrt are you using?
I'm using
DD-WRT v24-sp2 (05/27/13) std
(SVN revision 21676)
on a Netgear WNDR3700 (v1)...
Posted: Sat Jul 13, 2013 15:13 Post subject: Minidlna Segmentation Fault
I am getting a Segmentation Fault when trying to launch Minidlna. I am using build 16994 on a WNDR3700. I have tried other builds randomly higher from the 16994 build, but they either have the SSH issue, the missing wireless tab issue or the LED issue.
What build will work best with the router and minidlna and has the least amount of issues? I was using the v.24 stable build but was having problems with the SMB server.
Posted: Sat Jul 20, 2013 20:25 Post subject: File System is Read Only
Greetings.
I am following the directions in the OP. But when I attempt to create the directories I get,
mkdir: can't create directory '/sda_part1': Read-only file system File System is Read Only.
I have my designated drive mounted to /opt and am trying to install Optware.
However, whenever i get to the install stage (and the install files have been downloaded), I get the following error(s):
Quote:
root@XXXXXXX:/tmp# ipkg install libc_0.9.33.2-1_ar71xx.ipk opkg_618-3_ar71
xx.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@XXXXXXX:/tmp#
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.
Note I was not able to install the new libc package using ipkg. I had to download the file to the router and install using opkg.
Credd144: You are a life saver, I followed the initial instructions in the opening post and could not get anything to install after that due to this same libc error. The main reason I wanted to get this working in the first place was the included busybox on my Buffalo WZR-HP-G300NH2 did not have some often used commands (sort being one of them) so I needed to install a better busybox. Trouble was I seemed to be having a trouble that no one else (in the first 8-10 pages of this thread at least) seemed to have and I was about to give up figuring it was unique to my model. So very glad I did a search one more time with both the model number and libc as it would have been days before I'd have gotten to page 21 where your posting was found!
First of all, thank you guys for this topic, without this, I would never be able to install and configure DD-WRT with Optware on my WRT842ND.
I've done with: DD-WRT install, HDD with ext3 partition install, Optware install, transmission daemon+web install. Everíthing is working fine, wireless, NAS etc... except ONE THING:
I can't manage transmission to start automatically on each reboot!
I have an init.d script: /opt/etc/init.d/transmission
The script itself is working, I can see the sleep 150 command in ps, and also the file scripttest.txt is created. But transmission doesn't want to start this way.
The interesting part is when I execute transmission manually with the same command (like in the script), and it's working flawlessly!
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libc_0.9.33.2-1_ar71xx.ipk
wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/opkg_618-3_ar71xx.ipk
ipkg libc_0.9.33.2-1_ar71xx.ipk opkg_618-3_ar71xx.ipk
should have "install" after ipkg
mkdir /sda_part1 should be mkdir sda_part1
I have sda1 and sda2 in /dev not part 1 and part 2
In general, as of now this guide is not working for me. May be it is outdated now or I am just stupid.
Hi, I'm using Netgear WNDR3700v1 + latest dd-wrt 07-24-13-r22118. I would like to mount Flash Drive and install torrent client (transmission). I tried to do that using the guide I found on forum but it doesn't work at all. Could anybody help me by writing step by step instruction what should I put in command window in release r22118?
Hi, I'm using Netgear WNDR3700v1 + latest dd-wrt 07-24-13-r22118. I would like to mount Flash Drive and install torrent client (transmission). I tried to do that using the guide I found on forum but it doesn't work at all. Could anybody help me by writing step by step instruction what should I put in command window in release r22118?
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
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? _________________ WRT54GS v2.1
WRT54GL v1.1
TL-WR1043ND