Tom, This is a feature that we implemented for that very reason. I installed AstLinux on a network that had a Windows DHCP server. A Windows network works much better if it's allow to do DHCP.
In the rc.conf (/mnt/kd/rc.conf if you have a single file, or /mnt/kd/rc.conf.d/user.conf if using the rc.conf.d directory) specify NODHCP="ethX" where ethX is the network adapter on the LAN side. James said this in his email, but he also said to stop dnsmasq. I would not leave that in a stopped state. Stop dnsmasq as he described, make this change, then issue the gen-rc-conf command at the CLI to re-create the /tmp/etc/rc.conf file (which is linked to from /etc/rc.conf and generated at startup). Finally restart dnsmasq for the changes to take effect. (or reboot). The default behavior of providing dhcp leases is fine as long as the lan is not shared by a Windows domain controller. Darrick -----Original Message----- From: Tom Chadwin [mailto:[email protected]] Sent: Thursday, April 19, 2012 10:23 AM To: 'AstLinux Users Mailing List' Subject: [Astlinux-users] Disable DHCP from CLI Hello all This must be quite a common request. How do I disable DHCP before I connect Astlinux to a network? I obviously can't use the GUI, so how do I do it from the command line? I won't tell you the nickname one of my colleagues gave Astlinux after I mistakenly connected it to a live LAN once and it started issuing DHCP addresses in conflict with our domain controllers. Thanks Tom ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
