LinkedIn Sourceforge

Vincent's Blog

Pleasure in the job puts perfection in the work (Aristote)

Just my memory here is how I've configure OpenBSD and FreeBSD for a IPv6 Wifi

Posted on 2025-02-08 13:52:00 from Vincent in OpenBSD FreeBSD

Every year stand one of the biggest OpenSource conference, and this is close to my house. The subject of this blog is to explain how I've configured my OpenBSD 7.6 and FreeBSD 14.1 to connect to their wifi which only "speak" IPv6

This is not a setup I encountered frequently, and I just want to remember how I did it ;)


Introduction

At Fosdem wifi is Open and free. Each year + 6000 visitors are connected to it.
But one of the specific element is that they only allow IPv6

I remind that my Lenovo T14s is dual booting OpenBSD and GhostBSD

Let's see what parameters are required for both OpenBSD and FreeBSD

Parameter for OpenBSD

Let's start by the system I know the most ;).

You have first to identify which Wifi driver you have on your machine.

obsd:~ $ ifconfig -a | awk '/^[a-z]/ {iface=$1} /IEEE802/ {print iface " has IEEE802 capabilities"}'
iwm0: has IEEE802 capabilities

Since we are on IPv6, make sure that you have dhcp6leased up and running:

obsd:~ # rcctl enable dhcp6leased 
obsd:~ # rcctl start dhcp6leased

I can no more present the output of the scan command, but the wifi SSID is "FOSDEM"

obsd:~ # ifconfig iwm0 scan

Register to the WiFi access point:

obsd:~ # ifconfig iwm0 join FOSDEM

If I've correctly understood, thanks to the new dhcp6leased program, no extra actions are required.

Parameters for FreeBSD

We have to start rtsold:

fbsd:~ # service rtsold onestart

If you often face IPv6, you can enable rtsold for every boot by adding it in /etc/rc.conf

To join the access point, I did:

fbsd:~ # ifconfig wlan0 ssid FOSDEM

And that's it.



1, 0
displayed: 4797



What is the last letter of the word Python?