In these days I’ve found an issue related a guest Debian 7 in Hyper-V vers. 6.3 on Windows 2012 R2.
On a random Basis the file system will be mounted Read-Only due to a disk error: as a result Debian hangs and I need to force a reboot to get the system working again.
I made several configuration changes… I’m not sure they have solved the random issue but it’s been three months now and the problem is no longer happened.
In the next some notes about how I have (partially ?) solved the problem. Continue reading
Category Archives: Linux
Simple Mail to SMS gateway using Portech MV 37X
In this post I will describe how to make a simple Email to SMS Gateway, using Portech MV37x and PHP code running on a Linux server.
Operation is simple: the code will poll the configured imap a folder, and if detect a new email it will send a Short Message Service (SMS) using the Portech hardware device. The recipient’s mobile number must be specified in the email subject (the subject must be a number or the email will be ignored) and the text will be the body in the email itself (truncated to 140 chars).
Continue reading
Interconnect IPCop to PFSense using IPSec
This post is just focused on building a vpn IPSec connection site-to-site between IpCop and PFSense.
Att: PfSense and IpCop boxes are using a public ip address on WAN side.
PFSense Configuration
– Go under VPN menu, option IPSec, and check Enable IPSec check box, and hit Save button. Then click the Add tunnel icon on the right side of the page, now you’ve a new page where you can specify VPN tunnel options.
– Mandatory Parameters
Uncheck Disabled
Key Exchange Version: V1
Internet Protocol: IpV4
Interface: WAN
Remote Gateway: The public ip address of IpCop box Continue reading
Sendmail on Debian 7: configuration makefile fails
Using Sendmail usually when you need to “recompile” the config file you have to launch the next command.
make -C /etc/mail/
In Debian you can get the next error.
make: Entering directory '/etc/mail' Updating databases ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/databases... Could not open /usr/share/sendmail-cf/m4/cf.m4(No such file or directory) .....