Considering the fact that you have installed Debian on `raspberry pi 0w`,
While setting up cloudflared tunnel on `raspberry pi 0w` we get following error
illegal instruction
workaround for fixing this issue:
Groundwork before execution
1. First we make sources.list modifyable
chmod 777 /etc/apt/sources.list
2. Add following entry in sources.list
deb [arch=arm signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared buster main
3. Add arm architecture to the system
dpkg --add-architecture arm
The execution
4. Install ARM version of cloudflared on your `raspberry pi 0w` as shown in above screenshot
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm.deb
sudo dpkg -i cloudflared.deb
sudo cloudflared service install <connector-token>
Tips | Tricks | C# | ASP.NET | JQuery | Javascript | SQL | Angular | Articles | Electronics
Oct 24, 2024
'illegal instruction' on raspberry pi 0w while installing cloudflared
Adding `raspberry pi zero w` as tunnel to cloudflared zero trust
Labels:
Cloudflare,
Cloudflared,
Installation,
Linux,
raspberry pi,
Softwares,
ssh,
Zero Trust