28 lines
2.4 KiB
Plaintext
28 lines
2.4 KiB
Plaintext
Pandoc
|
|
Meta { unMeta = fromList [] }
|
|
[ Para
|
|
[ Str
|
|
"Next, open the terminal window. Using the terminal window, run the \"ifconfig -a\" command to list all the interfaces on your system, as shown here."
|
|
]
|
|
, CodeBlock
|
|
( "" , [] , [] )
|
|
"# ifconfig -a\neth0 Link encap:Ethernet HWaddr 00:0c:29:69:12:7c \n inet addr:172.16.0.108 Bcast:172.16.0.255 Mask:255.255.255.0\n inet6 addr: fc00:660:0:1:20c:29ff:fe69:127c/64 Scope:Global\n inet6 addr: fe80::20c:29ff:fe69:127c/64 Scope:Link\n UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1\n RX packets:9859 errors:0 dropped:0 overruns:0 frame:0\n TX packets:1399 errors:0 dropped:0 overruns:0 carrier:0\n collisions:0 txqueuelen:1000 \n RX bytes:1920894 (1.8 MiB) TX bytes:233088 (227.6 KiB)\n Interrupt:19 Base address:0x2000 \n\nlo Link encap:Local Loopback \n inet addr:127.0.0.1 Mask:255.0.0.0\n inet6 addr: ::1/128 Scope:Host\n UP LOOPBACK RUNNING MTU:65536 Metric:1\n RX packets:372 errors:0 dropped:0 overruns:0 frame:0\n TX packets:372 errors:0 dropped:0 overruns:0 carrier:0\n collisions:0 txqueuelen:0 \n RX bytes:22320 (21.7 KiB) TX bytes:22320 (21.7 KiB)\n\nwlan0 Link encap:Ethernet HWaddr 00:c0:ca:85:00:ba \n UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1\n RX packets:0 errors:0 dropped:0 overruns:0 frame:0\n TX packets:0 errors:0 dropped:0 overruns:0 carrier:0\n collisions:0 txqueuelen:1000 \n RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)"
|
|
, Para
|
|
[ Str
|
|
"The ALFA wireless card is represented by the \"wlan0\" interface."
|
|
]
|
|
, Para
|
|
[ Str
|
|
"In addition to the interfaces shown in the ifconfig output, there is another interface known as the "
|
|
, Emph [ Str "wireless physical interface" ]
|
|
, Str
|
|
". We can identify this interface by listing the contents of the /sys/class/ieee80211 directory, as shown."
|
|
]
|
|
, CodeBlock
|
|
( "" , [] , [] ) "# ls /sys/class/ieee80211/\nphy0"
|
|
, Para
|
|
[ Str
|
|
"The \"phy0\" interface is the parent interface used to create child interfaces. Note that if you unplug and replug the USB interface, the \"phy\" interface number will increment by one until you reboot your system."
|
|
]
|
|
]
|