D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] networking things

 

Got my pi configured to be a wireless hotspot forwarding my wireless
(from https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software mainly)
 /etc/network/interfaces is as follows
------------------------------------
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
 wpa-ssid BTHub4-KZ3G
 wpa-psk xz;lvv;mds'sd

allow-hotplug wlan1
iface wlan1 inet static
 address 192.168.10.1
 netmask 255.255.255.0

#iface wlan0 inet manual
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp
up iptables-restore </etc/iptables.ipv4.nat
---------------------------------------
But on reboot the dhcp server hasnt started so I have to
---------------------------------------
sudo ifconfig wlan1 192.168.10.1
sudo service isc-dhcp-server start
---------------------------------------
to get it up and running properly
wlan0 is always up and happy.
Any clues as to how to get this to start properly on reboot.
Tom te tom te tom




--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq