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>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2>Three questions:</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Q1:</FONT></DIV> <DIV><FONT size=3D2>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:</FONT></DIV> <DIV><FONT size=3D2> ex/vi: Error: Unable = to create=20 temporary file: Read-only file system</FONT></DIV> <DIV><FONT size=3D2>How can I start vi session so that I can modify = rc.conf?</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Q2:</FONT></DIV> <DIV><FONT size=3D2>I was trying to configure connectivity with the=20 Internet. I entered this statement:</FONT></DIV> <DIV><FONT size=3D2> # route add default=20 4.50.48.1</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Then, I verified my entry by typing:</FONT></DIV> <DIV><FONT size=3D2> # netstat -rn</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>I believe I SHOULD see like this:</FONT></DIV> <DIV><FONT size=3D2> Destination =20 Gateway Flags Refs = Use Netif Expire</FONT></DIV> <DIV><FONT size=3D2> default =20 4.50.48.1 =20 UGSc 4 =20 72 ed1</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Problem is I don't see it. I'm assuming the = gateway is=20 not honored. Why?</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Q3:</FONT></DIV> <DIV><FONT size=3D2>For kernel configuration, what is the = following?</FONT></DIV> <DIV><FONT size=3D2> device = =20 miibus</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Thx for help.</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Kenji</FONT></DIV> <DIV> </DIV> <DIV> </DIV></BODY></HTML> ------=_NextPart_000_000B_01C0E650.008A9C30-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c0e68a$ae28d200$37323c04>