📜 ⬆️ ⬇️

NAS i-Stor iS607. Modify file

Having bought into a quick review of i-Stor iS607 and its pretty little face, I bought it last week. Feelings are twofold. On the one hand, it works, but at what price, gentlemen. It seems I can now go adminin Linux server.

* NAS, or Network Attached Storage, is such a box with a screw that connects to the network and quietly performs the functions of a file server and torrent rockers standing in the corner. Better than special servers in the following parameters: of course, price, size, power consumption.

Short.


Should I buy?
No, if you are not a Linux guru and / or do not like to bang your head on a wall.
')
Minuses.

Pros.


image
* Brazen tyryu picture from the same topic

In this post I want to collect my experience setting i-Stor iS607. Because there is very little information on the Internet and I had to re-read everything in general in order to achieve at least something. To make it easier for the Habravchan brothers (although I have no doubt that most of you would successfully complete this quest on your own and probably faster than me), I publish the instructions in one place.

Long


I have a weak MacBookPro, which I constantly carry with me, and I have a screw on it 200 (not real) gigabytes. Therefore, I wanted to myself a file storage / torentokachalku. To stand in the corner and file the torrent and torrent. Moreover, there is a screw on a terabyte.

Being an ardent Apple fan, I went and bought a Time Capsule i-Stor iS607 , because it looks like a Mac Pro. A sort of Mac Pro Mini. By the way, a great idea, the existing Mac Mini doesn't impress me at all. I really hoped that I would turn it on to the network and everything at once would magically be good, logical, and most importantly work.

Well, I do not.

I was lucky 3 times. The first time I slipped at the door and almost nafig broke the 607th and lying next to the screw. The second time - my screw (hurray!) Was supported by it, and as I found out from the huge 39-page branch of the forum , this happens only 3 times during the winter solstice on even years. 37 pages out of 39 cry about this. And finally, I was lucky with the old Dlink DIR-300 WiFi point, even though someone said that the device does not hold it. In the same forum, a couple of pages crying about expensive routers to which the iS607 is squeamish about connecting at all or running at 3600 Bod.

So setting.

From the very beginning, I was greeted by a stupid braked Web snout, in which the default language is Chinese in the options, even though the interface is in (Chinese) English. On the Internet, they write that telnet is available there. I probably got a special new version in which they decided to remove it. NO TAM TELNET. And it does not react to any magic files in the / applications / new_software folders in different variations of the register and the position of the words.

The iS607's built-in torrent is also a bit more than full. Download them completely impossible nothing and nothing.

Here is a good man gathered instructions for setting up. DO NOT DOWN THE FIRMWARE FROM THERE . At me it stupidly did not react at all to anything except the web of the muzzle, which did not load the menu. Neither telnet nor ftp nor samba. And in the same 39-page topic, 15 people discuss how to kill a dead device by flashing it back to life with the help of an old wire from a Siemens phone. Raise your hand, who has at hand a wire from a Siemens phone and a soldering iron.

And the topic starts so well from the first post:
RS232 pinout on i-Stor iS607 board
Connector j2 (10-pin) - under the transparent label on the left above the disk.

I already began to think about looking for a hammer and trying to fix this thing in the old Russian way, but in the depths of the same epic topic on the forum I found a person who had the same problem. He, therefore, wrote a plea for help about this, and three days later he came and shared his decision.

Gentlemen, it was NECESSARY TO CLEAN COOKIES! That is, the person did not sleep for 3 days, did not eat, but tried all possible and impossible techniques to do something about it. I would not be surprised if he splashed around him with a tambourine and read him bedtime stories. Then his 13-year-old brother came, climbed the 18+ sites, cleared the cookies for him and EVERYONE HAVE EARNED!

I don't have a 13 year old brother. What would I do, I do not know.

In general, earned a muzzle. And nothing more. Thank Bosch, I found this firmware .

(1) BECOMING A FIRMWARE FROM HERE

We download the file and make an update through the iS607 web-muzzle. It has ssh. Login: root, password: *********** (that is, what you installed in the webmord user admin). NFS does not work for me with a poppy on any firmware no matter what I do. I do not know whose jamb.

(2) PUT OPTWARE

From the same FAQ, download the file with optware. With this firmware, no / Public / Software / New_Software work and telnet is not there. Copy the contents of the archive (another archive and init script) into the folder public / applications / optware and run the script. It will copy optware to the public folder below.

(3) OPTWARE APPALITY

ipkg update
ipkg upgrade

The script was supposed to register a link to the optware folder and add a junk slip to the PATH. IN NO EVENT, DO NOT RESTART . Dull garbage resets all settings, if you happen to have it, scroll down.

What I did not understand, it looks like the system is holding onto some kind of flash drive with a size of 16 megabytes. So you will not be able to disperse especially in the software. A friend advised me to install nano, but it was bent already at the stage of downloading the distribution.

(4) BEGIN TRANSMISSION

ipkg install transmission

I did this. Transmishn last I really liked. He has a super web muzzle at http: // ***: 9091 / transmission / web /. He needs to register a config. In the public folder, I made the config folder and shoved settings.json with that content there.

{
"Alt-speed-down": 50,
"Alt-speed-enabled": false,
Alt-speed-time-begin: 540,
Alt-speed-time-day: 127,
"Alt-speed-time-enabled": false,
Alt-speed-time-end: 1020,
Alt-speed-up: 50,
"Bind-address-ipv4": "0.0.0.0",
"Bind-address-ipv6": "::",
"Blocklist-enabled": false,
"Dht-enabled": true
"Download-dir": "\ / mnt \ / ide2 \ / public \ / bt_download",
"Encryption": 0,
"Incomplete-dir": "\ / mnt \ / ide2 \ / public \ / bt_incomplete",
"Incomplete-dir-enabled": true,
"Lazy-bitfield-enabled": true
"Message-level": 2,
"Open-file-limit": 32,
Peer-limit-global: 240,
Peer-limit-per-torrent: 60,
“Peer-port”: 51413,
Peer-port-random-high: 65535,
"Peer-port-random-low": 49152,
"Peer-port-random-on-start": false,
"Peer-socket-tos": 0,
"Pex-enabled": true
"Port-forwarding-enabled": true
"Preallocation": 2,
"Proxy": "",
"Proxy-auth-enabled": false,
"Proxy-auth-password": "",
"Proxy-auth-username": "",
"Proxy-enabled": false,
"Proxy-port": 80,
"Proxy-type": 0,
"Ratio-limit": 0,
"Ratio-limit-enabled": false,
"Rename-partial-files": true
"Rpc-authentication-required": false,
"Rpc-bind-address": "0.0.0.0",
"Rpc-enabled": true
"Rpc-password": "{b1ed3f8df078500240e5bafe5e8b1c10cf1b3b8fVE3nfcdL",
"Rpc-port": 9091,
"Rpc-username": "",
"Rpc-whitelist": "127.0.0.1,192.168.0. *",
"Rpc-whitelist-enabled": true,
"Speed-limit-down": 100,
"Speed-limit-down-enabled": false,
"Speed-limit-up": 100,
"Speed-limit-up-enabled": false,
"Umask": 18,
Upload-slots-per-torrent: 20
}

I tried to make an authorization, but in any configuration he didn’t care and I scored.

(5) PUT ANY JUNTER FOR TIME MACHINE

Since Time Machine stubbornly refused to back up to the iS607 samba disk, I had to install AFP support. With him, by the way, the external stack does not fall off or falls off very rarely. Samba I have to periodically reconnect. And judging by the forum, not just me.

So again we are looking at this topic . I quote removing the excess. DO NOT REBOOT !!! Go - this is SSH, and you can edit from samba.

6.1. download afpd.tgz file
* Post content to / public / applications / afpd /
6.6. We follow the path / public / applications / afpd /
6.7. Go to the conf directory
6.8. Edit the afpd.conf file - go to the last line and view,
there are paths to different files in them may be incorrectly specified
disk mount point - ide1 - forward it to your own, save the file
6.8.1 I experimented, and personally changed this:
a) noddp - nevertheless decided that it is the most correct option
b) -guestname guest - removed it altogether, because by default it should put nobody
c) added the setpassword parameter so that users can change passwords themselves
6.9. Edit the AppleVolumes.default file - the format is simple: first go to the directories on the drive,
then after allow: a list of logins separated by a comma to anyone. save
6.10. Go back to the previous directory / afpd
6.11. Execute commands:
6.11.1 rm ./conf/afppasswd
6.11.2 ./bin/afppasswd -c -p ./conf/afppasswd
6.11.3Now we set passwords for accounts, regardless of the standard setting
./bin/afppasswd -a -p ./conf/afppasswd account_name
and enter the password twice.
(here is an ambush, for some reason I did not allow to enter complex passwords,
only simple ones like 123456 or qwerty, but qwerty1234 does not give)
the problem with the password was solved only by allowing the user to change his password,
and this change allows you to generate any passwords (set the minimum length limit in afpd.conf)
* Run init


