Currently there is no proper guide for openvpn, but maybe it's time to write one:p
this one comes pretty close though: http://wlhdd.co.uk/wiki/OpenVPN :)
Printable View
Currently there is no proper guide for openvpn, but maybe it's time to write one:p
this one comes pretty close though: http://wlhdd.co.uk/wiki/OpenVPN :)
I guess you still have to create the startup scripts
Or are they also included in the "enthusiast firmware"?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/*
You are right.Better now.Quote:
Using the new firmware you only have to generate the keys and startup scripts.
wengi
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.
deleted because I figured the answer
In howto:
Suggestion:Code:mke2fs -j /dev/discs/disc0/part2
mke2fs -j /dev/discs/disc0/part3
Maximizing capacity by overruling the standard 5% reserved blocks.Code:mke2fs -j -m 0 /dev/discs/disc0/part2
mke2fs -j -m 0 /dev/discs/disc0/part3
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
Hi postbusjj,
thanks for your suggestion.
I am not an expert to file systems.
Is there any negative effect on using the reserved blocks?
I think we want some reserved blocks for system (/opt) partitions, but not for the data partition.Quote:
Originally Posted by MANPage
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
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.
Good!
I updated the HowTo.
To all who want some more space free:
As you see: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
BEFORE: 14GB free
AFTER: 18GB free
Thanks to postbusjj for this great tip :D:cool:
wengi
PS: Please pay attention to disc0_3 or disc1_3.
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
can i downgrade transmission?
using 2.00-1 and its slow.
how do i downgrade it to 1.93?
Hi,
thanks for the hint.
Corrected it ;)
wengi