From owner-freebsd-questions@FreeBSD.ORG Wed May 12 14:56:03 2004 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 E5DD116A4CE for ; Wed, 12 May 2004 14:56:02 -0700 (PDT) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 101D043D2D for ; Wed, 12 May 2004 14:56:02 -0700 (PDT) (envelope-from gerard-seibert@rcn.com) Received: from 207-237-110-41.c3-0.crm-ubr4.crm.ny.cable.rcn.com ([207.237.110.41] helo=[192.168.0.4]) by smtp01.mrf.mail.rcn.net with esmtp (Exim 4.32 #2) id 1BO1hi-000630-QH for freebsd-questions@freebsd.org; Wed, 12 May 2004 17:55:55 -0400 From: Gerard Seibert To: FreeBSD Questions Date: Wed, 12 May 2004 17:55:50 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200405121755.50239.gerard-seibert@rcn.com> Subject: Configuring For Internet Access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gerard-seibert@rcn.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 21:56:03 -0000 I am having a problem getting my system properly configured. I have three computers - 2 are WinXP Pro and one Free BSD. They are connected via a hub and then to a Net Gear RT311 Gateway Router. This is then connected to a cable modem. If I run my system with it configured as the files listed below show, then it seems to works alright. However, that is not the way the router manual says to do it. The manual wants th OS to obtain an IP automatically. The IP address of the PC is between 192.168.0.2 and 192.168.0.31 The subnet mask is 255.255.255.0 The default gateway is 192.168.0.1 If I disable the lines in the dhclient.conf file and reboot, my system will no longer make an Internet connection. Running nslookup will fail as well. Neither of my two WinXP boxes exhibits this phenomena. Perhaps someone can assist me with this . Also, when I access my router, it does not show a host name, although it does for the other two computers, It lists the IP as 192.168.0.4 as well as it's MAC address. Why is it not displaying a host name? It should, shouldn't it. Thanks Gerard Seibert gerard-seibert@rcn.com System Info Below: root@rcn ~ $ ifconfig -a rl0: flags=8843 mtu 1500 options=8 inet6 fe80::250:baff:fe40:6de1%rl0 prefixlen 64 scopeid 0x1 inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:50:ba:40:6d:e1 media: Ethernet autoselect (100baseTX) status: active plip0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 root@rcn ~ $ uname -a FreeBSD rcn.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 re.config file: saver="logo" blanktime="3600" hostname="rcn.com" ifconfig_rl0="DHCP" linux_enable="YES"root@rcn ~ $ ifconfig -a lpd_enable="YES" named_enable="YES" named_flags="-u bind -g bind" sendmail_enable="NONE" sshd_enable="YES" usbd_enable="YES" ntpd_enable="YES" clear_tmp_enabled="YES" moused_flags="-z 4 5" moused_port="/dev/ums0" moused_type="auto" resolv.conf: search rcn.com nameserver 207.172.3.8 nameserver 207.172.3.9 nameserver 192.168.0.1 dhclient.conf: interface "rl0" { prepend domain-name-servers 207.172.3.8, 207.172.3.9; prepend domain-name rcn.com; } Runnihng ifconfig -a yields the following: root@rcn ~ $ ifconfig -a rl0: flags=8843 mtu 1500 options=8 inet6 fe80::250:baff:fe40:6de1%rl0 prefixlen 64 scopeid 0x1 inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:50:ba:40:6d:e1 media: Ethernet autoselect (100baseTX) status: active plip0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3