DS212j NAS cant install DSM 5.0-4493 - nas

So I got a second hand ds212j it has 1 blank hdd in it currently in the disk 2 spot. Synology Assistant sees the device, but when I go to install DSM 4493 Synology Assistant tells me I need version 4493 or higher, but that is the only one i see on the site. I read to try to do the ip of the device and port 5000 but that didn't work and i think that's because its a brand new hdd with no DSM. I have also tried to find older versions of Synology Assistant, but could not find one.
Synology Assistant is version 5.0-4448
How to get DSM installed on this new machine?

You can't login to the device because the DSM isn't installed yet.
The .pat file downloaded needs to not have any extra characters in it (I tried to download the global file first, Asia was quicker but saved with (1) in the filename).
File named DSM_DS212j_4493.pat will work to install the DSM.
Hope this helps.

Related

Windows Desktop doesn't show up on WSL

I just recently set up WSL with Ubuntu 18.04 on my new windows computer. I know that to access my windows files from the linux side, the C:\ drive is mapped to /mnt/c. When I try to cd to /mnt/c/Users/malik22/Desktop, however, I get a No such file or directory error. I access my window Downloads, Documents, etc. just fine from the linux side, but for some reason Desktop seems to be the only one not present.
I've been using WSL for over a year now on my old computer and have never run into this issue. Any ideas?
If your Desktop is backed up in your OneDrive it won't show up in your user directory.
You can either create a symbolic link as mentioned below by #raghav-malik or else choose to not back up your Desktop (you can instead back up your Documents directory).

How do I manually configure NI Visa on linux

I'm trying to get the National Instruments Visa library (without Labview) working on a Redhat Enterprise Linux 6.7 PC. It comes with some configuration utilities (NIvisaic & visaconf) to find and setup the instruments but after a week of trying we've given up trying to get them to run. I know from windows it's just a configuration text file visaconf.ini but I don't know where to put it or if it's the same file & format for linux. Bottom line, how do I manually configure NI Visa in Linux ?
Why not use the PyVISA library?
https://pyvisa.readthedocs.io/en/stable/

Issue Installing Elastix 4.0 via Bootable USB - CentOS7 Error

Goal
I was attempting to install Elastix 4.0 on a home PC via a Bootable USB, but never had any luck getting it to install past the CentOS7 part (it kept giving me a "Warning: /dev/root does not exist" error).
What I've Tried
My main PC is Windows 10 Pro, so after downloading the latest Elastix 4.0 .iso from "http://www.elastix.com/en/downloads/" (Elastix-4.0.74-Stable-x86_64-bin-10Feb2016.iso) I used UNetbootin to create my Bootable USB for Elastix 4.0. I put the now Bootable USB into the PC I want to put Elastix 4.0 on and started it up.
It gave me the "Install Elastix 4" menu, so I hit enter and waited. Then the install proceeded to do its checks for CentOS7, but ended up getting stuck and gave me an error message "dracut-initqueue[580]: Warning: Could not boot." and "Warning: /dev/root does not exist".
This is where I am stuck and cannot proceed.
EDIT #1: I signed up for the Elastix forms, and someone else also had this issue. They said they downloaded the .iso and used Rufus to make a Bootable USB, and then booted the installation using the Troubleshooting -> Install CentOS 7 using Basic Graphics ... but according to them, that apparently corrupted something else and then they opted to just use a DVD.
EDIT #2: I tested this, and making a Bootable DVD of the .iso does work great for local machines. Installing it via a VM also seems to work without hassle. As a personal goal, I would like to get this working via a Bootable USB.
Research
I did some research but a lot of the solutions I've noticed are using the dd command in Linux to make a Bootable USB for just CentOS7 because it is (was?) known that UNetbootin did not properly make a Bootable USB for CentOS7, and I can't seem to find anything that would assist in making the Elastix 4.0 .iso work properly via a Bootable USB. I did try other tools such as Rufus 2.7, Win32 Disk Imager, ISO2USB, and dd for Windows, though most rendered my USB not bootable at all (Rufus worked OK, but still got stuck at the CentOS7 part). Also, installing via a CD/DVD is not ideal, as I have no CD/DVD drive (and I want to see if I can get this working via a Bootable USB drive).
There seem to be a few guides out there for trying to create a Bootable USB for Elastix 2.x, but nothing for Elastix 4.0. Reviewing those, it looks like the guides reference some files that do not exist in the new .iso (ex: ks_default.cfg). Still, my issue pertains mainly to the CentOS7 error I'm getting so I don't think this is related.
Any assistance with this is appreciated, and if you require more information from my end just let me know. I'm willing to try / re-try anything.
Thank you in advance.
http://henrysittechblog.blogspot.ru/2014/01/install-elastix-from-usb-step-by-step.html
Look for this line, but it may change:
append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 inst.ks=cdrom:/dev/cdrom:/ks/anaconda-ks.cfg quiet
Change it to:
append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 inst.ks=sdb1:/dev/sdb1:/ks/anaconda-ks.cfg quiet
Hi there i solve this problem 80%.
i did some manual change at line:
inst.ks=cdrom:/dev/cdrom:/ks/anaconda-ks.cfg quiet
Mine:
inst.ks=scsi:/dev/sdb1:/ks/anaconda-ks.cfg quiet
hd is not recogniced by Centos7.
made my usb bootable with rufus 2.9
then open isolinux.cfg with notepad++
just change the line
inst.ks=hd:sdb1:/ks/anaconda-ks.cfg quiet
where sdb1 used to say cdrom

