[GoFlex Net] Disabling ipv6

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[GoFlex Net] Disabling ipv6

Postby Wesman26 » Sun Dec 02, 2012 11:16 am

Hey guys,
After a more recent update I found the following to be an issue on my GoFlex Net:
$this->bbcode_second_pass_code('', ' pacman -Syyu
error: failed retrieving file 'core.db' from mirror.archlinuxarm.org: Connection time-out')

This seems like the ever familiar ipv6 error, but the problem is that I don't know how to add ipv6.disable=1 to the kernel line. I found this but upon repeating the steps exactly I run into the same problems. Can anyone help me?

Thanks in advance,
--Wes

EDIT:
Just to be clear, lsmod shows ipv6 still running after I tried the solution found in the previously posted link.
Wesman26
 
Posts: 58
Joined: Mon Feb 06, 2012 2:08 am

Re: [GoFlex Net] Disabling ipv6

Postby moonman » Sun Dec 02, 2012 12:00 pm

I had the same thing today...
$this->bbcode_second_pass_code('', 'nano /etc/pacman.d/mirrorlist')

comment that server and uncomment the closest one to you.

then

$this->bbcode_second_pass_code('', 'yes|pacman -Scc
pacman -Suy')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [GoFlex Net] Disabling ipv6

Postby Wesman26 » Mon Dec 03, 2012 3:49 am

Thanks for the hasty response! Unfortunately after changing my mirrorlist and running pacman -Scc I still get the same error on pacman -Syu. When I had the same error on my Raspberry Pi, I just had to disable ipv6, but I'm not sure how I'm supposed to do that here.

Much obliged,
--Wes
Wesman26
 
Posts: 58
Joined: Mon Feb 06, 2012 2:08 am

Re: [GoFlex Net] Disabling ipv6

Postby moonman » Mon Dec 03, 2012 5:45 am

you need to add " ipv6.disable=1" to kernel boot parameters. Now, im not sure if ubit is any different, but with u-boot just add it to usb_ or sata_custom params

https://wiki.archlinux.org/index.php/IPv6
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [GoFlex Net] Disabling ipv6

Postby Wesman26 » Mon Dec 03, 2012 5:59 am

$this->bbcode_second_pass_quote('moonman', 'y')ou need to add " ipv6.disable=1" to kernel boot parameters. Now, im not sure if ubit is any different, but with u-boot just add it to usb_ or sata_custom params

https://wiki.archlinux.org/index.php/IPv6


So I'm a little confused on how to do this. The link I posted originally used:
$this->bbcode_second_pass_code('', '
fw_setenv usb_custom_params ipv6.disable=1
')

Which I've tried to no avail.
According to your post I should try:
$this->bbcode_second_pass_code('', '
fw_setenv sata_custom_params ipv6.disable=1
')

Which I have now also tried and unfortunately did not work for me.
Could you please be more clear on how I should do this?

Thanks in advance,
--Wes

EDIT
Just to be clear, what I mean by the above code not working is that it did not disable ipv6; lsmod still shows it running.
Wesman26
 
Posts: 58
Joined: Mon Feb 06, 2012 2:08 am

Re: [GoFlex Net] Disabling ipv6

Postby moonman » Mon Dec 03, 2012 8:43 am

it depends if you boot from usb or sata. What is your. uboot environment?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [GoFlex Net] Disabling ipv6

Postby Wesman26 » Mon Dec 03, 2012 11:41 pm

I followed the Go Flex Net installation instructions, so u-boot is stored into NAND memory and I'm booting from a SATA drive.
Wesman26
 
Posts: 58
Joined: Mon Feb 06, 2012 2:08 am

Re: [GoFlex Net] Disabling ipv6

Postby moonman » Mon Dec 03, 2012 11:54 pm

By uboot environment i meant the output of this command:
$this->bbcode_second_pass_code('', 'fw_printenv')

if you just followed the instructions likely you have ubit, and not u-boot as your bootloader. I dont know if it behaves the same as u-boot. You may need to upgrade to a new uboot so i can help you. Lets see what you have in the environment, and go from there.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [GoFlex Net] Disabling ipv6

Postby Wesman26 » Tue Dec 04, 2012 5:44 am

Ah, I was under the impression that ubit was the u-boot install toolkit, and that using it just installed uboot onto my system. Sorry for the misunderstanding. Here's what you need:
$this->bbcode_second_pass_code('', '
# fw_printenv
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
')

Thanks for the help!
--Wes
Wesman26
 
Posts: 58
Joined: Mon Feb 06, 2012 2:08 am

Re: [GoFlex Net] Disabling ipv6

Postby moonman » Tue Dec 04, 2012 6:27 am

Is that all? I am not familiar with U-Bit. I don't know if it stores the environment the same way as U-Boot does. AFAIK Ubit is a fork of U-Boot but there are some differences.

If you go through the trouble of installing new U-Boot, then what we discussed above should work: viewtopic.php?f=18&t=3355
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 85 guests