comparison scripts/hostapd-install.sh @ 0:9e5a3c884de6

Initial import of the virtual testbed.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 17 Jun 2010 11:00:32 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:9e5a3c884de6
1 #!/bin/bash -x
2
3 # Install dependencies
4 apt-get build-dep hostapd || exit 1
5 aptitude install linux-backports-modules-karmic-generic-pae || exit 1
6
7 # Install the link to the configuration
8 /home/aaa/installvm.sh conflink
9
10 # Test build directive file
11 if ! [ -f /root/conf/hostapd/build.config ]; then echo Missing build config file; exit 1; fi
12
13 # We need the radio emulation driver as well, check it was correctly installed.
14 modprobe mac80211_hwsim || exit 1
15
16 # Build hostapd
17 rm -rf /root/hostapd
18 cp -Rs /home/aaa/src/hostap /root/hostapd
19 ln -s /root/conf/hostapd/build.config /root/hostapd/hostapd/.config
20 cd /root/hostapd/hostapd && make || exit 1
21
"Welcome to our mercurial repository"