HeckMeck
Aktives Mitglied
Thread Starter
- Dabei seit
- 11.11.2002
- Beiträge
- 2.538
- Reaktionspunkte
- 16
mtu
Here's how to make your new mtu setting persistent. Log in using your administrator account and open a Terminal window. Enter the following:
sudo pico /etc/ppp/ip-up
Type the following two lines into the new file you just created:
#!/bin/sh
/sbin/ifconfig ppp0 mtu 1492
Save the file using Ctrl-O (Write Out)Wenn ich crtl-o drücke steht bei mir "Cannot open file for writing", was mach ich falsch?
then exit pico using Ctrl-X. Next you must make the file you just created executable. Enter this command:
sudo chmod 755 /etc/ppp/ip-up
That's it. What this does is create a shell script called ip-up that readjusts your mtu on your pppoe interface. The ppp daemon which controls your pppoe connection will run, as root, any commands it finds in /etc/ppp/ip-up whenever it activates a ppp/pppoe connection. Now anytime anyone on your computer activates the adsl connection, the mtu will be set to the correct value.
For the masochists, type "man pppd" in a terminal window for more info about this and other cool features of the ppp daemon.
Here's how to make your new mtu setting persistent. Log in using your administrator account and open a Terminal window. Enter the following:
sudo pico /etc/ppp/ip-up
Type the following two lines into the new file you just created:
#!/bin/sh
/sbin/ifconfig ppp0 mtu 1492
Save the file using Ctrl-O (Write Out)Wenn ich crtl-o drücke steht bei mir "Cannot open file for writing", was mach ich falsch?
then exit pico using Ctrl-X. Next you must make the file you just created executable. Enter this command:
sudo chmod 755 /etc/ppp/ip-up
That's it. What this does is create a shell script called ip-up that readjusts your mtu on your pppoe interface. The ppp daemon which controls your pppoe connection will run, as root, any commands it finds in /etc/ppp/ip-up whenever it activates a ppp/pppoe connection. Now anytime anyone on your computer activates the adsl connection, the mtu will be set to the correct value.
For the masochists, type "man pppd" in a terminal window for more info about this and other cool features of the ppp daemon.