Sie sind auf Seite 1von 6

2/15/13

Rics Tips & Tricks DD-WRT

Rics Tips & Tricks


DD-WRT Customization and more

Archive for the DD-WRT Category


Next Entries

DD-WRT with included samba3 + speed optimization


Donnerstag, Mai 20th, 2010

I have updated my dd-wrt mod (build 14584) with included samba3. This build has bin tested on a WNR3500L, but should work on all Broadcom 47xx Units with 8MB flash (Asus RT-N16, Linksys WRT610N V2). Extra features compared to dd-wrt usb_std_ftp: samba3 filesharing support with gui ntfs-3g support with automount inotify support needed for minidlna optware package nfs modules compile optimizations for faster operation Network performance comparison: Benchmarks

P.S. For additional info , known issues etc. checkout: Myopenrouter Posted in DD-WRT | No Comments

DD-WRT firmware with included samba3


Donnerstag, Mai 13th, 2010

My special dd-wrt firmware is now available. It is based on dd-wrt svn r14329 and includeds samba3. It has been tested on a netgear wnr3500l opensource router. After you flashed your router you will find a new entry in Services->NAS section, see screenshot. To share your files connect your external drive and mount it to /jffs, enable samba and enable public share. Reboot your router. If you need a more advanced setup you can enable a Custom Configuration the two user/password entries enable you to create users that can used in the custom configuration in order to define different shares with acl.

tips.desipro.de/category/dd-wrt/page/2/

1/6

2/15/13

Rics Tips & Tricks DD-WRT

Posted in DD-WRT | No Comments

Packages you should have installed


Freitag, April 30th, 2010

Here is a little explanation on some of my packages that make life easier. Packagename profile : This package will add a script to your /jffs/etc/config that will create a profile after every boot. This way a few environment variables will be automatically setup. These environment variables for example load libs that are needed by some of my apps. It will also set IPKG_CONF_DIR to /jffs/etc so you wont have to set it everytime you login before you install any of my packages Packagename screen : Screen is useful if you do things like. Login - start application - Logout. A standard application will be stopped once you logout. As this is not always the behaviour you need, you can start a screen session, start an app, disconnect from screen, logout and the app is still running. This is probably what you want if you use streamripper to rip streams for a few days without having you pc running:-) Install these package with the command: ipkg -force-depends install profile ipkg -force-depends install screen Posted in DD-WRT | No Comments
tips.desipro.de/category/dd-wrt/page/2/ 2/6

2/15/13

Rics Tips & Tricks DD-WRT

DD-WRT Samba3 - Network share - Win7 support


Sonntag, April 25th, 2010

Note: If you have installed one of my mods you dont need to install samba3 through ipkg. Its already included!! If you have read my basic setup instructions on how to prepare your router for some of my packages you are now ready to install your first package. Since samba3 is one of the most requested applications Ill start with a simple tutorial on how to get samba3 installed using my samba3 package. Actually in the case of samba it is not really worth explaining the installation. Just login to your router using telnet or ssh client and run the following command (dont forget to first export IPKG_CONF_DIR as explained in my instructions): ipkg -force-depends install samba3 Once you reboot you should be able to see a public network share served by your router. If you want need some advanced configuration with protected shares etc. you just have to edit: /jffs/etc/samba/smb.conf /jffs/etc/config/samba.startup accordingly. Hint: Since jffs method cannot be used to stop services you need to add a command to shutdown samba on a reboot or shutdown. Otherwise it can happen, that your jffs partition is in unclean state, which will cause a filesystem check. When this happens, the startup scripts will not be executed. Now to make sure you dont see this, enter: killall smbd to Administration->Commands and press Save Shutdown Posted in DD-WRT | No Comments

DD-WRT Optware packages


Sonntag, April 25th, 2010

Before I give a few instructions on how to install and run my set of optware packages especially made for dd-wrt routers. Im going to give you a short introduction on the design of my packages. Unlike other optware packages my packages are built and configured to be run only inside /jffs directory. Standard optware packages usually install in /opt directory placing start/stop scripts in /opt/etc/init.d . DD-WRT however allows to place start scripts in /jffs/etc/config with the name yxz.startup. Such scripts will be started automatically at boottime. To make it very easy for beginners I choose to only make use of /jffs dir. My packages are built using openwrt build environment.
tips.desipro.de/category/dd-wrt/page/2/ 3/6

2/15/13

Rics Tips & Tricks DD-WRT

If possible Ill write a little HowTo for each package Ill provide. Now to get you started: 1. Get a removable media e.g. USB Stick, USB Drive etc. 2. Use either some installed linux, a linux bootcd such as knoppix or a windows partition utility to create a single ext3 partition on this drive 3. Connect the drive to the usb port of your dd-wrt router 4. Login to dd-wrt router webinterface , go to Services->USB choose at least Core usb support USB 1 or 2 support depending on the speed of your external drive USB Storage support Ext3 filesystem support Automatic drive mount Disk mount point /jffs 5. Under Administration->Management Enable JFFS2 and option Clean JFFS2. 6. Reboot your router. Now the router will mount the external ext3 partion and create JFFS filestructure. Wait a few minutes until the router completely rebooted. 7. Reboot your router a second time. This is neccessary because the previous boot only wrote JFFS file structure. The second boot now will scan all nodes and you are ready to use your partition. 8. Login to the router using a telnet or ssh client 9. Got to directory /jffs/etc and download my ipkg.conf cd /jffs/etc wget http://www.desipro.de/ipkg.conf . 10. Use my ipkg.conf instead of the shipped ipkg.conf: export IPKG_CONF_DIR=/jffs/etc/ 11. Run ipkg to update your package list ipkg update If all went fine you should be able to list my packages: ipkg list You have now prepared you router to install my set of packages.
tips.desipro.de/category/dd-wrt/page/2/ 4/6

2/15/13

Rics Tips & Tricks DD-WRT

Note if you logout and login again youll be back using standard ipkg.conf since your environment variable IPKG_CONF_DIR is not set again. So make sure to always export IPKG_CONF_DIR before you start to install any package. To avoid this behaviour youll be able to install a package called profile. This package will setup a profile for your shell which will set this variable every time you login. Since all of my packages are going to be installed on the removable you can just disconnect the removable media and you are back to standard firmware functionality. So using these packages is absolutely safe, no firmware changes neccessary. Let me know if any of the instructions are unclear to you. If possible Im going to improve and update my instructions ASAP. Posted in DD-WRT | 1 Comment Next Entries
Search

You are currently browsing the archives for the DD-WRT category.

Pages
ber

Archives
Januar 2013 Mai 2012 August 2011 April 2011 November 2010 Oktober 2010 September 2010 August 2010 Juli 2010 Mai 2010 April 2010 Mrz 2010 Oktober 2009 Januar 2009 Dezember 2008 November 2008 Oktober 2008 Juli 2008 Juni 2008 Mrz 2008
tips.desipro.de/category/dd-wrt/page/2/ 5/6

2/15/13

Rics Tips & Tricks DD-WRT

Februar 2008 Januar 2008 Dezember 2007 November 2007 Oktober 2007 September 2007 August 2007

Categories
Administration (4) DD-WRT (15) Hardware (8) Linux (15) Programmierung (5) Sonstiges (4) Windows (4) Rics Tips & Tricks is proudly powered by WordPress Entries (RSS) and Comments (RSS).

tips.desipro.de/category/dd-wrt/page/2/

6/6