How to get root access on new NAS?

Post Reply
MechMK1
Posts: 12
Joined: Thu Jun 20, 2013 12:22 pm

How to get root access on new NAS?

Post by MechMK1 » Sat Jun 22, 2013 1:13 pm

I have just bought a 2big NAS with two 3 TB drives and wanted to get root access to it. I have read a bit in the Wiki and the forum, but they don't mention any method with V3.0.5.6

What could I do now?

Mijzelf
Posts: 6205
Joined: Mon Jun 16, 2008 10:45 am

Re: How to get root access on new NAS?

Post by Mijzelf » Sat Jun 22, 2013 3:00 pm

The 'Custum Capsule' way is not yet tested with 3.x, but I think it should just work. The 'Enabling ssh with disassembling' might also work, but is a bit more complicated as for a networkspace 2, as you'll need to assemble the raid array.

MechMK1
Posts: 12
Joined: Thu Jun 20, 2013 12:22 pm

Re: How to get root access on new NAS?

Post by MechMK1 » Sat Jun 22, 2013 11:29 pm

I will then read into the topic regarding custom capsules, document all results and contribute to the project. Is there anything I should be especially aware of, like steps that could potentially brick my NAS or leave me unable to re-install my NAS OS 3?

MechMK1
Posts: 12
Joined: Thu Jun 20, 2013 12:22 pm

Re: How to get root access on new NAS?

Post by MechMK1 » Sun Jun 23, 2013 7:49 am

Well, the Network Assistant says uploading my custom capsule is not possible. I also tried creating a public share with a folder "Update" inside where I put my custom capsule file.
It rebooted without touching the capsule.
Any ideas?

Mijzelf
Posts: 6205
Joined: Mon Jun 16, 2008 10:45 am

Re: How to get root access on new NAS?

Post by Mijzelf » Mon Jun 24, 2013 7:16 am

How about updating using the webinterface?

MechMK1
Posts: 12
Joined: Thu Jun 20, 2013 12:22 pm

Re: How to get root access on new NAS?

Post by MechMK1 » Mon Jun 24, 2013 6:42 pm

I see no way to do that in NAS OS 3. There is no way to select a Capsule file

Mijzelf
Posts: 6205
Joined: Mon Jun 16, 2008 10:45 am

Re: How to get root access on new NAS?

Post by Mijzelf » Mon Jun 24, 2013 7:58 pm

According to some python files in capsule 3.0.5.6 an 'admin' share is scanned for /Update/*.capsule. But I don't know what that 'admin' share could be.

MechMK1
Posts: 12
Joined: Thu Jun 20, 2013 12:22 pm

Re: How to get root access on new NAS?

Post by MechMK1 » Mon Jun 24, 2013 9:01 pm

A.) I believe it is the share of the default user generated by the system when first setting up a new drive. Edit:// I tried uploading my 2.2.9.2.1 capsule to my NAS into an Update/ directory in my User's private share, into a public share called admin, in an Update/ folder in the admin share and in a new share called Update. Rebootet, but nothing.

B.) Where did you download a 3.0.5.6 capsule?


MechMK1
Posts: 12
Joined: Thu Jun 20, 2013 12:22 pm

Re: How to get root access on new NAS?

Post by MechMK1 » Tue Jun 25, 2013 9:31 am

I'll try my best to hack SSH support into that!

MechMK1
Posts: 12
Joined: Thu Jun 20, 2013 12:22 pm

Re: How to get root access on new NAS?

Post by MechMK1 » Tue Jun 25, 2013 11:42 am

I have created a 3.0.5.6.1 capsule, but I have trouble updating that. LNA says my firmware update is for 3.0.5.6.1 only and I have 3.0.5.6.

Could anyone please look into my description.xml? I believe the error is there.

Code: Select all

<Capsule>
	<Version>0.2</Version>
	<Device>
		<Hardware>
			<Arch>arm</Arch>
			<Subarch>feroceon_kw</Subarch>
			<Id>nas2big</Id>
			<Revision>1.0</Revision>
		</Hardware>
		<ProductId>2bignetwork2r</ProductId>
	</Device>
	<Type>update</Type>
	<ReleaseDate>2013-04-15</ReleaseDate>
	<Main>
		<File>uImage</File>
		<SHA1>bce0332fc13901c07db62ef45170d16b1bc249c2</SHA1>
	</Main>
	<Update>
		<Version>3.0.5.6.1</Version>
		<MinimalVersion>2.5.6.3</MinimalVersion>
		<TargetVersionList>1.2.6 1.3.3 1.3.6 1.3.7 2.0.4 2.0.5 2.0.6 2.1.2 2.1.3 2.2.3 2.2.7 2.2.8 2.2.8.3 2.2.9.1 3.0.5.6</TargetVersionList>
		<TemporaryStorage>RAM</TemporaryStorage>
		<db_patch.tar.lzma>
			<File>repository/db_patch.tar.lzma</File>
			<SHA1>55a59c1f19144abe55c75b9eaf8ab8cda81811f8</SHA1>
		</db_patch.tar.lzma>
		<RootFS>
			<File>repository/rootfs.tar.lzma</File>
			<SHA1>2341649b1bdbfcb055a2b349c12bcfb7bdb07835</SHA1>
		</RootFS>
	</Update>
</Capsule>

Post Reply