Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3882

Troubleshooting • Connecting RPi4 To Via Ethernet To Company Network

$
0
0
Hi,

I have a Raspberry Pi 4B 2GB (which I'll refer to as RPI4), and I have just flashed (using Imager) Raspberry Pi OS-Lite (32-bit) to it. I am currently living in student accommodation -- so I do not have access to configure the router. However, there is a router in my apartment which has LAN ports.

My laptop is connected to the internet through this router by Ethernet cable. I would like to give my RPi4 access to the internet through this router as well, so I've attached the RPi4 to the same router with an Ethernet cable. I can now SSH into it with PuTTy -- fantastic. I can access everything on the RPi.

But now comes the problem -- if I attempt to do anything that requires internet access (for example:

Code:

$ sudo apt updateGet:1 http://archive.raspberrypi.com/debian bookworm InRelease [5,848 B]Err:1 http://archive.raspberrypi.com/debian bookworm InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)Get:2 http://raspbian.raspberrypi.com/raspbian bookworm InRelease [5,848 B]Err:2 http://raspbian.raspberrypi.com/raspbian bookworm InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)Reading package lists... DoneE: Failed to fetch http://archive.raspberrypi.com/debian/dists/bookworm/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)E: The repository 'http://archive.raspberrypi.com/debian bookworm InRelease' is no longer signed.N: Updating from such a repository can't be done securely, and is therefore disabled by default.N: See apt-secure(8) manpage for repository creation and user configuration details.E: Failed to fetch http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)E: The repository 'http://raspbian.raspberrypi.com/raspbian bookworm InRelease' is no longer signed.N: Updating from such a repository can't be done securely, and is therefore disabled by default.N: See apt-secure(8) manpage for repository creation and user configuration details.
I get this error. I have a feeling of what this error is saying when it states

Code:

(does the network require authentication?)
-- when I first connected my laptop to the router with an Ethernet cable, I was taken to a "portal" before my laptop got internet. This portal was a generic "Voucher Login" screen like you might see at an airport, where you need to accept some terms and conditions or enter some information.

All I needed to do on this screen was enter the name of the network and the WiFi code I was given and I got access. I have a feeling that I need to somehow supply this key to my RPi4 before the router will allow it access.

Based on this information, does anyone know where I would put this WiFi code within the file structure to allow my RPi4 to verify itself on the network?

Statistics: Posted by Tom C — Wed May 01, 2024 9:47 am



Viewing all articles
Browse latest Browse all 3882

Trending Articles