When you went to restart the network you used the wrong command. You wanted:<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font class="Apple-style-span" face="'courier new', monospace">/etc/init.d/networking restart</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div></blockquote><font class="Apple-style-span" face="arial, helvetica, sans-serif">That explains both the errors you saw and the fact that nothing had changed.</font><div>
<font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Cheers,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">--ag<br>
</font><div><br><div class="gmail_quote">2011/9/26 Laili Aidi <span dir="ltr"><<a href="mailto:aidi@kth.se">aidi@kth.se</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div style="word-wrap:break-word">
Sorry, the essid is as below:
<div>
<div><div class="im">
<div><span style="font-size:10px"><b>root@voyage:~# </b></span><span style="font-size:10px"><b>vi /etc/network/interfaces</b></span></div>
</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><div class="im">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
# /usr/share/doc/ifupdown/examples for more information.</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
auto lo</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
iface lo inet loopback</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
auto eth0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
iface eth0 inet dhcp</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
# mac80211-based drivers</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
#auto wlan0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
iface wlan0 inet static</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
        address 192.168.6.1</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
        netmask 255.255.255.0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
        broadcast 192.168.6.255</div>
</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
        up iwconfig wlan0 essid <b>Voyage4</b> mode Master</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br>
</div>
</div>
</div><div><div></div><div class="h5">
<div>
<div>On 26 sep 2011, at 20.39, Laili Aidi wrote:</div>
<br>
<div style="word-wrap:break-word">
Hej,
<div><br>
</div>
<div>Not sure if have to start new thread, but I also have trouble set up AP with master mode in Voyage 0.7.5. I've configured one in Voyage 0.7.0 following what's in README file and it's running well, but when I try with Voyage 0.7.5 with the same procedure,
 I can't see my AP running. I still can't find any idea what's missing or something wrong. This is the procedure and configuration that I've done.</div>
<div><span style="font-size:10px"><b>root@voyage:~# </b></span><span style="font-size:10px"><b>vi /etc/network/interfaces</b></span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
# /usr/share/doc/ifupdown/examples for more information.</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
auto lo</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
iface lo inet loopback</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
auto eth0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
iface eth0 inet dhcp</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
# mac80211-based drivers</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
#auto wlan0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
iface wlan0 inet static</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
        address 192.168.6.1</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
        netmask 255.255.255.0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
        broadcast 192.168.6.255</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
        up iwconfig wlan0 essid Bytewalla-Voyage4 mode Master</div>
