MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Mandrake 10.1 official with a Netgear WGT624 as my AP/firewall. For some reason it won't get a hostname from the DHCP server built into the AP. All of the Windows clients get the proper hostname but the Linux laptop won't.
From what I understand ... the computer requesting an IP address can send it's hostname to the DHCP server. It doesn't pull a hostname from the server. Try using `dhcpcd -h whateverhostname wlan0`.
Originally posted by hell_carnage From what I understand ... the computer requesting an IP address can send it's hostname to the DHCP server. It doesn't pull a hostname from the server. Try using `dhcpcd -h whateverhostname wlan0`.
I'm not running the DHCP server on a Linux system. I'm using dhclient on a Linux box to communicate with my wireless AP. I did manage to get it to accept a hostname by creating a dhclient.conf file. The AP now accepts the hostname but I still cannot ping the Linux box from the Windows systems although each of the Windows systems can ping each other. Do I need to turn on Samba and add the Linux client to the XP Workgroup.
Originally posted by hell_carnage dhcpcd is a DHCP client ... not a server.
Anway, What you are trying to ping is actually a NetBIOS name. For that you want to set up Samba.
Actually, dhclient is the client, dhcpd is the server. Apparently to do the ping I have to setup samba (which I'm doing now) although I did want the AP to know the hostname of the Linux client.
"dhcpcd is an RFC2131-, RFC2132-, and RFC1541-compliant DHCP client daemon. It gets an IP address and other information from the DHCP server, automatically configures the network interface, and tries to renew the lease time according to RFC2131 or RFC1541.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.