Re: kernel 3.2 / 2.6.42 disable ipv6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 08.02.2012 10:33, schrieb Reindl Harald:
> 
> 
> Am 08.02.2012 10:28, schrieb Rich Boyce:
>> Hi,
>>
>> On 07/02/12 21:43, Reindl Harald wrote:
>>> why is this ignored in the latest kernels?
>>
>> I don't know, but...
>>
>>> i do not like to see any ipv6-configuration/IP as long the WAN
>>> is ipv4 only and this may be a long time
>>
>> ... this is how I do it (Fedora 16):
>>
>> sysctl -w net.ipv6.conf.all.disable_ipv6=1
>> echo "net.ipv6.conf.all.disable_ipv6=1" >> /etc/sysctl.conf
>>
>> The first command disables it immediately, the second after a reboot.
> 
> thanks, this works!
> "systcl -p" makes changes in /etc/sysctl.conf active immediately
> 
> well, my /etc/sysctl.conf is growing and growing :-)

hm - but it seems not to work perfectly

"sysctl.conf" is applyied not at the first begin of the boot-process
so it seems samba as example is starting while the option is not
set, restart it after boot hash fnished removes the ipv6-listening

[root@rh:~]$ netstat -l | grep smb
tcp        0      0 0.0.0.0:445                 0.0.0.0:*                   LISTEN      1123/smbd
tcp        0      0 0.0.0.0:139                 0.0.0.0:*                   LISTEN      1123/smbd
tcp        0      0 :::445                      :::*                        LISTEN      1123/smbd
tcp        0      0 :::139                      :::*                        LISTEN      1123/smbd

[root@rh:~]$ service smb restart
Redirecting to /bin/systemctl  restart smb.service
[root@rh:~]$ netstat -l | grep smb
tcp        0      0 0.0.0.0:445                 0.0.0.0:*                   LISTEN      5430/smbd
tcp        0      0 0.0.0.0:139                 0.0.0.0:*                   LISTEN      5430/smbd


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux