I would like to share with you the firmware image for the TL-WR703 in which I have been working during the last weeks.
It includes almost all the default features plus usb storage support to use it as a nas, with FTP and SFTP access, Transmission bittorrent with web interface and dynamicDNS support.
I had to remove ppp support and swap-utils to fit everything in the 4MB rom and leave the necessary free space for the jffs partition.
All the other default features are included.
Actually after installation you still have around 100Kb of free space, so you can install again swap-utils if you need them, or some other small packages.
You can also do extroot and install bigger packages in the usb drive.
I have predefined it to work in 2 different network modes which can be easily switched:
- AP mode: the ethernet port acts as a wan. Just connectet a network cable with internet access and it will be shared over a wifi network
This is the predefined mode after installation.
The router IP address is 192.168.2.1
The wifi network is called "OpenWrt" and the psk2 password is "administrator"
- Client+AP mode: in this mode you can connect to an existing wifi network which acts as a wan and it is shared over the ethernet port.
In this mode you can easily access the router through the ethernet port. The router IP addess is 192.168.2.1
In this mode you can also create an additional serving wifi network which is bridged with the lan.
There is an additional user in the system which is used for FTP/SFTP access and bittorrent web interface access.
This secondary user is called "usbdrive". You can define the password for it after the first boot.
The usb storage is mounted by default in the folder "/usbdrive"
The Transmission bittorrent process is configured to start only when a usb drive is connected to the router and it is stopped automatically when you disconnect the usb drive.
The web interface for Transmission can be accessed in this address: http://192.168.2.1:9091/ when you are connected to the router, or in your wan address in the port 9091.
DynamicDNS is included in the firmware. You will need to enable it yourself and add your servicename, domain, user and password in the "/etc/config/ddns" file. Reboot the router after the changes.
There was no space left for a web interface like Luci but I have added several useful commands to control most of the features in the easiest way possible.
Here is the help file I have included in the router which explains all the commands I have added:
PREDEFINED COMMANDS FOR THIS OPENWRT ROUTER: -------------------------------------------- ? Run to show this help. conf_wifi_ap Run to configure the ssid name and password of the serving (AP) WIFI network. Encryption is always set to WPA2-PSK. Check openwrt.org for instructions to set other encryption methods. conf_wifi_client Run and follow the on-screen instructions to select an available WIFI network and connect to it. Command only valid in Client+AP_mode. disable_ap_wifi Run to disable the serving WIFI network (AP). enable_ap_wifi Run to enable the serving WIFI network (AP). Configure the WIFI properties with: "conf_wifi_ap" mode_ap Run to configure the router in AP mode (access point). Connect an internet cable in router LAN port. WIFI network is created automatically. Configure the WIFI properties with: "conf_wifi_ap" mode_clap Run to configure the router as Client+AP. Router connects to existing wifi network and shares it through the LAN port. Make sure to run "conf_wifi_client" to select the network to connect. In this mode it is also possible to create a serving AP WIFI network with: "enable_ap_wifi" Configure the AP WIFI properties with: "conf_wifi_ap" Warning: AP WIFI doesn't work unless Client WIFI is succesfully connected to another serving WIFI. You can use a LAN cable to access the router in this mode. removeusb Run before unplug the usbdrive for extract safely. This command also stops the bittorrent transmission. usbpass Run and follow the on-screen instructions to change the password for usbdrive FTP/SFTP access and bittorrent web interface access (http://<ip>:9091). usbspace Run to check the free/used space in the usbdrive. (Ctrl+C to exit this help)
These commands are designed to make everything extremely easy for the user. For example the "conf_wifi_client" will show you a list with the available wifi networks and you just need to select one and input the password to connect to it. I posted more information about this script in another topic: https://forum.openwrt.org/viewtopic.php?pid=178731
For FTP/SFTP access I can recommend some PC and MacOS software which mounts the FTP/SFTP server as a system drive so you can use it with any application.
- For windows you can use SFTP Net Drive or NetDrive, they are both free for single users
- For MacOS you can use Osxfuse (install it with macfuse compatibility) combined with Macfusion , they are also free.
I have also tried an iPhone/iPad app called iFiles which supports FTP/SFTP and works pretty well; and some media players like Oplayer can load files from FTP servers.
For Android ES File Explorer has very good FTP/SFTP support.
In my case I use FTP when I am at home in my LAN network because it is a bit faster than SFTP. And I use SFTP, which is safer, when I am away from home via internet (with my dynamicDNS name)
You can download the firmware bin file from here:
After installing the firmware you need to access the router for the first time via telnet and set a password for the root user with "passwd" and for the usbdrive user with "usbpass".
Then you can close the telnet session and connect to the router with SSH (ssh only allowed with root user).
You can show the help at anytime by running "?"
As a last word I will say that I don't held any responsibility of any problems or damage you can get by using this firmware. I have been working on it and testing for several weeks but use it under your own risk.
I also want to remark that even though a firewall is included, it is configured to allow all the connections from both lan and wan. You will need to change the configuration yourself if you need more security.
There is no space to include more packages in the firmware file but any other improvement suggestions are welcome.
I hope you find this firmware useful and enjoy it as much as I did preparing it.
EDIT: As requested by a forum member here is another version where the transmission bittorrent client has been removed and replaced by the openvpn and openvpn-easy-rsa packages. You will need to follow the instructions from the wiki for the openvpn configuration. Here is the link for the firmware with openvpn: http://db.tt/UMWvngiJ
(Last edited by griguolcomerranas on 9 Nov 2012, 05:23)