view scripts/hostapd-run.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
line wrap: on
line source

#!/bin/bash -x

DATE=`date +%Y%m%d-%H%M%S`;
HOST=`hostname --fqdn`;

ulimit -c 1000000
rm -f core*

# We need the radio emulation driver as well.
modprobe mac80211_hwsim || exit 1

# echo hap-$HOST-$DATE.log > /home/aaa/logs/LATEST-$HOST-hap.log
# /root/hostapd/hostapd/hostapd -dd /root/conf/hostapd/hostapd.conf 2>&1 | tee -i /home/aaa/logs/hap-$HOST-$DATE.log
/root/hostapd/hostapd/hostapd -dd /root/conf/hostapd/hostapd.conf 
"Welcome to our mercurial repository"