From owner-freebsd-questions@FreeBSD.ORG Sun May 1 19:35:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B97D16A4CE for ; Sun, 1 May 2005 19:35:02 +0000 (GMT) Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A6F843D31 for ; Sun, 1 May 2005 19:35:02 +0000 (GMT) (envelope-from kiffin@gish.demon.nl) Received: from gish.demon.nl ([83.160.27.223]:14114 helo=[192.168.1.35]) by post-24.mail.nl.demon.net with esmtp (Exim 4.43) id 1DSKDV-00086c-1F for freebsd-questions@freebsd.org; Sun, 01 May 2005 19:35:01 +0000 From: Kiffin Gish To: Lista freebsd-questions Content-Type: text/plain Date: Sun, 01 May 2005 21:35:00 +0200 Message-Id: <1114976100.1134.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: DHCP using ifconfig doesn't work ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2005 19:35:02 -0000 I want to use DHCP for my wireless connection by placing the following lines in my /etc/rc.conf file: ifconfig_wi0="DHCP" ifconfig_wi0="ssid GISH mode auto wepmode on wepkey 0x1234567890" I have also tried running sysinstall again and reconfiguring my wireless connection by answering 'yes' to DHCP. However, these do not work for some weird reason. When I login as root and run 'dhclient wi0' then all is a-okay. How can I have this happen automatically during boot without having manually to run this command as root everytime? Thanks alot in advance as usual. -- Kiffin Gish Gouda, The Netherlands