Discussion:
pppoe compression to speed up connection
Israel CQ
2007-07-27 15:31:47 UTC
Permalink
Hello. I want monowall to use ppp compression
over pppoe on monowall.

I was using another box and there, I could set the
compression level adjusting the values of bsdcomp
or deflate with the options min, max.

I already checked the archives and found that the
file mpd.conf contains:

pppoe:
new -i ng0 pppoe pppoe
set iface route default
set iface disable on-demand
set iface idle 0
set iface up-script /usr/local/sbin/ppp-linkup
set bundle disable multilink
set bundle authname "*****"
set bundle password "*****"
set link keep-alive 10 60
set link max-redial 0
set link no acfcomp protocomp
set link disable pap chap
set link accept chap
set link mtu 1492
set ipcp yes vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
open iface

1. How can I edit this in my working monowall? I mean
I don't have a shell access. The only way I suppose is
posible is moving the hard drive to a machine with linux
in it, isn't it?
2. Does monowall support pppd compression?
Can somebody know how to configure compression
on monowall? I would like to increase the
compression level.

Thanks in advance.

Israel
Chris Buechler
2007-07-27 22:03:58 UTC
Permalink
Post by Israel CQ
Hello. I want monowall to use ppp compression
over pppoe on monowall.
I was using another box and there, I could set the
compression level adjusting the values of bsdcomp
or deflate with the options min, max.
I already checked the archives and found that the
new -i ng0 pppoe pppoe
set iface route default
set iface disable on-demand
set iface idle 0
set iface up-script /usr/local/sbin/ppp-linkup
set bundle disable multilink
set bundle authname "*****"
set bundle password "*****"
set link keep-alive 10 60
set link max-redial 0
set link no acfcomp protocomp
set link disable pap chap
set link accept chap
set link mtu 1492
set ipcp yes vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
open iface
1. How can I edit this in my working monowall? I mean
I don't have a shell access. The only way I suppose is
posible is moving the hard drive to a machine with linux
in it, isn't it?
Easiest is with a FreeBSD box and
http://chrisbuechler.com/m0n0wall/downloads/workon.sh

Linux can't write to the file system used so you can't use it.

For testing purposes, see exec.php. Those changes won't survive a
reboot though, for that you need to edit the image.
Post by Israel CQ
2. Does monowall support pppd compression?
It's MPD not pppd. The MPD site says it does:
http://www.dellroad.org/mpd (it seems to be down at the moment but
the Google cache works)

-Chris
Israel CQ
2007-07-29 23:12:57 UTC
Permalink
Thanks for the tip Chris.

Would you suggest me a simple FreeBsd distro
to make this task. Maybe a bootable or live one?

Again thanks.

Israel.
Lee Sharp
2007-07-30 00:28:06 UTC
Permalink
Post by Israel CQ
Thanks for the tip Chris.
Would you suggest me a simple FreeBsd distro
to make this task. Maybe a bootable or live one?
I made a qemu VM that you can use. The web site is down (comming back
soon) but I think Chris still has a copy at
http://chrisbuechler.com/m0n0wall/downloads/vmde-0.2.rar You will need
a working install of qemu.

Lee
Israel CQ
2007-07-31 14:44:43 UTC
Permalink
Hello. Thanks for the links and tools.

Just a doubt. I am using exec.php to test the changes
I will make but I don“t know how to edit files.

How can I edit files using exec.php?

And, by the way, do you know where can I find the
file mpd.conf?

Thanks a lot. I am a step forward to accomplish this.
I will tell you the results.

Israel.

Loading...