Archive for the ‘Linux’ Category

– Installing Apache with the following commands: sudo apt-get update sudo apt-get install apache2 In order to check if Apache is working, we can open a browser and load the port 80 from our Raspberry Pi (in my case http://192.168.1.20). – Installing php with the following command: sudo apt-get update php5 libapache2-mod-php5 We can check […]

Tuesday, August 9th, 2022 at 16:00 0 comments

I’m going to explain how to install and configure a shared folder hosted in our Raspberry Pi to be accessed from our Windows PC by using Samba. Installing samba packet by typing the following command: sudo apt-get install samba samba-common-bin Creating a backup for the configuration file: sudo cp /etc/samba/smb.conf /etc/samba/smb.conf2 Editing smb.conf file: workgroup […]

Sunday, August 7th, 2022 at 15:09 0 comments

Sometimes we got problems when resolving DNS because some app is messing around. We can check the DNS server list with the following command: cat /etc/resolv.conf We can add Google servers to resolve DNS to ensure that the conection issue won’t be related to DNS anymore. sudo nano /etc/resolv.conf and we’ll add nameserver 8.8.8.8 To […]

Thursday, August 4th, 2022 at 16:00 0 comments

I’m going to pair my bluetooth keyboard+touchpad (Bluetooth iPazzPort), i’ll use the bluetoothctl tool. First we’ll install the required packages with the folllowing command: sudo apt-get install pi-bluetooth bluez bluez-tools We’ll start bluetoothctl -a in order to enter the program. Here i had a problem with the bluetooth daemon (the systemctl status bluetooth command returned […]

Thursday, August 10th, 2017 at 16:00 0 comments

After the first boot, we need to connect our Raspberry Pi to the Internet, and enable a SSH client in our pc to control it remotely. You can access the router configuration page (usually http://192.168.0.1) to check out all devices connected to the network and get the Raspberry Pi IP. In my case i’ve got […]

Sunday, September 20th, 2015 at 23:27 0 comments

In linux, when a new device is inserted, a new file will be created at /dev to handle it. When a storage device is inserted, It’ll be created /dev/sdX, where X is a letter between a and z that will increase as we insert more devices. If we only have one, we’ll have /dev/sda. If […]

Sunday, August 11th, 2013 at 19:56 0 comments