segunda-feira, 4 de janeiro de 2016

Install Linux on Raspberry PI2 - part 2 - setup static ip address


Hi,

as described on Part 1, after flashing the sd card with the Raspberrian Jessie, the pi is ready to start with configurations.

After a boot, the first thing, is what is the ipaddress of the eth0; well it comes with default dhcp configuration.

After some inspection, i found that the /etc/networks/interfaces is not working as older linux.

To configure with a static ip address make this:

1. goto /etc/network/interfaces, and configure ip interface mode for eth0

iface eth0 inet manual

2. the static ip configuration is done on /etc/dhcpcd.conf

add to the end of the file

interface eth0
static ip_address=192.168.0.1/24
static routers=192.168.0.254

With this configuration the pi will be with ipv4 192.168.0.1
Configure your PC with ipv4 : 192.168.0.2, with netmask 255.255.255.0

Than test the conection :

ping 192.168.0.1

And static ip is done.
After this download a ssh like putty or excelent mobaxterm.

The login credentials will be :

mode : ssh2
user :  pi
password : raspberry


That´s it.

best

Java Obfuscate Properties

Hi there how many times we have fuckin stupid commentaries of , hey the code has a password... bullshit you can always get the password... ...