Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2001 01:54:44 -0700
From:      "Kenji Tozaki" <ktozaki@pacificwind.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Problem with vi and gateway
Message-ID:  <000e01c0e68a$ae28d200$37323c04@cumine500>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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



[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Three&nbsp;questions:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Q1:</FONT></DIV>
<DIV><FONT size=2>I screwed up rc.conf.&nbsp; I needed to edit it by login as a 
single user.&nbsp; When I start a vi session, this is what I get:</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; ex/vi:&nbsp; Error:&nbsp; Unable to create 
temporary file:&nbsp; Read-only file system</FONT></DIV>
<DIV><FONT size=2>How can I&nbsp;start vi session so that I can modify 
rc.conf?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Q2:</FONT></DIV>
<DIV><FONT size=2>I was trying to configure connectivity with the 
Internet.&nbsp; I entered this statement:</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; #&nbsp; route add default 
4.50.48.1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Then, I verified my entry by typing:</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; #&nbsp; netstat -rn</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>I believe I&nbsp;SHOULD see like this:</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; Destination&nbsp;&nbsp;&nbsp; 
Gateway&nbsp;&nbsp;&nbsp; Flags&nbsp;&nbsp;&nbsp; Refs&nbsp;&nbsp;&nbsp; 
Use&nbsp;&nbsp;&nbsp; Netif Expire</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; default&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 4.50.48.1&nbsp;&nbsp;&nbsp; 
UGSc&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
72&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ed1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Problem is I don't see it.&nbsp; I'm assuming the gateway is 
not honored.&nbsp; Why?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Q3:</FONT></DIV>
<DIV><FONT size=2>For kernel configuration, what is the following?</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
miibus</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Thx for help.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Kenji</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c0e68a$ae28d200$37323c04>