Raspberry Pi A User Manual page 95

Hide thumbs Also See for Raspberry Pi A:
Table of Contents

Advertisement

C H A P T E R 5
This will print out the entire kernel ring buffer, which will contain all messages output by the
kernel since the Pi was switched on. If the Pi has been running a while, that can be a lot of
text. To locate error messages particular to the wireless adapter, it can help to send the out-
put of
through a tool called
dmesg
text relating to missing firmware. By piping the output of
term, things become significantly clearer. Type the following at the terminal:
dmesg -t | grep ^usb
The
symbol is known as a pipe, and it tells Linux to send the output of one program—which
|
would normally go to a file or the screen—to the input of another. Multiple programs can be
chained this way. In this example,
—the screens full of text from the earlier command—for any use of the term
dmesg
the start of the line (denoted by the
The exact output of that search will depend on the manufacturer of your USB wireless
adapter. In Figure 5-3, the output is shown with a Zyxel NWD2015 Wireless USB Adapter
connected to the Pi.
N E T W O R K C O N F I G U R A T I O N
. Using
, you can search through the buffer for
grep
grep
dmesg
is being told to search through the output of
grep
character
.
^
)
through
with a search
grep
usb
79
at
Figure 5-3:
Searching the
kernel ring
buffer for usb
with a Zyxel
wireless adapter
connected

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Raspberry Pi Raspberry Pi A

This manual is also suitable for:

Raspberry pi b

Table of Contents