Script to setup ubuntu as a wireless accesspoint on a bridge mode
- by nixnotwin
I use the following script to make my netbook a full-fledged wireless accesspoint. It creates a bridge with eth0 and wlan0 and starts hostapd.
#!/bin/bash
service network-manager stop
ifconfig eth0 0.0.0.0 #remove IP from eth0
ifconfig eth0 up #ensure the interface is up
ifconfig wlan0 0.0.0.0 #remove IP from eth1
ifconfig wlan0 up #ensure…