DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-02-06 15:10:46

stefan_DNS
Member
Registered: 2008-02-06
Posts: 5

DNS-313 with OpenVPN or Dropbear

Hi,

maybe I am the only one with this problem.

I can run the fun_plug on my DNS-313, but there is no way to get a ssh server running.

1. sftp Server:

Starting the shell I get : "sftp-server: 1: Syntax error: word unexpected (expecting ")")"

2. dropbear
Similar Error msg

3. openvpn:
not working

Has anybody a ssh server or openvpn on a DNS-313 running?

Offline

 

#2 2008-02-11 19:53:43

radir
Member
Registered: 2008-01-03
Posts: 68

Re: DNS-313 with OpenVPN or Dropbear

Hi,

Have you compiled properly? This error message usually means as per my experience that compilation was not done with right version of include files, lib etc.

I could compile and run dropbear for example.  (Although I need help how to config it properly as I am not familiar with it.
I can ssh into my dropbear server via putty but get no shell prompt - I guess need to define somehow the environment ssh user will use. But don't know how.)

Regards.

Offline

 

#3 2008-02-15 15:37:42

stefan_DNS
Member
Registered: 2008-02-06
Posts: 5

Re: DNS-313 with OpenVPN or Dropbear

Hi,

I know that this is a compile problem.

But I do not have the compile environment for the DNS-313.

Do you know, where I can download a compiled version of dropbear (compiled for DNS-313)?

Regards,

Offline

 

#4 2008-02-16 23:26:35

radir
Member
Registered: 2008-01-03
Posts: 68

Re: DNS-313 with OpenVPN or Dropbear

Offline

 

#5 2008-02-19 16:03:09

WooT
Member
Registered: 2008-02-01
Posts: 7

Re: DNS-313 with OpenVPN or Dropbear

radir wrote:

http://www.freedrive.com/file/182066

Please try it.

Working fine, thx Radir wink

Offline

 

#6 2008-02-23 12:14:55

stefan_DNS
Member
Registered: 2008-02-06
Posts: 5

Re: DNS-313 with OpenVPN or Dropbear

Hi,

I still get the message:

# sh dropbear
dropbear: 1: Syntax error: word unexpected (expecting ")")


How can I start dropbear?


Regards

Offline

 

#7 2008-02-23 20:00:33

WooT
Member
Registered: 2008-02-01
Posts: 7

Re: DNS-313 with OpenVPN or Dropbear

stefan_DNS wrote:

Hi,

I still get the message:

# sh dropbear
dropbear: 1: Syntax error: word unexpected (expecting ")")


How can I start dropbear?


Regards

You first need to generate rsa and dss key files in order to have dropbear working

dropbearkey -t rsa -f <path_to_rsakeyfile>
dropbearkey -t dss -f <path_to_dsskeyfile>

then start dropbear like this:

dropbear -d <path_to_dsskeyfile> -r <path_to_rsakeyfile>

Offline

 

#8 2008-03-03 14:41:54

stefan_DNS
Member
Registered: 2008-02-06
Posts: 5

Re: DNS-313 with OpenVPN or Dropbear

Thanks, is working !!!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB