On Thu, Jul 8, 2010 at 8:15 AM, Chet Langin <clan...@siu.edu> wrote: > I would like to set DHCP for an interface > from the command line. I have tried... > > # ifconfig re0 dhcp > > ..and I get this error... > > ifconfig: dhcp: bad value > > Using version 4.5. > > Can anyone tell me how to do this?
Read dhclient(8). You are looking for something like: $ sudo dhclient re0 --patrick