From 829d40731b8d6fc89548fb2605f5f8fd4b277281 Mon Sep 17 00:00:00 2001 From: Klaatu von Schlacker Date: Mon, 25 Jun 2012 09:28:49 -0400 Subject: Added netconfig and startup services section to ch02 Made minor changes to ch14 15 16 --- chapter_15.xml | 101 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 50 insertions(+), 51 deletions(-) (limited to 'chapter_15.xml') diff --git a/chapter_15.xml b/chapter_15.xml index e7d0cc4..0e80bbc 100644 --- a/chapter_15.xml +++ b/chapter_15.xml @@ -2,10 +2,10 @@ - + Wireless Networking -
+
<application>iwconfig</application> @@ -46,24 +46,29 @@ tun0 no wireless extensions. Unlike wired networks, wireless networks are "fuzzy". Their borders are hard to define, and multiple networks may overlap one another. In order -to avoid confusion, each wireless network has "hopefully) unique +to avoid confusion, each wireless network has (hopefully) unique identifiers. The two most basic identifiers are the Extended Service Set Identifier (ESSID) and the channel or frequency for radio transmission. The ESSID is simply a name that identifies the wireless -network in question; you may have heard it referred to as the network -name or something similar. Typical wireless networks operate on 11 -different frequencies. In order to connect to even the most basic -wireless network, you will have to setup these two pieces of -information, and possibly others, before setting up things like the -WNIC's IP address. Here you can see that my ESSID is set to "nest" and -my laptop is transmitting at 2.432 GHz. This is all that is required to -connect to an unencrypted wireless LAN. (For any of you out there -expecting to come to my house and use my unencrypted wireless, you -should know that you'll have to break a 2048-bit SSL key before the -access point will let you communicate with my LAN.) +network in question; you may have heard it referred to as the "network +name" or something similar. -darkstar:~# iwconfig wlan0 essid nest \ + +Typical wireless networks operate on 11 different frequencies. In +order to connect to even the most basic wireless network, you will +have to setup these two pieces of information, and possibly others, +before setting up things like the WNIC's IP address. Here you can see +that my ESSID is set to "nest" and my laptop is +transmitting at 2.432 GHz. This is all that is required to connect to +an unencrypted wireless LAN. (For any of you out there expecting +to come to my house and use my unencrypted wireless, you should know +that you'll have to break a 2048-bit SSL key before the access point +will let you communicate with my LAN.) + + + + darkstar:~# iwconfig wlan0 essid nest \ freq 2.432G @@ -73,17 +78,19 @@ frequency or channel to use, Slackware can usually figure this out for you. -darkstar:~# iwconfig wlan0 essid nest \ - channel auto + + darkstar:~# iwconfig wlan0 essid nest \ + channel auto + Now Slackware will attempt to connect to the strongest access point on -the "nest" essid operating at any frequency. +the "nest" essid operating at any frequency.
-
+
Wired Equivilant Protection (or Lack Thereof) @@ -105,7 +112,8 @@ you'll need to prepend it with "s;" but generally speaking, hexidecimal format is preferred. -darkstar:~# iwconfig wlan0 \ + +darkstar:~# iwconfig wlan0 \ key cf80baf8bf01a160de540bfb1c darkstar:~# iwconfig wlan0 \ key s:thisisapassword @@ -113,7 +121,7 @@ speaking, hexidecimal format is preferred.
-
+
Wifi Protected Access @@ -173,20 +181,26 @@ course, this is a lot of work; there must be an easier way to do this. -
+
rc.inet1.conf revisited -Welcome back to rc.inet1.conf. You're recall in -the last chapter that we used this configuration file to automatically -configure NICs whenever Slackware boots. Now, we will use it to -configure wifi as well. If you're using WPA2, you'll still need to -setup wpa_supplicant.conf properly first, however. +Welcome back to rc.inet1.conf. You're recall +that in we used this configuration file +to automatically configure NICs whenever Slackware boots. Now, we +will use it to configure wifi as well. + + + If you're using WPA2, you'll still need to setup + wpa_supplicant.conf properly first, however. + + + Recall that each NIC had a name or number that identified the variables -that corrospond with it? The same hold true for wifi NICs, only they +that correspond with it? The same hold true for wifi NICs, only they have even more variables due to the added complexity of wireless networking. @@ -227,7 +241,7 @@ other than ethn and that is reflected here. When rc.inet1.conf is read by the start-up scripts, Slackware knows to apply all these options to the wlan0 wifi NIC instead of the (probably non-existant) eth4 wired NIC. Many of the -other options are the same. IP address information is added in +other options are the same. IP address information is added in exactly the same way we discussed for wired network cards in ; however, we have a lot of new variables that need some explanation. @@ -264,7 +278,7 @@ absolutely correct.
-
+
wicd @@ -328,34 +342,19 @@ from either the KDE or XFCE menu. Optionally, you could manually run -wicd-client(1) from a terminal or run -dialogue. +wicd-client(1) from a terminal or run +dialogue. - - If you're not running X or simply would - prefer to stay in the terminal, you can launch the command line - version, wicd-curses. - - - - - - - - The wicd-curses interface - - - On the graphical front-end, options for different networks are available via the Preferences button adjacent to the ESSID listed. In the terminal client, the same options can be - reached by highlighting the network you wish to configure and - pressing c. + reached by highlighting the ESSID you wish to use and + pressing the right arrow key, which opens a configuration page for + that network.
- + \ No newline at end of file -- cgit v1.2.3