marcelotk15 / snake-os

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

SNAKE OS V1.3.x- UNOFFICIAL #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
SNAKE OS V1.3.2 (20101130) - UNOFFICIAL

Hi folks,
I´ve used instrutions on this thread (and others) to make this version (1.3.2) 
with slight differences from 1.2.0

-Transmission 2.12
transmission upgraded to version 2.12

-Transmission new configuration options
p2p port, web port, peer limit global and peer limit per torrent
(all fields are validated before Apply changes)

-Transmission dynamic link at left menu
link at left menu reflect hosthone from current URL of browser and port from 
rpc port config (it needs to be refreshed after you set rpc port configuration)

-SSH Server Tunnels enabled
you can access your NAS Web Admin and TramissionBT Admin over the internet with 
SSL security through SSH Tunnels/Port Forward

-SSH configurable port

-Admin Password size was increased
admin password field has changed to accept until 14 characters

-Swappiness adjusted to 100
added instruction in swapsvc to change swapness value to 100 when swapfile 
starts

-Transmission automatic restart after crash
added instruction in cron that runs 'transmission start' each 15 minutes. It 
starts transmission if it was enabled and not running otherwise do nothing. 

-Physical RAM detailed information
now status page shows total, free, buffers and cached values

-Full port range
all of port fields has changed to accept range between 1 and 65535

Download files from http://snakeos.4shared.com/

Enjoy!

Original issue reported on code.google.com by meguer...@gmail.com on 30 Nov 2010 at 5:20

GoogleCodeExporter commented 9 years ago
Awesome... Welcome back!

Original comment by tuxbox.g...@gmail.com on 30 Nov 2010 at 8:55

GoogleCodeExporter commented 9 years ago
I know this is a BIG ask but any chance of a "from snake" 64MB RAM edition? 

For the few people that have upgraded there units to 64MB RAM? Not sure how 
many are out there now. There was never a "from-snake V1.2". So anything newer 
would be great. :-). Not sure there was ever a "from-snake" 1.2 32MB ram 
version....

Thanks,

D.

Original comment by drifttoy...@hotmail.com on 30 Nov 2010 at 12:25

GoogleCodeExporter commented 9 years ago
Hello,

I've just compiled this version with kernel config adjusted to 64M, but I don't 
have a device with that amount of RAM to test it.

Download files from http://snakeos.4shared.com/

Original comment by meguer...@gmail.com on 1 Dec 2010 at 2:30

GoogleCodeExporter commented 9 years ago
Hello,
Thank you for work!
See please here: http://irodov.nm.ru/wget4web/index.htm
Can be possible do "Web interface for Wget"
Thank you.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Привет,
Спасибо за работу! 
Посмотри пожалуйста здесь: 
http://irodov.nm.ru/wget4web/index.htm
Может быть можно сделать "Веб-интерфейс для 
Wget"
Спасибо.

Original comment by ureng...@gmail.com on 1 Dec 2010 at 4:35

GoogleCodeExporter commented 9 years ago
Thank you very much for this work. Right now I'm testing on my system and
works without any problem.

Would it be possible to publish the SDK in order to make developments
parallel?

Greetings

Original comment by muni...@gmail.com on 1 Dec 2010 at 7:58

