@ -274,7 +274,38 @@ Restart dnsmasq to apply the changes:
`$ /etc/init.d/dnsmasq restart`
`$ /etc/init.d/dnsmasq restart`
Now all http requests will be directed to Meshenger!
Now all http requests will be directed to Meshenger! If it doesn't work, check your DNS settings of the client your're using (aka your computer, phone, fapfapfaplet). Make sure google's 8.8.8.8 is not there and set 192.168.2.1 as the dns server.
### Run meshenger on boot
Create a file in `$ /etc/init.d/` called meshenger and paste the script below:
```
#!/bin/sh /etc/rc.common
#meshenger startup script
START=10
STOP=15
start() {
echo starting Meshenger
python ~/meshenger/main.py &
}
stop() {
killall python
}
```
Make the file executable
`$ chmod a+x /etc/init.d/meshenger`
Now you can start/stop meshenger as a service, to enable the meshenger as srevice on boot run
`$ /etc/init.d/meshenger enable`
To start/stop/disable replace 'enable' with start, stop or disable.