<div><br>
</div>
</div>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:12px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<b>root@voyage:~#</b><b>vi /etc/default/hostapd</b></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
UN_DAEMON="yes"</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<b>root@voyage:~#</b><b>vi /etc/hostapd/hostapd.conf</b></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
interface=wlan0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
driver=nl80211</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
logger_syslog=-1</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
logger_syslog_level=2</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
logger_stdout=-1</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
logger_stdout_level=2</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
debug=4</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
dump_file=/tmp/hostapd.dump</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
ctrl_interface=/var/run/hostapd</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
ctrl_interface_group=0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
channel=6</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
macaddr_acl=0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
auth_algs=3</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
eapol_key_index_workaround=0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
eap_server=0</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
wpa=3</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
ssid=Voyage4</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
wpa_passphrase=Voyage4</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
wpa_key_mgmt=WPA-PSK</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
wpa_pairwise=TKIP</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
eapol_version=1</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:12px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:12px">
<b>root@voyage:~#</b><b>vi /etc/dnsmasq.more.conf</b><b></b></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
dhcp-range=wlan0,192.168.6.35,192.168.6.50,24h</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
dhcp-leasefile=/var/tmp/dnsmasq.leases</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:12px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:12px">
<b></b><b>root@voyage:~#</b><b>/etc/init.d/hostapd restart</b></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<b>root@voyage:~#</b><b>/etc/init.d/dnsmasq restart</b></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
root@voyage:/etc/hostapd# /etc/init.d/dnsmasq restart</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Restarting DNS forwarder and DHCP server: dnsmasq.</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:12px">
<b></b><br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:12px">
But <span style="font-size:medium">When I do </span>/etc/network/interfaces restart<span style="font-size:medium">, it shows this error:</span></div>
<div><span style="font-size:10px"><b>root@voyage:~#</b></span><span style="font-size:10px"><b>/etc/network/interfaces restart</b></span> </div>
<div> root@voyage:/etc/hostapd# /etc/network/interfaces restart </div>
<div>/etc/network/interfaces: line 3: auto: command not found</div>
<div>/etc/network/interfaces: line 4: iface: command not found</div>
<div>/etc/network/interfaces: line 6: auto: command not found</div>
<div>/etc/network/interfaces: line 7: iface: command not found</div>
<div>/etc/network/interfaces: line 28: iface: command not found</div>
<div>/etc/network/interfaces: line 29: address: command not found</div>
<div>/etc/network/interfaces: line 30: netmask: command not found</div>
<div>/etc/network/interfaces: line 31: broadcast: command not found</div>
<div>/etc/network/interfaces: line 32: up: command not found</div>
<div><br>
</div>
<div>and in <span style="font-size:10px">iwconfig</span>, it still say may wlan0 is in "Managed" mode, even I have configured it as "Master"</div>
<div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<b>root@voyage:~# iwconfig</b></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
lo        no wireless extensions.</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
eth0      no wireless extensions.</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
eth1      no wireless extensions.</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
eth2      no wireless extensions.</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
wlan0     IEEE 802.11abg  ESSID:"Voyage4<span>"  </span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
          <b>Mode:Managed</b>  Access Point: Not-Associated   Tx-Power=20 dBm   </div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
          Retry  long limit:7   RTS thr:off   Fragment thr:off</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
          Encryption key:off</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
          Power Management:off</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
I would helpful for any clue about this. </div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br>
</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Aidi</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br>
</div>
<div>
<div>On 26 sep 2011, at 03.27, Kim-man 'Punky' TSE wrote:</div>
<br>
<div>Hi ag,<br>
<br>
What does it break?  I used it everyday and my customer were using it without problems.<br>
<br>
On 9/26/2011 4:48 AM, Artie Gold wrote:<br>
<blockquote type="cite">The ath5k driver works pretty well for an access point on voyage 7.0 (2.6.32 kernel), with a couple of known bugs that don't seem to cause much trouble in terms of functionality. In voyage 7.5 (2.6.38) it appears to be significantly
 broken.<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Is there a sweet spot somewhere in between? (a better kernel/module combination) ...<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Thanks!<br>
</blockquote>
<blockquote type="cite">--ag<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Sent from my iPhone<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">Voyage-linux mailing list<br>
</blockquote>
<blockquote type="cite"><a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
</blockquote>
<blockquote type="cite"><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</blockquote>
<br>
<br>
-- <br>
Regards,<br>
Kim-man "Punky" Tse<br>
<br>
* Open Source Embedded Solutions and Systems<br>
 - Voyage Linux (<a href="http://linux.voyage.hk/" target="_blank">http://linux.voyage.hk</a>)<br>
 - Voyage ONE   (<a href="http://linux.voyage.hk/voyage-one" target="_blank">http://linux.voyage.hk/voyage-one</a>)<br>
 - Voyage MPD   (<a href="http://linux.voyage.hk/voyage-mpd" target="_blank">http://linux.voyage.hk/voyage-mpd</a>)<br>
* Voyage Store   (<a href="http://store.voyage.hk/" target="_blank">http://store.voyage.hk</a>)<br>
<br>
<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</div>
<br>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><font color="#330099"><font face="'comic sans ms', sans-serif">Artie Gold <br>Principal Software Engineer</font></font><div><font color="#330099"><font face="'comic sans ms', sans-serif">Under Assistant West Coast Promo Man<br>
</font></font><div><font color="#330099"><font face="'comic sans ms', sans-serif"><br>F4W, Inc.</font></font><br><br>===================================================<br>Elegance is not a dispensable luxury but a factor that decides between success and failure. <br>
--Edsger Dijkstra <br></div></div><br>
</div></div>