OpenWrt Forum Archive

Topic: TP-Link MR3420 Help

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I am quite new to OpenWRT and I happened to bought the MR3420 however the default firmware lacks the full capabilities I wanted.
I am using 3G ISP Connection to connect to the internet.
I need USB filesharing with read/write capabilities to the Windows Clients on the LAN in addition to 3G Connection to the internet.
Does the filesystem matter?
What Modules do I need?
The original Firmware comes with excellent QoS sharing I hope I can retain in the custom OpenWRT firmware.
However the router only comes with a measly 4MB Flash.
Is it possible to squeeze everything into the 4MB? I am fine without GUI and configuring OpenWRT from Terminal/SSH.
Is it possible to include the config file such that the router will load the settings automatically when it is rebooted?
To date I have flashed the binary OpenWRT and flash back the TP-Link firmware (FTP & mtd the firmware) as I do not know how to proceed on.
I have also downloaded the custom image (The firmware Generator) zip but I do not know how to include the config I want as well as the modules I can squeeze in maximum to the router without having to replace the spi flash rom.

Thanks for the professional advices in advance.

(Last edited by alphasparc on 6 Mar 2011, 09:29)

Any TP-Link MR3420 expert owner helping a new comer out?

Did you RTFW?
Also search for: extroot, samba, multiwan, qos-scripts, buildroot/files/

USB port is limited to 100mA, will be hard to get 3G and usbfs on the same port. Maybe use a Seagate dockstar for the fs part or go for the TL-WR1043ND instead.

hi,

I have a MR3220 (the same hardware except it has only a 1x1 wifi -> 150Mbit), but most of your questions aren't really hardwarerelated, so it doesn't really matter.

the usb-port works fine with a (self-powered) hub, so 3g-dongle and usb-harddisk shouldn't be a problem.
If your usb-disk is connected all the time you could move your rootfs to the disk, so the 4MB of flash are no problem. Or if you want to be able to disconnect your hd you could use an additional usbstick as rootfs
http://wiki.openwrt.org/doc/howto/extroot
So make only an striped-down image (only basic packages, usb-modules, fs-modules, extroot-package) and any additional programm as package which could be installed afterwards on the external rootfs.

openwrt has a qos-package, which works very well on "stable" connections, this is because you have to set the up-/downloadspeed. I think the speed of the 3g connection will differ all the time, so I don't think this qos-package will work very well, in your case. 

If you make configurationchanges in openwrt, the are saved per default, so sure after a reboot they will be still there. most of the configuration-files are located at "/etc/config/"

As filesytem I would recommend ext3 or ext4, if it is a flashdrive, maybe think about ext2.

For windows-filesharing use samba, you will find infos in the documentation-section and/or the wiki

and I think you have to use trunk so maybe have a look on compling your own image.

(Last edited by eleon216 on 7 Mar 2011, 11:56)

Is it possible squeezing everything on the 4MB? I really don't want a extroot, seems to spoil the elegance of the router...
Does the image generator compress the package until it can fit all the packages?
TP-Link default flash uses 3.1MB only. So shouldn't adding USB Harddisk occupy just a bit more?

I think it's possible to get all you need in 4MB.
just try it!
And no the fs can't be compressed until it fits in 4MB. the compression has to be lossless, so there are limits.
And you don't  have the whole 4MB available because there is space for the bootloader, the "wifi-firmware", so I guess the 3,1MB of the tp-link image could be the maximum possible size.

As I said: just try it, but you have to build everythink into the image, installing packages afterwards needs much more space. I would recommend compiling your own image, this way you could tweak it more.

The discussion might have continued from here.