Connect to your OpenWRT-Router using SSH On windows you may use PuTTY (replace the IP address with the one of your OpenWRT-Router) On linux you may use openssh If not installed run the following command: Connect to your OpenWRT-Router using the following command: Delete DHCP-lease by removing the line in
Continue readingTag: Linux
Ubuntu: Mount Bitlocker-Encrypted partition
Install dislocker Create folders for mounting Decrypt drive Mount partition Mount NTFS if above command is not working Mount automatically using /etc/fstab Instead of using your user-password you can also use the recovery-password by using the parameter recovery-password instead.
Continue readingLinux: set hostname using hostnamectl
To set the hostname of a linux system run the following command in a terminal session Reboot system
Continue readingopenHAB 2 – Add bindings via configuration file
Map your openhab-SMB-Share \\openhab\openHAB-conf Now you can open the File addons.cfg in the services folder (\\openhab\openHAB-conf\services) Uncomment the binding line and add the bindings you want to have installed Important: if you decide to install bindings via the addons.cfg-File you cannot add further bindings by using the PaperUI –> To
Continue readingIncrease LVM Partition
First you need to check that there is free space available to use. To view the logical volumes use the following command Expand volume -L+20G –> extesion by 20GB-L+100%FREE –> use all free space Resize the file system For ext3/ext4-Partitions you can alternatively use Other useful commands
Continue readingJoin Debian / Ubuntu to Active Directory Domain
To domain-join an debian / ubuntu – server you first need to install realmd and its dependencies Join the server to your Active Directory-Domain If you need to, replace “administrator” with another authorized user. If the above command fails:check if your user has the required permissionscheck the passwordtry the following:
Continue readingKali Linux: metasploit – initial setup – database setup
Before running metasploit framework on kali you should first setup the msfdb (database) Start postgresql-service Set up database (msfdb) If you want to make postgresql automatically run on system startup enable it by executing the following command Start metasploit
Continue readingReconfigure timezone in Debian Linux / Kali Linux
Kali Linux – Virtualbox – 2 network adapters (NAT & Host-Only) – dhcp
To make two network adapters in Kali Linux work with dhcp use the following configuration: Edit /etc/network/interfaces Your config should look like this Save your file by pressing [strg] + [x] and then press [y] and [Enter] Reboot It is possible that your interfaces are named different (maybe eth1 and
Continue readingInstall NVIDIA Graphics Drivers on Ubuntu 18.04 Linux
Download driver https://www.nvidia.com/download/driverResults.aspx/114708/en-us Remove the installed NVIDIA drivers Disable Nouveau driver Install the downloaded NVIDIA Graphics driver Press tab instead of typing …
Continue reading