Gentoo Archives: gentoo-user

From: Paul Kain <paul.kain@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Setting default MTU for rp-pppoe
Date: Sat, 06 Aug 2005 19:55:01
Message-Id: 451ba792050806124954d23763@mail.gmail.com
In Reply to: Re: [gentoo-user] Setting default MTU for rp-pppoe by Ryan Viljoen
1 ok, so then try this
2
3 nano /etc/conf.d/local.start
4
5 and add
6
7 ifconfig ppp0 mtu 1352
8
9 on a new line
10
11
12
13 On 8/6/05, Ryan Viljoen <ravilj@×××××.com> wrote:
14 > Tried that it doesnt work I am afraid.
15 >
16 > As you can see no change in the mtu...
17 > ppp0 Link encap:Point-to-Point Protocol
18 > inet addr:196.2.100.119 P-t-P:196.30.31.100 Mask:255.255.255.255
19 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1432 Metric:1
20 > RX packets:316 errors:0 dropped:0 overruns:0 frame:0
21 > TX packets:287 errors:0 dropped:0 overruns:0 carrier:0
22 > collisions:0 txqueuelen:3
23 > RX bytes:43856 (42.8 Kb) TX bytes:37356 (36.4 Kb)
24 >
25 > ifconfig ppp0 mtu 1352 works however but I want it to set the ppp0 mtu
26 > to 1352 as default when the connection comes up.
27 >
28 >
29 > On 8/6/05, Paul Kain <paul.kain@×××××.com> wrote:
30 > > /sbin/ifconfig ppp0 mtu 1352
31 > >
32 > > or 1392 whatever tickles your fancy
33 > >
34 > > If you wish your mtu to be set when booting up do the following :
35 > >
36 > > cd /etc/ppp/
37 > >
38 > > fire up vim or your favourite editor and edit pppoe.conf
39 > >
40 > > go all the way to the bottom and add this line
41 > >
42 > > mtu="1352"
43 > >
44 > >
45 > > save.
46 > >
47 > > On 8/6/05, Ryan Viljoen <ravilj@×××××.com> wrote:
48 > > > Hi
49 > > >
50 > > > Could anyone tell me how I go about setting the default MTU of my
51 > > > pppoe connection. I am using rp-pppoe to bring it up. It currently
52 > > > sets it to 1432 and I need it to be 1352.
53 > > >
54 > > > Thanks
55 > > > Rav
56 > > >
57 > > > --
58 > > > "When you play a Microsoft CD backwards you can hear demonic Voices...
59 > > > that's nothing - when you play it forward it installs Windows"
60 > > >
61 > > > --
62 > > > gentoo-user@g.o mailing list
63 > > >
64 > > >
65 > >
66 > > --
67 > > gentoo-user@g.o mailing list
68 > >
69 > >
70 >
71 >
72 > --
73 > "When you play a Microsoft CD backwards you can hear demonic Voices...
74 > that's nothing - when you play it forward it installs Windows"
75 >
76 > --
77 > gentoo-user@g.o mailing list
78 >
79 >
80
81 --
82 gentoo-user@g.o mailing list