tags 571029 pending thanks On Tuesday 23 February 2010 08:05:28 green wrote: > Package: hostapd > Version: 1:0.6.10-1 > Severity: normal > > I have /etc/network/interfaces set up to run hostapd like this: > > auto br0 > iface br0 inet static > hostapd /etc/hostapd/hostapd.conf > address 192.168.68.1 > netmask 255.255.255.0 > network 192.168.68.0 > broadcast 192.168.68.255 > bridge_ports eth1 eth2 eth3 wlan0 > > > When running ifup br0, I get: > > /etc/network/if-pre-up.d/hostapd: line 91: [: missing `]' > run-parts: /etc/network/if-pre-up.d/hostapd exited with return code 1 > > > This is easily fixed by adding a space after the '0' (zero) on line 91; from: > if [ "$?" -eq 0]; then > > to: > if [ "$?" -eq 0 ]; then
Thanks for spotting that stupid error. Kel. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

