In this section, we??™ll build a
module to load the wireless drivers and even join BackTrack to an encrypted network on
boot. Also, BackTrack does not include the awesome aircrack-ptw package on the CD, so
we??™ll create a module to load that package. Finally, NVIDIA graphics drivers are not
included by default, and unfortunately have a particularly involved installation. We??™ll
show how to add NVIDIA drivers by capturing a snapshot of changes since boot.
Chapter 5: Using the BackTrack LiveCD Linux Distribution
105
PART II
Creating a Directory-Based
or File-Based Module with dir2lzm
The wireless drivers on this laptop simply needed to be loaded, configured with
iwconfig, and then DHCP enabled. This type of configuration on a standard Linux distribution
could be done with a /etc/rc.d initialization script. The set of commands
needed to load the drivers and join the test network was as follows:
bt ~ # cd /usr/src/drivers/ipw3945-1.2.0
bt ipw3945-1.2.0 # ./load
bt ipw3945-1.2.0 # cd ??“
bt ~ # iwconfig eth1 essid ap
bt ~ # iwconfig eth1 enc XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
bt ~ # ifconfig eth1 up
bt ~ # dhcpcd ??“t 10 eth1
With a little poking around in the /etc/rc.d directory, you??™ll find that rc.
Pages:
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250