Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: resolv problem

16 views
Skip to first unread message
Message has been deleted

Dave Uhring

unread,
Aug 28, 2008, 9:42:13 AM8/28/08
to
On Thu, 28 Aug 2008 10:37:57 +0200, Skratz wrote:

> Error connecting to 192.168.0.38 (No route to host)
> Connection to skratz failed (Error NT_STATUS_HOST_UNREACHABLE)
>
> In reality skratz has ip 192.168.0.4 and not .38 .
> I don't have a dns server running, just WINS through samba.

Populate /etc/hosts.

Unruh

unread,
Aug 28, 2008, 11:11:27 AM8/28/08
to
Skratz <gomailyourself@localhost> writes:

>smbclient -L skratz results in:

>Error connecting to 192.168.0.38 (No route to host)
>Connection to skratz failed (Error NT_STATUS_HOST_UNREACHABLE)

>In reality skratz has ip 192.168.0.4 and not .38 .
>I don't have a dns server running, just WINS through samba.

Put skratz in your /etc/hosts file with the correct IP address.


>How do I fix this?

wisdomkiller & pain

unread,
Aug 29, 2008, 2:39:49 PM8/29/08
to
Skratz wrote:

> smbclient -L skratz results in:
>
> Error connecting to 192.168.0.38 (No route to host)
> Connection to skratz failed (Error NT_STATUS_HOST_UNREACHABLE)
>
> In reality skratz has ip 192.168.0.4 and not .38 .
> I don't have a dns server running, just WINS through samba.
>

> How do I fix this?

skratz my have had that IP before the DHCP lease got renewed.
If your samba server is surely the masterbrowser, stop samba and clear the
wins.dat file, then restart.
Better:
"wins support = yes" in your smb.conf global section,
AND either
"netbios name servers = <IP_of_your_sambaserver>" in your dhcpd.conf
or take the ADIDAS-admin approach to set every windows network - tcpip -
properties - advanced - WINS tab server entry accordingly.

Message has been deleted

wisdomkiller & pain

unread,
Aug 31, 2008, 3:34:15 AM8/31/08
to
Skratz wrote:

> someone else suggested doing
>
> stop samba
> type "> /var/lib/samba/wins.dat"
> Start samba
>
> which is basically the same and it solved my problem, but thanks for
> providing a good solution.
>
Yes, it may cure the symptom for a while - until the dhcp leases change
again (with my assumption you have got some dhcp server in place, maybe
just a router)

> btw: I have never heard of the term "ADIDAS-admin approach" before.

Only practicable for small setups, in German "Turnschuh-Admin". Means you
have to visit each and every pc to change settings manually.
Ok, you may try the same using remote desktop or vnc if installed ... but
changing network parameters almost always will reset the ongoing
connection. Not very good in a company setup when you are working as admin
on a remote pc ...

0 new messages