Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # apt-get installs
- openjdk-7-jdk
- tomcat6
- tomcat6-admin
- # edit tomcat user permissions
- perl -0777 -i -pe 's/</tomcat-users>/<role rolename="manager"/>n<role rolename="admin"/>n<user username="admin" password="admin" roles="admin,manager"/>n</tomcat-users>/igm' /etc/tomcat6/tomcat-users.xml
- # apt-get installs
- dnsmasq
- hostapd
- dnsutils
- # Domain name
- echo "192.168.0.1 domain" >> /etc/hosts
- # set up the range of IP addresses offered by the Edison (uncomment line)
- perl -0777 -i -pe 's/^#dhcp-range=192.168.0.50,192.168.0.150,12h/dhcp-range=192.168.0.50,192.168.0.150,12h/igm' /etc/dnsmasq.conf
- # setup wifi
- echo 'ssid=WifiName
- wpa_passphrase=mypwd' >> /etc/hostapd/hostapd.conf
- # edit /etc/hostapd/udhcpd-for-hostapd.conf (comment line and add replacement above)
- perl -0777 -i -pe 's/^interface/interface lon#interface/igm' /etc/hostapd/udhcpd-for-hostapd.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement