Raspberry Pi as Access Point
Jump to navigation
Jump to search
💡 | Note to self: Check collective for more details! |
💡 | If this interests you, maybe Raspberry Pi as Standalone Access Point does also? |
About
I was out of access points with external antennas, so I tried to use a Raspberry Pi 3 with an USB-Wifi-Stick as an access point.
Setup
- Basic setup
- Download the latest OS for your Pi: https://www.raspberrypi.com/software/
- Insert your SD-Card while watching
dmesg -w
or usefdisk -l
to find your device. In my case it's/dev/sda
- Copy the image to the SD-card:
dd if=2024-03-15-raspios-bookworm-arm64-lite.img of=/dev/sda bs=1M
- Insert into the pi, power it up
- Complete basic setup: Choose keyboard layout, create user, enable sshd a.s.o. (
raspi-config
) apt-get update && apt-get upgrade
- Access point
apt-get install hostapd dnsutils traceroute
[ 132.306961] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[ 132.407915] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8812, bcdDevice= 0.00
[ 132.407939] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 132.407948] usb 1-1.2: Product: 802.11n NIC
[ 132.407954] usb 1-1.2: Manufacturer: Realtek
[ 132.407960] usb 1-1.2: SerialNumber: 123456