macsat.com OpenWrt and ASUS WL Forum
December 05, 2008, 14:27:57 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: 1 ... 21 22 [23] 24 25 ... 30   Go Down
  Print  
Author Topic: MGB111 update  (Read 65675 times)
0 Members and 2 Guests are viewing this topic.
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #330 on: May 27, 2008, 19:50:52 PM »

now i've got xmail running and confured with phpxmail ;o)
i still lack whois...

and in the end i cannot send a mail with xmail... strange but i probably need to dig the thing a lil more, anyone got tips about xmail configuration to let fail2ban send  his logs ? i probably have to configure xmail to let users send their mails without authentification...

What do you think about this?

Thx
Logged
Deciman
Newbie
*
Offline Offline

Posts: 15


View Profile
« Reply #331 on: May 27, 2008, 21:11:19 PM »

The trouble continues with my Airlive....

mounting NFS directories shared on the Airlive works, but not as it should...

Mounting those 'drives' with my Windows-PC (SFU for Windows 3.5) works, but speed is something else.
Before i used the same software on my (slower!!!) win-PC to set up a NFS server and got better speed.
Some directories I shared have been set 'read only' by the Airlive and I had to correct that using MC.
Also i figured out, that mounting via samba server and using ftp is much faster than NFS...

First I thought, that my windows pc causes that trouble. So i tried to mount the same directories again with my dbox2 (running with linux).
Mounting those directories works. Playing mp3 out of those directories works for about 20 seconds.
After that time the player stopps, and all further files are not played (just like they don't exist).
Thying the same directories and files mounted by FTP or CIFS (dbox2 provides all those types of mounting) without rebooting or resetting any device everything works fine.

But for recording with my dbox2 FTP and CIFS are to slow. So I need a working NFS with enough speed.

Any idea how I can speed up NFS to at least 10 MB/s???
And any ideas how to add users to my Airlive? 
Using 'adduser -H -G .....' asks me twice for a password and after entering the same password twice it shows an error --> an error occured updating the password file

Deci

Logged
Dynia
Newbie
*
Offline Offline

Posts: 19


View Profile
« Reply #332 on: May 27, 2008, 21:26:50 PM »

Kael,

Thank you Kael. But could you please clarify for me where should I untar the Python package?
I dawnloaded all files (without python first) and fail2ban said that the Pyton is not found.
How should I install Python?
Thank you. Regards.
Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #333 on: May 27, 2008, 21:31:40 PM »

@Dynia :  dis you download python from JKR website? these are working add ons, that you just have to untar in /mnt/C/ you'll fin all needed files in your /mnt/C/sys/

for the fail2ban archive, i did extract it in /mnt/C/sys/

but read carefully fail2ban documentation as you will need to configure files to match your configuration.
Logged
romizt
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #334 on: May 27, 2008, 22:13:11 PM »

Is it possible to update with OPENWRT?
Thanks.
romizt : as far as i know, this is not possible
Why not?
It is possible on MGB100, as I did read here:
http://www.macsat.com/macsat/component/option,com_openwiki/Itemid,66/
If OpenWRT works on MGB100, it has to work on MGB111 too.
Or not?
Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #335 on: May 28, 2008, 10:10:03 AM »

Is it possible to update with OPENWRT?
Thanks.
romizt : as far as i know, this is not possible
Why not?
It is possible on MGB100, as I did read here:
http://www.macsat.com/macsat/component/option,com_openwiki/Itemid,66/
If OpenWRT works on MGB100, it has to work on MGB111 too.
Or not?
Not. Hardware is nearly but not fully compatible: different wireless controller, SATA controller. If you don't need wireless and SATA, then it should work.

chimbo
Logged
Dynia
Newbie
*
Offline Offline

Posts: 19


View Profile
« Reply #336 on: May 28, 2008, 12:06:37 PM »

Hi Kael,

Thank you. Now I`ve got right version of Python from JKR site. will continue tuning:)
Thanks again.
Regards, Dynia.
Logged
romizt
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #337 on: May 28, 2008, 14:55:57 PM »

Is it possible to update with OPENWRT?
Thanks.
romizt : as far as i know, this is not possible
Why not?
It is possible on MGB100, as I did read here:
http://www.macsat.com/macsat/component/option,com_openwiki/Itemid,66/
If OpenWRT works on MGB100, it has to work on MGB111 too.
Or not?
Not. Hardware is nearly but not fully compatible: different wireless controller, SATA controller. If you don't need wireless and SATA, then it should work.

chimbo
MGB100 vs MGB111 ...

MGB100
AMRISC 20000 (R3210 i386 compatible CPU)
IT8211F (IDE controller)
RT2560F (WLAN 54Mbit)
AT93C46 (1 kBit EEPROM)
IP101A (Ethernet Transceiver)
MX29LV320A Flash Mem (4 MByte)
42S16160 SDRAM (32 MByte)
PCF8563 (RTC)

MGB111
AMRISC 20000 (R3210GCL)
IT8211F (IDE controller)
RT2561ST (WLAN 54Mbit)
MX29LV320CTTC-90G (Flash Mem 4 MByte)
42S16160 SDRAM (32 MByte)

WLAN is quite the same. Problem may occur with SATA controller.
Logged
Dynia
Newbie
*
Offline Offline

Posts: 19


View Profile
« Reply #338 on: May 29, 2008, 09:19:07 AM »

Hi Kael,

i`m sorry but I need further guidance on configuring of fail2ban. I installed Python (from JKR` site) and loaded ipt_recent.o.
I configured fail2ban.conf and jail. then I launched fail2ban-client. It said that it could not communicate to server. I created fail2ban.sock file (blank) and adjusted fail2ban.conf again.  Client said again that it could not communicate with server. I tried to launch fail2ban-server directly. It said that it cannot locate PID file. I investigated this issue - wiki sais that this is a bug in 0.82 version. I replaced the server.ry file with new one from wiki. after that fail2ban-server start normally, but it exit right after the start message appears. When I tried to launch fail2ban-client it again saying that it cannot communicate to server. My questions are: should i launch server somehow or client should be able to initiate it itself? Am I missing something else?
Thank you.
Regards, Dynia.
Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #339 on: May 29, 2008, 12:17:04 PM »

@ Dynia : for example, i did configure my fail2ban : edited jail.conf to enable the needed jails, and specify the mail address to send reports AND THE PLACE WHERE IT CAN FIND THE LOGS from VSFTPD or servers you want to secure. After this, you need to configure fail2ban.conf and give the right path to the files (i think thats the path to pid and sock files... i'll check when back at home).

to launch fail2ban : cd to the fail2ban directory and Launch "./fail2ban-client -c /the_path_to_your_fail2ban_config_files/ start" otherwise it will probably give error messages.

To check it works : "./fail2ban-client -c /the_path_to_your_fail2ban_config_files/ status"
To stop : "./fail2ban-client -c /the_path_to_your_fail2ban_config_files/ stop"
never use fail2ban-server

Just let me know, did you correctly install iptables before to try fail2ban?

This link was usefull, just watch correctly for the environment paths to needed files, and you will probably need to adapt the paths or create some:

http://www.fail2ban.org/wiki/index.php/FAQ_english#How_can_I_run_Fail2ban_without_installation.3F

i also modified to let fail2ban write logs in /var/logs/message this way i can monitor fail2ban directly from web admin interface. As it doesnt seems to work with syslogd.

Feel free to private msg too or contact me on msn
Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #340 on: May 29, 2008, 12:45:48 PM »

@ JKR : I cannot get gwhois to work on my device... could you confirm methe iles and libs i need to get it to work correctly? i did install libs and perl... but i've got this answer :

syntax error at /mnt/C/sys/etc/gwhois/pattern line 6, near ":"
Compilation failed in require at /usr/bin/whois line 91.
Logged
JoKeR
Newbie
*
Offline Offline

Posts: 36


View Profile WWW
« Reply #341 on: May 29, 2008, 16:06:30 PM »

@ JKR : I cannot get gwhois to work on my device... could you confirm methe iles and libs i need to get it to work correctly? i did install libs and perl... but i've got this answer :

syntax error at /mnt/C/sys/etc/gwhois/pattern line 6, near ":"
Compilation failed in require at /usr/bin/whois line 91.

look at 91 line in gwhois.
only perl 5.8 is needed.

Code:
[root@gatefs C]# gwhois 192.168.0.0
Process query: '192.168.0.0'
Query recognized as IPv4.
Querying whois.arin.net:43 with whois.


OrgName:    Internet Assigned Numbers Authority
[...]
Logged

[ http://mgb111.pradnik.net/ ] [ Final version: C009-M2] [ for 4.00b4 ] [ read env-ng.txt ] [ Changelog ]
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #342 on: May 29, 2008, 18:34:00 PM »

@ JKR: strange i got this around what seems to be the line 6:

$| = 1;                                                                     
$confdir = '/mnt/C/sys/etc/gwhois';                                         
$patternfilename = 'pattern';                                                   
$patternfilere = qr/^pattern/;                                                 
$useLWP = 1;

and around the line 91

$sendmail = 1;                                                                 
if ( -f "/mnt/C/sys/etc/gwhois/pattern" )                                       
{                                                                               
  require "/mnt/C/sys/etc/gwhois/pattern";                                     


i aint got no "pattern" or /mnt/C/sys/etc/gwhois files...
Logged
JoKeR
Newbie
*
Offline Offline

Posts: 36


View Profile WWW
« Reply #343 on: May 29, 2008, 19:19:43 PM »

Quote from: Kael
if ( -f "/mnt/C/sys/etc/gwhois/pattern" )                                       
{                                                                               
  require "/mnt/C/sys/etc/gwhois/pattern";                                     


remove all this
Logged

[ http://mgb111.pradnik.net/ ] [ Final version: C009-M2] [ for 4.00b4 ] [ read env-ng.txt ] [ Changelog ]
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #344 on: May 29, 2008, 19:31:56 PM »

@ JKR : Thats workin!!!! but can you explain what was these lines? this pattern directory?
Logged
Pages: 1 ... 21 22 [23] 24 25 ... 30   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.308 seconds with 25 queries.