Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what's the new way to set-up networking in an image?

71 views
Skip to first unread message

Eli the Bearded

unread,
Jan 2, 2024, 5:02:00 PM1/2/24
to
https://www.raspberrypi.com/documentation/computers/configuration.html#connect-to-a-wireless-network

Previous versions of Raspberry Pi OS made use of a wpa_supplicant.conf
file which could be placed into the boot folder to configure wireless
network settings. This is no longer possible from Raspberry Pi OS
Bookworm onwards.

I have a headless pi I want to pre-configure to have wireless
networking. I can't ssh in until the wifi works. I can shut it down,
pull the SD card, mount it somewhere else and place files in /etc/.

What file in what directory for wifi? I'm using the
2023-12-11-raspios-bookworm-armhf-lite image. The device has a screen
and keyboard, but the image lacks the drivers for the screen and I need
to apt-get install them. Which is tricky when I can't ssh in or trying
to type blindly the needed commands to add a repo with the video
drivers.

The pre-configured OS for this device is buildroot which has no
compiler or build tools which is going to block me intalling the Perl
modules I need. buildroot.org helpfuly says (paraphrased) "if you want
a compiler, you want a different distro."

Elijah
------
can see where they are coming from, but still

Knute Johnson

unread,
Jan 2, 2024, 7:06:11 PM1/2/24
to
Use the RPi Imager to burn your uSD card and set the WiFi there.

Eli the Bearded

unread,
Jan 2, 2024, 7:27:52 PM1/2/24
to
In comp.sys.raspberry-pi, Knute Johnson <gro...@585ranch.com> wrote:
> Use the RPi Imager to burn your uSD card and set the WiFi there.

That's not an answer to my question, which you left below because you
don't get that top-posting is evil.

I didn't use the imager because the imager wants a newer glibc than I
have installed on the system I'm using. Downloading an image and copying
it an SD card is trivial for someone well-acquainted with Unix tools, so
I didn't worry much. But I realize the imager does a bit more than
papering over the copy process. Unfortunately all of the networking
guides I can find for this system assume you are configuring it from a
running system, not in advance on the disk image. "What file, where" is
probably all the help I need. I don't want to trace the start-up process
by reading through /etc/ to figure it out from source if I don't have to.

> On 1/2/2024 4:01 PM, Eli the Bearded wrote:

Original post is at start of thread if people need a re-fresher.

Elijah
------
from old-school Unix

Richard Kettlewell

unread,
Jan 3, 2024, 3:24:51 AM1/3/24
to
Eli the Bearded <*@eli.users.panix.com> writes:
> https://www.raspberrypi.com/documentation/computers/configuration.html#connect-to-a-wireless-network
>
> Previous versions of Raspberry Pi OS made use of a wpa_supplicant.conf
> file which could be placed into the boot folder to configure wireless
> network settings. This is no longer possible from Raspberry Pi OS
> Bookworm onwards.
>
> I have a headless pi I want to pre-configure to have wireless
> networking. I can't ssh in until the wifi works. I can shut it down,
> pull the SD card, mount it somewhere else and place files in /etc/.
>
> What file in what directory for wifi? I'm using the
> 2023-12-11-raspios-bookworm-armhf-lite image. The device has a screen
> and keyboard, but the image lacks the drivers for the screen and I need
> to apt-get install them. Which is tricky when I can't ssh in or trying
> to type blindly the needed commands to add a repo with the video
> drivers.

If you’re really using the RPi OS then: /etc/wpa_supplicant/wpa_supplicant.conf

> The pre-configured OS for this device is buildroot which has no
> compiler or build tools which is going to block me intalling the Perl
> modules I need. buildroot.org helpfuly says (paraphrased) "if you want
> a compiler, you want a different distro."

So are you using the RPi OS or Buildroot?

--
https://www.greenend.org.uk/rjk/

Anssi Saari

unread,
Jan 3, 2024, 4:39:23 AM1/3/24
to
Eli the Bearded <*@eli.users.panix.com> writes:

> I have a headless pi I want to pre-configure to have wireless
> networking. I can't ssh in until the wifi works. I can shut it down,
> pull the SD card, mount it somewhere else and place files in /etc/.

Looks like it's NetworkManager that manages networking now, in the
"Raspberry Pi OS". So the config file is
/etc/NetworkManager/NetworkManager.conf and the setup, well, I guess
I'll leave that as an exercise? See the man page.

I should have an example NetworkManager.conf on my Linux laptop which I
can share later.

Knute Johnson

unread,
Jan 3, 2024, 10:36:08 AM1/3/24
to
Bite me

On 1/2/24 18:27, Eli the Bearded wrote:
> In comp.sys.raspberry-pi, Knute Johnson <gro...@585ranch.com> wrote:
>> Use the RPi Imager to burn your uSD card and set the WiFi there.
>
> That's not an answer to my question, which you left below because you
> don't get that top-posting is evil.

Bite me again.

> I didn't use the imager because the imager wants a newer glibc than I
> have installed on the system I'm using. Downloading an image and copying
> it an SD card is trivial for someone well-acquainted with Unix tools, so
> I didn't worry much. But I realize the imager does a bit more than
> papering over the copy process. Unfortunately all of the networking
> guides I can find for this system assume you are configuring it from a
> running system, not in advance on the disk image. "What file, where" is
> probably all the help I need. I don't want to trace the start-up process
> by reading through /etc/ to figure it out from source if I don't have to.

You got what you asked for. Quit complaining because you left out some
details.

> Elijah
> ------
> from old-school Unix


--

Knute Johnson

Pancho

unread,
Jan 3, 2024, 2:54:03 PM1/3/24
to
On 03/01/2024 00:27, Eli the Bearded wrote:

>
> I didn't use the imager because the imager wants a newer glibc than I
> have installed on the system I'm using.

You probably have considered running The Rpi Imager as a snap or
flatpak, but just in case....

<https://snapcraft.io/rpi-imager>

<https://flathub.org/apps/org.raspberrypi.rpi-imager>




56g.1183

unread,
Jan 4, 2024, 1:28:41 AM1/4/24
to
On 1/3/24 10:36 AM, Knute Johnson wrote:
> Bite me
>
> On 1/2/24 18:27, Eli the Bearded wrote:
>> In comp.sys.raspberry-pi, Knute Johnson  <gro...@585ranch.com> wrote:
>>> Use the RPi Imager to burn your uSD card and set the WiFi there.
>>
>> That's not an answer to my question, which you left below because you
>> don't get that top-posting is evil.
>
> Bite me again.
>


Whatever happened to the pride of helping to FIND
THE ANSWER instead of petty shit about top/bottom
posting and personality issues and such ???



Knute Johnson

unread,
Jan 4, 2024, 9:59:47 AM1/4/24
to
On 1/4/24 00:28, 56g.1183 wrote:


I should have just ignored him. Sorry about that.

--

Knute Johnson

56g.1183

unread,
Jan 5, 2024, 1:26:50 AM1/5/24
to
On 1/4/24 9:59 AM, Knute Johnson wrote:
> On 1/4/24 00:28, 56g.1183 wrote:
>
>
> I should have just ignored him.  Sorry about that.

Personality conflicts are easy ... staying
with The Mission is more difficult.
0 new messages