Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 10:44:05 +1000
From:      "Danny" <dannyho@bigpond.net.au>
To:        <questions@freebsd.org>
Subject:   /etc/rc.conf question
Message-ID:  <000b01c25f75$a886e3e0$bf01a8c0@x.com>

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

I was trying to add a additional ip address to my test FreeBSD machine by
issuing the following command :

1) cp /etc/rc.conf /etc/rc.conf_backup
2)vi /etc/rc.conf
3)I typed in the following entry

ifconfig_rl0_alias0="192.168.1.189 netmask 255.255.255.0

When I reboot the computer I get the following error message:

Mount root from ufs:/dev/ads1sa
/etc/rc.conf 24 Syntax Error: Unterminated quotated string
Enter Full path name of shell or return for /bin/sh

I have tried typing in cp /etc/rc.conf_backup /etc/rc.conf

I have tried typing in fsck then typing in

cp /etc/rc.conf_backup /etc/rc.conf


How do I get it to restart properly?


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?000b01c25f75$a886e3e0$bf01a8c0>