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.inet1 already includes the dhcpcd step and has a convenient spot after setting ...
Get Gray Hat Hacking, Second Edition, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.