danpedron / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 1 forks source link

FTP doesn't work on snakeos-V1.3.2-20111007-from-snake #213

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As it says the title, I installed the new snake version and I added the 
transmission package.

I created the user accounts and the sharing folders I had before the firmware 
update but the FTP wasn't worked (the SAMBA works OK). When I go to Services -> 
FTP the FTP service wasn't stopped when I clicked on 'Stop' button.

When I tried to connect on ftp://snake  device the snake wasn't accept the 
username and password I gave when I created a user.

I returned back to snakeos-V1.3.2-20101130-from-snake and everything worked ok!

Original issue reported on code.google.com by vasi...@gmail.com on 12 Oct 2011 at 7:03

GoogleCodeExporter commented 8 years ago
I have exactly same problem. I tried to reload config bin file which was saved 
in previous snake-os release then ftp started working but the opkg service 
doesn't work then.

Original comment by olg...@gmail.com on 14 Oct 2011 at 10:08

GoogleCodeExporter commented 8 years ago
Should be fixed in svn. 

As a temporary workaround you can ssh/telnet into the box and run this to fix 
up the password of an account:

echo <ftpuser>:<password> | chpasswd -m

Original comment by stefansc...@googlemail.com on 14 Oct 2011 at 6:36

GoogleCodeExporter commented 8 years ago
Thank you Stefan for your workaround - it is working!
Nevertheless, I couldn't log in to the ssh/telnet. apparently the admin 
password changing in the website does not affect the ssh/telnet password (it 
used to be like that in the previous releases) so finally I logged in with the 
default admin/snake password.

Thank you all for the great work!
Kobi.

Original comment by magn...@gmail.com on 16 Oct 2011 at 6:21

GoogleCodeExporter commented 8 years ago
Ok after successfully enabling FTP, I found out that there is a File transfer 
problem. It reminds me Issue 11 that was fixed in the previous version.
http://code.google.com/p/snake-os/issues/detail?id=11
The problem appears only in wireless-connected clients (e.g. Laptop 
downloading/uploading files from the SnakeOS ftp over wifi connection) but not 
on the wired-connected clients (over Ethernet).
Luckily this problem DOES NOT occur in samba file transfer, even over wireless.
Kobi.

Original comment by magn...@gmail.com on 16 Oct 2011 at 6:34

GoogleCodeExporter commented 8 years ago
Hi, I'm on snakeos-V1.3.2-20111007-from-snake (NS-K330) and can't FTP (wireless 
n), Linux Mint (LMDE). I'm new to Telnet but I eventually succeeeded in 
telnetting the device. I enter the command suggested by Stefan in comment 2 as 
is:

echo <ftpuser>:<password> | chpasswd -m

and I get:

-sh: syntax error: unexpected "|"

Should I use my real ftpuser ID and real new password in the command or the 
error I get could have a different origin?

Samba works over wireless. I haven't tried FTP over ethernet yet.

Regards

Original comment by vit...@gmail.com on 16 Oct 2011 at 7:18

GoogleCodeExporter commented 8 years ago
Yes, replace <ftpuser> and <password> with the ftp user ID and password. Sorry 
if that wasn't clear.

@magn...
The root password issue is fixed in svn. It's the same thing that broke ftp 
users. My attempt to save a few bytes by disabling long options in busybox sure 
backfired.. 
If more of these crop up I'll just reenable them.. it's not worth the trouble.

I'll check out the wireless issue. I can't really think of any changes that 
could trigger that though. Vsftp, kernel and the network settings should be 
identical to the previous 1.3.2 release.

Original comment by stefansc...@googlemail.com on 16 Oct 2011 at 9:50

GoogleCodeExporter commented 8 years ago
Thank you Stefan for your quick answer. Problem solved:

1.- I entered in telnet

myrealftpusername:myrealnewpassword  | chpasswd -m

As a matter of fact it is NOT my NEW password. It's been the same all the time.

I am over wireless (Dell Inspiron 1721 internal wireless n)

I can FTP my  NS-K330 from Firefox and from Nautilus.

2.- After that, I entered a new FTP user on the web interface (another computer 
at home) in this case over ethernet. No connexion. Then I entered the command 
in point 1 in telnet (same user and password as in the web) and I can FTP to my 
NS-K330.

I haven't tried any other functionality but transmission, for exemple, works 
(only tried wireless).

Very happy.

Thanks again Stefan and if you need any help ...

Josep

Original comment by vit...@gmail.com on 17 Oct 2011 at 1:43

GoogleCodeExporter commented 8 years ago
I had the same FTP password issue and it is fixed with the solution provided.
But now, i am unable to "PUT". I get a message saying i have no permission. 
"GET" works fine. BTW, write is enabled in the share.

Original comment by muruga...@gmail.com on 17 Oct 2011 at 11:17

GoogleCodeExporter commented 8 years ago
Can you check with these firmwares and report back?

http://code.google.com/p/snake-os/downloads/detail?name=snakeos-V1.3.2-20111019-
from-original.zip
http://code.google.com/p/snake-os/downloads/detail?name=snakeos-V1.3.2-20111019-
from-snake.zip

Original comment by dwmcqu...@gmail.com on 20 Oct 2011 at 12:23

GoogleCodeExporter commented 8 years ago
Issue 216 has been merged into this issue.

Original comment by dwmcqu...@gmail.com on 20 Oct 2011 at 12:23

GoogleCodeExporter commented 8 years ago
Hi Stefan,

I have just upgraded to snakeos-V1.3.2-20111007-from-snake and now FTP client 
on my ip camera could not login to FTP video stream.  I suspected it is due to 
password issue.  I attempted to telnet to execute the work around but keep 
getting incorrect login.  Could you offer a way to overcome?

By the way, I upgraded to the latest firmware is because the FTP on earlier 
version failed to work when ftp files received added up close to 1GB.  Any 
offer to resolve this?

Thanks.

Original comment by shche...@gmail.com on 12 Apr 2012 at 5:21

GoogleCodeExporter commented 8 years ago
I supposed Stefan is busy,  could anyone who experienced the same problems with 
snake-v1.3.2-20111007 share your solutions?

Thanksm

Original comment by shche...@gmail.com on 17 Apr 2012 at 5:10