Posted: Fri Sep 04, 2015 4:26 Post subject: Re: unable to install transmission
ifro4u wrote:
guys please help
when execute first step on asus n13ub1 with firmware 27745
i get
root@ASUS N13B1:~# cd /tmp/mnt/sda1
root@ASUS N13B1:/tmp/mnt/sda1# touch optware.enable
root@ASUS N13B1:/tmp/mnt/sda1# cd /tmp/mnt/sda2
root@ASUS N13B1:/tmp/mnt/sda2# mkdir etc opt root bin lib usr
root@ASUS N13B1:/tmp/mnt/sda2# touch optware.enable
root@ASUS N13B1:/tmp/mnt/sda2# chmod 755 etc opt root bin lib usr
root@ASUS N13B1:/tmp/mnt/sda2# mkdir opt/lib
root@ASUS N13B1:/tmp/mnt/sda2# chmod 755 opt/lib
root@ASUS N13B1:/tmp/mnt/sda2# cp -a /etc/* /tmp/mnt/sda2/etc/
root@ASUS N13B1:/tmp/mnt/sda2# cp -a /bin/* /tmp/mnt/sda2/bin/
root@ASUS N13B1:/tmp/mnt/sda2# cp -a /lib/* /tmp/mnt/sda2/lib/
root@ASUS N13B1:/tmp/mnt/sda2# cp -a /usr/* /tmp/mnt/sda2/usr/
root@ASUS N13B1:/tmp/mnt/sda2# sleep 15
root@ASUS N13B1:/tmp/mnt/sda2# mount -o bind /tmp/mnt/sda2/usr /usr
root@ASUS N13B1:/tmp/mnt/sda2# mount -o bind /tmp/mnt/sda2/lib /lib
root@ASUS N13B1:/tmp/mnt/sda2# mount -o bind /tmp/mnt/sda2/bin /bin
root@ASUS N13B1:/tmp/mnt/sda2# mount -o bind /tmp/mnt/sda2/opt /jffs
-sh: mount: not found
root@ASUS N13B1:/tmp/mnt/sda2# mount -o bind /tmp/mnt/sda2/etc /etc
-sh: mount: not found
root@ASUS N13B1:/tmp/mnt/sda2#
please let me know what i am doing wrong
As the problem happens after you did mount -o bind /tmp/mnt/sda2/bin /bin so please check the directory /tmp/mnt/sda2/bin and see if there is mount there. Chances are there is problem when you copy the files from /bin to /tmp/mnt/sda2/bin
I understand that you are trying to install optware and transmission on your RT-N13UB1 based on the guide on this forum but please note that the guide is for Atheros platforms and RT-N13UB1 has a Ralink RT3052. It doesn't mean that you can't use the guide here but you can't just follow the guide, you have to make some adjustments. Reason being that the repository used on the guide refer to ar71xx/generic on openwrt but for Ralink RT3052 you have to use ramips/rt305x.
Another thing you have to check is whether your dd-wrt for RT-N13B1 has ipkg or not as that is very important. You need that to install uclibc; libc and opkg. Without ipkg, you can't proceed further. My Belkin F5D8235-4 v2 has Ralink too and the dd-wrt for F5D8235-4 v2 doesn't come with ipkg. In case your RT-N13UB1 doesn't have ipkg, you can try to use dd-wrt development kit to modify the firmware and put opkg directly on the firmware. Sound complicated, right?
Finally, since RT-N13UB1 use Ralink chip, so you better post your question on the Ralink forum. Chances are you may get more attention from members who use RT-N13UB1 and they may provide more help on your problem.
thanks for your reply sir
my firmware does contain ipkg as i am successfully able to install transmission on ram folder
but when am trying to mount i am losing root for my router
and its not only when i mount bin folder but any folder
and there is no guide to install optware on ralink devices?
right now i am considering to downgrade to stable simple ddwrt version so i can install transmission
thanks for your reply sir
my firmware does contain ipkg as i am successfully able to install transmission on ram folder
but when am trying to mount i am losing root for my router
and its not only when i mount bin folder but any folder
and there is no guide to install optware on ralink devices?
right now i am considering to downgrade to stable simple ddwrt version so i can install transmission
It sounds like you are still having problem with mount command. First of all, are you following this guide: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=177532&start=0 to install optware to your router? If so, please try following the exact order as specified on the guide and see if it makes any difference, i.e.
mount -o bind /tmp/mnt/sda2/etc /etc
mount -o bind /tmp/mnt/sda2/bin /bin
mount -o bind /tmp/mnt/sda2/lib /lib
mount -o bind /tmp/mnt/sda2/usr /usr
mount -o bind /tmp/mnt/sda2/opt /jffs
Please note that my previous comment regarding the openwrt repository still holds.
"I understand that you are trying to install optware and transmission on your RT-N13UB1 based on the guide on this forum but please note that the guide is for Atheros platforms and RT-N13UB1 has a Ralink RT3052. It doesn't mean that you can't use the guide here but you can't just follow the guide, you have to make some adjustments. Reason being that the repository used on the guide refer to ar71xx/generic on openwrt but for Ralink RT3052 you have to use ramips/rt305x."
Anyway, lets fix the mount issue first and we can discuss about the repository issue later.
but it has got its limitation. as the opt and torrents data folder created on mnt folder which is i think ram of device and get clear on router reboot.
so i did work around i create data folder and torrents on sda1.
so in case of reboot of device i dont loose my torrents
but every time i reboot i have to run the above script to install opt and transmission
so now i am on how get install and run transmission on sda1
You can try the following modifications to your instructions and see if it works:
Make a directory /opt on sda1 and mount it to /opt, i.e. mount -o bind /tmp/mnt/sda1/opt /opt
Run the script and workaround that you did previously to install optware and transmission.
After you have installed both optware and transmission successfully, add the following to the start up commands so that it will automatically mount the /opt and add the iptables as well as run transmission whenever the router is rebooted:
it install successfully pyload
but when i run command
pyLoadCore
it execute some pre run thing till it says downloading plugin it halt there
some times gives segmentation fault
and strangely till this i can access webgui of it once this execution end in putty the webgui becomes inaccessible
Moreover, I think after you have run the optware script to install optware to your router, you should use ipkg-opt in place of ipkg for installing other ipk. However, I am not sure if that matters as I have never used the optware script.
No, I don't do http download on router. I never use Transmission. I don't even use my router as NAS due to its poor speed. I use my router mainly as wifi router.