Re: RSA/DSA Host key generation didn't happen (because sshd wasn't enabled on boot)

From: Jimmy Firewire (trigonometric_at_softhome.net)
Date: 02/05/04

  • Next message: Jimmy Firewire: "Re: RSA/DSA Host key generation didn't happen"
    To: "Jimmy Firewire" <trigonometric@softhome.net>, "Kris Kennaway" <kris@obsecurity.org>
    Date: Thu, 5 Feb 2004 20:38:25 -0000
    
    

    > And also, using dhclient doesn't work properly. Touching /etc/resolv.conf
    > causes the file to be populated with the line:
    >
    > nameserver 192.168.1.23

    but the gateway flags are still UGS instead of UGSc under netstat -r

    so I tried to reboot but the same thing happened. So I tried to have the
    interface configure automatically at boot, but it won't ping external hosts
    but it resolves the hostnames.

    Something really strange something happened on this boot:

    It hung on

    Configuring syscons: keymap keyrate blanktime

    for about a minute, but this only happened after I tried to automatically
    enable dhcp on an interface at boot. So I just tried taking it out the
    ifconfig_rl0="DHCP" line again and rebooted,
    and it did not hang (this was also when I had enabled sshd_enable, so it two
    changes to rc.conf). I realised why it doesn't start sshd;
    sshd_enable="YES" wasn't in the rc.conf, I presume this is the new default
    behaviour? If one puts this back in, it generates the keypair, so I was
    probably just being stupid.

    But now I just took it out, and the machine hangs on:

    Starting sshd

    for about 2 minutes then carries on

    OK, I understand now. If I put in the ifconfig_rl0="DHCP" the machine pauses
    for about 1-2mins at the point just beyond Configuring syscons: keymap
    keyrate blanktime, which is also the same place as sshd. So now I suspect
    that this isn't a hang but DHCP doing its job?

    anonymousPseudonym

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Jimmy Firewire: "Re: RSA/DSA Host key generation didn't happen"

    Relevant Pages

    • FC2 post-install hangs on dual boot system - SOLVED, KIND-OFF, NOT REALLY.
      ... BOOT AND INIT ISSUES: ... The second hang occurs after "Start service Kudzu" and the ... file after the kernel boot is done it is somewhat clear what is happening. ...
      (linux.redhat.install)
    • Strange boot-time hang (long, sorry)
      ... I am having difficulty diagnosing a strange boot-time hang on ... It still will not boot fully into ... so it's not clear if the console issue is an important ... The strange thing is, once I boot it into single-user mode, I can ...
      (Debian-User)
    • Re: hard lock-up writing to tape
      ... Num lock doesn't come on. ... you will need to set up a serial console with some special ... Enable the serial console and boot the system. ... If you get the db> prompt, then your hang is probably due to a Giant ...
      (freebsd-current)
    • Re: System hang in quirk_usb_handoff_ohci
      ... I reported a reproducible hang during boot. ... It's most likely a BIOS bug, it somehow blows up when we tell it to ... give up control of the USB controller (the BIOS will control it ...
      (Linux-Kernel)
    • Re: FreeBSD 8.1 regression in x86bios.c
      ... On Monday 28 February 2011 12:33 pm, Jung-uk Kim wrote: ... boot hang at some point between 8.0 and 8.1. ...
      (freebsd-stable)