From owner-freebsd-questions@FreeBSD.ORG Thu Feb 7 03:15:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D008316A419 for ; Thu, 7 Feb 2008 03:15:59 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id 5AAFF13C447 for ; Thu, 7 Feb 2008 03:15:59 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so2308838rvb.43 for ; Wed, 06 Feb 2008 19:15:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=fNTL/a/MuOiM/0y5Mvdcw/NV1LSIBhPiBm1fe/NF4OI=; b=N49jTfeQ9r4xsoyFc3KXOaFR5FUbUkajJC3I2clUOp1y04atjkvvDYWb4Cx0AjLW86UCRx+0bsHc1hLmCfU2zHy241gP55XD9mt8NTj8VbNKqlkiZSGg4v20Q5WfcBrpWq8QIvuJQOim/8FDcXV2ILEv5ioIpkhWf/tLOxBz9T4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=mN8TTFfJ+JouVdCOeggHing1eYaVTOaiNotq1KFSsIvbGCPbxhkpVyo7dnn0vvFduerWNfs/OzDczWYRuZvTElKw2blTwgNzR2vpOs39Pawkbsu1fI06fulCd06h9JcPKxkDAFvOsXYAlPiL6FGjCC8MdK2vWuuLMn4/CJv5flQ= Received: by 10.141.37.8 with SMTP id p8mr7201428rvj.178.1202352413193; Wed, 06 Feb 2008 18:46:53 -0800 (PST) Received: from ?192.168.1.4? ( [124.157.234.216]) by mx.google.com with ESMTPS id b24sm3009211rvf.1.2008.02.06.18.46.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 Feb 2008 18:46:52 -0800 (PST) From: OutBackDingo To: Eugen In-Reply-To: References: <47A94275.608@daleco.biz> <6.0.0.22.2.20080206082722.02510c78@mail.computinginnovations.com> Content-Type: text/plain Date: Thu, 07 Feb 2008 10:46:33 +0800 Message-Id: <1202352394.7754.5.camel@myhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Derek Ragona Subject: Re: Help with router problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 03:15:59 -0000 But i still dont see any ipv6 data in the ifconfig for dc0, we had an instance where ipv6 being turned off networking stopped functioning in your ifconfig dc0 should show inet6 data like lo0 does. make sure its commented out of rc.conf and reboot. also is this a generic kernel or did you customize it ? On Wed, 2008-02-06 at 20:24 -0600, Eugen wrote: > I tried everything you guys told me and it still doesn't work : > > - tried to set a static address as Derek indicated > - commented out the ipv6 line in rc.conf, even if it was already set to "NO" > - the answer to Kevin's questions follow: > > # ping -I dc0 192.168.1.1 > ping: invalid multicast interface: `dc0' > > # arp -a > ? (192.168.1.1) at (incomplete) on dc0 [ethernet] > > # ifconfig -a > dc0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:14:cf:52:b4:17 > inet 192.168.1.33 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > > ping 192.168.1.1 and traceroute 192.168.1.1 give "Network is unreachable" > > I even connected directly to the cable modem as it was before I bought the > router and... surprise: it works! Put the router back and BSD stops working > again. I'm writing this post from Linux, so this one works. > > The /etc/hosts and /etc/dhclient.conf are the original ones, coming from BSD > install, untouched. > > What else can I do ? > > Eugen > > On Feb 6, 2008 8:36 AM, Derek Ragona wrote: > > > > > > At 07:40 AM 2/6/2008, Eugen wrote: > > > > Thanks for all your input. For now I am posting my rc.conf, but I will try > > your suggestions this evening when I come back from work. > > > > If anyone needs additional details, please ask and I'll repost my > > initial cry for help. > > > > Eugen > > > > ### Console options > > keymap="us.iso" > > font8x8="NO" > > font8x14="NO" > > font8x16="NO" > > scrnmap="NO" > > keyrate="fast" > > cursor="blink" > > blanktime="900" > > saver="warp" > > > > ### Mouse daemon > > mousechar_start="NO" > > moused_enable="NO" > > moused_flags="" > > moused_port="/dev/sysmouse" > > moused_type="auto" > > > > ### IPv6 options > > ipv6_enable="NO" > > > > ifconfig_dc0="DHCP" > > > > ### PF firewall > > # pf_enable="YES" # Enable PF (load > > module if required) > > # pf_flags="" # > > additional flags for pfctl startup > > # pf_rules="/etc/pf.conf" # rules > > definition file for pf > > # pflog_enable="YES" # start pflogd(8) > > # pflog_flags="" # additional > > flags for pflogd startup > > # pflog_logfile="/var/log/pflog" # where pflogd > > should store the logfile > > > > ### Miscellaneous administrative options > > kern_securelevel="-1" # range: -1..3 ; > > `-1' is the most insecure > > kern_securelevel_enable="NO" # kernel security level > > (see init(8)), > > local_startup="/usr/local/etc/rc.d" > > clear_tmp_enable="YES" # Clear /tmp at startup. > > devfs_system_ruleset="devfsrules_local" # The name of a ruleset to apply to > > /dev > > dmesg_enable="YES" # Save dmesg(8) to > > /var/run/dmesg.boot > > update_motd="YES" # update version > > info in /etc/motd (or NO) > > virecover_enable="NO" # Perform > > housekeeping for the vi(1) editor > > > > usbd_enable="YES" > > usbd_enable="YES" # Run the usbd daemon. > > usbd_flags="" # Flags to > > usbd (if enabled). > > > > lpd_enable="YES" > > Eugen, > > > > I almost always set my FreeBSD systems up to use a static IP, even behind a > > router. I don't know if you want to access your FreeBSD system from ONLY > > the LAN, or if you want some access through your router. I prefer a static > > IP on my FreeBSD systems as they are all providing some server functions > > (file sharing, DNS, etc.) > > > > Below are typical lines you would have in your /etc/rc.conf: > > ============================================================== > > #set the default router to your router's IP, often 192.168.1.1 > > defaultrouter="192.168.1.1" > > #set your hostname to match the enty in /etc/hosts > > hostname="myhostname.mydomainname.com" > > #set your IP to one not in any DHCP range > > ifconfig_dc0="inet 192.168.1.10 netmask 255.255.255.0" > > ============================================================== > > > > These are all you need to get it working. > > > > If you want the FreeBSD to have a LAN address but access through the router > > you need to set that up in your router. > > > > -Derek > > > > > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > MailScanner thanks transtec Computers for their support.