From owner-freebsd-questions Tue Oct 9 9: 5:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cluttered.com (w024.z064002058.sjc-ca.dsl.cnc.net [64.2.58.24]) by hub.freebsd.org (Postfix) with ESMTP id 9C6D837B408; Tue, 9 Oct 2001 09:05:34 -0700 (PDT) Received: from orgasmotron.cluttered.com (jsd [10.10.10.3]) by cluttered.com (Postfix) with ESMTP id 2FA5CC984E; Tue, 9 Oct 2001 09:05:36 -0700 (PDT) Message-Id: <4.3.2.7.2.20011009085651.00b4a2e8@10.10.10.1> X-Sender: jsd@10.10.10.1 X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 09 Oct 2001 09:05:05 -0700 To: freebsd-net@freebsd.org, freebsd-questions@freebsd.org From: Jon Drukman Subject: 4.4-R: need to ifconfig/route twice to use net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 I just did a totally fresh install of 4.4-RELEASE on a brand new machine - totally blank unpartitioned hard disks. The installation appeared to go smoothly until I got to the "set root password" phase, at which point the installer hung. I aborted out of that and booted up from the new install. It all seems complete except for one extremely bizarre problem. The machine boots up normally, goes through the rc scripts fine, but cannot access the network at all. I can ping my own IP and localhost, but not the gateway IP, or anything else on the local net (and of course the internet). ifconfig -a and netstat -rn produce: Destination Gateway Flags Refs Use Netif Expire default 10.10.10.1 UGSc 0 0 sis0 10.10.10/24 link#1 UC 1 0 sis0 10.10.10.1 link#1 UHLW 1 0 sis0 127.0.0.1 127.0.0.1 UH 0 0 lo0 sis0: flags=8843 mtu 1500 inet 10.10.10.24 netmask 0xffffff00 broadcast 10.10.10.255 ether 00:d0:09:fb:8d:0c media: Ethernet 10baseT/UTP (none) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 i recompiled a new kernel without ipv6 just to be on the safe side, but this problem is exactly the same with both the GENERIC kernel and my own. now the really weird part is, if i just issue the ifconfig and route commands again, it all works perfectly. # ifconfig sis0 inet 10.10.10.24 netmask 0xffffff00 media 10baseT/UTP mediaopt full-duplex # route add default 10.10.10.1 the output from ifconfig & netstat now looks like this: Destination Gateway Flags Refs Use Netif Expire default 10.10.10.1 UGSc 1 2 sis0 10.10.10/24 link#1 UC 1 0 sis0 10.10.10.1 0:e0:29:73:ee:11 UHLW 2 14 sis0 1028 127.0.0.1 127.0.0.1 UH 0 0 lo0 sis0: flags=8843 mtu 1500 inet 10.10.10.24 netmask 0xffffff00 broadcast 10.10.10.255 ether 00:d0:09:fb:8d:0c media: Ethernet 10baseT/UTP status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 i diff'd the two and the only things i find are the new mac address for 10.10.10.1 in the routing table (understandable) and the "(none)" on the end of sis0's media line is gone. i'm cc'ing net thinking that maybe this is some kind of weird sis-driver bug, maybe because i'm using 10baseT instead of 100baseT? oh yeah, my rc.conf file is: sshd_enable="YES" hostname="db.gamespot.com" ifconfig_sis0="inet 10.10.10.24 netmask 255.255.255.0 media 10BaseT/UTP mediaopt full-duplex" defaultrouter="10.10.10.1" sendmail_enable="NO" any ideas? this machine has to go into a colo soon so it really needs to be able to get on the net on its own from a cold boot! thanks! -jsd- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message