Enjoy Slackware 15.0!
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howtos:network_services:running_an_access_point_from_a_slackware_box [2016/10/24 04:13 (UTC)] louigi600 |
howtos:network_services:running_an_access_point_from_a_slackware_box [2019/09/01 07:03 (UTC)] louigi600 [3.3 Other Software] |
||
---|---|---|---|
Line 89: | Line 89: | ||
- edit the defconfig file and enable any optional features you need (default is fine for a simple setup) | - edit the defconfig file and enable any optional features you need (default is fine for a simple setup) | ||
- copy the defconfig file to .config | - copy the defconfig file to .config | ||
+ | - make a softlink for netlink includes (cd / | ||
- make | - make | ||
- make install (or optionally just put in / | - make install (or optionally just put in / | ||
Line 398: | Line 399: | ||
It should then be possible to restart rc.inet1 (or just rc.inet1 wlan0_down and rc.inet1 wlan0_up) and the client should associate. | It should then be possible to restart rc.inet1 (or just rc.inet1 wlan0_down and rc.inet1 wlan0_up) and the client should associate. | ||
+ | |||
+ | There' | ||
+ | |||
+ | # wpa_supplicant -B -W -Dwext -i wlan0 -c / | ||
+ | # wpa_cli | ||
+ | wpa_cli v2.4 | ||
+ | Copyright (c) 2004-2015, Jouni Malinen < | ||
+ | | ||
+ | This software may be distributed under the terms of the BSD license. | ||
+ | See README for more details. | ||
+ | | ||
+ | Selected interface ' | ||
+ | | ||
+ | Interactive mode | ||
+ | | ||
+ | > scan | ||
+ | OK | ||
+ | < | ||
+ | > scan_results | ||
+ | bssid / frequency / signal level / flags / ssid | ||
+ | 02: | ||
+ | a4: | ||
+ | 00: | ||
+ | > add_network | ||
+ | 0 | ||
+ | > set_network 0 ssid " | ||
+ | OK | ||
+ | > set_network 0 psk " | ||
+ | OK | ||
+ | > enable_network 0OK | ||
+ | OK | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > save_config | ||
+ | OK | ||
+ | > quit | ||
+ | # | ||
+ | | ||
+ | If all went right and your wpa_supplicant.conf file had | ||
+ | update_config=1 | ||
+ | in it the above snippet would have saved the new network to wpa_supplicant.conf and associated you with it. | ||
+ | |||
+ | Remember that if you're associating with an non secured AP you need to use this: | ||
+ | > set_network 0 ssid " | ||
+ | OK | ||
+ | > set_network 0 key_mgmt NONE | ||
+ | OK | ||
+ | > | ||
+ | |||
==== 4.7.3 Other Linux Distributions Wireless Clients ==== | ==== 4.7.3 Other Linux Distributions Wireless Clients ==== | ||
- | I've tried various other flavor distributions ... most don't use wpa_gui for associating to AP but some sort of other tool that generally pops up when you click on the icon that notifies the presence of an Access Point. After a few headaches I found that best association success is achieved by forcing setup for hidden AP even if the AP I'm configuring has not the hidden essid. | + | I've tried various other flavor distributions ... most don't use wpa_gui for associating to AP but some sort of other tool that generally pops up when you click on the icon that notifies the presence of an Access Point. After a few headaches I found that best association success is achieved by forcing setup for hidden AP even if the AP I'm configuring has not the hidden essid. You can always use wpa_cli on the command line if it's shipped with whatever distro you prefer. |
Line 455: | Line 508: | ||
You can dump dnsmasq' | You can dump dnsmasq' | ||
- | root@router: | + | root@router: |
1411875361 00: | 1411875361 00: | ||
1411874427 0a: | 1411874427 0a: | ||
Line 517: | Line 570: | ||
- disallow password authentication | - disallow password authentication | ||
- minimize your attack surfaces | - minimize your attack surfaces | ||
- | Net me give you a little reasoning for that list | + | Let me give you a little reasoning for the list. |
===== 6.1 Use Non Standard Ports ===== | ===== 6.1 Use Non Standard Ports ===== |