|
Dynia
|
 |
« Reply #345 on: May 29, 2008, 21:25:54 PM » |
|
Finally I`ve got fail2ban working  What were my obstacles: fail2ban 0.8.2 has a bug in server.o - this file should be replaced with one available in wiki. If not replaced the server comlains that it cannot access PID file. And the last - I had to be more carefull with dir addressing P.S: I also managed to configure it to start-up automatically! that`s also cool. Ready to share my experience if needed 
|
|
|
|
|
Logged
|
|
|
|
|
Kael
|
 |
« Reply #346 on: May 29, 2008, 21:34:06 PM » |
|
strange about the bug you described, aint got no problem with mine... just gave the path to the directory where it can put the file...
did install iptables, fail2ban and xmail on my nas, all is now working flawessly, i did fwd my smtp to my isp one ;o)
i can receive mails from fail2ban with the xmail server but these ones are totally empty!!! here is a part of the fail2ban script that should send me infos on activity:
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip> From: Fail2Ban <<sender>> To: <dest>\n Hi, The IP <ip> has just been banned by Fail2Ban after <failures> attempts against <name>.\n\n Here are more information about <ip>:\n ` /usr/bin/whois <ip>`\n Regards,\n Fail2Ban" | /usr/sbin/sendmail -f <sender> <dest>
to receive mails, i had specify the <sender> value as the SMTP server was freezing mails without valid sender address. But why the mail text is still unavailable? it seems all is ok... but from "Hi..." to "Fail2Ban" everything is just like deleted...
hope somebody got a solution ;o)
|
|
|
|
« Last Edit: May 29, 2008, 21:37:31 PM by Kael »
|
Logged
|
|
|
|
|
Dynia
|
 |
« Reply #347 on: May 30, 2008, 20:55:30 PM » |
|
Anybody please advise me whether it is possible to format the usb hard drive with the help of built in linux or not? My home computer is running Vista - it does not allow to format into neither FAT32 not ext2. I`m stuck. Thank you.
|
|
|
|
|
Logged
|
|
|
|
|
Deciman
|
 |
« Reply #348 on: May 31, 2008, 00:09:01 AM » |
|
Ouch....
I've just updated to R400b4 and reinstalled all the software (mc, mldonkey,...) Now i've got a new problem....
mc speeks in a language to me that I really don't understand. How can I tell mc to speak something else but polish??? German would be good..... English will do also...
Deci
|
|
|
|
|
Logged
|
|
|
|
|
JoKeR
|
 |
« Reply #349 on: May 31, 2008, 10:31:58 AM » |
|
/mnt/C/sys/etc/profile
remove or edit LC_ALL variable.
|
|
|
|
« Last Edit: May 31, 2008, 12:38:11 PM by JoKeR »
|
Logged
|
|
|
|
|
cypresstwist
|
 |
« Reply #350 on: May 31, 2008, 16:43:54 PM » |
|
I have a strange problem. I mount a NFS share and start copying a large file. Let's say a 700MB avi. After a time, at about 30% the transfer stops. Sometimes it starts agaim, sometimes it gives me a "no space left" error, although there's plenty of space on the NAS. Does anyone experience the same issues? 
|
|
|
|
|
Logged
|
|
|
|
|
Dynia
|
 |
« Reply #351 on: June 01, 2008, 11:40:08 AM » |
|
Please advise towto configure builtin httpd server? I did not locate a config file. I need a simple http file server with restricted password protected access. (initially i tried to deal with ftp using vsftpd, but it seems that ftp protocol is very problematic now - many of my friends cannot acceess it due to firewall and routing issues, so i decided to setup a http file server). apache seems too difficult to run for my skills. thank you.
|
|
|
|
|
Logged
|
|
|
|
|
Jajator
|
 |
« Reply #352 on: June 01, 2008, 13:40:20 PM » |
|
I have a strange problem. I mount a NFS share and start copying a large file. Let's say a 700MB avi. After a time, at about 30% the transfer stops. Sometimes it starts agaim, sometimes it gives me a "no space left" error, although there's plenty of space on the NAS. Does anyone experience the same issues?  i have the same problem with samba nad FTP  ive got used to it 
|
|
|
|
|
Logged
|
|
|
|
|
JoKeR
|
 |
« Reply #353 on: June 01, 2008, 15:28:36 PM » |
|
check disks (e2fsck or check webui->disk utility->check)
|
|
|
|
|
Logged
|
|
|
|
|
kind
|
 |
« Reply #354 on: June 01, 2008, 17:04:28 PM » |
|
Hi, JoKeR. My native language is russian. I (and, I suppose, many others russian speaking) suffer from reading names in "strange", unreadable symbols. I use Windows on my PC, and my WAP-0008 is mounted as net-disk in windows explorer. I copy my files using standart windows method (copy/paste). But when I make FTP-connection to WAP - I get unreadable symbols (originally being russians). Same in mc. Is there any hope that future firmwares will support win1251 charset?
|
|
|
|
|
Logged
|
|
|
|
|
JoKeR
|
 |
« Reply #355 on: June 01, 2008, 18:52:17 PM » |
|
i try later, if kernel not enlarge too much EDIT: http://mgb111.pradnik.net/ -> FW C009-M2 Russian CharsetsISO-8859-5 KOI8-R KOI8-U/RU CP-1251 CP-866
|
|
|
|
« Last Edit: June 01, 2008, 19:24:41 PM by JoKeR »
|
Logged
|
|
|
|
|
kind
|
 |
« Reply #356 on: June 01, 2008, 19:42:19 PM » |
|
JoKeR, you are really fast!!! Thank you very much! I think it will great news for russian community!
|
|
|
|
« Last Edit: June 01, 2008, 21:01:48 PM by kind »
|
Logged
|
|
|
|
|
Dynia
|
 |
« Reply #357 on: June 01, 2008, 20:40:44 PM » |
|
Joker, thank you very much for Russian charsets - going flash it right now.
Did anybody made Apach working? It`s behavior looks strange to me: I configured it just for the test to work on my LAN: listen to 192.168.0.152:8080 and placed test index.html in www. It start normally - no errors on log. and the fist time when I launch browser it displays the index.html just fine, but after that it became mute - I cannot refresh the index.html.
the is also another observation: when I launch it sometime say: cannot bind to the socket 192.168.0.152:8080 and exit I cannot understand why it happens - I didn`t do any changes, but it cannot start normally again.
I tryed both 2.0 and 2.2 versions - all the same.
|
|
|
|
|
Logged
|
|
|
|
|
Dynia
|
 |
« Reply #358 on: June 01, 2008, 20:59:47 PM » |
|
just flashed new image with Russian charsets - flashed fine. but mc does not show russian chars still  May by i have to check some config files? After the I flashed new FW Apache 2.2 is working fine - no more drop-outs. a bit strange. Anyway thanks to JKR.
|
|
|
|
|
Logged
|
|
|
|
|
kind
|
 |
« Reply #359 on: June 01, 2008, 21:03:37 PM » |
|
Same...( Updated with new firmware ("russian edition"), but haven't seen any change ... (. Changed vsftpd.conf lines: local_charset = CP1251 and remote_charset = CP1251, no change.
JoKeR, please, place some comments...
|
|
|
|
|
Logged
|
|
|
|
|