How to Disable Multicast on ppp&kppp in Feisty + Gutsy

Sponsored Link
How To Disable Multicast & All multicast On Ppp0 And Poss Other Devices
SOME WERE USED ON FEISTY AND THEN I UPGRADED TO GUTSY JUST BEFORE THE BETA CAME OUT -- A MONTH OR SO, ETC..

WELL it TOOK ME A BIT to figure out but finally got it after a BIG HUGE help from THIS page

IF YOU ARE USING A DIALUP MODEM MAKE SURE YOU ARE DIALED UP AT THE TIME WHILE DOING THIS AS YOU'LL GET AN ERROR THAT ppp0 DOES NOT EXIST..

I actually went into system tools -- root terminal to do this so try gksudo or sudo if you do not go thru that type of terminal in front/beginning of the command

To Temporary disable Multicast do the following: (May Permanently disable Multicast for other devices such as Ethernet devices for highspeed cable, etc.. I don't know I only use dialup)::::

1. DO THIS FIRST OTHERWISE YOU'LL GET AN ERROR SIMILAR TO THIS: Warning: Interface ppp0 still in ALLMULTI mode.

open up a terminal and type or copy and paste the following:

ifconfig ppp0 -multicast

(for others replace ppp0 with your device such as Ethernet eth0 i believe that's what it is..)

2. then type or copy and paste to turn off ALLMULTI mode with this direction is or step it is optional I believe...

ifconfig ppp0 -allmulti

(Again replace ppp0 with the device you connect to the internet again an example would be eth0 for Ethernet)

....................

TO RE-ENABLE I believe you do the step AGAIN and the SAME way WITH the SAME commands Above..

....................

To permanently disable Multicast on every dialup session do the following: (if using GnomePPP.

1. open up a terminal
2. gksudo nautilus
3. input password
4. navigate to file system -- /etc/ppp/ip-up.d
5. right click a file named 0000usepeerdns
6. select open with text editor
7. right after
# restart nscd because resolv.conf has changed
if [ -e /var/run/nscd.pid ]; then
/etc/init.d/nscd restart || true
fi
8. press enter after fi
9. copy and paste or type the following
ifconfig ppp0 -multicast
10. press Enter once more time and there should be 1 space after fi and 1 space before
exit 0
11. Save the file by pressing save at the top
12. Exit out of the text editor
13. after that exit the dialup session and re-dial in for it to take effect.

Next options are OPTIONAL:

To see if it took effect

1. Start menu -- system -- administration -- Network Tools
2. by Network Device loopback interface (lo) should be shown, click that
3. scroll down to modem interface (ppp0) and select it.
4. At the bottom under Interface Information on the left side under Hardware address there should be something called Multicast: and it should say Disabled next to it. If so exit out of the network tools and your now def. finished.

How to disable Multicast with KPPP

NOTE: BY DOING THE BELOW YOU MUST BE AWARE THAT IFCONFIG WILL BE MADE AVAILABLE PASSWORDLESS AND THAT WHEN TYPING SUDO IFCONFIG IT WILL DO THE REQUIRED ACTIONS WITHOUT REQUIRING ANY PASSWORD CONFIRMINATION UNDER YOUR USERNAME AS THIS WAS THE ONLY WAY I FOUND OUT HOW TO DISABLE MULTICAST ON EVERY KPPP DIAL-IN.

1. Create a new Document file anywhere -- I put mine is /etc/ppp and name it anything but input .sh at the end to make it a script file.

2. open it up and type or copy and paste the following

#!/bin/sh
sudo ifconfig ppp0 -multicast

3. Save and if you have it in a root location that's locked by root such as in the filesystem directory and not your home folder then right click and change the owner to your username from withing the drop down list under owner. Now check mark the box at the bottom next to run as executable. After that click apply settings or close if no apply is available.

4. open up a terminal and type

export EDITOR=gedit && sudo visudo

5. now input at the bottom and change USERNAME to your username

USERNAME ALL=NOPASSWD:/sbin/ifconfig

6. save the file.

7. log out and back in.

8. open up Kppp
9. configure -- Accounts -- select the internet account u use -- edit -- Execute

10. After that type the location to your script we discussed earlier in the box next to Upon Connect:, and don't forget the .sh extension part as such it is needed.

11. okay and then okay

12 then connect and now it should be disabled. U can verify this in the Network tools.

Sponsored Link

Incoming search terms:

Related posts

Leave a comment

Your email address will not be published. Required fields are marked *