From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 12:38:46 2003 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 F09C516A4CE for ; Wed, 12 Nov 2003 12:38:45 -0800 (PST) Received: from mail2.northnetworks.ca (dev.eagle.ca [209.167.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4509F43F85 for ; Wed, 12 Nov 2003 12:38:43 -0800 (PST) (envelope-from iaccounts@northnetworks.ca) Received: from svr3.northnetworks.ca (localhost.northnetworks.ca [127.0.0.1]) hACKWVXK012647; Wed, 12 Nov 2003 15:32:31 -0500 (EST) (envelope-from iaccounts@northnetworks.ca) Received: from localhost (iaccounts@localhost)hACKWV5I012644; Wed, 12 Nov 2003 15:32:31 -0500 (EST) X-Authentication-Warning: svr3.northnetworks.ca: iaccounts owned process doing -bs Date: Wed, 12 Nov 2003 15:32:31 -0500 (EST) From: Steve Bertrand To: Marty Landman In-Reply-To: <6.0.0.22.0.20031112151158.0202d218@pop.face2interface.com> Message-ID: <20031112153139.A11115@svr3.northnetworks.ca> References: <6.0.0.22.0.20031112151158.0202d218@pop.face2interface.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: newbie dns mess w/ nic 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: Wed, 12 Nov 2003 20:38:46 -0000 X-List-Received-Date: Wed, 12 Nov 2003 20:38:46 -0000 > I had everything working as evidenced by installing a port or two - > including the Lynx browser which worked; then rebooted last night and now > can't get dns working again. > > My LAN has a windoz xp box with dial up and ICS enabled. It is 192.168.0.1 > on the network. My FBSD box will ping to localhost, 192.168.0.7 (itself), > and other boxes on LAN by either name or IP. But when I try to ping google > etc.. I get "No route to host". > Add the following to your /etc/rc.conf file: default_router="192.168.0.1" and then perform the following command to get it online without a reboot: # route add default 192.168.0.1 Hope this helps. Steve > > $ cat /etc/rc.conf > > # -- sysinstall generated deltas -- # Sat Nov 8 18:24:40 2003 > # Created: Sat Nov 8 18:24:40 2003 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file no longer contains just the overrides from /etc/defaults/rc.conf. > hostname="fbsd.my.domain" > kern_securelevel_enable="NO" > linux_enable="YES" > moused_enable="YES" > nfs_reserved_port_only="YES" > sendmail_enable="YES" > sshd_enable="YES" > ifconfig_ep0="inet 192.168.0.7 netmask 255.255.255.0 media 10baseT/UTP" > firewall_enable="no" > > > $ cat /usr/local/etc/rc.d/landns.root.sh > #!/bin/sh > natd -dynamic -interface ep0 > dhclient ep0 > ifconfig ep0 inet 192.168.0.7 255.255.255.0 > echo Everone Feeling Better Now? 8^} > > > $ netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > 127.0.0.1 127.0.0.1 UH 2 6 lo0 > 192.168.0 link#1 UC 3 0 ep0 > 192.168.0.1 00:08:74:c0:5e:69 UHLW 2 200 ep0 1065 > 192.168.0.7 00:20:af:4d:24:b7 UHLW 0 4 lo0 > 192.168.0.150 00:a0:cc:40:55:cf UHLW 0 2 ep0 735 > 192.168.0.222 127.0.0.1 UGHS 0 2 lo0 > > Internet6: > Destination Gateway Flags > Netif Expire > ::1 ::1 UH lo0 > fe80::%ep0/64 link#1 UC ep0 > fe80::220:afff:fe4d:24b7%ep0 00:20:af:4d:24:b7 UHL lo0 > fe80::%lo0/64 fe80::1%lo0 Uc lo0 > fe80::1%lo0 link#4 UHL lo0 > ff01::/32 ::1 U lo0 > ff02::%ep0/32 link#1 UC ep0 > ff02::%lo0/32 ::1 UC lo0 > > > > $ ifconfig -a > ep0: flags=8843 mtu 1500 > inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1 > inet 192.168.0.7 netmask 0xffffff00 broadcast 255.255.255.0 > ether 00:20:af:4d:24:b7 > media: Ethernet 10baseT/UTP > lp0: flags=8810 mtu 1500 > faith0: flags=8002 mtu 1500 > lo0: flags=8049 mtu 16384 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8010 mtu 1500 > sl0: flags=c010 mtu 552 > $ > > > Hey, at least I've got local connectivity stable now so I can copy and > paste this stuff... oops maybe I shouldn't have even said anything to jinx > this. being> > > > Marty Landman Face 2 Interface Inc 845-679-9387 > Sign On Required: Web membership software for your site > Make a Website: http://face2interface.com/Home/Demo.shtml > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >