Installation manual
5. 15. Linux WLAN 43
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
fi
export LD_LIBRARY_PATH
export −n IA32ROOT; unset IA32ROOT;
if [ $# != 0 ]
then
exec −a "/usr/local/bin/ifc" /usr/local/bin/ifcbin "$@";
else
exec −a "/usr/local/bin/ifc" /usr/local/bin/ifcbin;
fi
exit
5. 15. Linux WLAN
Our router wants us to connect via DHCP.Sowehav e to install the corresponding Debian package first:
Debian packages for DHCP:
dhcp−client
The linux-wlan Project is developing a complete, standards based, wireless LAN system for Linux. The corre-
sponding Debian package is available in the “unstable” (a.k.a. “sid”) distribution, which means that we have to
compile it from source.
Unfortunately,the kernel modules refuse to compile and install automagically under “woody”, so we have to
lend a helpin’ hand and here and there. Wehav e to edit the Debian rules file and then copythe resulting kernel
modules.
Debian source packages for linux-wlan-ng:
wireless−tools_25−3
linux−wlan−ng_0.1.15−6
Installation of linux-wlan-ng:
#> dpkg−source −x wireless−tools_25−3.dsc
#> cd wireless−tools−25
#> dpkg−buildpackage
#> cd ..
#> mv wireless−tools_25−3_i386.deb /usr/local/debian/dists/woody/main/binary−i386
#> echo "wireless−tools optional local" >> /usr/local/debian/override.local.woody
#>
#> cd /usr/src/modules
#> dpkg−source −x linux−wlan−ng_0.1.15−6.dsc
#> cd linux−wlan−ng_0.1.15/
#> vi debian/rules #SEE BELOW
#> dpkg−buildpackage −d
#> cd ..
#> mv linux−wlan−ng_0.1.15−6_i386.deb /usr/local/debian/dists/woody/main/binary−i386
#> echo "linux−wlan−ng optional local" >> /usr/local/debian/override.local.woody
#>
#> cd ../linux
#> make−kpkg −rev Custom.1 modules_image
#> cd ..
#> mv linux−wlan−ng−modules−2.4.18_Custom.1+0.1.15−6_i386.deb /usr/local/debian/dists/woody/main/binary−i386/local/
#> echo "linux−wlan−ng−modules−2.4.18 optional local" >> /usr/local/debian/override.local.woody
#>
#> cd /usr/local/debian
#> dpkg−scanpackages dists/woody/main/binary−i386/local/ override.local.woody > dists/woody/main/binary−i386/Packages
#>
#> apt−get update
#> apt−get upgrade
#>
#> cd /usr/src/modules/linux−wlan−ng−0.1.15/debian/tmp
#> tar cf − lib | (cd /; tar xf −)