Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: mOrloff on March 15, 2012, 02:54:02 PM

Title: DHCP for FREERDP ??
Post by: mOrloff on March 15, 2012, 02:54:02 PM
We have a couple little TC machines basically running as thinclients.

We are trying to switch our LAN to DHCP, so the static IP's which have been targeted by FREERDP in the past are going away.
How do I get FREERDP to be able to rectify machine names??

I did download+load the `isc-dhcp` ext, but still get "ERROR: getaddrinfo: Name or service not known"
What should I try next ??
~ Mo
Title: Re: DHCP for FREERDP ??
Post by: gerald_clark on March 15, 2012, 03:00:20 PM
Maybe you should look at dnsmasq.
Title: Re: DHCP for FREERDP ??
Post by: mOrloff on March 15, 2012, 03:37:10 PM
Great, thank you.
Found it and installed it.

The linux world is still a little mysterious to me :-)
(Not much more comfortable with networking stuff)
I'm looking at the config file, and wondering if there's a cheat-sheet somewhere?
 ... like a config file that works for the majority of all basic uses?

Or should I just make my best WAGs, and take it as it comes ?? :)
~ Mo
Title: Re: DHCP for FREERDP ??
Post by: gutmensch on March 15, 2012, 03:55:43 PM
It sounds a bit like a wrong network setup. Only DHCP doesn't serve any names for servers like your Windows servers, it only provides IP addresses to the Windows servers, nothing else. So if you want to connect to DNS names from the client, you have to setup a DNS for your network as well, which shouldn't be on the client of course. No isc-dhcp or anything else needed on the client, unless you want to make it more complicated then needed. The command

Code: [Select]
$ ping windowsservername

should work on all clients before calling freerdp. If it's not working, either the name server on your client is not correct (entry in /etc/resolv.conf) or you don't have one at all. If you want to avoid special DNS, you can hardcode the server names into /etc/hosts with their specific IP addresses. I wouldn't recommend having dynamic IPs for any servers either way.
Title: Re: DHCP for FREERDP ??
Post by: gerald_clark on March 15, 2012, 03:57:59 PM
Your network needs a dhcp server that integrates with the name server.
Dnsmasq handles both.

http://leaf.sourceforge.net/doc/man/dnsmasq.8.html
http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq.conf.example
Title: Re: DHCP for FREERDP ??
Post by: mOrloff on March 15, 2012, 04:45:45 PM
Thank you guys.
This is all starting to make a little more sense.
I think I'll pursue this further in the morning (after some much-needed sleep :-)

I'll post then if I any other questions pop up.
Thanks again.
~