This is a discussion on Turn off IPv6, HOW? within the Linux Networking forums, part of the Linux Forums category; How do I turn off IPv6 on this Linux workstation? -- Regards, Peter. http://www.pelicom.net.nz...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
|
|
|||
|
On Sat, 21 Jan 2006 23:38:30 +1300, Peter Lowrie wrote:
> How do I turn off IPv6 on this Linux workstation? Add the following line to /etc/modprobe.conf alias net-pf-10 off -- If you're not on the edge, you're taking up too much space. Linux Registered User #327951 |
|
|||
|
On Sun, 22 Jan 2006 00:45:40 +0100, Christoph Scheurer wrote:
> Am Samstag, den 21.01.2006, 23:38 +1300 schrieb Peter Lowrie: >> How do I turn off IPv6 on this Linux workstation? > > In /etc/modules.conf (depends on your Distro) add and release level, a few releases back and you are correct. Newest release it can be /etc/modprobe.conf |
|
|||
|
Dan C wrote:
> On Sat, 21 Jan 2006 23:38:30 +1300, Peter Lowrie wrote: > >> How do I turn off IPv6 on this Linux workstation? > > Add the following line to /etc/modprobe.conf > alias net-pf-10 off I always add the line IPV6INIT=no to /etc/sysconfig/network-scripts/ifcfg-eth0 [or eth<X>]. Is that sufficient? Incidentally, isn't it crazy that one has to write gibberish like "alias net-pf-10 off" ? What on earth does this mean? -- Timothy Murphy e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland |
|
|||
|
On Sun, 22 Jan 2006 17:47:28 +0000, Timothy Murphy wrote:
> I always add the line > IPV6INIT=no > to /etc/sysconfig/network-scripts/ifcfg-eth0 > [or eth<X>]. > > Is that sufficient? Don't know. That directory doesn't even exist on my (Slackware) system. > Incidentally, isn't it crazy that one has to write > gibberish like "alias net-pf-10 off" ? > What on earth does this mean? Can't recall off the top of my head, but there is a list of a bunch of these standardized items... Google would find it if you cared. -- If you're not on the edge, you're taking up too much space. Linux Registered User #327951 |
|
|||
|
Timothy Murphy <tim@birdsnest.maths.tcd.ie> wrote:
[disabling ipv6:] > I always add the line > IPV6INIT=no > to /etc/sysconfig/network-scripts/ifcfg-eth0 > [or eth<X>]. > > Is that sufficient? If your system is encumbered by the hideous mess of dereferenceable environment variables that is a Red Hat-style /etc/sysconfig/ tree, yes, that is indeed one different way to accomplish the same thing. Unlike the other answer cited, it doesn't apply to Linux generally. > Incidentally, isn't it crazy that one has to write > gibberish like "alias net-pf-10 off" ? > What on earth does this mean? It means don't load the net-pf-10 kernel module, which handles ipv6. |
|
|||
|
In comp.os.linux.networking Timothy Murphy <tim@birdsnest.maths.tcd.ie>:
> Dan C wrote: >> On Sat, 21 Jan 2006 23:38:30 +1300, Peter Lowrie wrote: >> >>> How do I turn off IPv6 on this Linux workstation? >> >> Add the following line to /etc/modprobe.conf >> alias net-pf-10 off > I always add the line > IPV6INIT=no > to /etc/sysconfig/network-scripts/ifcfg-eth0 > [or eth<X>]. > Is that sufficient? If you are on redhat or alike, it doesn't look that bad. > Incidentally, isn't it crazy that one has to write > gibberish like "alias net-pf-10 off" ? > What on earth does this mean? Don't even attempt to load the ipv6 (net-pf-10) module. -- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/' #bofh excuse 197: I'm sorry a pentium won't do, you need an SGI to connect with us. |
|
|||
|
Michael Heiming wrote:
>> Incidentally, isn't it crazy that one has to write >> gibberish like "alias net-pf-10 off" ? >> What on earth does this mean? > > Don't even attempt to load the ipv6 (net-pf-10) module. If net-pf-10 means "ipv6" why not call it "ipv6". Or would that make it too easy for Linux users? Sigh ... -- Timothy Murphy e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland |
|
|||
|
In comp.os.linux.networking Timothy Murphy <tim@birdsnest.maths.tcd.ie>:
> Michael Heiming wrote: >>> Incidentally, isn't it crazy that one has to write >>> gibberish like "alias net-pf-10 off" ? >>> What on earth does this mean? >> >> Don't even attempt to load the ipv6 (net-pf-10) module. > If net-pf-10 means "ipv6" why not call it "ipv6". > Or would that make it too easy for Linux users? Flexibility might be a reason for the module alias system, so you can load another module, your own or whatever for some subsystem if you want? Looks pretty clever to me, "alias ipv6 ipv6" would look curious and you couldn't tell what the alias name and what the module name on the first view. There are a couple of net-pf-[nn] aliases. Unsure why you seem to dislike the flexibility of the Linux kernel? -- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/' #bofh excuse 385: Dyslexics retyping hosts file on servers |