From owner-freebsd-bugs Fri Sep 19 22:30:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA06755 for bugs-outgoing; Fri, 19 Sep 1997 22:30:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA06746; Fri, 19 Sep 1997 22:30:02 -0700 (PDT) Resent-Date: Fri, 19 Sep 1997 22:30:02 -0700 (PDT) Resent-Message-Id: <199709200530.WAA06746@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, zhaowu@ee.princeton.edu Received: (from nobody@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA05819; Fri, 19 Sep 1997 22:23:02 -0700 (PDT) Message-Id: <199709200523.WAA05819@hub.freebsd.org> Date: Fri, 19 Sep 1997 22:23:02 -0700 (PDT) From: zhaowu@ee.princeton.edu To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: conf/4586: bugs in network setup Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4586 >Category: conf >Synopsis: bugs in network setup >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 19 22:30:01 PDT 1997 >Last-Modified: >Originator: Zhao Wu >Organization: Princeton Univ. >Release: 2.2.2 Release >Environment: FreeBSD myname.my.domain 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Tue May 20 10:45:24 GMT 1997 jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: I have a Dell Pentium II 266. It has a 3C905 etherlink card (PCI). I installed freeBSD 2.2.2 via FTP without any problem. However, when I reboot the machine after installation, I found the network didn't work at all: hostname, domain name, gateway address, ... everything is unknown. "ifconfig -au" indicated that only loopback is activated. I tried to use /stand/sysinstall to setup network, but still it didn't work. Furthermore, something strange appeared in the setup window. E.g. "myname.my.domain # Set this!" appeared in the hostname field and messed things up. I think this is because the installation program simply extracted the information from /etc/rc.conf without filtering out comments. >How-To-Repeat: Everytime when I install BSD 2.2.2 on my Dell Pentium II (model: Dimension XPS H266). >Fix: manually modify /etc/rc.conf: 1. add 'vx0' to network_interfaces, i.e. network_interfaces="lo0 vx0" 2. add ifconfig_vx0 ifconfig_vx0="inet x.x.x.x netmask y.y.y.y broadcast z.z.z.z" where x.x.x.x, y.y.y.y and z.z.z.z refer to your machine IP address, netmask and broadcast address respectively. 3. Change hostname from "myname.my.domain" to the hostname of your machine 4. Change defaultrouter from "NO" to the IP address of your router. 5. Reboot >Audit-Trail: >Unformatted: