<p>Probably not.  This is actually a complicated question about how names are resolved.  At this early stage you might be overwhelmed by DNS and netBIOS etc.  The easiest thing would be to put an entry into /etc/hosts or just use the IP.</p>

<p>Sent from my Android device.  Please excuse my brevity.</p>
<div class="gmail_quote">On Aug 2, 2011 12:07 PM, &quot;KeLLoGsX&quot; &lt;<a href="mailto:mans.xo@gmail.com">mans.xo@gmail.com</a>&gt; wrote:<br type="attribution">&gt; Thank you for the reading advice, haven&#39;t had the time yet but will certainly<br>
&gt; bookmark them and have a look. In the meantime, I checked ipconfig /all and<br>&gt; got:<br>&gt; subnet mask 255.255.255.0<br>&gt; default gateway 10.0.0.1<br>&gt; dhcp 10.0.0.1<br>&gt; dns 10.0.0.1<br>&gt; <br>&gt; I changed the etc/network/interfaces with appropriate numbers (broadcast,<br>
&gt; gateway, network)<br>&gt; <br>&gt; *# ip addr*<br>&gt; inet <a href="http://10.0.0.7/24">10.0.0.7/24</a> brd 10.0.0.255<br>&gt; <br>&gt; *# ip route*<br>&gt; default via 10.0.0.1 dev wlan0<br>&gt; <br>&gt; I use static ip now because it works to connect with putty from my windows<br>
&gt; pc. But if I get this host problem solved I can change to dhcp and connect<br>&gt; via the host name instead, right?<br>&gt; <br>&gt; //KeLLoGsX<br>&gt; <br>&gt; <br>&gt; Gustin Johnson-2 wrote:<br>&gt;&gt; <br>&gt;&gt; Well the obvious flaw is that the IP address you used does not match<br>
&gt;&gt; the network and broadcast that you defined (which is network that the<br>&gt;&gt; gateway belongs to).  As a result your machine does not &quot;see&quot; the<br>&gt;&gt; gateway.<br>&gt;&gt; <br>&gt;&gt; This is not Linux specific but is networking 101.  A good place to<br>
&gt;&gt; start would be the <a href="http://www.tcpipguide.com/">http://www.tcpipguide.com/</a> site.  If you plan on<br>&gt;&gt; messing with networks, the book he is also selling there is worth<br>&gt;&gt; every penny.  The Linux Advanced Routing and Traffic Control site<br>
&gt;&gt; (<a href="http://www.lartc.org">http://www.lartc.org</a>) is also a wealth of info.<br>&gt;&gt; <br>&gt;&gt; You do not need to memorize everything on those two sites, but they<br>&gt;&gt; both do a good job of covering the basics.<br>
&gt;&gt; <br>&gt;&gt; The short short version is that you either need to change the IP<br>&gt;&gt; address or change the rest.  You also do not need the hostapd line<br>&gt;&gt; since this machine is acting as a &quot;client&quot; on an existing wifi<br>
&gt;&gt; network.  You would use hostapd if you were building your own access<br>&gt;&gt; point.<br>&gt;&gt; <br>&gt;&gt; The rest of the hosts on your network, do they have 10.0.0.xxx IPs or<br>&gt;&gt; 192.168.1.xxx IPs?  From Linux you can find the relevant info with &quot;ip<br>
&gt;&gt; addr&quot; and &quot;ip route&quot;.  The &quot;ip addr&quot; will give you an IP and netmask<br>&gt;&gt; in CIDR notation (xxx.xxx.xxx.xxx/nn), while other operating systems<br>&gt;&gt; may give you this info as separate IP and netmask entries.  The info I<br>
&gt;&gt; am after follows &quot;inet&quot;, not &quot;inet6&quot;.<br>&gt;&gt; <br>&gt;&gt; On Windows &quot;ipconfig /all&quot; should get you the info you need to make<br>&gt;&gt; this work.  Specifically you are looking for the netmask and gateway,<br>
&gt;&gt; I could probably guess/deduce the rest.<br>&gt;&gt; <br>&gt;&gt; Hth,<br>&gt;&gt; On Tue, Aug 2, 2011 at 1:09 AM, KeLLoGsX &amp;<a href="mailto:lt%3Bmans.xo@gmail.com">lt;mans.xo@gmail.com</a>&amp;gt; wrote:<br>&gt;&gt;&gt; Hi Gustin,<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; When I type *# ip route* I get this:<br>&gt;&gt;&gt; <a href="http://10.0.0.0/24">10.0.0.0/24</a> dev wlan0 proto kernel scope link src 10.0.0.7<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Don&#39;t know what this means... My interfaces look like this<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; *# etc/network/interfaces *<br>&gt;&gt;&gt; auto wlan0<br>&gt;&gt;&gt; iface wlan0 inet static<br>&gt;&gt;&gt;  address 10.0.0.7<br>&gt;&gt;&gt;  netmask 255.255.255.0<br>&gt;&gt;&gt;  network 192.168.1.0<br>
&gt;&gt;&gt;  broadcast 192.168.1.255<br>&gt;&gt;&gt;  gateway 192.168.1.1<br>&gt;&gt;&gt;    hostapd /etc/hostapd/hostapd.wlan0.conf<br>&gt;&gt;&gt;  wpa-ssid ***<br>&gt;&gt;&gt;  wpa-psk ***<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Haven&#39;t tried the traceroute yet but I will later today.<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; //KeLLoGsX<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; View this message in context:<br>&gt;&gt;&gt; <a href="http://voyage-linux.34677.n3.nabble.com/Host-name-resolve-problem-tp3213232p3218197.html">http://voyage-linux.34677.n3.nabble.com/Host-name-resolve-problem-tp3213232p3218197.html</a><br>
&gt;&gt;&gt; Sent from the Voyage Linux mailing list archive at Nabble.com.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; Voyage-linux mailing list<br>&gt;&gt;&gt; <a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
&gt;&gt;&gt; <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>&gt;&gt;&gt;<br>&gt;&gt; <br>&gt;&gt; _______________________________________________<br>
&gt;&gt; Voyage-linux mailing list<br>&gt;&gt; <a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>&gt;&gt; <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
&gt;&gt; <br>&gt; <br>&gt; <br>&gt; --<br>&gt; View this message in context: <a href="http://voyage-linux.34677.n3.nabble.com/Host-name-resolve-problem-tp3213232p3219722.html">http://voyage-linux.34677.n3.nabble.com/Host-name-resolve-problem-tp3213232p3219722.html</a><br>
&gt; Sent from the Voyage Linux mailing list archive at Nabble.com.<br>&gt; <br>&gt; _______________________________________________<br>&gt; Voyage-linux mailing list<br>&gt; <a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
&gt; <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br></div>