From owner-freebsd-questions Sat Sep 28 15: 6:16 2002 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 EDE3737B401 for ; Sat, 28 Sep 2002 15:06:13 -0700 (PDT) Received: from pilsener.srv.ualberta.ca (pilsener.srv.ualberta.ca [129.128.5.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66AAA43E91 for ; Sat, 28 Sep 2002 15:06:13 -0700 (PDT) (envelope-from dzeibin@ualberta.ca) Received: from [10.0.0.255] (h24-86-164-47.ed.shawcable.net [24.86.164.47]) by pilsener.srv.ualberta.ca (8.12.6/8.12.6) with ESMTP id g8SM6CsK001674 for ; Sat, 28 Sep 2002 16:06:12 -0600 (MDT) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Sat, 28 Sep 2002 16:06:16 -0600 Subject: DHCP/network problems when installing, dhclient "returns status of 2" From: David Zeibin To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit 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 Hello all. I looked at the lists and this (unfortunately) looked to be the most relevant list to post to. If there is a more focused list (for networking, say), please direct me to it. Thanks! Otherwise.... I've been googling all over trying to find out what the status of dhclient means and coming up with nothing. My setup is a little bit weird: I have a FreeBSD machine currently serving happily. It is also configured to act as a basic firewall so my laptop can access the Internet. Usually, I just use static settings on my laptop to communicate between the server and the laptop. I just recently got the DHCP server going, and all is well. Laptop (Mac OS9.2.2, Open Transport 2.7.9) works A-OK, discover, offer, request, acknowledge are all great... Currently, I am trying to install (using FTP) FreeBSD on a *different* machine, one that should communicate just like my laptop, but I get nothing. Sysinstall DHCP server-scan times out and I get the regular network configuration screen. If I enter my data in as best I can (what is the host/domain supposed to be? I'm using urbanpush.com since that's what the frontline FreeBSD box is serving, but the new backline machine doesn't have an hostname or anything. I expect that the frontline doesn't know how to address the backline? Can I use an IP, namely what I want the backline machine to be? I tried that and still no go) I have this: SETTINGS: Host: hilary.urbanpush.com Domain: urbanpush.com IPv4 Gateway: 10.0.0.1 // IP of frontline machine ie. Router Name Server: 129.128.5.233 // the one I always use IPv4 Address: 10.0.0.2 // IP I want this machine to be on local network Netmask: 255.0.0.0 // Class A type network No extra ifconfig options... ALT-F2 DEBUG LOG OUTPUT: During DHCP try I get this: Notify: Scanning for DHCP servers... Executing command 'dhclient -1 fxp0' //fxp0 -> ethernet device address Command 'dhclient -1 fxp0' returns status of 2 To note, the frontline box (dhcpd) does not display any DHCP-related messages during this attempt. After I try to configure it manually (with above settings) I get this: Wrote out /etc/resolv.conf Wrote out /etc/hosts Init routine called for network device fxp0 ifconfig fxp0 inet 10.0.0.2 netmask 255.0.0.0 Executing command 'ifconfig fxp0 inet 10.0.0.2 netmask 255.0.0.0' Command 'ifconfig fxp0 inet 10.0.0.2 netmask 255.0.0.0' returns status of 0 // I assume that's good Adding default route to 10.0.0.1 Executing command 'route -n add default 10.0.0.1' add net default 10.0.0.1 Command 'route -n add default 10.0.0.1' returns status of 0 // I assume that's also good Network initialized successfully. // Yay! hostname = 'ftp.freebsd.org' // The FTP server I chose dir = '/' port # = '21' Notify: Looking up host ftp.freebsd.org. Starting DNS. Looking up hostname, ftp.freebsd.org, using getaddrinfo(AI_NUMERICHOST). Looking up hostname, ftp.freebsd.org, using getaddrinfo(). And then it just sits there. After I hit the OK, the ethernet's LEDs flash a couple times and then nothing. It doesn't timeout, it doesn't stop. It seems like my Name Server is not responding, but I've never had a problem with that one before. I think I will soon take the box to work and jack into a real network, where I know I have a host name and everything, but I still like to know if anyone has any ideas, for future reference. Terribly sorry about the length. Thought I should give you as much info as I could. Thanks in advance for any advice/info you might be able to offer. Toodles, Skip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message