2015年6月26日金曜日

start MATLAB license file at startup on OpenSUSE 13.2

1. create the following links if they do not already exist:

ln -s $MATLAB/etc/lmboot /etc/lmboot_TMW
ln -s $MATLAB/etc/lmdown /etc/lmdown_TMW

2. copy boot file to startup directory:

cp $MATLAB/etc/flexnet.boot.linux /etc/init.d/flexnet

3. look in /etc/inittab for the default run level, and create a link in the rc directory associated with that run level. for example, if run level is 5, then:

cd /etc/init.d/rc5.d
ls -s ../flexnet S13flexnet

setting up openssh on SuSE 13.2

1. configure ssh daemon at:

/etc/ssh/sshd_config

2. to enable ssh server, do the following as root:

systemctl enable sshd
systemctl start sshd

3. to restart sshd after a change to sshd_config:

rcsshd restart

4. can check if a specific port is open:

nmap -p PORT_NUMBER IP_ADDR

5. generate private and public keys (id_rsa, id_rsa.pub) using the following:

ssh-keygen

6. to upload the public key to the server:

ssh-copy-id name@ssh.server.org

using Cygwin in windows 8.1, need to run:

chgrp Users ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa

2015年6月6日土曜日

lenovo x240s bluetooth trouble

bluetooth stopped working after some windows 8.1 automatic system update, to the extent that bluetooth disappeared from "network adaptors" in "device manger", and "PC & device" stopped showing the "bluetooth" tab. turns out it's a Intel driver update problem:

https://forums.lenovo.com/t5/X-Series-ThinkPad-Laptops/X240-with-7260-ac-the-bluetooth-not-working/td-p/1369101

basically I need driver version 3.1.1307 for Intel 7260. thanks for user Mariusz for the valuable find!