Results 1 to 7 of 7

Thread: sshd does not run on 1.7.5.9-5

  1. #1
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    21

    sshd does not run on 1.7.5.9-5

    Maybe Im totally stupid, but sshd does not run on my wl500g. I have done the following and a key was generated, but sshd does not start. Any help for me?


    1. Connect to router using telnet
    2. Generate the DSS key using

    /init/rc.sshd

    3. If generation was successfull you will need to add /init/rc.sshd to bootCmds using something like

    nvram set bootCmdX=/init/rc.sshd

    4. Commit the changes using

    nvram commit

    5. Reboot the router using

    reboot

    or run /init/rc.sshd manually

  2. #2
    try to read output in telnet carefully.
    DSS and RSS keys are no more stored in nvram, but in /usr/local/etc/dropbear

    In 1.7.5.9-5 there is flashfs command to save, commint, and enable for
    flashfs save
    flashfs commit
    flashfs enable
    an then run sshd from bootcmd or with post-boot commands
    example sshd. BootCmds will by removed soon i think
    Pipos (2xWL-500g, WDS-only mode, used as backbone for MAN network; 1xWL-500g in Client Mode with NAT)

  3. #3
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Below is a link to the WIKI page on Dropbear SSH daemon, it should help you through....

    http://wiki.wl500g.info/index.php/PackageDropbear

  4. #4
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    21
    Thanks very much. I saw this info, but I'm sorry, I do not know what all these things are, yet.

    Is there any info about how linux is build in wl500 and a folder structure and maybe more info? Which space is where ...


    ALBI...

  5. #5
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    The WIKI page clearly describes which files you should edit and in which directory they reside. At least to me that is. Following the instructions on the WIKI page EXACTLY should do the trick.

    Please elaborate on what you don't understand. Tell me what you have done allready and where you're stuck.

  6. #6
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    21
    Thanks for the help with ssh, not it is running. Wiki pages helped.
    I'm surprised that I need to change bootcmds to flashboot first, I installed last version from Oleg I think.

    How can I disable telnet now?
    Can I just remove /init/rc.telnentd?
    It is read only.

    How can I change password of ssh, thats it is different to web interface?


    ALBI...

  7. #7
    Quote Originally Posted by albi
    How can I disable telnet now?
    Can I just remove /init/rc.telnent?
    It is read-only now.
    It's a bit non-obvious, but adding something like

    mount -o bind /dev/null /init/rc.telnetd

    to your /usr/local/init/pre-boot script might do the trick.

Similar Threads

  1. Enabling dropbear sshd ?
    By puppet master in forum WL-500g Q&A
    Replies: 4
    Last Post: 03-07-2007, 19:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •