From owner-freebsd-questions Sun May 27 1:55:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from launch.server101.com (launch.server101.com [216.218.196.178]) by hub.freebsd.org (Postfix) with ESMTP id 48AB437B422 for ; Sun, 27 May 2001 01:55:20 -0700 (PDT) (envelope-from ktozaki@pacificwind.net) Received: from cumine500 (snjpca1-ar1-4-60-050-055.vz.dsl.gtei.net [4.60.50.55]) (authenticated as ktozaki@pacificwind.net with LOGIN) by launch.server101.com (8.11.2/8.11.2) with ESMTP id f4R8t8F23955 for ; Sun, 27 May 2001 18:55:08 +1000 Message-ID: <000e01c0e68a$ae28d200$37323c04@cumine500> From: "Kenji Tozaki" To: Subject: Problem with vi and gateway Date: Sun, 27 May 2001 01:54:44 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C0E650.008A9C30" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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 This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C0E650.008A9C30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Three questions: Q1: I screwed up rc.conf. I needed to edit it by login as a single user. = When I start a vi session, this is what I get: ex/vi: Error: Unable to create temporary file: Read-only file = system How can I start vi session so that I can modify rc.conf? Q2: I was trying to configure connectivity with the Internet. I entered = this statement: # route add default 4.50.48.1 Then, I verified my entry by typing: # netstat -rn I believe I SHOULD see like this: Destination Gateway Flags Refs Use Netif Expire default 4.50.48.1 UGSc 4 72 ed1 Problem is I don't see it. I'm assuming the gateway is not honored. = Why? Q3: For kernel configuration, what is the following? device miibus Thx for help. Kenji ------=_NextPart_000_000B_01C0E650.008A9C30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Three questions:
 
Q1:
I screwed up rc.conf.  I needed to edit it by = login as a=20 single user.  When I start a vi session, this is what I = get:
    ex/vi:  Error:  Unable = to create=20 temporary file:  Read-only file system
How can I start vi session so that I can modify = rc.conf?
 
Q2:
I was trying to configure connectivity with the=20 Internet.  I entered this statement:
    #  route add default=20 4.50.48.1
 
Then, I verified my entry by typing:
    #  netstat -rn
 
I believe I SHOULD see like this:
    Destination   =20 Gateway    Flags    Refs    = Use    Netif Expire
    default   =20         4.50.48.1   =20 UGSc    4       =20 72        ed1
 
Problem is I don't see it.  I'm assuming the = gateway is=20 not honored.  Why?
 
Q3:
For kernel configuration, what is the = following?
    device    =    =20 miibus
 
Thx for help.
 
Kenji
 
 
------=_NextPart_000_000B_01C0E650.008A9C30-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message