snake manual

Upload: sharjeelriaz

Post on 03-Jun-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Snake manual

    1/39

    SNAKE OS for Str8132-Based NAS

    USER MANUALSnake OS version V1.3.2 2!111!1"#

    2ndedition

  • 8/12/2019 Snake manual

    2/39

    Authors:Douglas Gazineu, 2010Jarko Papalitsas, 2010

    Jos Maciel, 2010Miguel Moreto, 2010

    Updated !M" 2011

  • 8/12/2019 Snake manual

    3/39

    $$$$$$$$$$$$$$$ %a&'e of (ontents $$$$$$$$$$$$$$$

    #. Table of Contents...................................................................003

    i. Introduction...........................................................................007

    ii. Compatible Hardware............................................................007

    iii. Terms & Condition.................................................................007

    iv. Disclaimer..............................................................................007

    1. Installin & !pradin"Downradin irmware................00$

    1.1 Re)*ire+ent.............................................................................!!"

    1.2 ,irst %i+e nsta''in fro+ fa/tor0 fir+are..........................!!"

    1.3 Uradin4onradin Snake OS fir+are.......................!1!

    %. tartin' (eb Interface & ettin.........................................011

    2.1 (onne/tin and Loin...............................................................!11

    2.2 5e& nterfa/e 6 Settin...........................................................!12

    2.2.1 M0 NAS.............................................................................!12

    2.2.2 4evi/e.................................................................................!12

    2.2.2.1. 7ostna+e.............................................................................!1

    2.2.2.2 Ad+in....................................................................................!1

    2.2.2.3 LAN Settins........................................................................!1

    2#2#2#$#1 %P Address###############################################################01&

    2#2#2#$#2 MA' address##########################################################01&

    2.2.2. 5e& nterfa/e.......................................................................!1

    2.2.2.9 %i+e.......................................................................................!1

    2.2.3 4isks...................................................................................!19

    2.2.3.1 4iskna+e..............................................................................!19

    2.2.3.2 ,or+at..................................................................................!19

  • 8/12/2019 Snake manual

    4/39

    2.2.3.3 :artition................................................................................!19

    2.2. Servi/es..............................................................................!19

    2.2..1 44NS....................................................................................!19

    2.2..2 ,%:........................................................................................!1;

    2.2..3 Sa+&a....................................................................................!1;

    2.2.. SS7S,%:.............................................................................!1 A++63+%3 A+ +)6 8%>6 BU Aog in to !our 3A/

    A log in screen *ill e sho*n, then !ou ha4e to enter deault user and pass*ord#

    user: adin

    pass*ord: adin

    1#2#& /elect N+oolsN enu and click NUpgrade ir*areN#

    %t *ill let !ou do 3A/ 8ir*are Update#

    1#2#( n NUpgrade ir*areN page, 'lick the N"ro*seON utton and select the correctir*are iage or %nstalling /nake /#

    3o* select the snakeosH1#I#IIIIIIIIIrooriginal#inK ile ro the 6Itracted ile and click NUpdateN tostart updating the ir*are autoaticall!#

    http://code.google.com/p/snake-os/downloads/listhttp://code.google.com/p/snake-os/downloads/list
  • 8/12/2019 Snake manual

    10/39

    LLAA/) +)6 6, BU< D6H%'6 %>>"> A++63+%3 A+ +)6 8%>6 BU A> "> A++63+%3 A+ +)6 8%>6 BU A

  • 8/12/2019 Snake manual

    11/39

  • 8/12/2019 Snake manual

    12/39

    %. tartin' web interface & settin

    2.1. (onne/tin and 'oin

    +o 'onnect, open up !our a4orite *e ro*ser Mozilla 8ireoI,%nternet 6Iplorer, etc#; andto the address ar enter Khttp:@@snakeK

    % it did not *ork, enter the %P address o !our 3A/

    Deault %P on router *ith static %P#, is 12#19.#0#2&0

    n router *ith assigned ! D)'P !ou need to ind !our 3A/ %P through !our router

    Bou should no* see a login dialog# /ee elo*

    % !our de4ice has ust een updated to /nake /, the deault is

    User 3ae: adin

    Pass*ord: snake

    % e4er!thing *ent ine, !ou should no* see a page *ith a enu and inoration aout !ours!ste# soething like this#

    http://snake/http://snake/
  • 8/12/2019 Snake manual

    13/39

    %.% (eb Interface

    +his *ill e a asic ino on the *e interace#

    2.2.1 M0 NAS

    +his is the page !ouNll see shortl! ater login# +he page contains a suar! o !our s!steand a utton *hich *ill allo* !ou to reoot !our 3A/#)ere are rie eIplanations or each line: 5ernel 4ersion: /ho*s current >inuI kernel 4ersion and 4ariation# 5ernel is responsile orthings like %@ anageent, eor! anageent, de4ice controlling, etc# /nake / usescurrentl! >inuI kernel 4ersion 2#9#19 gazineu 4ariation#

    3A/ 4ersion: /ho*s current ir*are 4ersion o !our 3A/#

    /torage 3ae: "asicall! !our hostnae# 8or ore inoration, see 2#$#1#

    >A3 %P Address: %P address o !our 3A/# %tNs assigned ! D)'P or ! /tatic %Pconiguration# Deault %P has een set 12#19.#0#2&0 static;#

    >A3 MA' Address: "asicall! it is the hard*are %D o the 3A/N net*ork card# /nake / isale to change it though#

    Ph!sical

  • 8/12/2019 Snake manual

    14/39

    2.2.2.3 LAN Settins

    +here are the asic settings to get !our 3A/ connected to the %nternet2.2.2.3.1 : Address

    +his is the place *here it is possile to change %P address and D3/ settings o the de4ice#3+6:*rong settings here a! disconnect !our 3A/ ro the %nternet#

    1.#Autoatic setting and coniguration:+ick NUse D)'P AddressN and NUse D)'P or D3/N#'lick appl!L+his coniguration should e ine on ost o the users ut it also has its o*n do*nsides# hen using D)'P,!our router a! soeties orget conigured leases and that *a! it a! assign a totall! ne* %P or !our 3A/#

    2.#)alautoatic coniguration :L*here onl! %P, /unet Mask and Deault Gate*a! are conigured autoaticall!# BouNll need to conigure !ourD3/ settings anuall!#

    +ick %P settings ! NUse D)'P AddressN andUntick NUse D)'P or D3/N#/et D3/ ser4er and local D3/ doain#LD3/ ser4ers are used to resol4e naes on the *e, that a! e sae as deault gate*a! or another one# %!ou ha4e dout aout net*ork settings, ask to !ou net*ork adinistrator#

    3.#Manuall! coniguration settings:Untick %P settings ! NUse D)'P AddressN andUntick NUse D)'P or D3/N#+!pe a static %P address, netask and deault gate*a! according !our net*orkconiguration#LDeault %P address is 12#19.#0#2&0 and netask 2((#2((#2((#0, ut !our a! *ant to change it according to

    !our net*ork coniguration#LBou can read ore aout sunets in soe *esites like http:@@en#*ikipedia#org@*iki@/unet*ork#

    +!pe %P address in Ngate*a!N#LProal! deault gate*a! is the coputer or router that is used to connect to the internet#

    /et D3/ ser4er and local D3/ doain#LD3/ ser4ers are used to resol4e naes on the *e, that a! e sae as deault gate*a! or another one# %!ou ha4e dout aout net*ork settings, ask to !ou net*ork adinistrator#

    2.2.2.3.2 MA( address

    %t is possile to change MA' address o the 3A/ here# Bou donNt need to change this onnoral circustances#

    2.2.2. 5e& nterfa/e

    %n this section !ou can change the deault port used to access the 3A/ *e interace#+he deault port is the .0 http deault;#

    2.2.2.9 %i+e

    /ettings to change tie on !our 3A/ are placed here# Bou a! *ant to select tie zoneo !our area and also set tie either anuall! or ! 3+P 3et*ork +ie Protocol;

    K%nternet tieK#

    http://en.wikipedia.org/wiki/Subnetworkhttp://en.wikipedia.org/wiki/Subnetwork
  • 8/12/2019 Snake manual

    15/39

    %.%.3. Dis-s

    +his section contains settings related to the ass storage de4ices attached to !our 3A/#

    2.2.3.1 4iskna+e%n this screen !ou can assign a nae to each one o !our disks or partitions;#+he colunKPartitionK sho*s the de4ice %D detected ! /nake /# %n the ield KMount 3aeK !ou can

    t!pe the a nae or !our disk or partition;# +o sa4e this, click on K/a4eK utton# Bou can

    also delete a nae ! clicking on K

  • 8/12/2019 Snake manual

    16/39

    +o get started !ou need to register an account on soe o the listed DD3/ ser4icepro4iders# Ater that ill in the details:Alias: +!pe !our d!naic doain nae hereUsernae: +!pe !our DD3/ ser4ice usernae herePass*ord: +!pe !our DD3/ ser4ice pass*ord here

    R/M636 /)U>D /F

    2.2..2 ,%:+his ser4ice enales sending and recei4ing iles through 8ile +ranser Protocol#+he ollo*ing option can e set in this screen:

    Anon!ous 8+P older: is the root location *here users *ill ha4e access to sendandrecei4es iles? 8+P enale checkoI: +his option *ill enale or disale tp ser4ice? Allo* Anon!ous: /etting this checkoI !ou *ill grant access to anon!ous users in !ourtp ser4er? Anon!ous 'an rite: 'heck this to gi4e *rite perission to the anon!ous users?

    nl! Anon!ous: 'heck this oI to perit onl! anon!ous users to !our tp ser4er# +his*a!, the users created in the /haring@Users section *ill not ha4e access to the tp ser4er# Just elo* there is a lael that sho*s ser4ice status# 8our uttons can e used to appl!coniguration, start, stop or restart the tp ser4ice#+o connect !our 3A/ 4ia 8tp, use either !our ro*ser or tp clients, such as 8ileSillahttp:@@ilezillaproect#org; or *indo*s#n ro*ser, t!pe tp:@@III#III#III#III@ on address ar*here III#III#III#III is !our 3A/%P address, i#e# Ktp:@@12#19.#0#2&0K the deault static %P address#;n tp clients, t!pe !our 3A/ %P addressi#e# K12#19.#0#2&0K the deault static %P address#

    2.2..3 Sa+&aL/aa is a suite o progras that enales interoperailit! including ile sharing;

    et*een a linuI distriution /nake / in this case; and indo*s#

  • 8/12/2019 Snake manual

    17/39

    +he checkoI K/aa enaledK lets !ou enale or disale the /aa ser4ice# Bou canalso change the ollo*ing options: Sa+&a do+ainorkro*. %nsert here !our net*ork doain or *orkgroup# %!ou are using indo*s TP !ou can ind *orkgroup nae ! right clicking in NM!'oputerN and selecting NPropertiesN# 'hange to N'oputer 3aeN ta and look atNorkgroupN#

    Sa+&a se/*rit0 +ode. 'hoose i !ou preer anon!ous login or ! user# Userssettings *ill e sho*n in section 2#9#1#%tNs also possile to see saa running status and the action uttons: Appl!, /tart, /top,

  • 8/12/2019 Snake manual

    18/39

    no* go to N/er4icesN =F Ns*apileNtick NUse /*apileN/elect the us partition in N/*apile DiskNclick Nappl!Ni it doesnNt run#reoot !our 3A/

    2.2..; S0s'o/!ste log, all are sel eIplanator!# /!slog >ocal Path# 3et*ork /!slog 6nale 3et*ork /!slog Address /!slog status:

    %tNs also possile to see s!slog running status and the action uttons: Appl!, /tart, /top,

  • 8/12/2019 Snake manual

    19/39

    +his is the screen *ith +ransission options, use or coniguring the +ransission "+client#+he options are:K'urrent torrent olderK: set the older *ere the do*nloaded iles *ill e sa4ed#

    K+ransission enaleK: 'heck oI to enale or disale the transission ser4ice

    p2p Port: +he port used ! deault or ile sharing

    e Port: +he port or +ransission e GU%

    Peer liit gloal: MaI nuer o peer connection or transission

    Peer liit per torrent: MaI nuer o peer connection per torrent

    K/peed Do*nK: liit the do*nload speeds ! enaling the ieldsK/peed Up: liit the upload speeds ! enaling the ieldsK6nale Alternate +ieK: useul setting or enaling speed liit, or upload and

    do*nload, at a deine tie#+hese setting is deine ! elo*Alternate /peed Up: liit the upload speeds ! enaling the ields5"@s;Alternate /peed Do*n: liit the do*nload speeds ! enaling the ields5"@s;Alternate +ie "egin: *hat tie during the da! the speed liit start

    Alternate +ie 6nd: *hat tie during the da! the speed liit end+ransission Alternate +ie Da!s: da!s *hen the speed liit is enaled+he lo*est uttons let !ou appl! the settings, start, stop and restart the ser4ice#

  • 8/12/2019 Snake manual

    20/39

    Bou can open +ransission hoe page ! clicking in the linkK+ransissionK using /nake / *e interace or t!ping %P address ollo*ed ! port nueri#e# http:@@12#19.#0#2&0:01;#+ransission and other coniguration options *ill e eIplained in a urther section#Bou can check +ransission *e site or ore details: http:@@***#transissiont#co@

    2.2.9 S=arin%n this section !ou can: 4ie* shared printers? select *hich olders *ill e shared? select*hich users *ill ha4e reading and *riting pri4ileges on it# Users and olders here arerelated to /aa ser4ice see details at section 2#(#2;#

    2.2.9.1 :rinters+his screen perits !ou to list *hich printers are shared, sho*ing nae, de4ice and +'P

    port#2.2.9.1.1 nsta''in t=e rinter in 0o*r oerationa' s0ste+

    Ater connecting !our printers; *ith the 3A/ !ou ha4e to conigure !our coputers; in

    order to use !our shareds; printers;# +his section sho* ho* !ou should proceed toinstall !our printer#5indos @: +a/=ine

    Adding a ne* printer:1; 'lick on *indo*s K/tartK enu, point to K/ettingsK and select KPrinters and 8aIesK?2; n the let ar o KPrinters and 8aIesK *indo*s click on KAdd printerK?$; +he KAdd Printer izardK *ill sho* up?&; 'lick K3eItK, select K>ocal printerK# Make sure that KAutoaticall! detect andinstall ! Plug and Pla! printerK is not selected# 'lick K3eItK?(; n this screen, select K'reate a ne* portK, highlight the /tandard +'P@%P Port atthe pulldo*n enu?

    9; +he KAdd /tandard +'P@%P Printer Port izardK *indo* *ill then appear# 'lickK3eItK?-; +!pe in the %P address assigned to the 3A/ in the KPrinter 3ae or %P AddressK

    oI, 'lick K3eItK# +he KPort 3aeK ield *ill autoaticall! e illed in# 'lick K3eItK?.; +he KAdditional port inorationK screen *ill appear# /elect K'ustoK, clickK/ettingsK utton, and click K3eItK?; %n the K'onigure /tandard +'P@%P Port MonitorK *indo*, select K

  • 8/12/2019 Snake manual

    21/39

    2; /elect the Ports ta#$; 'lick Add Port and choose /tandard +'P@%P printer port and click 3e* Port&; 6nter !ou routerNs %P address norall! 12#19.#1#1; and click 3eIt(; /et De4ice t!pe to custo and click settings#9; Make sure

  • 8/12/2019 Snake manual

    22/39

    +!pe soe description or sharing in N/hare 3aeN# +hen click in N/hared 8olderN teIt oIto ro*se soe location *hich this sharing *ill point to# %n neIt ield, select i this older*ill e *ritale# Allo*ed user is the users that ha4e rights to access the Nshared olderN!ou ust selected#

    2.2.; S0ste+

    +his enu has soe options aout s!ste status and coniguration#

    2.2.;.1 Stat*s/elect this ite to 4ie* s!ste status# 5ernel 4ersion, 3A/ 4ersion, %P address, MA'address,

  • 8/12/2019 Snake manual

    23/39

    2.2.;. (onfi/oe actions reCuire that s!ste coniguration e sa4ed, like pass*ord changes, torrentclient options and other settings# Ater changing options like these, click in sa4e utton#+o reset settings to deault, ust click in K/et deaultK utton#

    2.2.;.9 ,ir+are)ere !ou can update ir*are used in !our 3A/# %tNs possile to use /nake / or an!other, ust like !ou did to update ro original ir*are to /nake /#/nake / has a special 4ersion eside original ir*are orat# %tNs a saller and saerto update 4ersion, as said in section 1#$#1# 'lick in Nro*seN utton, select a ir*are ileull or saer 4ersion; and clic NGoN to start updating# %t can take se4eral inutes#

    2.2.;.; :a/kaesUse to install@ uninstall additional packages@sot*are

    2.2.< %rans+ission

    +his is a link to opens a "it+orrent client +ransission in a ne* *indo*#+ransission adinistrati4e interace runs ! deault on port 01#

  • 8/12/2019 Snake manual

    24/39

    3. How To...

    3.1 nsta''Uninsta'' additiona' a/kaes%o insta''F

    1# go to /er4ice =F pkg2# check 6nale opkg preeral! !ou need to ha4e a peranent us dri4e, or s*ap and

    additional data;$# change pkg Disk: to !our preered disk and click appl!

    go to /!ste =F Packages

    (# 'lick "ro*se###, eside %nstall package9# /elect L#opk ile !ou *ish to install and 'lick open-# 'lick install

    %o Uninsta''F

    1# n /!ste =F Packages, choose packages !ou *ish to reo4e, eside %nstalledpackages2# click Uninstall

  • 8/12/2019 Snake manual

    25/39

  • 8/12/2019 Snake manual

    26/39

    Bou onl! need to ha4e an U/" de4ice attached# 3o serial connection needed#;

    Use eIt2 or eIt$ ile s!ste to eItract iles elo*# n 8A+ it *ill e eItracted, ut *ont *orkW;

    4etai's

    1# ssh to 3A/ or putt! ro *in2# Ecd @us@sda1$# Do*nload chroot deian *ith *get: E *get http:@@snakeos#googlecode#co@iles@deianQchroot#tgz (# ackup !our earlier deian conig iles i needed#9# E r < deian I %=is i'' erase revio*s de&ian dire/tor0I-# Etar I4 deian#tgz.# Eount o ind @proc @us@sda1@deian@proc# Eount o ind @de4 @us@sda1@deian@de410#Eount o ind @us@sda1 @us@sda1@deian@nt@sda1 this is not andator!11#E edit @us@sda1@deian@etc@resol4#con /et !our nae ser4er, i !ou need# Deault is

    12#19.#1#112#Echroot @us@sda1@deian@

    3o* !ou are in chrooted deian shell#

    +o eIit deian use KeIitK coand or reoot#

    So+e *sef*' - J+*st =aveJ t=inF

    to ha4e tons o deian packages use AP+:;

    aptget install packagenae

    c Midnight 'oander eature ull ile coander# Just run: c

    plo*do*n R do*nloading ro hosting ser4icees like rapdishare and egaupload rohttp:@@code#google#co@p@plo*share@do*nloads@list # aptget install plo*do*n#

    screen R %t allo*s !ou to run K4irtual terinalsK *ith the added eneit that closing theconnection the process keep running, so no need to do 10 ssh sessions, or using nohup# aptget install screen#

    Mount de4 and proc, !ou can use sta i !o *hish#

    Si+'er VersionF

    1# use !our a4 //) client like putt! or *indo*s;

    2# enter !our snake ip address and !our snake os ssh port no 22 deault;

    http://snake-os.googlecode.com/files/debian_chroot.tgzhttp://code.google.com/p/plowshare/downloads/listhttp://snake-os.googlecode.com/files/debian_chroot.tgzhttp://code.google.com/p/plowshare/downloads/list
  • 8/12/2019 Snake manual

    27/39

    $# soething like the picture on the right *ill appear

    enter log in as: root pass*ord: !our snake os pass*ord

    (# a snake picture *ill appear#

    9# *rite the coand elo*red *ord; into the terinalEcd @us@sda1Do*nload chroot deian *ith *get:E *get http:@@snakeos#googlecode#co@iles@deianQchroot#tgz

    ackup !our earlier deian conig iles i needed#E r < deianI %=is i'' erase revio*s de&ian dire/tor0IEtar I4 deian#tgzEount o ind @proc @us@sda1@deian@procEount o ind @de4 @us@sda1@deian@de4Eount o ind @us@sda1 @us@sda1@deian@nt@sda1 this is not andator!

    E edit @us@sda1@deian@etc@resol4#con/et !our nae ser4er, i !ou need# Deault is12#19.#1#1Echroot @us@sda1@deian@3o* !ou are in chrooted deian shell#

    And sh$#1Eshould appear

    +o eIit deian use KeIitK coand or reoot#

    http://snake-os.googlecode.com/files/debian_chroot.tgzhttp://snake-os.googlecode.com/files/debian_chroot.tgz
  • 8/12/2019 Snake manual

    28/39

  • 8/12/2019 Snake manual

    29/39

    nas@*e@serialconnectionho*to or http:@@groups#google#co@group@dealeItreenas@*e@serialconnectionho*tonsk$$0Xhl=en

    ?F ,LAS7in -

    /erial connect *as not allo*ed de4ice not respond@oot# /ees ricked# :

    Ans*er$: % !ou not enough luck! *ith serial connection either, neIt chance to *riteand replace 8lash# 8lash contains the oot, and root partitions# "%/ and perations!ste together#;

    +here is a sart and cheap; lash *riter using parallel port Z & resistor Z 1 condensator#/ee detailes here http:@@ra!er#ic#cz@elektro@spipg#ht

    ith this !ou can reprogra !our lash# r ask gu!s ro the oru here to do or!ou#;

    1# lash *rite,http:@@groups#google#co@group@dealeItreenas@ro*seQthread@[email protected]$&-d92(.$2Xhl=en

    2# And replace lash http:@@groups#google#co@group@dealeItreenas@*e@nas.$2lashchiprelocationtutorial

    Most o the user donNt need lash replace# Most o the ha4e local net*ork relatedproles# eI#: router donNt gi4e ne* %P address; /o tr! irst to shut do*n all net*orkeleents eore tr! to replace lash#

    ?F 4efa*'t *ser and assord for t=e e& interfa/e D

    Ans*er: adin@snake

    ?F (o+i'e - deenden/es. 5=at are knon eterna' deenden/ies for t=e so*r/e /o+i'eD

    1# upInr4, licurl$opensslde4, lilzo22, uildessential, kernelheaders, tdtools, ncursesde4, autocon

    ?F (o+i'e. 7e0 *0s it is reatG 7o /an +ake +0 on oneD

    Ans*er:

    1# Do*nload source, ro /u4ersion at http:@@code#google#co@p@snakeos@source ;2# sudo su ecae root

    Otiona'+o adust !our kernel conig:1# "ackup the KconigsK older2# cp [email protected]$2QdeconigQs2 kernels@linuI@#conig$# cd kernels@linuI older 6Iport PA+) to point to ar copiler# eIport PA+)=KpathtosourceK@tools@ar

    uclic$#@in:[PA+)(# ake clean YY ake enuconig9# Adust !our kernel settings#

    -# 'op! ack kernels@linuI@#conig ile to [email protected]$2QdeconigQs2 ile#

    1# 6Iecute Ksh #@kQsnakeosQiage#shK in the top le4el director!

    http://groups.google.com/group/dealextreme-nas-/web/serial-connection-how-tohttp://groups.google.com/group/dealextreme-nas-/web/serialconnectionhowto-ns-k330?hl=enhttp://groups.google.com/group/dealextreme-nas-/web/serialconnectionhowto-ns-k330?hl=enhttp://rayer.ic.cz/elektro/spipgm.htmhttp://groups.google.com/group/dealextreme-nas-/browse_thread/thread/08df34f7df625832?hl=enhttp://groups.google.com/group/dealextreme-nas-/browse_thread/thread/08df34f7df625832?hl=enhttp://groups.google.com/group/dealextreme-nas-/web/nas-832-flash-chip-relocation-tutorialhttp://groups.google.com/group/dealextreme-nas-/web/nas-832-flash-chip-relocation-tutorialhttp://code.google.com/p/snake-os/sourcehttp://groups.google.com/group/dealextreme-nas-/web/serial-connection-how-tohttp://groups.google.com/group/dealextreme-nas-/web/serialconnectionhowto-ns-k330?hl=enhttp://groups.google.com/group/dealextreme-nas-/web/serialconnectionhowto-ns-k330?hl=enhttp://rayer.ic.cz/elektro/spipgm.htmhttp://groups.google.com/group/dealextreme-nas-/browse_thread/thread/08df34f7df625832?hl=enhttp://groups.google.com/group/dealextreme-nas-/browse_thread/thread/08df34f7df625832?hl=enhttp://groups.google.com/group/dealextreme-nas-/web/nas-832-flash-chip-relocation-tutorialhttp://groups.google.com/group/dealextreme-nas-/web/nas-832-flash-chip-relocation-tutorialhttp://code.google.com/p/snake-os/source
  • 8/12/2019 Snake manual

    30/39

    % the script aorts *ith an! error essages !ou proal! need soe packages installedto ha4e de4elopent en4ironent# /ee K'opile dependenciesK ao4e or a list oreCuired packages#

    kQsnakeosQiage#sh script *as ade ! Douglas *hich copile the kernel and akeroot ile s!ste or J88/, copress the inaries *ith UPT *hich akes on the l!

    decopiled inar!;

    'opiled ir*are is here:

    snakeQos@release@ and ttpcapale iage on output@

    Bou could upgrade !our 3A/ *ith !our ne*l! created custo ir*are, under thehttp:@@nasaddress@under s!ste@ir*are enu

    ?F ,%: 5rite er+issions ro&'e+ for anon0+o*s.

    % ha4e acti4ated 8+P# %n 8+P *ith anon!ous onl! *ith *rite perssion#

    +hrough saa i can read and *rite ut ! 8+P i can onl! read# % ha4enNt got *riteperissions e4en though % ha4e conigured it in /nake /#

    AnserF

    H/8+P root older ust ha4e -(( ut an! su older or tp *rite should ha4e ---#

    +his can e done ! using ssh to access the 3A/ and

    chod ---@us@PA+)+8>D6/D5 sources ro cnusers oru: http:@@***#cnusers#org@

    %t needs ree registration, *hich takes soeties a e* da!s#

    r do*nload ro here: http:@@***#egaileupload#co@en@ile@2092.@'3/2100>/D59.2zip#htl

    ?F 7o to a//es data of USB =ard driveD

    1# /M" 4ia 3A/ hdd is attached to 3A/ U/" and 3A/ is accessed 4ia /M";

    2# 8+P *ith an! tp klient# eI# 8iretp# $# direct access 4ia P' U/"# usehttp:@@sourceorge#net@proects@eIt2sd@ or http:@@sourceorge#net@proects@eIt2read@

    http://nasaddress/http://www.cnusers.org/http://www.megafileupload.com/en/file/206928/CNS2100-LSDK-6-8-2-zip.htmlhttp://www.megafileupload.com/en/file/206928/CNS2100-LSDK-6-8-2-zip.htmlhttp://sourceforge.net/projects/ext2fsd/http://sourceforge.net/projects/ext2read/http://nasaddress/http://www.cnusers.org/http://www.megafileupload.com/en/file/206928/CNS2100-LSDK-6-8-2-zip.htmlhttp://www.megafileupload.com/en/file/206928/CNS2100-LSDK-6-8-2-zip.htmlhttp://sourceforge.net/projects/ext2fsd/http://sourceforge.net/projects/ext2read/
  • 8/12/2019 Snake manual

    31/39

    *hich can read e4en eIt& eItentsW /'P ssh ased ile anageent eI#: inscp#

    ?F 5=at is t=e ,%:SMB erfor+an/e on et3 fi'es0ste+D

    +!periteM"@s

  • 8/12/2019 Snake manual

    32/39

    http:@@code#google#co@p@snakeos@*iki@Packaging

    EN4

    ?F 5i'' it ork it= +0 internet rovider 'ike Ve'oG Virt*aG Seed and ot=ers#D

    Bes# %t doesnNt atter *hat pro4ider !ou ha4e, itNs necessar! 3A/ e conigured like

    an! other coputer# >ook at section aout >A3 settings#?F 5=i/= &inaries /an don'oad or /o+i'e to *se it= t=ese NAS +ode'sD

    Bou need to ha4e linuI A

  • 8/12/2019 Snake manual

    33/39

    8ile a! e corrupted# +r! to do*nload it again#'heck i !ou are running the correct ir*are iage#

  • 8/12/2019 Snake manual

    34/39

    8or eIaple: http:@@pinouts#ru@'on4erters@rs2$2++>QcaleQpinout#shtl% !ou choose the option 1, the easiest one, !ou *ill ind a suitale cale in dealeItree, likethe one posted ! JG on 200 Ma! &:http:@@***#dealeItree#co@details#dI@sku#1$9$.

    +his cale is used or 3okia cellphones# %t is asicall! a U/" to serial con4erter *ithout theMAT2$2 chip to con4ert the 4oltage le4els to

  • 8/12/2019 Snake manual

    35/39

    As can e seen ro the ao4e picture the pins naes are laeled on the circuit oard#/o, !ou ust ha4e to connect the +I *ire green one in this picture; *ith the *ith the +I holein the 3A/ circuit oard# +he sae applies to

  • 8/12/2019 Snake manual

    36/39

    connector like those ones used to connect the ront panel >6Ds in a P' otheroard;# %n the 3A/oard holes % ha4e soldered the ale pins# +he cale colors are ro let to right

    1# G3D; "lack 3earest to 'PU lack colored on the picture 'PU is hidden under thecoin;

    2# +T; P+; to see all the ports !ou ha4e a4ailale#

    +he port created *hen !ou attached the us cale should e there like soething asProliic U/" to serial con4erter 'M&;# %n this eIaple it *as created the serial

    port 'M nuer +his port nuer a! change depending on the us port that!ou connect the adapter#

    3o* !ou ha4e to set up the connection# %n *indo*s !ou can use the )!per +erinalprogra# Bou *ill ind it on /tarMenu@Acessories@'ounications#

    (# pen )!per +erinal#% !ou ha4e not used it eore, it *ill ask !ou soe inorationsaout !our contr! code and phone area code#

    9 'ancel this press cancel, !es and ok; and!ou *ill get soething like this the *indo*s used to otain these screenshots *as inPortuguese language;

  • 8/12/2019 Snake manual

    37/39

    -# Gi4e a nae or !our ne* connection and press 5#Bou can cancel again i it asks the countr! and area code# Ater that !ou *ill seesoething like this:

    .# 'hoose the port that *as assigned to !our us cale and press ok## n port conigurations !ou ha4e to ill the ields *ith the serial connection paraeters orthe 3A/ chipset, that are:

    "its per second: $.&00Data its: .Parit!: 3one/top its: 1+he lo* control ield !ou can lea4e it *ith the deault 4alue#

  • 8/12/2019 Snake manual

    38/39

  • 8/12/2019 Snake manual

    39/39