Skip to main content

Posts

Enabling SSH on Raspbian OS

You just flashed your SD card with latest Raspbian image and booted up your Raspberry Pi only to find out SSH is no more enabled by default. Now you're baffled, but don't worry it is not as difficult as it seems. Here's what you can do to enable SSH on your Pi: Mount SD card (2nd partition on SD card) on your laptop or computer. Create a file /etc/SSHFLAG (doesn't matter empty or write something to it) on the mounted partition. Edit /etc/rc.local and add these lines at the end: if [ -e /etc/SSHFLAG ]; then   /bin/systemctl enable ssh   /bin/rm /etc/SSHFLAG   /sbin/shutdown -r now fi Unmount the SD card properly from your laptop/computer (by following whatever proper mechanism applies to your OS). Mount it on Pi and turn Pi on. Wait for a few minutes to let it boot fully. Try SSH now, you should be able to connect as long as you get the networking part right.

My Vista 20P Security Control Panel Cheat Sheet

To Reset Installer or Master code: Disconnect battery from the panel. Disconnect transformer from wall socket. Keyboard panel should be dead now. Connect transformer/AC. Within 50 seconds press and hold the * and # keys simultaneously for 3 full seconds. Connect battery. "installer code 20" or "20" should show up on the LCD. To Reset installer code: Press *20 followed by 4 digit installer code. Hear 3 beeps. To set a new master code: [installer code] + 8 + 02 + 4-digit-master-code. You can set other user codes now: Add a user code: [Master Code] + [8] + user # + [New user code] + [New user again]         user # 01 => Installer  (Installer can change installer code). user # 02 => Master         user # 03 => Partition 1 master         user # 05 => could be a good new user.               <=49         user 3 to 32 => defaulted to part...