Re: NetworkManager, DHCP and DNS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Oct 01, 2012 at 07:03:50PM +0200, Guillermo Leira wrote:
> Hello!
> 
> I have been using wicd for a long time. I have installed and enabled
> NetworkManager service (with systemd). It seems to work, but I have found
> that when asking for a DHCP address, it does not register the conexion in
> the DNS server (as wicd does). I can't find anything about this issue...
> 
> I have gone back to wicd, but it can't connect to my office's wifi (or I
> have been unable to configure it) and NetworkManager worked at the first
> attempt.
> 
> Any suggestions?
> 
> Best Regards,
> 
> Guillermo Leira
> 
> 
> 
> 
> 
> 
> 

Hello,

Are you using NetworkManager with dhclient ?
NetworkManager with dhcpcd should give you no issues since dhcpcd sends
the hostname along with the dhcp request.

dhclient does not with the defaults given by NetworkManager.
You can easily create a default /etc/dhclient.conf with content:

--- dhclient.conf ---
send host-name = pick-first-value(gethostname(), "ISC-dhclient");
--- dhclient.conf ---

the above is just a copy from the example configuration.

if you have eth0, eth1, ... just create a symlink in etc since
NetworkManager will pick up the /etc/dhclient-eth0.conf for eth0

ls -l /etc/dhclient.conf /etc/dhclient-eth0.conf

if you have a dhcp which registers the clients to your dns server all
should work fine now.

-- 
Ike

Attachment: pgpCJdTFXVJCO.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux