Tag: raspberry

Oct 08 2017

How to install Metasploit on Raspberry Pi 3

sudo su   apt-get -y install build-essential zlib1g zlib1g-dev libxml2 libxml2-dev libxslt-dev locate libreadline6-dev libcurl4-openssl-dev git-core libssl-dev libyaml-dev openssl autoconf libtool ncurses-dev bison curl wget postgresql postgresql-contrib libpq-dev libapr1 libaprutil1 libsvn1 libpcap-dev git-core postgresql curl ruby ruby-dev nmap gem libsqlite3-dev   gem install wirble sqlite3 bundler fastlane   cd /opt git clone https://github.com/rapid7/metasploit-framework.git cd metasploit-framework bundle install   …

Continue reading »

Apr 25 2017

Add proxy to Raspberry Pi 3

cd /etc/apt/apt.conf.d Create a file named 10proxy: sudo nano 10proxy Without authentication add the following line: Acquire::http::Proxy “http://yourproxyaddress:proxyport”;   With authentication: Acquire::http::Proxy “http://username:password@yourproxyaddress:proxyport”;

Mar 23 2017

Enable Google Authenticator 2FA for the SSH on your Raspberry PI

1.Install the lib and the program @raspberrypi:/# sudo apt-get install libpam-google-authenticator Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: libqrencode3 The following NEW packages will be installed: libpam-google-authenticator libqrencode3 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 59.7 …

Continue reading »

Oct 17 2016

How to fix Perl warning setting locale failed on Raspbian

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = “UTF-8”, LANG = “en_GB.UTF-8” are supported and installed on your system. perl: warning: Falling back to a fallback locale (“en_GB.UTF-8”). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot …

Continue reading »

Feb 10 2014

Add hardware clock to Raspberry PI version 2.0

Add hardware clock to Raspberry PI version 2.0   Raspberry PI GPIO Pin used are: •  Raspberry Pi GPIO Pin 1 (3v3) •  Raspberry Pi GPIO Pin 3 (SDA) •  Raspberry Pi GPIO Pin 5 (SCL) •  Raspberry Pi GPIO Pin 9 (Ground)

Continue reading »

Feb 04 2014

Raspberry Pi Revision identification

Raspberry Pi Revision identification Using the below command to show your Pi revision number. cat /proc/cpuinfo   The below are list of some different raspberry revision ‘0002’ => ‘Model B Revision 1.0’, ‘0003’ => ‘Model B Revision 1.0 + Fuses mod and D14 removed’, ‘0004’ => ‘Model B Revision 2.0 256MB’, (Sony) ‘0005’ => ‘Model …

Continue reading »

Feb 04 2014

Fix locale problems in Raspbian

Fix locale problems in Raspbian   pi@raspberrypi~ $ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE=UTF-8 LC_NUMERIC=”en_US.UTF-8″ LC_TIME=”en_US.UTF-8″ LC_COLLATE=”en_US.UTF-8″ LC_MONETARY=”en_US.UTF-8″ LC_MESSAGES=”en_US.UTF-8″ LC_PAPER=”en_US.UTF-8″ LC_NAME=”en_US.UTF-8″ LC_ADDRESS=”en_US.UTF-8″ LC_TELEPHONE=”en_US.UTF-8″ LC_MEASUREMENT=”en_US.UTF-8″ LC_IDENTIFICATION=”en_US.UTF-8″ LC_ALL= pi@raspberrypi ~ $

Continue reading »