Koozali.org: home of the SME Server

MTU configuration and SME 7.4

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
MTU configuration and SME 7.4
« on: April 10, 2009, 04:48:14 AM »
The release notes for SME 7.4 state that MTU is now configurable.

How?

  • via custom templates
  • via db configuration


Regards,
William

IF I give advise.. It's only if it was me....

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: MTU configuration and SME 7.4
« Reply #1 on: April 10, 2009, 08:29:25 AM »
The release notes for SME 7.4 state that MTU is now configurable.

How?

  • via custom templates
  • via db configuration
AFAIK there is a bug number with it, IIRC correctly the bug explained in one of it's comments on how to do so.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: MTU configuration and SME 7.4
« Reply #2 on: April 11, 2009, 05:02:21 AM »
The release notes for SME 7.4 state that MTU is now configurable.

How?

  • via custom templates
  • via db configuration

If it was via custom templates, then it wouldn't be mentioned in the release notes.

To find out what db property to use, try:

Code: [Select]
grep -r -i mtu /etc/e-smith/templates

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: MTU configuration and SME 7.4
« Reply #3 on: April 11, 2009, 08:31:22 AM »
If it was via custom templates, then it wouldn't be mentioned in the release notes.
True but that is not what I remembered, I had a search through the bugtracker and found this one: http://bugs.contribs.org/show_bug.cgi?id=549#c41 , so it would be the database.

And according to http://fisheye1.atlassian.com/browse/smeserver/rpms/e-smith-pptpd/sme7/e-smith-pptpd-1.12.0-mtumru_db.patch?r=1.1 it should be something like this:

Code: [Select]
db configuration setprop pptpd mtu xxxx
db configuration setprop pptpd mru xxxx
signal-event remoteaccess-update
« Last Edit: April 11, 2009, 08:37:25 AM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: MTU configuration and SME 7.4
« Reply #4 on: April 11, 2009, 10:28:07 AM »
Thanks Cactus,

I was just going through the same bug and getting myself confused.

What I want to do is change the MRU of my external interface, eth1.

« Last Edit: April 11, 2009, 10:29:39 AM by william_syd »
Regards,
William

IF I give advise.. It's only if it was me....

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: MTU configuration and SME 7.4
« Reply #5 on: April 11, 2009, 10:41:40 AM »
What I want to do is change the MRU of my external interface, eth1.
Not sure if this applies to normal NIC behavior as I believe pptpd is a point-to-point tunneling protocol daemon used for VPN. I am unfamiliar with MTU/MRU, just happened to know the bug.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)