My way to install software packages on WZR-HP-G300NH

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4, 5  Next
Author Message
jarttu
DD-WRT Novice


Joined: 20 Feb 2010
Posts: 7

PostPosted: Mon Mar 01, 2010 19:34    Post subject: Re: transmission-daemon Reply with quote
mailman wrote:
jarttu wrote:
You can specify where transmission-daemon saves and looks for config files with the option "-g" when starting transmission:

transmission-daemon -g /mnt/hdd/some_folder

If the config files don't exist in the specified folder, they will be created with default settings. You may want to "killall transmission-daemon" and edit the settings file in your specified folder to match your preferences. Then start transmission-daemon again with the aforementioned command.


nice Smile
the problem about torrents are:
- how automount the hdd to /mnt on boot
- how launch export LD_LIBRARY_PATH=/jffs/lib:/jffs/usr/lib:/jffs/usr/local/lib on start
- how lanch transmission-daemon on start
- how share /mnt via samba
- how share /mnt via samba on boot

can anyone help me please?


dd-wrt webgui has a section where you can specify startup commands among other things. It's in Administration -> Commands I believe. There's a wiki page in the tutorial section labeled "USB storage" or something that contains information on how to automount. The same method might be used for your second and third problems.

I'm only just learning these things too so I can't yet help you with samba. Have you managed to get samba server (/etc/init.d/samba start) running atleast?
Sponsor
xanthin
DD-WRT Novice


Joined: 12 Mar 2010
Posts: 7

PostPosted: Tue Mar 16, 2010 10:42    Post subject: Reply with quote
"First you need compile openwrt and you can find lib or download my compile version.
copy their to /jffs/lib "

Luyi,

Where can I find your compiled version of the libs?

Thanks!
xanthin
DD-WRT Novice


Joined: 12 Mar 2010
Posts: 7

PostPosted: Tue Mar 16, 2010 10:43    Post subject: Reply with quote
Found them, never mind...
Thanks!
Smile
robik
DD-WRT Novice


Joined: 23 Mar 2010
Posts: 1

PostPosted: Tue Mar 23, 2010 20:15    Post subject: Reply with quote
xantin maybe you can give link?
xanthin
DD-WRT Novice


Joined: 12 Mar 2010
Posts: 7

PostPosted: Tue Mar 23, 2010 20:19    Post subject: Reply with quote
Once you logged in, it's in the first post by Luyi in this thread. Smile
Btw, I am using this on WRT160NL and it works fine too.
yzj
DD-WRT Novice


Joined: 22 Feb 2010
Posts: 2

PostPosted: Sun Mar 28, 2010 15:59    Post subject: Reply with quote
You could also install libc and libgcc first, then you needn't compile openwrt youself.
lenoxx
DD-WRT Novice


Joined: 30 Mar 2010
Posts: 6

PostPosted: Mon Apr 05, 2010 11:08    Post subject: Reply with quote
xanthin wrote:
Found them, never mind...
Thanks!
Smile


Hello Xanthin,
Where do you found these libs? Can you give a link please. I can not find it Embarassed
Lorthirk
DD-WRT Novice


Joined: 11 Apr 2010
Posts: 34

