From owner-freebsd-questions@FreeBSD.ORG Tue Oct 19 02:41:58 2010 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 6C898106566B for ; Tue, 19 Oct 2010 02:41:58 +0000 (UTC) (envelope-from bluethundr@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 68E798FC0C for ; Tue, 19 Oct 2010 02:41:52 +0000 (UTC) Received: by bwz16 with SMTP id 16so1579bwz.13 for ; Mon, 18 Oct 2010 19:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=yjb3hewdyAotrJ2liHTTiy7/NPuPRO8Jg8tfVHl4J9o=; b=Whmd30T/0bEAHIpDSsSPDT5J5mvnS9ZAWh2gWPgkommE1w7qnxCXXIgDBlRN7nVRLv 4XoKxi9/+uBU3c4WkNhUbuPg467fimugz9bt0Pw4nWOa8LzI4WJCpMGTtAyQOHZgLmte M8dX81zZizWPgSTm3aToqcMT3Jg9RjU5fnF5w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Yl8WRs0ItMFh8tlFNQ4w6Z7WicjcAdEw00iMv0wFekHS3zEfZhbTpWHRb4+gxloLnz KmrnBHW2RIH55doDV9ZJjdZAhBwu4P1FTfhK0UVLjx7cXgUcqB4gBTi3jNNvZHM45qaD CVQ3fsl50/X1IXc6EA82CkbQHmIy/+WgYXe00= MIME-Version: 1.0 Received: by 10.204.179.9 with SMTP id bo9mr5122200bkb.80.1287456037058; Mon, 18 Oct 2010 19:40:37 -0700 (PDT) Received: by 10.204.69.144 with HTTP; Mon, 18 Oct 2010 19:40:37 -0700 (PDT) In-Reply-To: References: Date: Mon, 18 Oct 2010 22:40:37 -0400 Message-ID: From: Tim Dunphy To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: download cvsup? 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: Tue, 19 Oct 2010 02:41:58 -0000 Thanks guys! But to give more background the host in question IS networking, at this point I can ssh into and out of it.. I just can't resolve externally. [root@LBSD2:/usr/ports]#ifconfig bge0: flags=3D8843 metric 0 mtu 150= 0 options=3D9b ether 00:14:22:38:9e:eb inet6 fe80::214:22ff:fe38:9eeb%bge0 prefixlen 64 scopeid 0x1 inet 192.168.1.44 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active plip0: flags=3D8810 metric 0 mtu 1500 lo0: flags=3D8049 metric 0 mtu 16384 options=3D3 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 [root@LBSD2:/usr/ports]# Also the rest of the network is currently working. I am writing this to you from another machine on the same network as the bsd machien. I was able to download the ports tarball from the freebsd ftp site and scp it over to the bsd host. so that minor crisis has been solved. (grin). But it is still quite necessary for me to get this host resolving external hosts of course! And yes I now realize that csup is part of the base system. But in order for me to use it I must resolve! Not sure how this might have cause this but I edited my fstab file with some nfs mounts like so: 192.168.1.44:/mnt/nas /mnt/nas nfs rsize=3D32768,wsize=3D32768,time= o=3D14,intr 192.168.1.44:/mnt/store /mnt/store nfs rsize=3D32768,wsize=3D32768,timeo= =3D14,intr 192.168.1.44:/mnt/home /home nfs rsize=3D32768,wsize=3D32768,timeo= =3D14,intr And when I rebooted the host pretty much it all went haywire! LDAP, DNS, Apache, MySQL, and even ALL NETWORKING which normally started with the host stopped working. I now have to start each one by hand whatever I try I can't seem to resolve external hosts, tho. So I restored the fstab file from backup and still I am stuck not resolvin= g. /etc/resolv.conf looks ok to me so I would think I that I could ping out of the network. Sadly this is not the case! [root@LBSD2:/usr/ports]#cat /etc/resolv.conf domain summitnjhome.com nameserver 192.168.1.44 nameserver 4.2.2.2 [root@LBSD2:/usr/ports]#ping yahoo.com ping: cannot resolve yahoo.com: Host name lookup failure [root@LBSD2:/usr/ports]#ping sum1.summitnjhome.com PING lCent01.summitnjhome.com (192.168.1.42): 56 data bytes 64 bytes from 192.168.1.42: icmp_seq=3D0 ttl=3D64 time=3D0.273 ms 64 bytes from 192.168.1.42: icmp_seq=3D1 ttl=3D64 time=3D0.180 ms 64 bytes from 192.168.1.42: icmp_seq=3D2 ttl=3D64 time=3D0.186 ms thanks for your continued assistance with this problem! On Mon, Oct 18, 2010 at 1:56 AM, Michael Powell wr= ote: > Tim Dunphy wrote: > >> hello, >> >> =A0I accidentally deleted my ports tree thinking that cvsup was already >> installed. it wasn't. :( > > csup is cvsup rewritten with C and exists in the base system. You no long= er > need to install cvsup, just use csup. > >> =A0I seem to be having a little trouble resolving external hosts tho my >> trusty named server on this host is working fine to resolve the local >> network. I need to reinstall my ports with sysinstall but to do that i >> need to resolve externally of course. I think this problem could use a >> fresh set of eyes. > > You do not have to use sysinstall just to install ports. It is available = as > a tarball you can download and decompress. Use csup afterwards for an upd= ate > to ensure you have pulled in any changes which may have occurred after th= e > tarball was generated. > > You will, of course, need to get your network working first. > >> =A0[root@LBSD2:/usr/home/bluethundr]#/etc/rc.d/netif restart >> Stopping Network: lo0 bge0 plip0. >> lo0: flags=3D8048 metric 0 mtu 16384 >> options=3D3 >> inet6 ::1 prefixlen 128 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> bge0: flags=3D8802 metric 0 mtu 1500 >> options=3D9b >> ether 00:14:22:38:9e:eb >> inet6 fe80::214:22ff:fe38:9eeb%bge0 prefixlen 64 scopeid 0x1 > >> media: Ethernet autoselect (none) >> status: no carrier > ^^^^^^^^^^^^^^^ > >> plip0: flags=3D8810 metric 0 mtu 1500 >> Starting Network: lo0 bge0. >> lo0: flags=3D8049 metric 0 mtu 16384 >> options=3D3 >> inet6 ::1 prefixlen 128 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> inet 127.0.0.1 netmask 0xff000000 >> bge0: flags=3D8843 metric 0 mtu = 1500 >> options=3D9b >> ether 00:14:22:38:9e:eb >> inet6 fe80::214:22ff:fe38:9eeb%bge0 prefixlen 64 scopeid 0x1 >> inet 192.168.1.44 netmask 0xffffff00 broadcast 192.168.1.255 > >> media: Ethernet autoselect (none) >> status: no carrier > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Your network interface isn't connecting to anything, such as a hub, switc= h, > or another computer via crossover cable at the physical layer. You need t= o > fix this first, then worry about why the DNS is not working. > > Start with simple things such as substituting a known good cable from a > working machine. Examine the LEDs on both the NIC and the hub/switch. > Usually these will not be lit if there is no link. Is the hub/switch > defective? Or locked up? I've seen hubs and switches lock up and a power > cycle would make them operate again, for a while. Hubs or switches that l= ock > up have an intermittent defect and should not be depended upon for the lo= ng > run. > > Verify if you are using the correct driver. What version is the OS? Searc= h > bug reports and mail lists for known issues, e.g. such as someone else > reported a problem with quite similar symptoms and the devs have already > addressed it in HEAD and possibly MFC'd it to STABLE. > > Of course, if there is a fix you can't get at it until your network works= . > But you can also back up the train and tell us things like: did it used t= o > work? and what did you do, or change, that made it begin not working? Som= e > more details might give the 'fresh set of eyes' more to work with. > > > [snip] > > -Mike > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > --=20 Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!!