Page 57 of 64 FirstFirst ... 7475556575859 ... LastLast
Results 841 to 855 of 958

Thread: [HowTo] Install and configure Oleg's firmware

  1. #841
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by MacWahle View Post
    Did you get a answer to this question? Was gonna start a new thread but did some searching first ( maybe not good enough tho :P )

    For anyone else who reads this I am very interested to set-up VPN to my server so that I can be anonymous on the net without paying for all these VPN services out there...
    Currently there is no proper guide for openvpn, but maybe it's time to write one

    this one comes pretty close though: http://wlhdd.co.uk/wiki/OpenVPN

  2. #842
    Quote Originally Posted by wpte View Post
    Currently there is no proper guide for openvpn, but maybe it's time to write one

    this one comes pretty close though: http://wlhdd.co.uk/wiki/OpenVPN
    Nice! Thanks for the link! Gonna try it out later on, but looks easy enough to set-up following the guide on the wiki

  3. #843
    Join Date
    Feb 2008
    Location
    Copenhagen, Denmark
    Posts
    41
    Quote Originally Posted by wengi View Post
    3. SSH-deamon
    TIP: You can copy & paste all commands within telnet and putty. For Windows use ctrl-c and ctrl-v, for putty mark the text and right click.

    The name of the ssh daemon is dropbear. It can be activated with the Web Interface (System Setup->Services) if you use the "enthusiast firmware" (1.9.2.7-d-rxxxx). Using the new firmware you only have to generate the keys.
    I guess you still have to create the startup scripts

    Code:
    mkdir -p /usr/local/sbin/
    touch /usr/local/sbin/pre-boot
    touch /usr/local/sbin/post-boot
    touch /usr/local/sbin/post-firewall 
    touch /usr/local/sbin/post-mount
    touch /usr/local/sbin/pre-mount
    touch /usr/local/sbin/pre-shutdown
    chmod +x /usr/local/sbin/*
    Or are they also included in the "enthusiast firmware"?

  4. #844
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    You are right.
    Using the new firmware you only have to generate the keys and startup scripts.
    Better now.

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  5. #845

    http://ipkg.nslu2-linux.org?

    Hi tried to do some ipkg installs but it fails due to server returning file not found (404).
    Then tried to download manually some pkg's from http://ipkg.nslu2-linux.org, but it gives errors. Can browse to the stable feed but, trying to download gives an 404?
    Anyone experiencing the same?

    Update: found nslu2-linux mirror http://nslu2-linux.dyoung-mirror.net somewhere in Russian discussion. ipkg.nslu2-linux.org oleg stable is broken... or temporarily unavailable. Have no clue. So to work around update ipkg.conf with the mirror and ipkg functionality works again.
    Not an idea to have a general thread to report such issues? I had no clue where to put this... and with a bit of luck I found something in the Russian section.
    Ah well. Cheers.
    Last edited by postbusjj; 19-05-2010 at 21:25.

  6. #846

    HD partitioning

    deleted because I figured the answer
    Last edited by chuckwhite; 23-05-2010 at 06:09.

  7. #847

    tune2fs

    In howto:
    Code:
    mke2fs -j /dev/discs/disc0/part2 
    mke2fs -j /dev/discs/disc0/part3
    Suggestion:
    Code:
    mke2fs -j -m 0 /dev/discs/disc0/part2 
    mke2fs -j -m 0 /dev/discs/disc0/part3
    Maximizing capacity by overruling the standard 5% reserved blocks.
    Can save a lot if you have a big partition.

    tune2fs can of course be used afterwards for all except /opt.
    Fyi e2fsprogs 1.41.9-1 seems to look for a /etc/mtab and is not looking to /proc/mounts (shouldn't it?)
    So had to cat /proc/mounts to /dev/mtab to convince tune2fs it is unmounted.
    Code:
    [admin@WL500W root]$ df /tmp/scratch
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/discs/disc1/part3
                           54G  435M   51G   1% /tmp/mnt/disc1_3
    [admin@WL500W root]$ umount /tmp/scratch
    [admin@WL500W root]$ tune2fs -m 0 /dev/discs/disc1/part3
    tune2fs 1.41.9 (22-Aug-2009)
    ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing
    mtab file while determining whether /dev/discs/disc1/part3 is mounted.
    [admin@WL500W root]$ cat /proc/mounts > /etc/mtab
    [admin@WL500W root]$ tune2fs -m 0 /dev/discs/disc1/part3
    tune2fs 1.41.9 (22-Aug-2009)
    Setting reserved blocks percentage to 0% (0 blocks)
    [admin@WL500W root]$ mount /tmp/scratch
    [admin@WL500W root]$ df /tmp/scratch
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/discs/disc1/part3
                           54G  435M   54G   1% /tmp/mnt/disc1_3
    Postbusjj
    WL-500W, 1.9.2.7-d-r1445

  8. #848
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi postbusjj,

    thanks for your suggestion.
    I am not an expert to file systems.
    Is there any negative effect on using the reserved blocks?
    Quote Originally Posted by MANPage
    -m reserved-blocks-percentage
    Specify the percentage of the filesystem blocks reserved for the super-user. This avoids fragmentation, and allows root-owned daemons, such as syslogd(8), to continue to function correctly after non-privileged processes are prevented from writing to the filesystem. The default percentage is 5%.
    I think we want some reserved blocks for system (/opt) partitions, but not for the data partition.

    As a result of this i would use mke2fs -j -m 0 /dev/discs/disc0/part3 for the data partition.

    Am i thinking right?
    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  9. #849
    Quote Originally Posted by wengi View Post
    Am i thinking right?
    Yes, you do. I thought about that too.
    5% of /opt is only 49.8M. That's no loss.. and indeed it is preventing a crash by mistakenly filling up /opt (can happen, nobody is perfect... been there)
    50GB for a 1TB drive is of course a drama and it is not needed for data.
    Postbusjj
    WL-500W, 1.9.2.7-d-r1445

  10. #850
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548

    Exclamation 5% hdd space for free!!!

    Good!

    I updated the HowTo.

    To all who want some more space free:
    Code:
    [admin@blechbuechse root]$ ipkg install e2fslibs e2fsprogs
    [admin@blechbuechse root]$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    rootfs                3.0M  3.0M     0 100% /
    /dev/root             3.0M  3.0M     0 100% /
    /dev/discs/disc0/part2   962M  485M  428M  54% /opt
    /dev/discs/disc0/part3       72G   55G   14G  81% /tmp/mnt/disc0_3
    [admin@blechbuechse root]$ umount /tmp/mnt/disc0_3/   # or /tmp/harddisk/
    [admin@blechbuechse root]$ cat /proc/mounts > /etc/mtab
    [admin@blechbuechse root]$ tune2fs -m 0 /dev/discs/disc0/part3
    tune2fs 1.41.9 (22-Aug-2009)
    Setting reserved blocks percentage to 0% (0 blocks)
    [admin@blechbuechse root]$ mount /tmp/mnt/disc0_3/   # or /tmp/harddisk/
    [admin@blechbuechse root]$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    rootfs                3.0M  3.0M     0 100% /
    /dev/root             3.0M  3.0M     0 100% /
    /dev/discs/disc0/part2   962M  485M  428M  54% /opt
    /dev/discs/disc0/part3       72G   55G   18G  77% /tmp/mnt/disc0_3
    As you see:
    BEFORE: 14GB free
    AFTER: 18GB free

    Thanks to postbusjj for this great tip

    wengi

    PS: Please pay attention to disc0_3 or disc1_3.
    Last edited by wengi; 19-07-2010 at 00:37.
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  11. #851
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    26

    Windows 7 and Samba - oleg's firmware

    Please advise the latest version of Oleg's Firmware that supports Samba under Windows 7. Also -

    - are there any advantages installing the latest version of ipkg Samba.
    - advantages flashing post -10 version of Oleg. Currently I'm running -10 on a WL500W

    thanks

  12. #852
    can i downgrade transmission?
    using 2.00-1 and its slow.

    how do i downgrade it to 1.93?

  13. #853
    Join Date
    Feb 2008
    Location
    Copenhagen, Denmark
    Posts
    41

    Just a typo.

    Quote Originally Posted by wengi View Post
    17. Optimize performance

    A) Start samba with xinetd

    If xinetd is not installed until now:
    Code:
    ipkg install xinetd
    You have to change /opt/etc/init.d/S10xinetd to work with the start|stop feature of rc.unslung.
    Do this as it is described in chapter 10b). Only the part with the content of S10xinetd!
    I guess this chapter is 12b now.

  14. #854
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    thanks for the hint.
    Corrected it

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  15. #855
    Join Date
    Feb 2008
    Location
    Copenhagen, Denmark
    Posts
    41

    tune2fs

    Quote Originally Posted by wengi View Post
    Good!

    I updated the HowTo.

    To all who want some more space free:
    Code:
    [admin@blechbuechse root]$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    rootfs                3.0M  3.0M     0 100% /
    /dev/root             3.0M  3.0M     0 100% /
    /dev/discs/disc0/part2   962M  485M  428M  54% /opt
    /dev/discs/disc0/part3       72G   55G   14G  81% /tmp/mnt/disc0_3
    [admin@blechbuechse root]$ umount /tmp/mnt/disc0_3/   # or /tmp/harddisk/
    [admin@blechbuechse root]$ cat /proc/mounts > /etc/mtab
    [admin@blechbuechse root]$ tune2fs -m 0 /dev/discs/disc0/part3
    I get

    Code:
     -sh: tune2fs: not found
    How can I install tune2fs?

Page 57 of 64 FirstFirst ... 7475556575859 ... LastLast

Similar Threads

  1. [Howto] Install DLNA media servers for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 18
    Last Post: 06-06-2017, 08:40
  2. Replies: 24
    Last Post: 05-05-2015, 08:42
  3. Replies: 28
    Last Post: 02-06-2013, 21:58
  4. Replies: 6
    Last Post: 21-09-2012, 18:06
  5. [Howto] Install kernel modules for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 0
    Last Post: 05-12-2011, 17:18

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •