Difference between revisions of "WLAN"
(Created page with "{{welcome}} ==Introduction== Here we will collect some tips and tricks from users to users. It is not a forum. If you have a question and no answer yet, go to [https://forums...") |
|||
Line 2: | Line 2: | ||
==Introduction== | ==Introduction== | ||
− | Here we will collect some tips and tricks from users to users. | + | Here we will collect some tips and tricks from users to users. |
+ | |||
+ | ==Suggestions== | ||
+ | |||
+ | ===1.=== | ||
+ | This Page on the handbook could you bring further: https://www.freebsd.org/doc/en/books/handbook/network-wireless.html | ||
+ | |||
+ | ===Fred Finster=== | ||
+ | on Telegram on 15.02.2020 at 04:23: | ||
+ | Here is primitive manual setup of wifi connection that I documented. | ||
+ | https://forums.ghostbsd.org/viewtopic.php?f=64&t=570 | ||
+ | |||
+ | You originally created a "wlandev" when first setup your wifi connection. This is here as a detail configuration note example. | ||
+ | |||
+ | <code><nowiki>#</nowiki> ifconfig wlan0 create wlandev rtwn0</code> | ||
+ | Section 31.3.6.1 | ||
+ | <code><nowiki>#</nowiki> ifconfig wlan0 create wlandev ath0 </code> | ||
+ | <code><nowiki>#</nowiki> ifconfig wlan0 list caps</code> | ||
+ | |||
+ | Or Adhoc Mode section 31.3.5 | ||
+ | |||
+ | <code><nowiki>#<nowiki> ifconfig wlan0 create wlandev ath0 wlanmode adhoc </code> | ||
+ | <code><nowiki># </nowiki>ifconfig wlan0 up scan</code> | ||
+ | |||
+ | ifconfig wlan0 up scan | ||
+ | |||
+ | ifconfig wlan0 up scan > mylist_of_local_access_pts | ||
+ | |||
+ | Cat mylist_of_local_access_pts | ||
+ | |||
+ | ===Vic Thacker=== | ||
+ | on Telegram on 15.02.2020 at 04:30 | ||
+ | |||
+ | You can look at the code for wpa_supplicant. | ||
+ | |||
+ | Here's the man page, https://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant&sektion=8 | ||
+ | |||
+ | <nowiki>##</nowiki> Addendum | ||
+ | |||
+ | "sysctl -n net.wlan.devices" will give you the device | ||
+ | |||
+ | "pciconf -lv" will give you the vendor and device in the output | ||
+ | |||
+ | The device driver and wpa_supplicant source code can provide details. | ||
+ | |||
+ | ===Mike Moses Bernard=== | ||
+ | on Telgram on 15.02.2020 at 5:15: | ||
+ | If you have already set up your wireless card then run this command | ||
+ | |||
+ | ifconfig wlan0 list scan | ||
+ | |||
+ | It will list all the wireless networks that the card can see along side some of the features offered. | ||
+ | |||
+ | You can then edit /etc/wpa_supplicant.conf and enter the details of the wireless network you want to connect to. | ||
+ | |||
+ | Also, man ifconfig will give you all the things you can do with your wireless card. | ||
Revision as of 04:51, 15 February 2020
Welcome to WLAN. |
Contents
Introduction
Here we will collect some tips and tricks from users to users.
Suggestions
1.
This Page on the handbook could you bring further: https://www.freebsd.org/doc/en/books/handbook/network-wireless.html
Fred Finster
on Telegram on 15.02.2020 at 04:23:
Here is primitive manual setup of wifi connection that I documented. https://forums.ghostbsd.org/viewtopic.php?f=64&t=570
You originally created a "wlandev" when first setup your wifi connection. This is here as a detail configuration note example.
# ifconfig wlan0 create wlandev rtwn0
Section 31.3.6.1
# ifconfig wlan0 create wlandev ath0
# ifconfig wlan0 list caps
Or Adhoc Mode section 31.3.5
#<nowiki> ifconfig wlan0 create wlandev ath0 wlanmode adhoc </code>
<code><nowiki># ifconfig wlan0 up scan
ifconfig wlan0 up scan
ifconfig wlan0 up scan > mylist_of_local_access_pts
Cat mylist_of_local_access_pts
Vic Thacker
on Telegram on 15.02.2020 at 04:30
You can look at the code for wpa_supplicant.
Here's the man page, https://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant&sektion=8
## Addendum
"sysctl -n net.wlan.devices" will give you the device
"pciconf -lv" will give you the vendor and device in the output
The device driver and wpa_supplicant source code can provide details.
Mike Moses Bernard
on Telgram on 15.02.2020 at 5:15: If you have already set up your wireless card then run this command
ifconfig wlan0 list scan
It will list all the wireless networks that the card can see along side some of the features offered.
You can then edit /etc/wpa_supplicant.conf and enter the details of the wireless network you want to connect to.
Also, man ifconfig will give you all the things you can do with your wireless card.
Back to How To |