[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:network_services:configuring_a_wireless_access_point [2012/11/19 13:46 (UTC)] – [Configuring hostapd] populated markush | howtos:network_services:configuring_a_wireless_access_point [2012/12/23 10:50 (UTC)] (current) – markush | ||
---|---|---|---|
Line 4: | Line 4: | ||
< | < | ||
- | This Howto explains how you can share your internet-connection via the wireless NIC of your computer (Wlan Access Point). | + | This Howto explains how you can use your computer as a Wireless Accesspoint. \\ |
+ | This means if the computer has an Internet connection and a wireless interface, other computers can use it' | ||
+ | This is a very limited setup, it can be expanded with DHCP, DNS and a firewall, but this subjects can be found in other Howtos here at SlackDocs. | ||
===== Requirements ===== | ===== Requirements ===== | ||
Line 26: | Line 28: | ||
ctrl_interface_group=0 | ctrl_interface_group=0 | ||
# The SSID -- i.e. the name of the wireless network (which will be shown when you scan for available networks) | # The SSID -- i.e. the name of the wireless network (which will be shown when you scan for available networks) | ||
- | ssid=mytelnet | + | ssid=yourwlannamehere |
country_code=DE | country_code=DE | ||
# check the manpage for hostapd and your hardware for the mode | # check the manpage for hostapd and your hardware for the mode | ||
Line 53: | Line 55: | ||
In this Howto I'll only describe a minimal setup with a static IP-configuration. | In this Howto I'll only describe a minimal setup with a static IP-configuration. | ||
+ | < | ||
+ | subnetmask: 255.255.255.0 | ||
+ | gateway: 192.168.45.1</ | ||
+ | Since we have (in this minimal configuration) no DNS-server running in our network, you'll have to configure your client with the same DNS-server that your Accesspoint is using (look at / | ||
===== IP_forwarding and routing ===== | ===== IP_forwarding and routing ===== | ||
=== Enable IP forwarding === | === Enable IP forwarding === | ||
- | < | + | < |
=== Internet Connection Sharing === | === Internet Connection Sharing === | ||
Line 63: | Line 69: | ||
< | < | ||
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. | 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. | ||
+ | |||
+ | ===== Starting the Accesspoint ===== | ||
+ | |||
+ | < | ||
+ | / | ||
+ | The first line starts wlan0 with IP-adress 192.168.45.1, | ||
Line 76: | Line 88: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag> | + | {{tag> |