topic title: disable ipv6?
Posts: 7
snowpine
Joined: 10 Mar 2010
#1
Hello AntiX, first post! __{{emoticon}}__

I have just installed AntiX 8.2 on an ancient Dell laptop. Due to my DSL provider not supporting ipv6, I am having some difficulty with command line tasks such as apt-get update, smxi, wget, etc. (I've disabled ipv6 in iceweasel for browsing purposes.)

Can anyone help me disable ipv6 globally? I tried adding 'blacklist ipv6' to /etc/modprobe.d/blacklist.conf but no love. __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepis.org/docs/en/index.php/Disable_IPv6"
linktext was:"http://www.mepis.org/docs/en/index.php/Disable_IPv6"
====================================
" onclick="window.open(this.href);return false

should help you, and welcome to antiX.
Posts: 7
snowpine
Joined: 10 Mar 2010
#3
Thanks for the help, anticapitalista! Great distro you have here. __{{emoticon}}__

I followed the MEPIS tutorial, and 'ip a | grep inet6' gives no output, indicating ipv6 is successfully disabled. However, 'wget smxi.org/smxi.zip' (for example) gives the error:

Code: Select all

Resolving smxi.org... failed: Temporary failure in name resolution.
wget: unable to resolve host address 'smxi.org'
I have a CentOS computer (installed without ipv6 support) connected to the same router, which gives no such error. Other addresses give errors as well, for example apt-get update yields"Temporary failure resolving '
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org"
linktext was:"www.debian-multimedia.org"
====================================
'"

So maybe I have two problems? __{{emoticon}}__ DNS perhaps? I am not a networking guru unfortunately. __{{emoticon}}__
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#4
on the newer kernels, ipv6 is enabled by the kernel so one way is to disable ipv6 is to add this to your grub boot line,
edit menu.lst for permanent change:
this is for Mepis, but should work in antiX, the ipv6.disable=1 is the code to add to your /boot/grub/menu.lst

title MEPIS at hda12, newest kernel
root (hd0,11)
kernel /boot/vmlinuz root=/dev/hda12 nomce quiet splash vga=791 ipv6.disable=1
initrd /boot/initrd.img
boot

cheers,
oldhoghead
Posts: 7
snowpine
Joined: 10 Mar 2010
#5
Thanks for the suggestion oldhoghead! (very impressed with this forum so far)

Sadly however no change in output of 'ip a | grep inet6' and I still can't wget from smxi.org. __{{emoticon}}__

Anyone have experience with the various DDNS or"tunneling" solutions? For example, my router has options to use dyndns.org or tzo.com, wondering if using one of these services instead of my IP's would fix the resolver error? Or am I misunderstanding the purpose of this service?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#6
Hm, my reply got eaten.

Firstly, no need to download smxi as it is already installed in antiX.

That, however, doesn't solve your problem. I'm no guru, but do any of the repos in sources.list work?
Maybe try reconfiguring network with ceni (may need a reboot)

antiX-M8.5 will be out soon and that has the latest kernel and a lot of great features not in antiX-M8.2.
I'll upload the prefinal in a day or so.
Posts: 7
snowpine
Joined: 10 Mar 2010
#7
Yes, I was just using 'wget smxi.org/smxi.zip' as an example. __{{emoticon}}__ Running smxi gives many errors as smxi checks for updates to its various parts. And 'apt-get update' works with some mirrors, fails with others, somewhat randomly. Maybe I will try asking the gurus over at linuxquestions.org since it is not really an AntiX specific issue.

Looking forward to the new AntiX version, though maybe not on this particular computer (haven't had good luck with newer kernels with its ancient ATI video card). Been a fan of your project since 8.0 but finally got around to joining the forums.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#8
If some repos wotk, maybe it is the http ones or the ftp ones. That will nelp narrow down the problem.

I've seen your posts suggesting antiX in various places. Hope this one works out for you.
Posts: 7
snowpine
Joined: 10 Mar 2010
#9
Thanks! I will post a link if I get any good suggestions over at linuxforums.

AntiX is one of the best lightweight, apt-based distros I've tried. __{{emoticon}}__
Posts: 7
snowpine
Joined: 10 Mar 2010
#10
Success!

While Googling to learn more about how DNS works, I discovered Google Public DNS"a free, global Domain Name System (DNS) resolution service, that you can use as an alternative to your current DNS provider."


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://code.google.com/speed/public-dns/"
linktext was:"http://code.google.com/speed/public-dns/"
====================================
" onclick="window.open(this.href);return false

I logged into my router's control panel and replaced the DNS settings with the Google recommendations. I am currently upgrading via smxi. __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#11
Excellent news!
Be careful of the upgrade though as you will almost certainly need to do some 'repair' work due to the huge changes from Debian Lenny to present Squeeze. (antiX default is tied to Testing)
Posts: 7
snowpine
Joined: 10 Mar 2010
#12
No worries; I commented out the testing repos first. This old laptop does not need the latest & greatest. __{{emoticon}}__

8.5 will be all Squeeze I take it?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#13
8.5 will be Testing (not Squeeze) which means that it will be rolling post squeeze-stable