hack_wireless_connect
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
hack_wireless_connect [2020/05/03 19:33] – created gman | hack_wireless_connect [2020/05/31 17:45] (current) – [CLI] gman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | Commands: | + | ===== CLI ===== |
- | * ifconfig: Enable your wireless device. | + | |
- | * iwlist: List the available wireless access points. | + | |
- | * iwconfig: Configure your wireless connection. | + | |
- | * dhclient: Get your IP Address via dhcp. | + | |
- | ===== wconfig | + | ^ command |
+ | | ifconfig | Enable your wireless device | | ||
+ | | iwlist | List the available wireless access points | | ||
+ | | iwconfig | Configure your wireless connection | | ||
+ | | dhclient | Get your IP Address via dhcp | | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Debian How-To ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== iwconfig | ||
| | ||
- | Configure a wireless network (ifconfig for wireless) | + | Configure a wireless network (like '' |
+ | < | ||
iwconfig | iwconfig | ||
iwconfig [interface name] # designate specific wireless interface | iwconfig [interface name] # designate specific wireless interface | ||
+ | </ | ||
- | Shows: | + | **Shows:** |
- The name of the MAC protocol used | - The name of the MAC protocol used | ||
- ESSID (Network Name) | - ESSID (Network Name) | ||
Line 30: | Line 42: | ||
---- | ---- | ||
- | ===== Using ifupdown ===== | + | ===== ifconfig + ifupdown |
[1] Bring your wireless network up (assuming interface name is wlan0): | [1] Bring your wireless network up (assuming interface name is wlan0): | ||
Line 43: | Line 55: | ||
</ | </ | ||
- | [3] Find the one you want and put its configs in a file under / | + | [3] Find the one you want and put its [[general_network# |
- | [4] Down/Up the wireless | + | [4] Down the wireless |
< | < | ||
Line 52: | Line 64: | ||
</ | </ | ||
- | ===== Using ifconfig ===== | + | ---- |
+ | ===== ifconfig | ||
Simplied (three commands to get wireless up and running; assuming interface name is wlan0): | Simplied (three commands to get wireless up and running; assuming interface name is wlan0): | ||
Line 116: | Line 129: | ||
systemctl start networking.service | systemctl start networking.service | ||
systemctl restart networking.service | systemctl restart networking.service | ||
+ | </ | ||
+ | |||
+ | If that doesn' | ||
+ | |||
+ | < | ||
+ | service network-manager restart | ||
</ | </ | ||
| | ||
---- | ---- |
hack_wireless_connect.1588534420.txt.gz · Last modified: by gman