Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 1997 22:23:02 -0700 (PDT)
From:      zhaowu@ee.princeton.edu
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   conf/4586: bugs in network setup
Message-ID:  <199709200523.WAA05819@hub.freebsd.org>
Resent-Message-ID: <199709200530.WAA06746@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709200523.WAA05819>