cd /dev/shm tar -xzvf /sources/network/wireless_tools.28.tar.gz cd wireless_tools.28 make make PREFIX=/usr install cd .. rm -rvf wireless_tools.28 tar -xjvf /sources/network/net-tools-1.60.tar.bz2 cd net-tools-1.60 patch -Np1 -i /sources/network/net-tools-1.60-gcc34-3.patch patch -Np1 -i /sources/network/net-tools-1.60-kernel_headers-2.patch patch -Np1 -i /sources/network/net-tools-1.60-mii_ioctl-1.patch yes "" | make config sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make make $CORES_TO_USE make update cd .. rm -rvf net-tools-1.60 tar -xjvf /sources/network/dhcpcd-4.0.11.tar.bz2 cd dhcpcd-4.0.11 make PREFIX= LIBEXECDIR=/lib/dhcpcd DBDIR=/var/lib/dhcpcd SYSCONFDIR=/etc/dhcpcd make PREFIX= LIBEXECDIR=/lib/dhcpcd DBDIR=/var/lib/dhcpcd SYSCONFDIR=/etc/dhcpcd install sed -i "s;/var/lib/dhcpcd-;/var/lib/dhcpcd/dhcpcd-;g" dhcpcd-hooks/50-dhcpcd-compat install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/ cd .. rm -rvf dhcpcd-4.0.11 tar -xjvf /sources/network/blfs-bootscripts-20090302.tar.bz2 cd blfs-bootscripts-20090302 make install-service-dhcpcd cd .. rm -rvf blfs-bootscripts-20090302 cat > ~/wifi_wl.sh << "EOF" rmmod b43 rmmod ssb rmmod wl rmmod lib80211 modprobe lib80211 modprobe wl dhcpcd -L -t 1 XXXX iwconfig XXXX essid "YYYY" key ZZZZ dhcpcd XXXX EOF chmod +x ~/wifi_wl.sh cat > ~/wifi_b43.sh << "EOF" rmmod b43 rmmod ssb rmmod lib80211 rmmod wl modprobe b43 sleep 1 iwconfig XXXX essid "YYYY" key ZZZZ dhcpcd XXXX EOF chmod +x ~/wifi_b43.sh tar -xjvf /sources/network/wget-1.12.tar.bz2 cd wget-1.12 ./configure --prefix=/usr --sysconfdir=/etc make $CORES_TO_USE make install install-info --info-dir=/usr/share/info /usr/share/info/wget.info cd .. rm -rvf wget-1.12 tar -xzvf /sources/extras/lzma-4.32.7.tar.gz cd lzma-4.32.7 ./configure --prefix=/usr make $CORES_TO_USE make check make install cd .. rm -rvf lzma-4.32.7 tar -xzvf /sources/extras/unzip60.tar.gz cd unzip60 make -f unix/Makefile linux make prefix=/usr install cd .. rm -rvf unzip60 tar -xzvf /sources/extras/zip30.tar.gz cd zip30 make -f unix/Makefile generic_gcc make prefix=/usr -f unix/Makefile install cd .. rm -rvf zip30 tar -xzvf /sources/extras/bc-1.06.tar.gz cd bc-1.06 sed -i '/PROTO.*readline/d' bc/scan.l sed -i '/flex -I8/s/8//' configure sed -i '/stdlib/a #include ' lib/number.c sed -i 's/program.*save/static &/' bc/load.c ./configure --prefix=/usr --with-readline make $CORES_TO_USE make install cd .. rm -rvf bc-1.06 tar -xzvf /sources/extras/openssl-0.9.8n.tar.gz cd openssl-0.9.8n patch -Np1 -i /sources/extras/openssl-0.9.8n-fix_manpages-1.patch tar -vxf /sources/extras/BLFS-ca-bundle-3.12.5.tar.bz2 ./config --prefix=/usr --openssldir=/etc/ssl shared zlib-dynamic make $CORES_TO_USE make MANDIR=/usr/share/man install cp -v -r certs /etc/ssl install -v -d -m755 /usr/share/doc/openssl-0.9.8n cp -v -r doc/{HOWTO,README,*.{txt,html,gif}} /usr/share/doc/openssl-0.9.8n for pem in /etc/ssl/certs/*.pem do cat $pem echo "" done > /etc/ssl/ca-bundle.crt cd .. rm -rvf openssl-0.9.8n tar -xjvf /sources/extras/lynx2.8.7rel.1.tar.bz2 cd lynx2-8-7 ./configure --prefix=/usr --sysconfdir=/etc/lynx --datadir=/usr/share/doc/lynx-2.8.7rel.1 --with-zlib --with-bzlib --with-screen=ncursesw --enable-locale-charset --with-ssl make $CORES_TO_USE make install-full chgrp -v -R root /usr/share/doc/lynx-2.8.7rel.1/lynx_doc sed -i 's/#\(LOCALE_CHARSET\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg sed -i 's/#\(DEFAULT_EDITOR\):/\1:nano/' /etc/lynx/lynx.cfg sed -i 's/#\(PERSISTENT_COOKIES\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg cd .. rm -rvf lynx2-8-7 tar -xzvf /sources/extras/doxygen-1.6.3.src.tar.gz cd doxygen-1.6.3 ./configure --prefix /usr --docdir /usr/share/doc/doxygen-1.6.3 make $CORES_TO_USE make install make install_docs cd .. rm -rvf doxygen-1.6.3 tar -jxvf /sources/audio/alsa-lib-1.0.21.tar.bz2 cd alsa-lib-1.0.21 ./configure --enable-static && make $CORES_TO_USE make install && install -v -m644 -D doc/asoundrc.txt /usr/share/doc/alsa-lib-1.0.21/asoundrc.txt make doc install -v -d -m755 /usr/share/doc/alsa-1.0.21/html install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-1.0.21/html cd .. rm -rvf alsa-lib-1.0.21 tar -jxvf /sources/audio/alsa-plugins-1.0.21.tar.bz2 cd alsa-plugins-1.0.21 ./configure make $CORES_TO_USE make install install -v -m755 -d /usr/share/doc/alsa-plugins-1.0.21 install -v -m644 doc/{README*,*.txt} /usr/share/doc/alsa-plugins-1.0.21 cd .. rm -rvf alsa-plugins-1.0.21 tar -jxvf /sources/audio/alsa-utils-1.0.21.tar.bz2 cd alsa-utils-1.0.21 patch -Np1 -i /sources/audio/alsa-utils-1.0.21-no_xmlto-1.patch ./configure make $CORES_TO_USE make install cd .. rm -rvf alsa-utils-1.0.21 tar -xjvf /sources/audio/blfs-bootscripts-20090302.tar.bz2 cd blfs-bootscripts-20090302 make install-alsa cd .. rm -rvf blfs-bootscripts-20090302 touch /etc/asound.state alsactl store cat > /etc/udev/rules.d/40-alsa.rules << "EOF" # /etc/udev/rules.d/40-alsa.rules # When a sound device is detected, restore the volume settings KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n" EOF chmod -v 644 /etc/udev/rules.d/40-alsa.rules
After you run this, remember you need to load on the b43 firmware, and you need to edit the wifi_*.sh scripts with your own settings.
No comments:
Post a Comment