WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: DHCP for FREERDP ??  (Read 4977 times)

Offline mOrloff

  • Newbie
  • *
  • Posts: 26
DHCP for FREERDP ??
« on: March 15, 2012, 05: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
« Last Edit: March 15, 2012, 05:57:17 PM by mOrloff »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: DHCP for FREERDP ??
« Reply #1 on: March 15, 2012, 06:00:20 PM »
Maybe you should look at dnsmasq.

Offline mOrloff

  • Newbie
  • *
  • Posts: 26
Re: DHCP for FREERDP ??
« Reply #2 on: March 15, 2012, 06: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

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: DHCP for FREERDP ??
« Reply #3 on: March 15, 2012, 06: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.
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: DHCP for FREERDP ??
« Reply #4 on: March 15, 2012, 06: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
« Last Edit: March 15, 2012, 07:00:40 PM by gerald_clark »

Offline mOrloff

  • Newbie
  • *
  • Posts: 26
Re: DHCP for FREERDP ??
« Reply #5 on: March 15, 2012, 07: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.
~