ebtables ebt_pkttype not loadable with insmod

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4
Author Message
afeno
DD-WRT Novice


Joined: 20 Mar 2015
Posts: 8

PostPosted: Fri Mar 20, 2015 16:03    Post subject: Startup Reply with quote
Hello,

Thank you very much for this post. I was able to get the missing file, put it in the jffs FS, create a script that filter the UDP pkgs. Everything perfect!

Now, how can I execute the commands automatically?

The startup (Administration -> Commands -> Startup) doesn't seem to work...

This is my

Code:
insmod ebtables.o
insmod ebtable_filter.o
insmod /jffs/ebt_pkttype.o
insmod ebt_ip.o
ebtables -A FORWARD -o eth1 -p ipv4 --pkttype-type multicast --ip-source ! 192.168.1.0/255.255.255.0 -j DROP


The code works in peaces (1 by 1) if I execute them using the Run Command button but it desn't work with the startup.

Thank you.
Regards,
Alfredo.
Sponsor
afeno
DD-WRT Novice


Joined: 20 Mar 2015
Posts: 8

PostPosted: Sat Mar 21, 2015 10:09    Post subject: Solved Reply with quote
Hi,
My problem was solved in this post:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=957111#957111

Thanks,
Alfredo.
dare978devil
DD-WRT Novice


Joined: 23 Jan 2014
Posts: 38

PostPosted: Sat Mar 21, 2015 18:56    Post subject: Excellent, glad you got it working. Reply with quote
I did have some issues with getting the lines to run in Startup, but once I tested everything in Telnet, then I just copied them to the Startup window, saved it, and they were executed on the following reboot. I can't explain why you had the problem you did, but glad to see adding a small delay resolved the issue.
Goto page Previous  1, 2, 3, 4 Display posts from previous:    Page 4 of 4
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum