Connecting to a headless system

2004-05-11 Thread Bruce Hunter
I have installed FreeBSD 5.2.1 using the headless install method. My 
problem is this. I can't get the login prompt when connecting using cu 
-l /dev/cuaa0, after the install /reboot. I did setup ssh, but I can't 
connect using ssh and root. I did not setup another account, so I have 
to get in and install an account. I did get single user up, but I have 
limited commands and it won't allow me to adduser.??  When I boot up 
under default, it just holds at the date and time. Please help? Or any 
ideas of what I should be doing differently.

Bruce
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting to a headless system

2004-05-11 Thread Mike Hogsett

 I did get single user up, but I have limited commands and it won't
 allow me to adduser.??


Do this again.  When you get the shell prompt immediately issue the
command :

mount -a -t ufs

The /usr and other partitions are not likely to be mounted in single
user mode.  adduser is in /usr/sbin/ so isn't available until /usr is
mounted.  The comand above mounts all (-a) filesystems in the fstab with
file system type (-t) ufs.  This is very likely to get your /usr
partition mounted.

 - Mike


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Connecting to a headless system

2004-05-11 Thread Eric Crist
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce Hunter
Sent: Tuesday, May 11, 2004 6:01 PM
To: [EMAIL PROTECTED]
Subject: Connecting to a headless system


I have installed FreeBSD 5.2.1 using the headless install method. My
problem is this. I can't get the login prompt when connecting using cu
-l /dev/cuaa0, after the install /reboot. I did setup ssh, but I can't
connect using ssh and root. I did not setup another account, so I have
to get in and install an account. I did get single user up, but I have
limited commands and it won't allow me to adduser.??  When I boot up
under default, it just holds at the date and time. Please help? Or any
ideas of what I should be doing differently.

Bruce


Bruce,

You need to mount all the correct file systems before you can add users
to the system.  By default, only the root / partition is mounted, and
that is read-only.  Once you mount the other filesystems, you should
have no problems.  Also, I usually have -Dh in my /boot.config file, and
enable cuaa0 as a secure terminal (disabled by default).  You can change
this in /etc/ttys.

HTH

Eric F Crist


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]