Installing chrome OS on an iMac

http://zzsethzz.blogspot.de/2013/02/install-chromium-upgrade-it-to-chrome.html
According this tutorial, I should remove all HDDs I do not want to install chromium OS to during install. I wanted to try this guide on my imac using an external SSD for chromeos. Obviously, removing the HDD isn't an option. Will the chromiumOS installer format my mac drive too, if I don't remove it?
AS the writer of that tutorial I can hopefully help you. When you install Chromium OS to begin with you can specify where to install to if you know your unix commands well enough. and then from there you can update to Chrome OS once you have your external working for you.
To find out what your hard drive is when connected, open a terminal (you may need to use a developer terminal) and use the command "fdisk -l" This will list your hard drives. for example /dev/sda1 etc...
Your install command would be "Install /Dev/sda1" but replace the dev part with whatever your hard drive was listed as. If you need further help email me at admin#xiaorishu.co.uk

Automate CentOS installation with VMware for testing

Is is possible to automate the installation of an OS using VMware or any other virtualization product?
One of our products consists of a customized version of CentOS that installs the OS and our application on a server. It's much like any CentOS/RHEL installation where you choose a mode that corresponds to different kickstart options, and then you choose your keyboard type. The rest of the installation is automatic.
What I'd like to have is an automated system that will create a new guest VM, boot it with the ISO image of our product, start the installation (including choosing the keyboard), wait for the reboot, and then launch a set of automated tests.
I know that there are plenty of ways to automate the creation of new VM guests from existing templates/images, and I know you can use the VIX API to interact with virtual machines, but the VIX API seems to require that VMware tools is already running (which won't be the case when you're booting from the CentOS install disk).
This answer (Automating VMWare or VirtualPC) indicates that you can script VMware to boot from an ISO that does an unattended installation, but I would really like to test the same process that our customers will be using.
Another option might be to use Xen's fully-virtualized mode and see if scripting it over the serial port will work.
TIA,
Jason
I have a very very similar question, it is on superuser:
https://superuser.com/questions/36047/moving-vmware-os-image-as-primary-os-on-a-system
You can also use VirtualBox instead of VMWare. The VirtualBox SDK allows you to directly control the keyboard, the mouse the serial port and the parallel port of the guest without the virtualbox guest tools installed.
Unfortunately it doesn't offer a text console interface but the serial port can be connected to a local pipe file and that can probably be worked with just as well.
This may not be exactly what you need:
I have done something similar with a Ubuntu-based install. We used preseeding (Debian's form of kickstart), to answer all the questions during the install - providing the preseed file and the installer via tftp.
In addition to the official Ubuntu mirror we added the apt-server with our own packages in the preseed file. We put a .deb version of vmware-tools on the apt-server and added it to the packages to be installed.
The .deb of vmware tools just contained the .tar.gz and a postinstall script that would extract it to /tmp and run the vmware install script (which has a switch to be run unnattended, so it does not ask any questions).
So after the reboot vmware-tools were up and running and we could use vix to script the rest (which was not very reliable).
If you should encounter problems with running vmware-config.pl during boot, you could make a custom package that just extracts the tools and an init script that installs them on first boot, disables itself and reboots.
Maybe you can use this strategy (replacing apt by yum, preseed by kickstart and tftp by a remastered iso). If you really need to test that your users choose a keyboard in the installer (which is not very different from kickstart) this would obviously not work for you..