[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

This is an old revision of the document!


Configuring a Wireless Access Point

Work in Progress

This Howto explains how you can share your internet-connection via the wireless NIC of your computer (Wlan Access Point).

Requirements

The package hostapd is available at slackbuilds.org. It provides a daemon who listens on the wireless interface and allows the clients to authenticate.

Configuring hostapd

Configuring the client

In this Howto I'll only describe a minimal setup with a static IP-configuration.

IP_forwarding and routing

Enable IP forwarding

echo "1" > /proc/sys/net/ipv4/ip_forwarding

Internet Connection Sharing

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

In this case eth0 is the interface which is connected to the internet. If your computer has a connection via ppp you shouls use ppp0 instead of eth0.

Sources

 howtos:network_services:configuring_a_wireless_access_point ()