GoogleCodeExporter commented 9 years ago
RE: 64MB Ver. Thanks, Will load it in today and see how it goes. I know no one 
ended up taking me up on my offer of some 64MB Chips so they could mod there 
own units. Maybe i`m still the only 64MB out there (hope not). So thanks for 
the effort! 

Also, just in case some one trys to load a 64MB into a stock 32MB unit.. Maybe 
the 64MB versions should be in there own sub directory? Just a though.

Thanks heaps!!! :-)

D.

Original comment by drifttoy...@hotmail.com on 4 Dec 2010 at 2:33

GoogleCodeExporter commented 9 years ago
Update on 64MB ver. Loads in fine. Runs. But..

Normal V 1.2 32MB was able to transfer alot of files via FTP at one go with no 
issues (Localy) Never tryed FTP via Internet. Once i went to 64MB i could never 
load a V 1.2 back in (there was no From-Snake V 1.2 32MB or 64MB). 

The same bug was in V 1.1.0 32MB or 64MB. I just assumed it was a bug with the 
older ver. 

But the same thing is in this version to. Basically the NAS stops responding 
after about 200-300 files. You can`t get into it`s WWW interface. It comes up 
with Time out / taking to long to respond errors. Any ideas? Is there any info 
i can provide you to help??

Only way to get it back is to pull the power.

D.

Original comment by drifttoy...@hotmail.com on 4 Dec 2010 at 3:49

GoogleCodeExporter commented 9 years ago
64MB Update. FTP Issues seam to be 64MB related in this ver. Loaded the 32MB 
ver in. Work fine.. Just like V 1.2.0 did. At least that is one step forward!

Thanks!

D.

Original comment by drifttoy...@hotmail.com on 4 Dec 2010 at 4:17

GoogleCodeExporter commented 9 years ago
I have the same problem when sending a large file about 100MB ISO to NAS via 
Samba.It started freezing when sending another large file. This problem 
starting form snake os V1.1.
Besides, the file transfer has been improved from last version. I observed the 
file transfer speed has been increased from ~2MB/s to 5MB/s in the new version. 
Also, the chinese characters still not supported in the new version. So 
disappointeed.

What i need in the future is that stable and chinese characters support in 
SAMBA and FTP. I only use SAMBA frequently in my home.

Original comment by ray.ray...@gmail.com on 4 Dec 2010 at 4:24

GoogleCodeExporter commented 9 years ago
I can report that I do NOT have any FTP and SAMBA file transfer problems. 
Everything works like a charm. 

Also the NAS seems more responsive than before when running a couple of 
torrents (e.g. 4-5). I've seen download speeds of over 1000 Kb/sec so it's 
rapid enough.

Please keep focusing on the main features! Optional packs are fine, but we need 
a stable base first!

Original comment by lamlash...@gmail.com on 5 Dec 2010 at 10:59

GoogleCodeExporter commented 9 years ago
Snake OS SDK v1.3.2 UNOFFICIAL was posted on 4shared

Download files from http://snakeos.4shared.com/

Original comment by meguer...@gmail.com on 6 Dec 2010 at 1:38

GoogleCodeExporter commented 9 years ago
Nice!!!
Works like a charm. Thanks a lot!

I've been trying to make the original SDK boot from USB.
My idea his to first try to boot from any USB device and if it can't to fall 
back (continue) to SnakeOS wich is already great.
I'm no programmer but I've been reading and it seems as easy as to alter a 
command line on UBOOT. The problem is I'm lost in the SDK and I haven't find it 
yet.

I took my ideia from http://www.plugcomputer.org/plugwiki/index.php/Multi-Boot 
witch is a similar device that uses also UBOOT.

You seem to know a lot about compiling. Do you have any idea how to do that?

Original comment by nunina...@gmail.com on 6 Dec 2010 at 1:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@martijn

So has the freezing/pausing issue with SAMBA over wifi been resolved?

Original comment by vew...@googlemail.com on 7 Dec 2010 at 1:41

GoogleCodeExporter commented 9 years ago
I have upgraded the version 1.3.2 last day. The problem happened again started 
from the V1.1
When i transfer a large file about 100MB, it initilized for 1~2 minutes (seems 
freezing) then sending the file to the NAS at 3.5MB/s. The problem is that, 
when i start transfer another files, the nas got permanently freezing without 
strating transfer file but it is able to response my ping command. It only 
happens on second transfer. Who can tell me what's happen? How can i solve the 
problem?

I am using NU-302S with str8132 CPU

Original comment by ray.ray...@gmail.com on 7 Dec 2010 at 5:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yes.

I am using WiFi on a MacBook Pro to a WR1043ND Router, then via Devolo 
Powerline adapters to my attic where my NAS is. I can transfer without any 
problems DVD images of 4.3 Gb via SMB and FTP.

I've had some FTP issues before, but after setting portforward 1020 - 1030 and 
port 20 - 21 to the NAS all FTP issues were history.

Original comment by lamlash...@gmail.com on 7 Dec 2010 at 8:38

GoogleCodeExporter commented 9 years ago
I have tried this version and I am still experiencing freezing with SAMBA over 
wifi to my snake box, which I do *not* experience with another server on same 
network. Both the server and the snake box are wired to my 100BaseT router. The 
freezing can occur on files as small as 20mb. I also experience freezing when 
using ssh into the snake box. Running regular top or top -d 1 both produce the 
same freezing interval. After top freezes, I can start a separate new ssh 
session and get a login while the other session is still stalled. I haven't 
timed it, but it seems the stalled session takes longer than 30 seconds to 
recover.

Hope this helps...

Original comment by payte...@gmail.com on 7 Dec 2010 at 4:51

GoogleCodeExporter commented 9 years ago
FWIW, I have tried temporarily stopping cron, httpsvc and syslog to see if any 
of them was the offending time hog process. I also killed the initial dropbear 
session. SSH and SAMBA still freezes when they are stopped. I'm beginning to 
wonder if maybe it is a kernel or watchdog issue. Any thoughts?

I did see in the bootup logs:

CPU: FA526id(wb) [66015261] revision 1 (ARMv4)
kernel: Machine: STAR STR8100
kernel: Warning: bad configuration page, trying to continue
kernel: Ignoring unrecognised tag 0x00000000

Has anyone investigated this?

Original comment by payte...@gmail.com on 8 Dec 2010 at 2:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I still believe 1.3.2 is working good because:

- Uptime now over 3 days
- Downloaded >5 Gb (approx. 12 torrents)
- Transferred several Gb's via WIFI / LAN with SMB and FTP
- All options beside DDNS are running
- The NAS seems more responsive under heavy load(s). This maybe a feeling, but 
I guess the swapiness value of 100 may be the cause.

So I am happy with 1.3.2....

Martijn

Original comment by lamlash...@gmail.com on 8 Dec 2010 at 2:54

GoogleCodeExporter commented 9 years ago
My nas with firmware 1.3.2 still hangs transferring files via Samba. 
Trasnmission is more stable than before.

Original comment by fscl...@gmail.com on 9 Dec 2010 at 5:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
OK, Martijn has indicated no problems using a Wireless 802.11N / gigabit 
router. I have an 802.11g / 100BaseT router and I am experiencing problems.

Can anyone else chime in that they are / are not having problems with using an 
802.11N type router. Or better yet, Can everyone chime in what type/grade of 
wireless router they are using and if they are having a problem or not?

Maybe this is a router issue after all.

Though as I said before, I have a server and a nas plugged into the same router 
and the server does not have *any* freezing problems with file transfers. So 
that leads me to believe it is a software (OS) issue.

Martijn, Have you ever SSH'd into the nas?

When you are transferring files, Does the program give you a real-time data 
rate (Kbps/Mbps) indication?  

BTW, Sorry for stepping on this new announcement thread with these issues. 
Maybe we should continue this discussion on the original Samba Freezing thread.

http://code.google.com/p/snake-os/issues/detail?id=11

Original comment by payte...@gmail.com on 9 Dec 2010 at 10:40

GoogleCodeExporter commented 9 years ago
FYI: I have DD-WRT (http://www.dd-wrt.com) running as an alternative firmware 
in my TP-LINK WR1043ND router. The original TP-LINK firmware causes drops in my 
WiFi sometimes when using my Macbook. (also for my Wii).

Original comment by lamlash...@gmail.com on 10 Dec 2010 at 7:08

GoogleCodeExporter commented 9 years ago
I have posted a partial fix to the SAMBA/Wifi problem on the original Issue 11 
here:

http://code.google.com/p/snake-os/issues/detail?id=11#c55

Original comment by payte...@gmail.com on 10 Dec 2010 at 1:45

GoogleCodeExporter commented 9 years ago
HEllo!

MY Webadmin is not working my fault, pls help me, the firmware update how 
working in telnet?

Thx!!!

Original comment by adakil...@gmail.com on 11 Dec 2010 at 5:35

GoogleCodeExporter commented 9 years ago
My problem is resolved!!!! thx the new firm!!!

Original comment by adakil...@gmail.com on 11 Dec 2010 at 6:11

GoogleCodeExporter commented 9 years ago
which one of these files is compatible with NS-K330?

snakeos-V1.3.2-20101130-from-original.bin
snakeos-V1.3.2-20101130-from-snake.bin
snakeos-V1.3.2-64M-20101201-from-original.bin
snakeos-V1.3.2-64M-20101201-from-snake.bin

Original comment by serhatdo...@gmail.com on 22 Dec 2010 at 7:57

GoogleCodeExporter commented 9 years ago
Hi all, 

I would like to know if I'm able to mount network shares on this version of 
snakeos.
I already have a nas And I would like to download directly to it trough my 
ns-k330. 

Regards.  

Original comment by ricardo....@gmail.com on 26 Dec 2010 at 3:49

GoogleCodeExporter commented 9 years ago
Can be possible to build transmission-remote for this snake version?

I downloaded http://snake-os.googlecode.com/files/transmission-remote , but 
there is an error at startup:

# ./transmission-remote -h
./transmission-remote: can't load library 'libevent-1.4.so.2'

Original comment by diman.dba@gmail.com on 27 Dec 2010 at 6:25

GoogleCodeExporter commented 9 years ago
Please add Authorized Keys box in SFTP/SSH.
Thank you

Original comment by blueday...@gmail.com on 28 Dec 2010 at 12:33

GoogleCodeExporter commented 9 years ago
It is a pitty that 

http://groups.google.com/group/dealextreme-nas-/browse_thread/thread/bc8d0ab3332
7956d#

was not implemented in this update. 

The point there is to replace code like
FILENAME=$(echo "$LINE" | cut -c 57-) 
and 
FILE_PROPERTIES=$(echo "$LINE" | cut -c -56) 
by 
FILENAME=${LINE:56} 
and 
FILE_PROPERTIES=${LINE:0:56}

So in all webpages of the nas where the $(echo | cut) construction is used, 
replace it by ${LINE:...}
This makes the pages *alot* faster.
Example pages are all the pages where a folder of the attached drive can be 
selected. Giving a list of the files in the folder is very slow at this moment. 
With this change it becomes alot faster. Examples are services, ftp, anonymous 
ftp folder or services, transmission, current torrent folder.

It would be nice if this could be added in a next version.

Peter

Original comment by pen...@gmail.com on 2 Jan 2011 at 12:24

GoogleCodeExporter commented 9 years ago
peno64,
is there any way to implemented this manually?
Hope that this can solve my problem with folder/file permission. 

Original comment by jimmyhh...@gmail.com on 2 Jan 2011 at 5:10

GoogleCodeExporter commented 9 years ago
This has nothing to do with permissions on files or folders. Only with faster 
browsing on the attached disk on the USB from the web interface of the NAS.

Peter

Original comment by pen...@gmail.com on 2 Jan 2011 at 5:19

GoogleCodeExporter commented 9 years ago
Is ntfs driver included in this version of Snake OS ?
I am trying to mount a 640GB Basic Maxtor external
USB drive but mount bails out with invalid parameter error.

regards,
Vangelis ROkas

Original comment by evro...@gmail.com on 4 Jan 2011 at 10:24

GoogleCodeExporter commented 9 years ago
whats the samba version for 1.3?

Original comment by ted.cho...@gmail.com on 11 Jan 2011 at 8:54

GoogleCodeExporter commented 9 years ago
You could use that kernel : 
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7500-linux/sources/linux-2.6.24-cavium_s
ource_aug052010.tar.gz

Original comment by patrick....@gmail.com on 16 Jan 2011 at 6:34

GoogleCodeExporter commented 9 years ago
I can't use transmission with this version.
Torrents are going to stop in a few minutes.

Original comment by serhatdo...@gmail.com on 19 Jan 2011 at 8:26

GoogleCodeExporter commented 9 years ago
Here transmission-remote built for this snake version.

Original comment by seregap...@gmail.com on 12 Feb 2011 at 5:26

Attachments:

GoogleCodeExporter commented 9 years ago
Hello

I'm trying to compile the SDK, but it always gives me error in rootfs size, 
does anyone could tell me which versions compiled environment? is that even 
though I try, it never having the right size

Greetings

Original comment by muni...@gmail.com on 12 Feb 2011 at 5:38

GoogleCodeExporter commented 9 years ago

Hi all!

After playing around with ssh tunnels with dropbear, I finally got a dropbear 
compiled with tunnel support.
In order to make it work, you will:

1. copy dropbear somewhere in your disk attached to your nas
2. enable telnet in your system
3. stop ssh service
4. connect through telnet
5. exec dropbear with the command: dropbear -a
6. that's it!

Now you should have a working dropbear with tunnel support 

Also, I got transmission 2.13 compiled. I got transmission compiled with 
libraries linked statically. So the executable is big 4.6M but it works ok.

I don't use the web interface. I use either transdroid or transmission-remote 
so, I think this version may not play well with the current webpages of 
transmission web. I'll check how I can make it use the new pages.
This is only the executable and it works ok. I'm usingit right now and it seem 
much more stable than 2.00

In order to use it, just copy the file to your usb. Note that you will have to 
pass configuration parameters for it to run. Something like that:
./transmission-daemon -g /var/transmission/.config/transmission-daemon -w 
/var/transmission -t -u admin -v <yourpassword> -a *.*.*.*

That's the default configuration. You may want to change the -g and -w 
parameters at first in order to check if everything works ok.  You may want to 
use the -f switch at first time to prevent it from going to background so you 
can check easily for errors.

I hope it helps.

Original comment by francisc...@gmail.com on 26 Feb 2011 at 3:14

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,

Is it possible to add proxy support in the bt client (like in utorrent).
I would like to download via proxy so that i can download more anonymous (mask 
ip)
if possible it would be great!
kind regards,
leon

Original comment by leonbakk...@gmail.com on 20 Mar 2011 at 4:09

GoogleCodeExporter commented 9 years ago
Hi,
I'm having problems with 1.3.2 in transmission, after I add a torrent some time 
past and the whole system crashes, I can't even download a complete torrent.
I'm using a kingston flash drive with 4gbs and a swapfile.
Can someone help me?
Thanks in advance.

Original comment by scar0...@gmail.com on 14 Jun 2011 at 1:09

GoogleCodeExporter commented 9 years ago
Problem solved, I was using a flash drive formated in FAT32, I re-formated the 
flash drive to EXT3 and it solved the problem. =)

Original comment by scar0...@gmail.com on 14 Jun 2011 at 3:41

GoogleCodeExporter commented 9 years ago
hey
is there any way to upgrade the kernel and install netatalk AFP?

BTW: snakeos.4shared.com no longer exists

Original comment by lucascas...@gmail.com on 20 Jun 2011 at 11:20

GoogleCodeExporter commented 9 years ago
where can I get the last sdk now 

Original comment by panju...@gmail.com on 12 Aug 2011 at 12:42

GoogleCodeExporter commented 9 years ago
Latest SDK is available in the Google Code Subversion Repository at 
http://code.google.com/p/snake-os/source/checkout

Checkout the branches/1.3.2 branch since it is where all work is being done 
right now and represents the 1.3.2 changes + some more

Original comment by dwmcqu...@gmail.com on 27 Aug 2011 at 3:23

GoogleCodeExporter commented 9 years ago
Can anybody tell me how to integrate a usenet client like sabnzb. Or is someone 
already developping  a new version with it integrated.
I have no Linux (programming) experience at all, 
Kind regards,
Leon

Original comment by leonbakk...@gmail.com on 11 Sep 2011 at 11:45