projectnomad.blogg.se

Ubuntu 14.04.2 set static ip
Ubuntu 14.04.2 set static ip













ubuntu 14.04.2 set static ip
  1. UBUNTU 14.04.2 SET STATIC IP HOW TO
  2. UBUNTU 14.04.2 SET STATIC IP INSTALL
  3. UBUNTU 14.04.2 SET STATIC IP FULL
  4. UBUNTU 14.04.2 SET STATIC IP PASSWORD

UBUNTU 14.04.2 SET STATIC IP PASSWORD

The first one was the hostapd’s config file which is located here: /etc/hostapd/nf, by default it contains the following.Īll I had to do is replace the password and ssid lines with my choice. So I installed the package with the following command. I have used the dnsmasq as DHCP server, it was fairly simple.

UBUNTU 14.04.2 SET STATIC IP INSTALL

It pulled the package of the custom hostapd from github, then extraced it, and compiled the package and installed it into the default path’s.Īfter this all I had to do is configure the hostapd, and install a DHCP server on my Pi. Wget https: ///jenssegers/RTL8188-hostapd/archive/v2.0.tar.gz Then I entered the following commands in order. I have removed the already installed package, this switch of dpkgis like an atomic bomb 🙂 it cleans every trace of the package. I do not want to claim any glory for relaying the knowledge found there. This helped me a lot, so basically I had to follow the steps described in there. I was about to abaddon my project and buy a bluetooth dongle when I found this amazing blog. So I had to spend some hours digging the net for the proper solution.

ubuntu 14.04.2 set static ip

This module for some reason won’t work in this mode with the default hostapd package coming from the official Jessie repositories. I have a TP-Link nano usb based wifi module (v2). In order for me to pull this off I need to make connection in Ad-Hoc mode to my Pi. In my spare time I’m preparing my Pi for a DIY RC car which will be controlled via WIFI. I have been really busy lately… I’m preparing for my state exam to finish my university studies, which will close a quite big and dark chapter of my life. I hope this has been informative to you 🙂 Once our newly added torrent finishes it will be visible that the owner and group has changed by issuing the “ ls -l” command in our Downloads directory. Now all we have to do is start the daemon. There maybe cases when debian-transmission has no rights to use the “sudo”command and this can be worked around by editing the /etc/sudoers file adding the following.ĭebian-transmission ALL=(ALL) NOPASSWD: ALL The first line specifies the status of it, the second is the location of the scritps. “script-torrent-done-filename”: “/home/pi/Scripts/AfterDL.sh”, In here there are only 2 lines to be modified. The last thing of course is to modify the settings file of transmission. The first is to modify the owner and group of the AfterDL.sh script so that debian-transmission can use it.Ĭhown debian-transmission ~/Scripts/AfterDL.shĬhgrp debian-transmission ~/Scrtips/AfterDL.sh There are only 2 things to do before we can say start using it. The fourth line is changing the group of the file recursively in case its a directory, the last line changes the owner of the file.

UBUNTU 14.04.2 SET STATIC IP FULL

The third line creates the full path to the file. The first line tells the interpreter to use Bourne Again Shell, The second line retrieves the finished torrents name from the cli of transmission.

ubuntu 14.04.2 set static ip

I have given it the right to be executable with this command.Īwk ‘’) Then created the script which has to be run after each completed download. In order to configure this we have to stop the transmission daemon with the following command.Īfter this I have created a folder called scripts to my root folder with the following command. This may be usefull when you want to move the files to a share, or allow someone using a share to modify the downloaded files without any knowledge of the debian-transmission user and password.

UBUNTU 14.04.2 SET STATIC IP HOW TO

This post is going to show you how to enable a feature of transmission, which can run a script after a torrent was completed successfully.















Ubuntu 14.04.2 set static ip