I also failed to set complex passwords. Akak did not change them myself. Tell me who knows.

Next, put avahi as written again there.

7.1. download avahi.tgz file
* Copy to the folder / public / applications / avahi /
7.6. We follow the path / public / applications / avahi / conf
7.7. Editing the file /public/applications/avahi/conf/Avahi-deamon.conf
7.7.1 I edited the parameter: host name - specified the name that should be displayed in the network environment
7.7.2 deleted the line domain-name = local - by default it will substitute
7.7.3 changed rlimit-nofile = 30 to rlimit-nofile = 20 because in the description they write:
“Avahi-daemon shouldn't need more than 15 to 20 open file descriptors concurrently.”
7.7.4 changed rlimit-nproc = 3 to rlimit-nproc = 5 so that with a margin was))))
7.8. Remove excess registration in DNS
7.8.1 enter the service directory
7.8.2 transfer all * .service files (except of course afpd.service)
from current directory to disabled directory
(of course you can just delete it, but then suddenly we want to raise something else)
* Run init


After that, I got AFP coverage right away. Now you need to create a special image so that you can backup our belongings to Time Machine. It is done this way. You need to allow it to backup to network drives with the command

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

They say you need to rebut. I put it up a year ago, when I backed up onto a Windows disk, so I don’t know. Rebuild the MAC, not the device, and perform the following. First find out your MAC address ethernet.

ifconfig | grep ether

sudo hdiutil create -size $ GIG g-type SPARSEBUNDLE -nospotlight -volname "Backup of My Mac" -fs "Case-sensitive Journaled HFS +" -verbose ./ $ Computername_MACaddress

In this $ GIG command, replace with the maximum size in gigabytes, $ Computername with the name of your computer on the network, and MACaddress with the known MAC address without colons. It turns out something like mycomputer_001234567890.

This will create a 150 meter file that you want to copy to the device. To disk where you want to backup. After, show Time Machine on it, and it all worked for me.

(6) BACKUP WITH HOSTING

On a poppy, I use rsync and back up files from hosting from time to time. Delivered rsync through optware and made myself a script to back it up.

#! / bin / sh
su valyard
rsync -zre ssh *** @ ***. ru: / home / *** / domains / mnt / ide2 / public / webbackup /

To see through AFP, you need to backup under those from whom you enter and not under the root.

(7) TERRIBLE CATCHER

I do not know what to do and why, but with each reboot, i-Stor iS607 overwrites at least everything that was in my / root folder and completely forgets about all the settings. At the same time, none of the autoruns that I know of do it. Thank God it's not in the / mnt / ide2 folder. So you have to write and restart everything again. I wrote myself a script that I launch manually.

#! / bin / sh
ln -sf / mnt / ide2 / optware / / opt
PATH = "$ PATH: / opt / bin: / opt / sbin"
/ mnt / ide2 / public / applications / afpd / init
/ mnt / ide2 / public / applications / avahi / init
transmission-daemon -g / mnt / ide2 / public / config

Findings.


What can I say, it would be better if I assembled miniATX with Windows. How to push the buttons I seem to know. From the story it seems that I quickly nadybal information and put everything. Nifiga It is very difficult to find anything useful by i-Stor iS607. I hope this post is indexed by search engines and desperate people will get here, because there is no official technical support.

In general, I do not advise taking iS607. This is some kind of unsupported clone is not clear what. I was advised by WD MyBook World Edition, for which there is a whole community and you can ask someone. But he is not such a simp and does not hold two disks. Moreover, I already had a screw.

But, still need to say that the device works. After completion of the file. And performs its functions. If you do not pay attention to the braking and falling off samba. Copy speed is normal. By wiring, it reaches me up to 9 megabytes per second. I think you can live. For the sake of web muzzle transmission is definitely worth leaving.

I'll get myself an external IP and will put torrents from work for download.

PS


If someone knows the best solutions and / or has any tips to make, feel free to write. I look cautiously at Linux and he reciprocates me, so I will not pretend to be a powerful guru.

Source: https://habr.com/ru/post/83548/


All Articles