I'm definitely not an expert, so someone feel free to correct me if I'm wrong, but here's what makes sense to me:
If the /jffs partition is in the router's internal memory, then it will not survive a firmware update.
If the /jffs partition is on an external storage device, it will survive. You'd just have to re-mount it afterwards, same as after rebooting the router.
No. In fact I returned the TP-Link router to the store today and have gone back to my trusty Airlink 101, so I won't be checking on this thread or replying any more.
Best of luck to anyone else trying to get optware working on Atheros based hardware.
and the TP-Link:
TL-WR1043ND ar71xx Atheros AR9132 Atheros AR9100 (integrated)
Or am i missing something completely because i am fairly noobish at this
Nice find actually. I went though the script and it uses one of the same package repositories that I used (backfire/10.03) to install packages on the TPLink 1043ND, that said I believe this script should be able to work just fine on this router if that;s what you are interested in doing.
Unfortunately the samba server it installs is version 2 (which I have working anyway) not version 3.
couldnt get it working using that guide either.. ended up selling my TP-LINK and ordering an N16 from the USA via a forwaring company for only $20 more.. good luck getting it working to all in this thread!
and the TP-Link:
TL-WR1043ND ar71xx Atheros AR9132 Atheros AR9100 (integrated)
Or am i missing something completely because i am fairly noobish at this [/quote]
Thanks for your link. Somehow the guide works for my router TP-link TL-WR1043ND Built 14594. I can now access Transmission (BT client) via 192.168.1.1:9091 and the ftp server.
I simply ran the autoscripts from the guide and everything is ready to go.
Posted: Tue Jun 22, 2010 21:51 Post subject: Re: My way to install software packages on WZR-HP-G300NH
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.
Where can I find your compile? Also could you give me some step by step assitance?
For this next step, I took Luyi's instruction but put everything under /jffs, including tmp and var. I hope this is OK, as I am just a noob.
vi /jffs/etc/opkg.conf
Code:
src/gz snapshots http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ar71xx/packages
dest root /jffs
dest ram /jffs/tmp
lists_dir ext /jffs/var/opkg-lists
#option overlay_root /overlay
opkg -f /jffs/etc/opkg.conf update
Now install a package to see if it works:
opkg -f /jffs/etc/opkg.conf install nmap
nmap (you should get nmap's help page)
I haven't tried samba, transmission or any of those "big" packages.
Yes, it seems to work on TP-LINK 1043ND. I just have a little problem in transmission. I'm getting the following message:
Code:
"Error: Read-only file system"
I'm not a linux expert, I have no idea what to do with it. I'm using an ext3 formatted USB flash drive, and of course, it is not write protected. I got a guess on an other board, but changing preallocation value from 1 to 2 in config.json did not help. Any idea?
Yes, it seems to work on TP-LINK 1043ND. I just have a little problem in transmission. I'm getting the following message:
Code:
"Error: Read-only file system"
I'm not a linux expert, I have no idea what to do with it. I'm using an ext3 formatted USB flash drive, and of course, it is not write protected. I got a guess on an other board, but changing preallocation value from 1 to 2 in config.json did not help. Any idea?
Check if the drive is mounted as read-only (run mount on command line). If it shows are readonly there is your problem.
Now if you are mounting correctly in your startup scripts as read-write and you see after a while that the mounted drive is changing to read-only, check dmesg and look to see if there were any errors stating for instance that the volume is dirty and the kernel is remounting as read only.
These are my startup commands, as written in the guide:
Code:
sleep 5
mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/
mount /mnt/etc /etc
mount /mnt/bin /bin
mount /mnt/dev /dev
mount /mnt/lib /lib
mount /mnt/usr /usr
mount /mnt/tmp /tmp
mount /mnt/jffs /jffs
sleep 3
/bin/sh /mnt/etc/rc.transmission
/bin/sh /mnt/etc/rc.pureftpd
These are my startup commands, as written in the guide:
Code:
sleep 5
mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/
mount /mnt/etc /etc
mount /mnt/bin /bin
mount /mnt/dev /dev
mount /mnt/lib /lib
mount /mnt/usr /usr
mount /mnt/tmp /tmp
mount /mnt/jffs /jffs
sleep 3
/bin/sh /mnt/etc/rc.transmission
/bin/sh /mnt/etc/rc.pureftpd
The last thing I can think of is to check if the user that transmission runs as has write permissions to the folders it uses or trying to use.
use 'ps' to see what user transmission is running as and 'ls -l' on the directories/folders to check permissions use 'chmod' to change them if needed