#This SOFTWARE is distributed is provide "AS IS" in the hope that it will be useful, but WITHOUT ANY WARRANTY; #without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # #Dragos Iosub, Bucharest 2017. #http://itbrainpower.net Bellow are the patches applied in the "2017-01-11-rasp-jessie-lite-configured-itbp-modems.zip" image, starting from the original Jessie Lite image [downloaded from the https://www.raspberrypi.org/downloads/ at 2017-01-11]. 1. Additional packages installed: sudo apt-get update sudo apt-get install ppp sudo apt-get install python-serial sudo apt-get install mc sudo apt-get install mtr 2. Enable sshd & disable serial console. Made via: sudo raspi-config 3. Edit /etc/rc.local, add following lines, before "# Print the IP address" line: sleep 10 /sbin/ifconfig eth0:0 192.168.122.200 up > /dev/null# supplementary static IP address 4. Edit /boot/config.txt, and comment line "enable_uart=0", like bellow [in this way you enable the /dev/ttyAMA0 port]: #enable_uart=0 5. In same file [/boot/config.txt] add following 3 lines[1'st. disable BLE on /dev/ttyAMA0; 2'th. enable BLE on SERIAL1; 3'th fix proper frequency to be used in conjuction with SERIAL1]: dtoverlay=pi3-disable-bt dtoverlay=pi3-miniuart-bt core_freq=250 6. Disable serial getty via following two commands: sudo systemctl stop serial-getty@ttyAMA0.service sudo systemctl disable serial-getty@ttyAMA0.service 7. Patch the hciuart service. Edit the SERVICE section in /lib/systemd/system/hciuart.service, like bellow [comment the original line, add the second one]: #ExecStart=/usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow - ExecStart=/usr/bin/hciattach /dev/serial1 bcm43xx 115200 noflow - 8. Set root password [default root passord set to 1234] sudo passwd 9. Enable root remote login via ssh. Edit /etc/ssh/sshd_config [Authentication section]. Comment first line, add the second one #PermitRootLogin without-password PermitRootLogin yes Enjoy!