From owner-freebsd-questions Thu Oct 25 17:12:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f233.law9.hotmail.com [64.4.9.233]) by hub.freebsd.org (Postfix) with ESMTP id E24E537B405 for ; Thu, 25 Oct 2001 17:12:07 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 25 Oct 2001 17:12:07 -0700 Received: from 153.39.146.161 by lw9fd.law9.hotmail.msn.com with HTTP; Fri, 26 Oct 2001 00:12:06 GMT X-Originating-IP: [153.39.146.161] From: "Jeremy Cooper" To: freebsd-questions@FreeBSD.ORG Subject: DHCP not getting IP Date: Fri, 26 Oct 2001 00:12:06 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 Oct 2001 00:12:07.0193 (UTC) FILETIME=[D9281890:01C15DB2] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have been trying to set up my first freebsd box using dhcp. I have tried a few things but I am unable to get an IP address from my ISP, Starpower via cable modem. I have tried a few things but I am stuck right now. Does anyone have any suggestions. I am running version 4.4 of freebsd on a Dell Pentium 1. Here are some of my configs: This is the ifconfig w/ the cable modedm plugged in. gateway# ifconfig xl0: flags=8843 mtu 1500 inet 10.111.111.1 netmask 0xffffff00 broadcast 10.111.111.255 ether 00:50:da:20:66:48 media: Ethernet 10baseT/UTP (10baseT/UTP ) xl1: flags=8843 mtu 1500 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:c0:4f:bd:1d:46 media: Ethernet autoselect (10baseT/UTP) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 gateway# ps -aux|grep dhc root 244 0.0 2.1 1060 620 p0 S+ 9:06AM 0:00.01 grep dhc root 124 0.0 1.2 528 360 ?? Ss 9:01AM 0:00.00 /sbin/dhclient xl1 gateway# more rc.conf # -- sysinstall generated deltas -- # Thu Sep 20 10:49:51 2001 # Created: Thu Sep 20 10:49:51 2001 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. gateway_enable="YES" firewall_type="open" firewall_enable="YES" hostname="gateway.jcali.net" ifconfig_xl1="DHCP" ifconfig_xl0="inet 10.111.111.1 netmask 255.255.255.0" kern_securelevel_enable="NO" moused_enable="YES" sendmail_enable="NO" sshd_enable="YES" network_interfaces="lo0 xl0 xl1" ------------ Here is the ifconfig with the cable modem not plugged in. Notice the status of xl1. gateway# ifconfig xl0: flags=8843 mtu 1500 inet 10.111.111.1 netmask 0xffffff00 broadcast 10.111.111.255 ether 00:50:da:20:66:48 media: Ethernet 10baseT/UTP (10baseT/UTP ) xl1: flags=8843 mtu 1500 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:c0:4f:bd:1d:46 media: Ethernet autoselect (none) status: no carrier lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message