![]() Wi- Fi on the Command Line. More people than ever are using wireless networks as their primary networking. Great programs are available under X1. ![]() Both GNOME and KDE include network management. But, what if you aren't running X1. I don't cover how to. I assume your card is installed and. Most of the utilities mentioned. The first step is to see what wireless networks are available in your area.
· More people than ever are using wireless networks as their primary networking medium. Great programs are available under X11 that give users a graphical. A utility called iwlist provides all sorts of information about your wireless. To scan your environment for available networks, do the following. You'll see output resembling. Cell 0. 1 - Address: 0. ESSID: "network- essid". Mode: Master. Channel: 1. Frequency: 2. 4. 62 GHz (Channel 1. Quality=1. 00/1. 00 Signal level: -4. Bm Noise level=- 1. Bm. Encryption key: off. The details (address and essid) have been changed to protect the guilty. Also. the .. represents extra output that may or may not be available, depending on your. You will get a separate cell entry for each access point within your. For each access point, you can find the hardware. Also, you can learn. Usually. you will be most interested in the essid and what encryption is being. Once you know what's available in your immediate environment. First. set the essid, which identifies the network. Depending on your card and its driver, you may have the option to set the essid. In this case, your card will pick the first. This is called promiscuous mode. You also may need to set the mode to be used by your wireless card. This. depends on your network topology. You may have a central access point to which all of. You may want to have your computer act. If so, you can set the mode to master using iwconfig. Or. you simply may want to sniff what's happening around you. You can do. so by setting the mode to monitor and passively monitor all packets on the. You can set the frequency, or channel, by. G. sudo iwconfig wlan. You can set other parameters, but you should consider doing so only if you. One option is the sensitivity threshold. You may need to play. Set the maximum number of retries. Or, set the maximum lifetime to keep retrying to 3. In a very noisy environment, you also may need to play with packet fragmentation. If entire packets can't make it from point to point without corruption, your. You can tell the card what to use as a maximum fragment size with. This value can be anything less than the size of a packet. Some cards may not. In that case. run this command to flush all pending changes to the card and apply them. Two other useful commands are iwspy and iwpriv. If your card. supports it, you can collect wireless statistics by using. The second command gives you access to optional parameters for your particular. If you run it without. If no extra options exist. To set one of these private options, run. Now that your card is configured and connected to the wireless network. If you are. using DHCP on the network, you simply can run dhclient to query the DHCP server. IP address and other network settings. If you want to set these.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |