*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi all
i installed pc-bsd 1.0rc1, it installed nicely, i think. it was quick and easy to get on board. the problem i have is when i attempt to boot it, it boots up, goes through a quick flash screen "starting system" then goes back to CL, and it hangs at "Starting sshd." i've had some problems with this box and acpi, so i disabled that, but still no boot. i'm using grub as the bootloader, and this is the boot-up section for pc-bsd:
title PC-BSD
root (hd1,0,a)
kernel /boot/loader acpi_load="NO"
as i said, it boots, goes through the motions, then hangs at "Starting sshd."
any suggestions? i've googled, and found no help there. it's gotta be something simple, i would think. tia for you help
Is this the first time sshd is starting? If so, it must generate the host keys before it can start up, and this can take some time. On really old hardware, it can take up to half an hour (by really old I mean 486 or early Pentium). On a modern system it should take no more than a few minutes. What kind of hardware do you have?
If that's not it, try going into GRUB and boot into single user mode and edit /etc/rc.conf to not start sshd at boot. Maybe if you try running it by hand there will be some sort of error message.
this is the first time sshd is starting...it's a newer system, celeron 2.9g processor...i waited only a minute or two, i'll boot again and let it run to see what happens...
waiting a few minutes made the difference...it works...thanks btmiller
The problem you are having is actually related to sshd not being able to do a host name resolution. Be sure that the following lines are in your /etc/hosts file:
If you assign a permanent IP to your box as opposed to doing DHCP, then make sure that too is in your /etc/hosts file. For example, here is mine for my box here at work:
Code:
10.2.10.47 charles.stone charles
Make sure, too, that if you are not using DHCP that your DNS server has its IP in your /etc/resolv.conf file.
sshd should start almost immediately (say a second or two).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.