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 21 changed 3 lines
inet6 fe80::6829:3b23:1365:745 prefixlen 64 scopeid 0x20<link>
inet6 fd48:3c0c:41c9:3100:b1b7:99fc:7136:b0f3 prefixlen 64 scopeid 0x0<global>
ether 16:8b:34:0e:08:6f txqueuelen 1000 (Ethernet)
inet6 fe80::6849:3b23:1365:745 prefixlen 64 scopeid 0x20<link>
inet6 fd48:3c0c:41d9:3100:b1b7:99fc:7136:b0f3 prefixlen 64 scopeid 0x0<global>
ether 16:8b:34:0f:08:6f txqueuelen 1000 (Ethernet)
At line 28 removed one line
At line 49 added 2 lines
That on its own might work. Reboot to see. If you still see 'inet6' then continue with the following steps.
At line 57 added 21 lines
If this fails to disable ipv6 (and on later Raspberry Pi OS it seems to be true), edit “/etc/sysctl.conf”:
{{{
sudo nano /etc/sysctl.conf
}}}
Add this to the end:
{{{
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
net.ipv6.conf.eth0.disable_ipv6 = 1
}}}
Save and close the file, then reboot.
If you __still__ have ipv6 active I'd suggest just giving up. For some reason ipv6 is like a virus: once there, hard to get rid of. This has to be one of the more stubborn "features" that developers have been telling us is going to happen, never has happened, and has polluted our user space now for years (*grumble*).
%%information
One thing that has caught me out a few times: If you don't see an "inet6" line you have successfully managed to disable ipv6. That doesn't mean you will see an "inet" line. If your local router has previously allocated an IP address then your attempt to assign your Pi that address will fail. You need to choose an address the router will permit you to use. The best way to do this is choose the address that your router has dynamically assigned that particular device, then make __that__ address static (as you know ''it can be assigned to that device'').
%%
At line 73 changed one line
% sudo nano /etc/dhcpcd.conf
sudo nano /etc/dhcpcd.conf
At line 79 changed 6 lines
# set a static IP address for this Pi
interface wlan0
static ip_address=__192.168.1.74__/24
static routers=192.168.1.254
static domain_name_servers=192.168.1.254
~# set a static IP address for this Pi
interface wlan0
static ip_address=__192.168.1.74__/24
static routers=192.168.1.254
static domain_name_servers=192.168.1.254
At line 108 added one line
After modifying the file you'll need to reboot for the changes to take effect.
At line 118 added one line
* [How to Directly Connect to a Raspberry Pi Without Internet|https://www.makeuseof.com/tag/directly-connect-raspberry-pi-without-internet/amp/]