Re: [gentoo-user] Setting default MTU for rp-pppoe
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 to set the MTU and logging or whatever. Instead of having to edit the script file. It also overrides the defaults. :P -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting default MTU for rp-pppoe
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 here that you would like to pass to pppd, like: PPPD_EXTRA=mtu 1352 mru 1352 logfd 1 to set the MTU and logging or whatever. Instead of having to edit the script file. It also overrides the defaults. :P -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting default MTU for rp-pppoe
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 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 -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting default MTU for rp-pppoe
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 errors:0 dropped:0 overruns:0 frame:0 TX packets:287 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:43856 (42.8 Kb) TX bytes:37356 (36.4 Kb) ifconfig ppp0 mtu 1352 works however but I want it to set the ppp0 mtu to 1352 as default when the connection comes up. On 8/6/05, Paul Kain [EMAIL PROTECTED] wrote: /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 [EMAIL PROTECTED] wrote: 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 it forward it installs Windows -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting default MTU for rp-pppoe
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 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 errors:0 dropped:0 overruns:0 frame:0 TX packets:287 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:43856 (42.8 Kb) TX bytes:37356 (36.4 Kb) ifconfig ppp0 mtu 1352 works however but I want it to set the ppp0 mtu to 1352 as default when the connection comes up. On 8/6/05, Paul Kain [EMAIL PROTECTED] wrote: /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 [EMAIL PROTECTED] wrote: 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 it forward it installs Windows -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting default MTU for rp-pppoe
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, that should help). rp-pppoe will always override the MTU you set elsewhere... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting default MTU for rp-pppoe
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 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, that should help). rp-pppoe will always override the MTU you set elsewhere... -- gentoo-user@gentoo.org mailing list -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting default MTU for rp-pppoe
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 forward it installs Windows -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting default MTU for rp-pppoe
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