Posts

Showing posts from 2018

pfSense: Small internet proxy for small office

I'm working in a small office with round 100 PC. We have a local network to work but need to separate internet with local one. After tried a lot of solution like ISA 2008, ccproxy... I really like to use open source solutions, after all I choose pfsense. Lets begin OS, I have an DELL desktop pc - optiplex 7040: core i5 7th gen, 4GB of RAM, 500 GB of HDD and it shipped with windows 10 - best windows OS atm with Hyper-V inside. With Hyper-V enabled, go to make gen 2 virtual machine, why gen 2? Because with pfsen stable branch 2.4.x, BSD core support uefi and I tried, it working very well with hyper-V

SMSTools3

Today, I will show you how to use OpenWRT + SMSTools3 to make a tiny server for receive SMS from Operator then push it on to Telegram group. 1. Openwrt is open source, u can get newest image from ther website, just google it. 2. I using a raspberry pi B+, for very small power consuming and burn image to its microSD card. 3. After install image and start your openwrt in Pi, use a terminal and use following command:     opkg update     opkg install smstools Forget a very important thing, haha that u will need an 3G/4G dongle so u can push a SIM card and use it to send SMSs. My choice is a Huawei modem: e173eu-1, it locked with Operator Viettel in Vietnam. U will need to intall some packages then can use this dongle. They are:     kmod-usb2 kmod-usb-ohci kmod-usb-serial kmod-usb-serial-option usbutils usb-modeswitch kmod-usb-storage kmod-scsi-core kmod-scsi-cdrom kmod-scsi-generic picocom After install those packages, u can now log in...

Openwrt - Extend your router, raspberry pi and more...

Wordpress is interesting!

I'm creating new Wordpress now! Now I wonder why novice want to get a Wordpress site so much. My Wordpress.com Enjoy!

ESP-01 with ES8266 chip: small but powerful WiFi module for your Arduino project!

Continuing from my last post about Homemade weather station , today I will dig deeper in ESP-01 WiFi module, Lets begin! The ESP8266 is a low-cost WiFi microchip with full TCP/IP stack and microcontroller capability produced by Shanghai-based Chinese manufacturer, Espressif Systems. More information about this module u can get from Wikipedia . To use this module, 

Homemade weather station: Arduino Uno R3 + DHT 11 + ESP-01

Image
Temp and monitor and alarm system for your environment. I have a small server room need to monitor 24/7 and alarm when humidity, temperature go over a fixed value: like 25 C degree and 70%.   Arduino Uno R3 may be the most popular open source hardware with lots of modules following. ESP-01 is the cheapest wifi module, DHT 11 . Here is my codes: /*--------------------------------------  * Getting temperature and humidity from DHT 11 and upload to thingspeak.com  * You get this code from https://lotus-vp.blogspot.com ,  * please keep these comments when copying these code, thank you!  * Connections  * DHT         | Arduino Uno  * ---------------------------  * VCC(1)    |  5V  * DATA(2)  |  2  * NC(3)       |  x  * GND(4)    |  GND  -------------------------------------*/ #include <Sof...

New time

After a time I started to write this blog, not all things I wrote well. I'm going to rearrange my blog, organize better contents to make thhis blog more better. Thanks for all viewers.