Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-08 Thread Paul Kain
thanks man I'll use that On 8/8/05, Ryan Viljoen <[EMAIL PROTECTED]> wrote: > Found an easier way to do it instead of editting the adsl-connect > script, for future reference. > In /etc/ppp/pppoe.conf there is the following line: PPPD_EXTRA="" > (round line 136) you can list any extra arguments

Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-08 Thread Ryan Viljoen
Found an easier way to do it instead of editting the adsl-connect script, for future reference. In /etc/ppp/pppoe.conf there is the following line: PPPD_EXTRA="" (round line 136) you can list any extra arguments here that you would like to pass to pppd, like: PPPD_EXTRA="mtu 1352 mru 1352 logfd 1"

Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-07 Thread Ryan Viljoen
Perfect thanks James. That worked perfectly... Hmmm never throught to look in the connect scripts. Cheers Rav On 8/6/05, James Hiscock <[EMAIL PROTECTED]> wrote: > > James I grep'd all the files in /etc/ppp/ for 1432 with out any success. > > Sorry -- it's been a long time since I've fiddled wit

Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-06 Thread James Hiscock
> James I grep'd all the files in /etc/ppp/ for 1432 with out any success. Sorry -- it's been a long time since I've fiddled with rp-pppoe. The setting's actually buried and hard-coded in /usr/sbin/adsl-connect... around line 223 (PPP_STD_OPTIONS)... -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-06 Thread Ryan Viljoen
> Yeah I was hoping it wouldnt come to adding it in there paul. Looks > like I am going to. The only problem with this is that if the connection drops than the MTU will return to 1432. -- "When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forw

Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-06 Thread Ryan Viljoen
Yeah I was hoping it wouldnt come to adding it in there paul. Looks like I am going to. James I grep'd all the files in /etc/ppp/ for 1432 with out any success. On 8/6/05, James Hiscock <[EMAIL PROTECTED]> wrote: > > Could anyone tell me how I go about setting the default MTU of my > > pppoe conn

Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-06 Thread James Hiscock
> Could anyone tell me how I go about setting the default MTU of my > pppoe connection. I am using rp-pppoe to bring it up. It currently > sets it to 1432 and I need it to be 1352. It's buried in the rp-pppoe config file (can't remember what the name of the option is, but if you look for 1432, tha

Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-06 Thread Paul Kain
ok, so then try this nano /etc/conf.d/local.start and add ifconfig ppp0 mtu 1352 on a new line On 8/6/05, Ryan Viljoen <[EMAIL PROTECTED]> wrote: > Tried that it doesnt work I am afraid. > > As you can see no change in the mtu... > ppp0 Link encap:Point-to-Point Protocol > i

Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-06 Thread Ryan Viljoen
Tried that it doesnt work I am afraid. As you can see no change in the mtu... ppp0 Link encap:Point-to-Point Protocol inet addr:196.2.100.119 P-t-P:196.30.31.100 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1432 Metric:1 RX packets:316 err

Re: [gentoo-user] Setting default MTU for rp-pppoe

2005-08-06 Thread Paul Kain
/sbin/ifconfig ppp0 mtu 1352 or 1392 whatever tickles your fancy If you wish your mtu to be set when booting up do the following : cd /etc/ppp/ fire up vim or your favourite editor and edit pppoe.conf go all the way to the bottom and add this line mtu="1352" save. On 8/6/05, Ryan Viljoen

[gentoo-user] Setting default MTU for rp-pppoe

2005-08-06 Thread Ryan Viljoen
Hi Could anyone tell me how I go about setting the default MTU of my pppoe connection. I am using rp-pppoe to bring it up. It currently sets it to 1432 and I need it to be 1352. Thanks Rav -- "When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play