Mele A100 : how to update system / disable IPV6

This forum is for supported devices using an ARMv7 Allwinner SoC.

Mele A100 : how to update system / disable IPV6

Postby brno » Sat Feb 15, 2014 7:41 pm

Hi,
I installed Archlinux on my Mele, following the procedure (http://archlinuxarm.org/platforms/armv7 ... /mele-a100).
The problem is that when I try to use pacman, I have messages like this one: "error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org"
If I understand, this problem is related to the ipv6 module, that runs by default in Archlinux (but I'm not sure that it is the real problem).
I tried to disable it unsuccessfully, using many ways.... and as I'm quite a newbie in Archlinux (and Linux), I don't know what to do now. I would be grateful if you can help me !
brno
 
Posts: 5
Joined: Sat Feb 15, 2014 7:01 pm

Re: Mele A100 : how to update system / disable IPV6

Postby pepedog » Sat Feb 15, 2014 8:14 pm

Perhaps edit /boot/uEnv.txt to look like this
$this->bbcode_second_pass_code('', 'extraargs=rootwait disable.ipv6=1')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Mele A100 : how to update system / disable IPV6

Postby brno » Sun Feb 16, 2014 11:22 am

Thanks! I just tried it, and unfortunately the problem remains the same

When I execute "pacman -Syu", I have the following error:
$this->bbcode_second_pass_code('', ':: Synchronizing package databases...
error: failed retrieving file 'core.db' from fr.mirror.archlinuxarm.org : Could not resolve host: fr.mirror.archlinuxarm.org
error: failed to update core (download library error)
extra 2024.1 KiB 644K/s 00:03 [######################] 100%
community 2.1 MiB 639K/s 00:03 [######################] 100%
alarm 45.1 KiB 287K/s 00:00 [######################] 100%
aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Packages (1): ntp-4.2.6.p5-18

Total Download Size: 0.38 MiB
Total Installed Size: 1.37 MiB
Net Upgrade Size: 0.01 MiB

:: Proceed with installation? [Y/n] n
')

the answer to the command "cat /proc/sys/net/ipv6/conf/all/disable_ipv6" is "0", and I don't know if that's normal...
brno
 
Posts: 5
Joined: Sat Feb 15, 2014 7:01 pm

Re: Mele A100 : how to update system / disable IPV6

Postby pepedog » Sun Feb 16, 2014 12:19 pm

In which case, as per https://wiki.archlinux.org/index.php/Systemd#Temporary_files
$this->bbcode_second_pass_code('', 'echo "w /proc/sys/net/ipv6/conf/all/disable_ipv6 - - - - 1" >/etc/tmpfiles.d/disable-ipv6.conf')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Mele A100 : how to update system / disable IPV6

Postby brno » Sun Feb 16, 2014 3:20 pm

The error stay the same.

$this->bbcode_second_pass_code('', 'error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
')

And the answer to the command "cat /proc/sys/net/ipv6/conf/all/disable_ipv6" is still "0"

Don't know what to do :? Maybe I have to configure the network on the Mele ? At this time, it is in DHCP...
brno
 
Posts: 5
Joined: Sat Feb 15, 2014 7:01 pm

Re: Mele A100 : how to update system / disable IPV6

Postby brno » Sun Feb 16, 2014 3:25 pm

Following this thread (viewtopic.php?f=31&t=5743&start=30), I tried
pacman -Scc > done
pacman -Syy > same error (error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org)
brno
 
Posts: 5
Joined: Sat Feb 15, 2014 7:01 pm

Re: Mele A100 : how to update system / disable IPV6

Postby brno » Sun Feb 16, 2014 4:42 pm

Seems that ipv6 is already disabled... When I open "/etc/hosts", I already see this line :
$this->bbcode_second_pass_code('', '::1 localhost.localdomain localhost')
Maybe ipV6 is not the source of the problem ?
brno
 
Posts: 5
Joined: Sat Feb 15, 2014 7:01 pm


Return to Allwinner

Who is online

Users browsing this forum: No registered users and 10 guests