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 questions:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Q1:</FONT></DIV>
<DIV><FONT size=2>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:</FONT></DIV>
<DIV><FONT size=2> ex/vi: Error: Unable to create
temporary file: Read-only file system</FONT></DIV>
<DIV><FONT size=2>How can I start vi session so that I can modify
rc.conf?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Q2:</FONT></DIV>
<DIV><FONT size=2>I was trying to configure connectivity with the
Internet. I entered this statement:</FONT></DIV>
<DIV><FONT size=2> # route add default
4.50.48.1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Then, I verified my entry by typing:</FONT></DIV>
<DIV><FONT size=2> # netstat -rn</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>I believe I SHOULD see like this:</FONT></DIV>
<DIV><FONT size=2> Destination
Gateway Flags Refs
Use Netif Expire</FONT></DIV>
<DIV><FONT size=2> default
4.50.48.1
UGSc 4
72 ed1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Problem is I don't see it. I'm assuming the gateway is
not honored. Why?</FONT></DIV>
<DIV> </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> device
miibus</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Thx for help.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Kenji</FONT></DIV>
<DIV> </DIV>
<DIV> </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>