PostPosted: Sun Apr 11, 2010 11:02    Post subject: Reply with quote
When I try to copy your libs (to download them just register to this forum and login, you'll find the attached file) I get
Code:
cannot create directory '/jffs/lib': Read-only file system


How can I make this work?
I'm using v24SP2 (13977) on Linksys WRT160NL.
ibiza
DD-WRT Novice


Joined: 17 Mar 2010
Posts: 9

PostPosted: Tue Apr 13, 2010 7:34    Post subject: Reply with quote
Internal flash is readonly. You have to put an USB drive/stick and mount /jffs on it.
fkylai
DD-WRT Novice


Joined: 07 Apr 2010
Posts: 3

PostPosted: Tue Apr 13, 2010 8:34    Post subject: Reply with quote
When I run opkg ...

opkg list -f /jffs/etc/opkg.conf
opkg: can't resolve symbol 'glob64' in lib 'opkg'.

Try to re-install coreutils by

ipkg-opt -force-reinstall install coreutils

it shown

/opt/bin/ipkg-opt: line 1: ELF@4? not found
/opt/bin/ipkg-opt: line 2: syntax error: "(" unexpected

What can i do?

My build: DD-WRT v24-sp2 (03/24/10) std - build 14144
vladkon
DD-WRT Novice


Joined: 13 Apr 2010
Posts: 2

PostPosted: Thu Apr 15, 2010 19:07    Post subject: Reply with quote
so currently there is no way to install samba on dd-wrt for buffalo? is it correct or someone found a solution? may be there is other way to share usb drive?
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7492
Location: Dresden, Germany

PostPosted: Thu Apr 15, 2010 19:56    Post subject: Reply with quote
some info. binaries must be compiled for mips32 r2 big endian. beside this uclibc 0.9.30.1 is used. so if openwrt packages are compiled with this uclibc and cpu configuration, it will work. mips32 r1 binaries might not execute. the uclibc version itself is important too.
_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
5rfpne
DD-WRT Novice


Joined: 25 Mar 2010
Posts: 5

PostPosted: Fri Apr 16, 2010 18:04    Post subject: Re: My way to install software packages on WZR-HP-G300NH Reply with quote
Luyi wrote:
The Ipkg can't work on this router. Because this router is MIPS. The Ipkg Software source only have mipsel software.
So i want to install Openwrt's package in DD-WRT. But when you download packages and install it. It may be tell you symbol error.
I think DD-WRT and OpenWrt's running library are differnet cause this problem.
I copy OpenWrt's library to /jffs/lib. Then everything is work.
You can install opkg and use this to automatically download software packages from OpenWrt Software Source.

First you need compile openwrt and you can find lib or download my compile version.
copy their to /jffs/lib
Then execute this commands.
"export LD_LIBRARY_PATH=/jffs/lib:/jffs/usr/lib:/jffs/usr/local/lib" (When reboot you need to execute this again.)
"wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/opkg_513-1_ar71xx.ipk"
"ipkg install opkg_513-1_ar71xx.ipk"
"vi /jffs/etc/opkg.conf"
Change like this
Code:
src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/
dest root /jffs
dest ram /tmp
lists_dir ext /tmp/var/opkg-lists


Now you can use opkg to install software.
Run opkg you need -f /jffs/etc/opkg.conf
Example:"opkg update -f /jffs/etc/opkg.conf"

I use it to install transmission runs very well.
But i can't use it install samba3.


I did everything according to the description but when starting transmission

Code:
transmission-daemon start -g /mnt/transmission/


transmission is not started
Luyi
DD-WRT Novice


Joined: 04 Feb 2010
Posts: 13

PostPosted: Sat Apr 17, 2010 1:03    Post subject: Reply with quote
Perhaps OpenWrt upgrade their uClibc.
It should be required running library with the new uClibc compile.
jemfarm74
DD-WRT Novice


Joined: 17 Mar 2009
Posts: 9

PostPosted: Wed Apr 21, 2010 16:51    Post subject: My way to install software packages on WZR-HP-G300NH Reply with quote
Quote:
download my compile version.
copy their to /jffs/lib

what is the command line to copy downloaded /lib folder to /jffs?
I have the downloaded lib directory on my home directory /Users/jem/lib/
and I need to copy it to the jffs partition.
Code:
root@DD-WRT:/jffs# cp /Users/jem/lib/ /jffs
cp: cannot stat '/Users/jem/lib': No such file or directory


How do I copy a file from my desktop to the dd-wrt jffs partition?
Goto page Previous  1, 2, 3, 4, 5  Next Display posts from previous:    Page 2 of 5
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