SnakeOS Manual Do Usuário 13-01-2012
SnakeOS Manual Do Usuário 13-01-2012
SnakeOS Manual Do Usuário 13-01-2012
USER MANUAL
Snake OS version V1.3.2 (20111019)
2nd edition
Authors:
Douglas Gazineu, 2010
Jarko Papalitsas, 2010
José Maciel, 2010
Miguel Moreto, 2010
Updated by
MB 2011
############### Table of Contents ###############
#. Table of Contents...................................................................003
i. Introduction...........................................................................007
iv. Disclaimer..............................................................................007
1.1 Requirement.............................................................................009
2.2.1 My NAS.............................................................................012
2.2.2 Device.................................................................................012
2.2.2.1. Hostname.............................................................................014
2.2.2.2 Admin....................................................................................014
2.2.2.3 LAN Settings........................................................................014
2.2.2.3.1 IP Address...............................................................014
2.2.2.3.2 MAC address..........................................................014
2.2.2.4 Web Interface.......................................................................014
2.2.2.5 Time.......................................................................................014
2.2.3 Disks...................................................................................015
2.2.3.1 Diskname..............................................................................015
2.2.3.2 Format..................................................................................015
2.2.3.3 Partition................................................................................015
2.2.4 Services..............................................................................015
2.2.4.1 DDNS....................................................................................015
2.2.4.2 FTP........................................................................................016
2.2.4.3 Samba....................................................................................016
2.2.4.4 SSH/SFTP.............................................................................017
2.2.4.5 Swapfile................................................................................017
2.2.4.5.1 How To use swap file..............................................017
2.2.4.6 Syslog....................................................................................018
2.2.4.7 Telnet.....................................................................................018
2.2.4.8 WebServer............................................................................018
2.2.4.8.1 how to use...............................................................018
2.2.4.9 Opkg......................................................................................018
2.2.4.10 Transmission (BitTorrent (BT))........................................018
2.2.5 Sharing...............................................................................020
2.2.5.1 Printers.................................................................................020
2.2.5.2 Users......................................................................................021
2.2.5.3 Shares....................................................................................021
2.2.6 System................................................................................022
2.2.6.1 Status....................................................................022
2.2.6.2 Log........................................................................022
2.2.6.3 Monitor.................................................................022
2.2.6.4 Config....................................................................023
2.2.6.5 Firmware..............................................................023
2.2.6.6 Packages...............................................................023
2.2.7 Transmission.....................................................................023
3. HOW TO...............................................................................................024
*NOTE: There is a different version based on a RDC chip being delivered from
Dealextreme, as reported on May/2010, that is incompatible with Snake OS.
It is marked as WLXKJ652R. Prefer to buy the NS-K330 or another model, for increased
chances to run Snake OS
– NAS ME-747ANS
– Agestar NAS NSB3AST / NSB3AS - ??
– IGRS Windrunner D10 – reported to work flashing via serial cable (see Link)
Based on CNS2132 (STR8132). 16Mb Flash. 64Mb RAM.
iv. DISCLAIMER:
Snake OS team neither assumes nor accepts any liability for any, including, but not limited
to damage, malfunction, and/or loss of your hardware or data or anything else that you may
own regardless of the cause or reason for any such misfortune. Snake OS team will not be
liable for lost profits, loss of business or other consequential, special, indirect, punitive or
other damages, even if advised of the possibility of such damages, or for any claim by any
third party. These terms and conditions may be subject to change without notice.
By using Snake OS you/your corporation agree to these terms and condition
#SIDE NOTE:
Hey we did out of our enjoyment and love for this hardware. So we do not want any legal
trouble from anyone. So to avoid these trouble please READ THE MANUAL carefully and
FOLLOW THE INSTRUCTION carefully
I any problem arise please write in our issue page OR google group .Many
member will be reluctant to assist you through any problems
1. Installing & Upgrading Firmware
1.1 Requirement
- Compatible hardware (see section ii.), with basic setup
- Snake OS firmware. (download here)
for first time install =>“snakeos-V1.x.x-xxxxxxxx-from-original.zip”
for upgrade/downgrade =>“snakeos-V1.x.x-xxxxxxxx-from-snake.zip”
where "V1.x.x-xxxxxxxx" is your desired version
**WARNING: IF YOU FLASH THE WRONG FILE, YOUR DEVICE WILL
BRICK
******SO PAY SPECIALL ATTENTION AT THE FILE YOU ARE USING.
Extract the file, anywhere on your PC, after downloading
- A PC with a web browser
If your device has just been updated to Snake OS, the default is
User Name: admin
Password: snake
If everything went fine, you should now see a page with a menu and information about your
system. something like this.
2.2 Web Interface
This will be a basic info on the web interface.
2.2.1 My NAS
This is the page you'll see shortly after login. The page contains a summary of your system
and a button which will allow you to reboot your NAS.
Here are brief explanations for each line:
• Kernel version: Shows current Linux kernel version and variation. Kernel is responsible for
things like I/O management, memory management, device controlling, etc. Snake OS uses
currently Linux kernel version 2.6.16 gazineu variation.
• Storage Name: Basically your hostname. For more information, see 2.3.1.
• LAN MAC Address: Basically it is the hardware ID of the NAS' network card. Snake OS is
able to change it though.
• Physical RAM: How much there's device's internal memory total/free. Makes device run
faster by storing temporary data here.
• Swapfile: “Extra RAM”. A file on a mass memory device which will be used if no more
RAM is available. Disadvantages compared to RAM are slower read/write time and
shortening Flash drives' lifespan.
2.2.2 Device
This section has all the settings related to the base operation of the NAS
2.2.2.1. Hostname
This is the place to change your NAS hostname. Hostname is a unique name that is
given to all network devices. It is your choice how you'll name your device but you
shouldn't use the same name on two or more devices. There are also some other
restrictions that apply but more on that see
http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names.
2.2.2.2 Admin
Place to change passwords for the web interface, SSH and Transmission. It is required you to
type the password twice to avoid typing mistakes.
2.2.2.3 LAN Settings
There are the basic settings to get your NAS connected to the Internet
2.2.2.3.1 IP Address
This is the place where it is possible to change IP address and DNS settings of the device.
NOTE:wrong settings here may disconnect your NAS from the Internet.
2.2.2.5 Time
Settings to change time on your NAS are placed here. You may want to select time zone
of your area and also set time either manually or by NTP (Network Time Protocol)
"Internet time".
2.2.3. Disks
This section contains settings related to the mass storage devices attached to your NAS.
2.2.3.1 Diskname
In this screen you can assign a name to each one of your disks (or partitions).The column
"Partition" shows the device ID detected by Snake OS. In the field "Mount Name" you can
type the a name for your disk (or partition). To save this, click on "Save" button. You can
2.2.3.2 Format
This screen lets you to format a device disk or partition. The device will be formatted as
ext3.
NOTE: ext3 is only accessible through 3rd party app on MS Windows.
2.2.3.3 Partition
You can choose mount or umount disks. When you insert a new disk, its automatically
mounted.
It's IMPORTANT to UNMOUNT every unit BEFORE REMOVING USB DRIVE FROM
NAS device.
When sda is mounted, for example, it's possible to locate it in the following path:
/usb/sda1 (first partition).
If you set a diskname, then you will find the partition under
/usb/diskname where "diskname" corresponds to the name you have given, as in 2.2.4.1.
This path can be accessed through SSH, as will be shown in Chapter 3.
2.2.4 Services
In this section you can change the settings about your NAS services.
2.2.4.1 DDNS
*DDNS is shortened from Dynamic Domain Name System and it allows you to set a
memorable subdomain for your external and dynamic IP. Practically this means you can
access your NAS (or other device depending on your NAT settings) outside your subnet
without remembering your external IP ie you can use snake.dynamicdns.com instead of
42.42.42.42.
To get started you need to register an account on some of the listed DDNS service
providers. After that fill in the details:
Alias: Type your dynamic domain name here
Username: Type your DDNS service username here
Password: Type your DDNS service password here
<SOMEONE SHOULD REVIEW THIS AS IM NOT SURE ABOUT THE LABELS>
2.2.4.2 FTP
This service enables sending and receiving files through File Transfer Protocol.
The following option can be set in this screen:
• Anonymous FTP folder: is the root location where users will have access to sendand
receives files;
• FTP enable checkbox: This option will enable or disable ftp service;
• Allow Anonymous: Setting this checkbox you will grant access to anonymous users in your
ftp server;
• Anonymous Can Write: Check this to give write permission to the anonymous users;
• Only Anonymous: Check this box to permit only anonymous users to your ftp server. This
way, the users created in the Sharing/Users section will not have access to the ftp server.
• Just below there is a label that shows service status. Four buttons can be used to apply
configuration, start, stop or restart the ftp service.
To connect your NAS via Ftp, use either your browser or ftp clients, such as FileZilla
(http://filezilla-project.org) for windows.
On browser, type ftp://xxx.xxx.xxx.xxx/ on address bar(where xxx.xxx.xxx.xxx is your NAS
IP address, i.e. "ftp://192.168.0.240" the default static IP address.)
On ftp clients, type your NAS IP address
i.e. "192.168.0.240" the default static IP address.
2.2.4.3 Samba
*Samba is a suite of programs that enables interoperability (including file sharing)
between a linux distribution (Snake OS in this case) and Windows.
The checkbox "Samba enabled" lets you enable or disable the Samba service. You can
also change the following options:
• Samba domain/workgroup. Insert here your network domain or workgroup. If
you are using Windows XP you can find workgroup name by right clicking in 'My
Computer' and selecting 'Properties'. Change to 'Computer Name' tab and look at
'Workgroup'.
• Samba security mode. Choose if you prefer anonymous login or by user. Users
settings will be shown in section 2.6.1.
It's also possible to see samba running status and the action buttons: Apply, Start, Stop,
Restart.
2.2.4.4 SSH/SFTP
see status and setting for start, stop and restart SSH service through this section. It's also
permit you to recreate keys. These keys are used to encode data and ensure the privacy over
the web.
2.2.4.5 Swapfile
The device doesn't have much RAM, so creating a swap file RECOMENDED, and it is very
useful to improve NAS performance. In this page it's possible to:
• Start swap file usage (checkbox);
• Select disk to write swap file to;
• Check status (active or not);
• Apply changes;
• Stop using swap file;
• Delete file.
2.2.4.6 Syslog
System log, all are self explanatory.
• Syslog Local Path.
• Network Syslog Enable
• Network Syslog Address
• Syslog status:
It's also possible to see syslog running status and the action buttons: Apply, Start, Stop,
Restart.
2.2.4.7 Telnet
Alternative to SSH
2.2.4.8 WebServer
a web based file browser
2.2.4.9 Opkg
Pakage Manager for SNAKE OS
2.2.5 Sharing
In this section you can: view shared printers; select which folders will be shared; select
which users will have reading and writing privileges on it. Users and folders here are
related to Samba service (see details at section 2.5.2).
2.2.5.1 Printers
This screen permits you to list which printers are shared, showing name, device and TCP
port.
2.2.5.1.1 Installing the printer in your operational system
After connecting your printer(s) with the NAS you have to configure your computer(s) in
order to use your shared(s) printer(s). This section show how you should proceed to
install your printer.
Windows XP machine
Adding a new printer:
1) Click on windows "Start" menu, point to "Settings" and select "Printers and Faxes";
2) On the left bar of "Printers and Faxes" windows click on "Add printer";
3) The "Add Printer Wizard" will show up;
4) Click "Next", select "Local printer". Make sure that "Automatically detect and
install my Plug and Play printer" is not selected. Click "Next";
5) On this screen, select "Create a new port", highlight the Standard TCP/IP Port at
the pull-down menu;
6) The "Add Standard TCP/IP Printer Port Wizard" window will then appear. Click
"Next";
7) Type in the IP address assigned to the NAS in the "Printer Name or IP Address"
box, Click "Next". The "Port Name" field will automatically be filled in. Click "Next";
8) The "Additional port information" screen will appear. Select "Custom", click
"Settings" button, and click "Next";
9) In the "Configure Standard TCP/IP Port Monitor" window, select "RAW" protocol
and specify the necessary port number (9100, 9101 for second printer, etc). You can
verify this number in the SNAKE OS web interface at "RAW TCP port" field of the shared
printer(s);
10) Click "OK" to close the "Configure Standard TCP/IP Port Monitor" window and
"Next" on the "Add Standard TCP/IP Printer Port Wizard" window;
11) Click "Finish" to end the wizard;
12) Select the appropriate printer manufacturer and printer type in the list. If the
desired printer is not on the list, click "Have Disk" and insert the printer driver disk that
came with your printer to install the printer drivers. Click "Next";
13) Type in a new Printer name or leave it in default, and click "Next" button;
14) In the last step you can print a test page. Click "Next" and "Finish".
Modifying an existing printer:
You can modify an existing (installed) printer. You should change the port that the
printer is using to a TCP/IP printer port, like the procedure stated above. This resumed
procedure was taken from http://www.dd-wrt.com/wiki/index.php/
Printer_Sharing#Workstation_setup:
1) Find your printer in Control Panel - Printers etc. and open the properties page for
it.
2) Select the Ports tab.
3) Click Add Port and choose Standard TCP/IP printer port and click New Port
4) Enter you router's IP address (normally 192.168.1.1) and click Next
5) Set Device type to custom and click settings.
6) Make sure RAW is selected and specify the necessary port number (normally 9100,
9101 for second printer, etc) and click OK
7) Click Next and Finish and Close
8) Make sure the newly created port is selected for your printer and click OK
Windows 7 RC
Thanks to Dcirne to provide these steps.
Adding a new printer:
1) Click on windows "Start" menu, point to "Printers and Devices";
2) Choose "Add printer";
3) Select "Add network, wireless or bluetooth Printer";
4) Select "Desired printer is not listed";
5) Mark "Add printer using TCP/IP Address or hostname";
6) Choose "TCP/IP Device" and type IP address of the NAS;
7) Uncheck "Check printer and automatically choose the driver to use";
8) At "Device Type", choose "Custom" and click "Config";
9) Choose raw protocol, enter correct port number (default is 9100, which is also the
NAS' default port for 1st printer);
10) Click "OK" and Click "Advance";
11) Now choose the printer driver from the list install it with "Have disk" option;
12) Choose a printer name and whether to share it or not;
13) Check if the just installed printer will be the default one;
14) Print a test page if you want.
2.2.5.2 Users
When selecting 'Users' the following options will be displayed:
New: Click here to add a new user, which will have rights to access a certain folder.
Edit: Click here to modify options about the user selected on the list.
Remove: Click here to remove selected the user selected on the list.
2.2.5.3 Shares
In section 2.5.3 samba service was started and security mode was selected. Now you
will select which folders will be seen by which users (if you have chosen 'User and
Password Required').
Type some description for sharing in 'Share Name'. Then click in 'Shared Folder' text box
to browse some location which this sharing will point to. In next field, select if this folder
will be writable. Allowed user is the users that have rights to access the 'shared folder'
you just selected.
2.2.6 System
This menu has some options about system status and configuration.
2.2.6.1 Status
Select this item to view system status. Kernel version, NAS version, IP address, MAC
address, RAM, swapfile and uptime. The same with start page
2.2.6.2 Log
In this screen you can view the system log since the device has booted. The listing here
is equivalent with the output of a "dmesg" command issue at linux command terminal.
2.2.6.3 Monitor
This function is very useful to know how much physical memory, swapfile and cpu
processing is being used by system.
2.2.6.4 Config
Some actions require that system configuration be saved, like password changes, torrent
client options and other settings. After changing options like these, click in save button.
To reset settings to default, just click in "Set default" button.
2.2.6.5 Firmware
Here you can update firmware used in your NAS. It's possible to use Snake OS or any
other, just like you did to update from original firmware to Snake OS.
Snake OS has a special version beside original firmware format. It's a smaller and safer
to update version, as said in section 1.3.1. Click in 'browse' button, select a firmware file
(full or safer version) and clic 'Go' to start updating. It can take several minutes.
2.2.6.6 Packages
Use to install/ uninstall additional packages/software
2.2.7 Transmission
This is a link to opens a BitTorrent client Transmission in a new window.
Transmission administrative interface runs by default on port 9091.
3. How To...
3.1 Install/Uninstall additional packages
To install:
1. go to Service => Opkg
2. check “ Enable opkg (preferably you need to have a “permanent” usb drive, for swap and
additional data)
3. change “Opkg Disk:“ to your prefered disk and click apply
To Uninstall:
1. On System => Packages, choose packages you wish to remove, beside ”Installed
packages”
2. click Uninstall
3.2 Download using transmission (using torrent)
1. go to Service => Transmission and at the bottom page click “start” if you haven’t done so
already
2. using your PC browser, go to your favorite torrent site (i.e btjunkie.org, torrentz.eu, TPB,
etc...), download and save it anywhere.
3. now in snakeos go to “Transmission”(at the bottom of the page)
4. this page will pop up ( enable pop ups, if you havent already)
brief explanation:
-Corner black circle, “Open” – to select torrent for downloading
Middle black circle,click browse, to select torrent from pc or enter url for
torrent directly from website.
-Top red circle buttons,to remove/pause/resume (self explanatory) torrent
downloading, bottom red circle.
-Top green circle, toggle “filter”, for viewing specific torrent with selected, bottom
green state
-Top blue circle, toggle information display, bottom blue circle
-Bottom Pink circle, toggle setting dispay, top pink circle
-Bottom purple circle, enable/disable speed limits
Introduction
Very simple way to have Debian (and its huge number of packages). Chroot is a shell (embedded
system within a linux) where you have debian libraries, packages and the whole deb environment
within SnakeOS host.)
You only need to have an USB device attached. (No serial connection needed.)
Use ext2 or ext3 file system to extract files below. (On FAT it will be extracted, but wont work!)
Details
1. ssh to NAS - or putty from win
2. #cd /usb/sda1
3. Download chroot debian with wget:
4. # wget http://snake-os.googlecode.com/files/debian_chroot.tgz
5. backup your earlier debian config files if needed.
6. # rm -R debian ! This will erase previous debian directory!
7. #tar -xvf debian.tgz
8. #mount -o bind /proc /usb/sda1/debian/proc
9. #mount -o bind /dev /usb/sda1/debian/dev
10.#mount -o bind /usb/sda1 /usb/sda1/debian/mnt/sda1 - this is not mandatory
11.# edit /usb/sda1/debian/etc/resolv.conf -Set your name server, if you need. Default is
192.168.1.1
12.#chroot /usb/sda1/debian/
Now you are in chrooted debian shell.
To exit debian use "exit" command or reboot.
Simpler Version:
1. use your fav SSH client (like putty for windows)
2. enter your snake ip address and your snake os ssh port no (22 default)
3. something like the picture on the right will appear
4. enter log in as: “root” password: your snake os password
5. a snake picture will appear.
6. write the command below(red word) into the terminal
#cd /usb/sda1
Download chroot debian with wget:
# wget http://snake-os.googlecode.com/files/debian_chroot.tgz
backup your earlier debian config files if needed.
# rm -R debian ! This will erase previous debian directory!
#tar -xvf debian.tgz
#mount -o bind /proc /usb/sda1/debian/proc
#mount -o bind /dev /usb/sda1/debian/dev
#mount -o bind /usb/sda1 /usb/sda1/debian/mnt/sda1 - this is not mandatory
# edit /usb/sda1/debian/etc/resolv.conf -Set your name server, if you need. Default is
192.168.1.1
#chroot /usb/sda1/debian/
Now you are in chrooted debian shell.
And sh-3.1#should appear
To exit debian use "exit" command or reboot.
4. Misc.
4.1 FAQ
********************************************************************
********************************************************************
Written by Robert Szabo
Q: Where is the firmware /binary ?
Answer:
Be aware: from snake and from original stock firm is different! Many people reporting that
they upgraded with wrong firmware and then it is bricked.
snakeos-V1.2.0-20100621-from-original.zip means upgrade this firmware if you have original stock
firmware. snakeos-V1.2.0-20100621-from-snake.zip use this if you have a previous version of
snake already installed.
Q: Can I upgrade my NS-K330 or WLX-652 with SnakeOS ?
Answer: Yes. Definitely. Recommended. More stable, and more functions.
http://groups.google.com/group/dealextreme-nas-/topics?hl=en
Q: Device lost all connectivity, no answer for ping, ssh, http, ftp. What can I do?
Answer1: Hard Reset it.
NS-K330 has a reset button. Push it while powering on, with the reset button held in for
45 seconds (counted to 60 just in case). After it showed up under the default IP (or at
least the one assigned by the DHCP server), by the MAC address. Some people reported
that router must be power off also during NAS reset. Some other people suggest to
directly connect NAS to PC via the ethernet cable, not via router.
Q: Serial connect
If hard reset was not enough - device not respond yet.
Answer2: If you are not lucky with hard reset, second chance you are able to serial
connect to device and telnet via the RS232-TTL converter direct connect. You also have
to connect nas with the rj45 cable for TFTP access.
Q: FLASHing -
Serial connect was not allowed - device not respond/boot. Seems bricked. :(
Answer3: If you not enough lucky with serial connection either, next chance to write
and replace Flash. Flash contains the boot, and root partitions. (BIOS and Operation
system together.)
There is a smart (and cheap) flash writer using parallel port + 4 resistor + 1 condensator.
See detailes here http://rayer.ic.cz/elektro/spipgm.htm
With this you can reprogram your flash. (Or ask guys from the forum here to do for
you.)
1. flash write,
http://groups.google.com/group/dealextreme-
nas-/browse_thread/thread/08df34f7df625832?hl=en
Most of the user don't need flash replace. Most of them have local network related
problems. (ex.: router don't give new IP address) So try first to shut down all network
elements before try to replace flash.
Q: Compile - dependences. What are known external dependencies for the source compile?
1. upx-nrv, libcurl3-openssl-dev, liblzo2-2, build-essential, kernel-headers, mtd-tools, ncurses-
dev, autoconf
Q: Compile. Hey guys it is great, How can I make my own one?
Answer:
mk_snakeos_image.sh script was made by Douglas which compile the kernel and make
root file system for JFFS, compress the binaries with UPX (which makes on the fly
decompiled binary)
You could upgrade your NAS with your newly created custom firmware, under the
http://nasaddress/ under system/firmware menu
Through samba i can read and write but by FTP i can only read. I haven't got write
permissions even though I have configured it in Snake OS.
Answer:
VSFTP root folder must have 755 but any sub folder for ftp write should have 777.
chmod 777/usb/PATH-TO-FOLDER
Q: How to copy files from one mounted partition to another mounted partition?
Answer: Connect with SSH and run the command below. It will copy the files of
source_folder to dest_folder and log the output to log.txt (place outside the involved
folders).
This way, you can even disconnect the SSH client and the transfer will continue.
Write Read
Type
MB/s MB/s
SMB
2-3 3 - 4,5
:
On NTFS the speed is MUCH_SLOWER!.
Use ext3 because it is fastest and safest, and SMB will hide which filesystem is under it.
Q: How can unrar files? Can I leave ssh session during unrar?
Yes. There is working ARM UNRAR for SnakeOs:
ftp://priede.bf.lu.lv/pub/Arhivatori/RAR/unrar/unrar-arm.tar.bz2
Q: Will it work with my internet provider (like Velox, Virtua, Speed and others)?
Yes. It doesn't matter what provider you have, it's necessary NAS be configured like
any other computer. Look at section about LAN settings.
Q: Which binaries can I download or compile to use with these NAS models?
You need to have linux ARM binaries.The processor is compatible with armv4t
instructions.
Q: My NAS will stop freezing when I install snake OS?
Original firmware has some problems related to CPU usage that causes freezing. This
problem was solved in Snake OS.
Q: What is the importance of using swapfile?
When system memory is full it will be necessary to use swapfile when applications
need more memory. When using swapfile you ensure memory requests will not be denied to
applications (like Transmission). If an application tries to allocate more memory than the
system have, your device can stop applications or freeze. A swapfile minimizes this risk.
Q: Is it possible to use USB hub?
Yes, you can use a USB hub and have more flash drivers connected to it.
Q: Does Snake OS support NTFS?
Yes, Snake OS supports NTFS for reading and writing. However, it could be a better
performance if you use ext3 or other Linux native file system.
Q: How can I know the version installed?
In the web admin interface, go to System -> Status, it will show OS version as "NAS
Version".
4.2 Troubleshooting
4.2.1. I've just updated to Snake OS but now my system doesn't start.
Check if the system led start. If not, you will have to make a serial connection to debug.
Refer to appendix.
If the system led start, it may have a cabling problem or your computer is not on the
same network as NAS. Refer to LAN Address section for info on how to setup your
network.
4.2.4. I can't access my NAS when I type its IP address at Windows, like \\192.168.0.240
It may have a cabling problem or your computer is not on the same network as NAS.
Refer to LAN Address section for info on how to setup your network.
Check if Samba service is started.
Check if you have user and password created on your device. When in samba "User and
Password Mode", the computer only show NAS shares if authenticated.
4.2.5. I can't update firmware because Snake OS says binary file is invalid
File may be corrupted. Try to download it again.
Check if you are running the correct firmware image. Refer to Updating firmware section
for details.
You will need to connect the pins GND, Tx and Rx to a TTL serial cable. This means that
the voltages used to transmit the information will be 0 volts to represent bit zero and 5 volts
to bit one. You MUST NOT connect a RS232 serial cable directly. The RS232 standard
interface uses a voltage range between +5 and +15 volts to represent bit zero and -5 to -15
volts to bit one. This RS232 voltages will burn your NAS.
This cable is used for Nokia cellphones. It is basically a USB to serial converter without the
MAX232 chip to convert the voltage levels to RS232.
The picture below shows this cable. In this picture, the cable end that would connect with
the cell phone was cut off and changed by a female pin connector (like those ones used to
connect the front panel leds in a PC motherboard). In the NAS board holes the male pins
was soldered.
I have cut off the cable end that would connect with the cell phone and changed it by a female pin
connector (like those ones used to connect the front panel LEDs in a PC motherboard). In the NAS
board holes I have soldered the male pins. The cable colors are -from left to right-
1. (GND) Black - Nearest to CPU black colored on the picture - (CPU is hidden under the
coin)
2. (TX) Red
3. (RX) White from usb cable soldered to yellow wire.
4. (Vcc) -Not connected.
You just have to connect the left 3 pins.
(note by ehabkost, Oct 7th 2010) The cable colors from the USB cable may not match the colors on
the picture above. For a CA-50 cable bought from Dealextreme on September 2010, the cable
colors were: 1. (GND) yellow; 2. (TX) blue; 3. (RX) red.
That is all the hardware you will need to connect your nas on an usb port of your PC.
8. Choose the port that was assigned to your usb cable and press ok.
9. On port configurations you have to fill the fields with the serial connection parameters or
the NAS chipset, that are:
Bits per second: 38400
Data bits: 8
Parity: None
Stop bits: 1
The flow control field you can leave it with the default value.
Now you have just to connect the serial cable on NAS and turn it on. You will see on Hyper
Terminal screen the boot and kernel messages. You can press any key during the uboot start
up to have the uboot terminal.
BLANK