macsat.com OpenWrt and ASUS WL Forum
December 05, 2008, 14:07:39 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 ... 19 20 [21] 22 23 ... 30   Go Down
  Print  
Author Topic: MGB111 update  (Read 65628 times)
0 Members and 1 Guest are viewing this topic.
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #300 on: May 20, 2008, 08:31:27 AM »


Can anyone help with this please, I still need to know how to get this to boot with the drive when the drive is powered up.

Thanks Grin
Add this command (ushare -x) to your /mnt/C/sys/etc/rc-local. Don't use notepad. Do it in linux.
chimbo

Better add 'ushare -x &'
« Last Edit: May 20, 2008, 08:33:42 AM by chimbo » Logged
JoKeR
Newbie
*
Offline Offline

Posts: 36


View Profile WWW
« Reply #301 on: May 20, 2008, 11:06:47 AM »

Better way: edit /mnt/C/sys/etc/ushare.conf
(ENABLE_XBOX=no/yes, USHARE_DIR=/mnt/whatever)
and add "ushare -D &" (-D = daemon) to rc-local
Logged

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

Posts: 40



View Profile
« Reply #302 on: May 21, 2008, 09:46:09 AM »

Ok, you can find the content of my newest /mnt/C dir (sys/ and root/ only) here

http://rapidshare.de/files/39449435/C.tar.gz.html

Chimbo, did you by any chance install Aircrack-ng as well?  Grin
Logged
ukez
Newbie
*
Offline Offline

Posts: 27


View Profile
« Reply #303 on: May 22, 2008, 21:20:55 PM »


Can anyone help with this please, I still need to know how to get this to boot with the drive when the drive is powered up.

Thanks Grin
Add this command (ushare -x) to your /mnt/C/sys/etc/rc-local. Don't use notepad. Do it in linux.
chimbo

Better add 'ushare -x &'

I cant find that directory it says its not found, and if i browse it i cant see it either... Huh
Logged

Is a member of the MGB111 syndicate
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #304 on: May 23, 2008, 10:06:23 AM »


Can anyone help with this please, I still need to know how to get this to boot with the drive when the drive is powered up.

Thanks Grin
Add this command (ushare -x) to your /mnt/C/sys/etc/rc-local. Don't use notepad. Do it in linux.
chimbo

Better add 'ushare -x &'

I cant find that directory it says its not found, and if i browse it i cant see it either... Huh
rc-local is not a directory, it is a script file. If you don't have it, make a new one or copy one of joker's examples.

Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #305 on: May 23, 2008, 11:53:21 AM »

Hi all,

Recently found that somebody is trying to brute force my vsftpd.
I was allready looking at fail2ban to secure vsftpd and ssh, but it seems we need more iptables modules available (ipt_recent).
After this, we can use fail2ban "out of the tar archive" or compile it to use on the mgb111.

Did someone successfully compile all iptables modules? i've tried JKR archives, but it seems some modules are not yet implemented to block ip after a few failed login.
« Last Edit: May 23, 2008, 13:19:42 PM by Kael » Logged
JoKeR
Newbie
*
Offline Offline

Posts: 36


View Profile WWW
« Reply #306 on: May 23, 2008, 16:04:51 PM »

Quote from: Kael
i've tried JKR archives, but it seems some modules are not yet implemented to block ip after a few failed login.
http://mgb111.pradnik.net/addons/modules-kernel-extra.tar
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 #307 on: May 23, 2008, 17:29:22 PM »

thank you for the reply but i've allready installed those ones... i'll try again maybe i missed something... or did you updated the file?

EDIT : Ho sorry, made a mistake i installed modules but not modules extras ^^ thank you!
« Last Edit: May 23, 2008, 17:35:09 PM by Kael » Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #308 on: May 23, 2008, 18:59:22 PM »

well, installed the file, all .o files are here.. but :
$ modprobe ipt_recent 
modprobe: module ipt_recent not found.
modprobe: failed to load module ipt_recent

anyone knows why i cannot load modules?
Logged
JoKeR
Newbie
*
Offline Offline

Posts: 36


View Profile WWW
« Reply #309 on: May 23, 2008, 19:59:07 PM »

Code:
cd /mnt/sys/etc/modules/net/ipv4/netfilter/
insmod ipt_recent.o
or
Code:
insmod /mnt/sys/etc/modules/net/ipv4/netfilter/ipt_recent.o

that's why they are in separate package
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 #310 on: May 23, 2008, 20:03:01 PM »

i've tried and it gives me this ...

insmod: kernel-module version mismatch
   ipt_recent.o was compiled for kernel version 2.4.28
   while this kernel is version 2.4.28-JKR.

^^ so i use "insmod -f" and  it works, i can now work on iptables settings and fail2ban ;o)
thx again
« Last Edit: May 23, 2008, 20:08:52 PM by Kael » Logged
JoKeR
Newbie
*
Offline Offline

Posts: 36


View Profile WWW
« Reply #311 on: May 23, 2008, 20:26:04 PM »

   ipt_recent.o was compiled for kernel version 2.4.28
   while this kernel is version 2.4.28-JKR.

download fresh version, fixed
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 #312 on: May 23, 2008, 20:32:52 PM »

great! i've seen a file named HDDdir.sh could you tell me more about this file? i see this one creates some dirs but i wonder why is it made and placed here?
Logged
JoKeR
Newbie
*
Offline Offline

Posts: 36


View Profile WWW
« Reply #313 on: May 23, 2008, 21:07:54 PM »

this script is in 4.00b2 version only, in b4 not. created for lazy users (-;
better is get minimal-config and unpack.
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 #314 on: May 24, 2008, 09:28:57 AM »

ok ^^

in the end i did uptade my FW, but i'm still using -f as it keep on give me same "taint kernel" message.
Logged
Pages: 1 ... 19 20 [21] 22 23 ... 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.096 seconds with 25 queries.