$ cd /home/Lu/

Keep-learning Lu

10 Oct 2020

Install IPv6 in PC

Rapid.Space provides IPv6 connection on all servers, however, most ISP (Internet Service Provider) in China only provide IPv4 network. In order to help Rapid.Space users in China to adopt IPv6, without using proxy to access Rapid.Space service, we are going to introduce a simple way to install IPv6 in your particular machine(Linux, Windows or Mac), so your machine can use IPv6.

The alternative way is to get a local IPv6 network by setting up a Raspberry Pi with Re6stnet and its token, so that all devices under this network can enjoy IPv6 and access Rapid.Space, which is explained on HowTo Get A Local IPv6 Network.

Agenda

  1. Install miredo on Linux
  2. Install miredo on Mac
  3. Install teredo on Windows

Install miredo on Linux

About the App

Install the App

To install miredo, you can run the command:

sudo apt-get install miredo

Once you have it installed, your Linux machine is able to access to IPv6 address. You can try ping to verify if there is some data receiving:

ping -6 google.com

Install miredo on Mac (Unverified)

About the App

Install the App

  1. Press Command+Space and type *Terminal* and press *enter/return* key.
  2. Run in Terminal app: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null and press *enter/return* key. If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish.
  3. Run: brew install miredo

Done! You can now use miredo. Once you have it installed, your Linux machine is able to access to IPv6 address. You can try ping to verify if there is some data receiving:

ping -6 google.com

Install teredo on Windows

- Windows 7

In this section, we will show you how to install the Teredo Tunnelling Adapter on Windows 7 – the driver is built into Windows 7.

  1. To install it, go to device manager OR Hold the Windows Key and Press R. In the run dialog that opens, type hdwwiz.cpl and Click OK.

hdwwiz.jpg

  1. Once in the Device Manager -> Click Network Adapters

network-adapters.jpg

  1. Then click the Actions tab from the top and select “Add Legacy Hardware

add-legacy-hardware-png.png

  1. Click Next and Next again and Next again (it will not find anything, so do not worry). You will then be taken to Common Hardware types, select.

  2. Scroll down and select Network Adapters then Click Next. You will now be taken to the Add Hardware dialog.

  3. Now from the Manufacturer tab select Microsoft than from the Network Adapter tab select Microsoft Teredo Tunneling Adapter and Click Next.

teredo-tunneling-adapter-selection-jpg.png

  1. After you click Next, Click Next again then Click Finish.

- Windows 10

You can try to install Teredo Adapter as it did for Windows, but there is a chance that you can’t see the Teredo Adapter at the Network adapter tab or inside the list of Legacy drivers, there are a couple of methods that you can try. Here’s one procedure that seemed to have worked for a lot of users:

  1. Press Windows key + R to open up a Run command. Next, type “cmd", press Ctrl + Shift + Enter and choose Yes at the UAC (User Account Control) prompt to open up an Elevated Command Prompt. Screenshot-10.png

  2. Inside the elevated Command Prompt, type the following command to disable the Teredo interface:

    netsh interface Teredo set state disable
    
  3. Once the interface has been disabled, close the elevated Command Prompt and reboot your computer.

  4. At the next startup, open another elevated Command Prompt window (using step 1), type the following command and press

    Enter:

    netsh interface Teredo set state type=default
    
  5. Return to Device Manager and see if the Teredo Adapter is now enabled.

If the method above doesn’t work, follow the steps below to interrogate Teredo’s state and enable it if needed:

  1. Press Windows key + R to open up a Run command. Next, type “cmd", press Ctrl + Shift + Enter and choose Yes at the UAC (User Account Control) prompt to open up an Elevated Command Prompt.

  2. Type the following command to verify your Teredo state:

    netsh interface teredo show state
    
  3. If the returned State is Client or Dormant, Teredo is working normally. On the other hand, if the returned state is Offline, type the following command to re-enable Teredo on your particular machine:

    netsh interface teredo set state type=enterpriseclient
    
  4. Close the Elevated Command Prompt and restart your computer. See if the issue has been resolved and you are able to see the Teredo adapter in Device Manager at the next startup.

Since the Teredo Adapter is quite a legacy component by now, Microsoft Decided to remove it starting with Windows 10 build 1803.

So if you’re encountering an error that points towards you enabling the Teredo Adapter on Windows 10 but you have a build newer than 1803, here’s what you need to do instead:

  1. Press Windows key + R to open up a Run box. Then, type

    ms-settings:gaming-xboxnetworking
    

    Hit Enter to open the Xbox Networking tab of the Settings App.

  2. Once you access, let the software complete the checks and press the Check again button if the scan doesn’t start automatically.

  3. If the Server connectivity is Blocked, scroll down below and click on the Fix it button. Screenshot-15.png

  4. Reboot your computer and see if the issue has been resolved.

If that doesn’t work, follow the next steps below:

  1. Make sure Windows Firewall is up and running. Otherwise, Windows will block the server connection by default.

  2. Press Windows key + R to open up a Run box. Next, type “powershell“, press Ctrl + Shift + Enter and click on Yes at the next UAC (User Account Control) prompt to open an elevated Powershell window.

  3. In the elevated PowerShell window, type the following commands and press Enter after each line:

    netsh
    int teredo
    set state servername=win1711.ipv6.microsoft.com.
    
  4. Restart your computer and see if the issue has been resolved.

If the procedure above isn’t effective, follow the next method below where we use the Group Policy Editor to change a port that might be causing the issue:

  1. Press Windows key + R to open up a Run box. Then, type “gpedit.msc” and hit Enter to open the Local Group Policy Editor. Note: Keep in mind that the Local Group Policy Editor is only available on several Windows 10 versions.
  2. Inside the Local Group Policy Editor, use the left pane to navigate to Computer Configuration > Administrative Templates > Network > TCPIP Settings > IPv6 Transition Technologies.
  3. Move over to the right-side and double-click on Set Teredo Client Port to edit this policy.
  4. Set the policy to Enabled and set the 3544 port. Keep in mind that in order for this to work, the port needs to be open and forwarded through your router. If you don’t know how to do this, look for specific instructions related to your router manufacturer.
comments powered by Disqus