Posted: Tue Jan 24, 2012 23:55 Post subject: Re: Agree
vijayadik wrote:
Yup. KingJL.
The lib seems to be out of date totally. eg., whiterussian was last updated on 2007. Is it affecting only the Atheros or it affects other HW also ?
Is there a way to bring this upto BS's attention or some other developer's attention?
I assume that he knows. I know that chris is aware. But, I don't think that there is any interest in a resolution. It would require that dd-wrt fall back to the toolchain and UlibC that is current on openwrt, or that openwrt move up to the version that dd-wrt is using, or that dd-wrt maintain a package repository built in sync with each build. I don't look for any of that to happen. Of course you can continually create tickets which will be answered as 'works for me" or "won't fix"!
Quote:
Or just a bad luck and wait for a few years, some one will resolve !!
I say again, if you wish to run optware packages and take advantage of the performance, memory, and storage available in the newer hardware, dd-wrt is currently the wrong choice! _________________ WRT54G V1.0, build 14853 VINT mini_USB_FTP, USB mod, pixelserv
Buffalo WZR-HP-AG300H build 17461, pixelserve
Buffalo WZR-HP-G300NH, OpenWrt (trunk build 29606), ath9k drivers, pixelserv
Ubiquiti Bullet M2, AirOS
Posted: Thu Feb 16, 2012 16:53 Post subject: Installing uShare on TL-WR1043ND
Hi Dynek,
Thanx a lot for your guide. I think I was able to successfully install optware. I am very new to dd-wrt and optware. After I finished your guide I tried to instal uShare. I used the following SSH command for this:
Now I am trying to startup the media server. I used this SSH command:
root@DD-WRT root $ /opt/etc/init.d/ushare start
/bin/sh: can't open /etc/rc.common
As you can see this did not work. A file called rc.common is needed but this is not present in any of my folders. What did I do wrong? How can I get uShare to work?
I dont know what I did wrong but I followed the guide to the letter but when i get to the update part I get this :
root@DD-WRT:~# opkg update
-sh: opkg: not found
What could I have done wrong?
Well I did all the steps again, and again, and on the third try it magically worked, I have no idea why! Thanks for the tutorial!
Posted: Tue Feb 21, 2012 15:47 Post subject: WZR-HP-G300NH2 setup verified to work as of today
Format USB as ext2, Ext3 will not work !!!
cd /mnt/discsda
mkdir etc opt root
touch optware.enable
chmod 755 etc opt root
mkdir opt/lib
chmod 755 opt/lib
cp -a /etc/* /mnt/discsda/etc/
mount -o bind /mnt/discsda/etc /etc
mount -o bind /mnt/discsda/opt /jffs
Needed to do this again cause JFFS problem
mount -o bind /mnt/discsda/opt /jffs
cat > /etc/opkg.conf << EOF
src/gz snapshots http://backfire.openwrt.org/10.03/ar71xx/packages
dest root /opt
dest ram /opt/tmp
lists_dir ext /opt/tmp/var/opkg-lists
EOF
Needed to do this again cause etc problem
mount -o bind /mnt/discsda/etc /etc
TEST IF WORKING
umount /jffs
mount -o bind /mnt/discsda/root /tmp/root
mount -o bind /mnt/discsda/opt /opt
export LD_LIBRARY_PATH='/opt/lib:/opt/usr/lib:/lib:/usr/lib'
opkg update
6. Set the startup script to make the changes take effect each time upon reboot
Under DD-WRT’s web interface, Administration->Commands, input the following commands in the window then click "Save Startup":
#!/bin/sh
sleep 10
if [ -f /mnt/discsda/optware.enable ]; then
mount -o bind /mnt/discsda/etc /etc
mount -o bind /mnt/discsda/root /tmp/root
mount -o bind /mnt/discsda/opt /opt
else
exit
fi
if [ -d /opt/usr ]; then
export LD_LIBRARY_PATH='/opt/lib:/opt/usr/lib:/lib:/usr/lib'
export PATH='/opt/bin:/opt/usr/bin:/opt/sbin:/opt/usr/sbin:/bin:/sbin:/usr/sbin:/usr/bin'
else
exit
fi
Note that some users have reported issues that they were able to fix by making the script sleep 10 seconds instead of 5.
7. Modification of the profile file
SSH into your box then copy/paste the commands below to PuTTY window to create a script running each time when user root logins:
I type transmission-daemon, no error.After 10 secs,I type killall transmission-daemon oops the PUTTY show me killall: transmission-daemon: no process killed
Of course /mnt/root/.config/transmission-daemon/settings.json is not exist!
I tried several times, same result. I'm confused.Could you or anyone else can help me!Thank you very much!
Hello all,
I have been trying to configure optware on my DIR-825 (Using 18024) I have followed the instructions carefully, and everything has installed correctly, however after install, I cannot run many applications. They all segfault
Code:
BusyBox v1.19.3 (2011-12-20 08:22:04 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
I have discovered that the offending file is part of libc. When I remove the files from /opt/lib that conflict with /lib , things return to a degree of normality. However I cannot run many applications. For example, stunnel crashes with;
Code:
"stunnel: can't resolve symbol 'atexit' in lib 'stunnel'."
Is there a solution to this problem? What has changed in the firmware to make this stop working?
Thanks for any help, I need stunnel as part of a university project and the sooner I can get things working, the better!
Posted: Thu Mar 01, 2012 11:00 Post subject: Re: [Howto] Install Optware on Atheros units (such as WNDR37
I encounter exactly the same issue on my HP-G300NH. Thought it was due to JFFS enabled, so disabled it, cleaned JFFS, even restore the router to factory default, and then reinstall, but still the same. Run transmission-daemon -f, and got segamentation fault.
I type transmission-daemon, no error.After 10 secs,I type killall transmission-daemon oops the PUTTY show me killall: transmission-daemon: no process killed
Of course /mnt/root/.config/transmission-daemon/settings.json is not exist!
I tried several times, same result. I'm confused.Could you or anyone else can help me!Thank you very much!
Joined: 28 Jan 2012 Posts: 7 Location: Ulm, Germany
Posted: Sun Mar 18, 2012 13:46 Post subject:
dynek wrote:
I have updated my first post so that it reflects what I see on my WNDR3700 (sda_part1).
However I still have the damn Segmentation fault when running busybox sh.
Been trying to fight with segfault for quite a long time and then I found a solution: if you're using one of the latest snapshots (from 2011 or 2012) then you have to replace
I can´t install optware using this tutorial on a tp-link 1043nd (v1. and DD-WRT build v24-sp2 (08/07/10) std - build 14896.
If I run ipkg install libc_0.9.30.1-43.29_ar71xx.ipk opkg_576-2_ar71xx.ipk
, I get this
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
Is there a way to solve it, or should I install openwrt in order to use samba shares with my router?