This page (revision-21) was last changed on 2021-11-10 04:19 by Murray Altheim

This page was created on 2020-05-10 03:58 by Murray Altheim

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
21 2021-11-10 04:19 7 KB Murray Altheim to previous

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 8 removed 17 lines
! How to Disable ipv6 on a Pi
When viewing the results from typing {{ifconfig}} you see only "inet6" output and no "inet" then ipv6 has been enabled. If you want to use ipv4 style IP addresses (e.g., 192.168.1.85) then you'll need to disable ipv6.
If you're using Raspbian (i.e., earlier versions of the Raspberry Pi operating system), add the following to the end of the single line of text in the file /boot/cmdline.txt:
{{{
ipv6.disable=1
}}}
This has the advantage that you can edit it by mounting it to your desktop before you boot the Pi, since the boot partition is readable under desktop operating systems. ([source|https://www.raspberrypi.org/forums/viewtopic.php?t=256349#p1563399])
If you're using the current "Raspberry Pi OS" then edit/create the file {{/etc/modprobe.d/ipv6.conf}} to either contain the following single line, otherwise add to the existing file the line :
{{{
blacklist ipv6
}}}
Then reboot.
At line 31 added one line
The "192.168.1.74" above (four decimal numbers separated by dots) is the __ipv4__ IP address of the robot. Yours will likely start with the same first three "192.168.1" (this is common on local area networks at home but not always true), with the last number "74" being unique to your robot.
At line 49 changed one line
The "192.168.1.74" above (four numbers separated by dots) is the IP address of the robot. Yours will likely start with the same first three "192.168.1" (this is common on local area networks at home but not always true), with the last number "74" being unique to your robot.
If you don't see a ''traditional'' ipv4 IP address then you're likely seeing an __ipv6__ address. These look something like "inet6 fe80::7d5c:3d4a:cd06:bdc2" or "inet6 fd48::3e0c:41c9:3100:700:33ac:dda7:6045", etc., basically colon-delimited groups of hexadecimal characters. If that's the case you can disable ipv6 and use only ipv4. To do that, see the next section.
At line 35 added 21 lines
! How to Disable ipv6 on a Pi
%%information
I won't get into the history of ipv6 or the reasons for or against using it here. If you want to search the Web about ipv6, please do... I'm just showing you how to disable it on your robot.
%%
When viewing the results from typing {{ifconfig}} you see only "inet6" output and no "inet" then ipv6 has been enabled. If you want to use ipv4 style IP addresses (e.g., 192.168.1.85) then you'll need to disable ipv6.
If you're using Raspbian (i.e., earlier versions of the Raspberry Pi operating system), add the following to the end of the single line of text in the file /boot/cmdline.txt:
{{{
ipv6.disable=1
}}}
This has the advantage that you can edit it by mounting it to your desktop before you boot the Pi, since the boot partition is readable under desktop operating systems. ([source|https://www.raspberrypi.org/forums/viewtopic.php?t=256349#p1563399])
If you're using the current "Raspberry Pi OS" then edit/create the file {{/etc/modprobe.d/ipv6.conf}} to either contain the following single line, otherwise add to the existing file the line :
{{{
blacklist ipv6
}}}
Then reboot.