2011/07/20

FreeNAS - How to create a network drive free

FreeNAS is a free Linux distribution (specifically is FreeBSD) with which you can transform an old PC into a network drive. For the numerous security features available to you this is more properly a Network Attached Storage (NAS) so it can be used in business.

FreeNAS supports the following file systems NTFS (using NTFS-3G), Ext2, Ext3, ZFS, FAT16, FAT32, UFS and UFS2. Are possible installations with iSCSI and RAID.
The advantage you have with this distribution (in addition to giving a second life to older PCs) is the ease of expansion of hardware features. For example, you can easily increase the capacity of the disks (by adding new hard disk on your PC) or speed of access to the LAN (replacing the 100 Mbit network card with a 1000-Mbit or more), or simply the ease of maintenance (if something fails it is easy to replace it, as they are all standard components and cheap).
Currently the version 8 is coming out. That promises further improvements! As soon as possible I will try to test it!

PERSONAL EXPERIENCE: 
For years I use different PCs with different configurations transformed into FreeNAS, never having encountered any particular problems (in versions 6 and 7). In some cases they are "virtualized" or are virtual PCs (VMware FreeNAS).


STICKIES: notes and colors on desktop

Stickies is a free utility with which you can write reminders on your desktop (the equivalent of colored slip of paper and sticky going to attack anywhere).

Among the notable features the ability to point out: 

1) use different colors for each "package". 
2) use different fonts, sizes, font styles. 
3) store, discard, retrieve, export the package. 
4) include an alarm reminder to show only when appropriate.
5) insert images. 
6) customize the "themes" or "skin" of the leaflets. 
But the feature I like best is the ability to send reminders to other users connected to the same LANFrom the book of STIKIES you can choose to which and to how many users send reminders (with confirmation of receipt).Also you can update in real time the shared address book for all users stickies on the internal network. This enables some scenarios in companies with very large offices or arranged on different floors. For example: "I remember a meeting with my colleague in an office which is 3 floors below me and that is currently busy on the phone? Well then I send him a reminder using stickies!" 
Another feature allows you to send reminders by email
PERSONAL EXPERIENCE:
I use this software since version 5 (now we are at 7.1a), I'm excited and I think it useful to write reminders for myself and for other office users.
In one company than I knowm it is used "heavy" side by side with the utility "sticky server" that manages the shared address book for all users on the LAN.

OpenDNS - Replacement for improving DNS performance and security

OpenDNS is a free site that provides its own DNS (Domain Name Services) for resolving Internet names into IP addresses. 

The advantages are: 
1) Provides a faster navigation of Web sites. 
2) Identify fraudulent websites (phishing) and allows you to surf the Web safely. 
3) Corrects typos of Web sites identifying the correct site that you would like to visit. 

The operation to perform, to access the service, is to replace the primary and secondary DNS provided by your Internet provider with those of OpenDNS: 
1° DNS = 208.67.222.222
2° DNS = 208.67.220.220
In addition, by registering on the site and adding its own static IP address to the control panel you can perform additional tasks such as: 
4) to receive daily statistics on sites visited or the amount of traffic generated. 
5) receive reports on malware in your PC network (when the E-virus visit suspicious sites on the control panel appears written Malware / Botnet Activity Detected). 
6) prevent access to specific sites or categories of sites (such as games, social networking, sites for adults) by adopting the so-called "parental control". 

OpenDNS is also suitable for companies or in places where there is a LAN with many PCs that access the Internet through a single connection. In this case it is better to configure your Internet router (and not the individual PC) by entering the DNS of OpenDNS . 
For those who use it as a router routing Zeroshell point out the page explaining the steps to follow: http://www.zeroshell.net/opendns/ 
There is also a paid version that provides more advanced services and features. You can also install software to use OpenDNS even if you do not have a static IP address (such as happens to those who use not permanently internet connections).

PERSONAL EXPERIENCE:
I found this service very useful in business in order to prevent user access to entire categories of websites that are NOT of STRICTLY BUSINESS interest. In addition, the function of malware signaling was useful to discover the presence of viruses that even the antivirus on the PC were not able to find out! 

Zeroshell: an Italian Router - Firewall - Bridge

Zeroshell is an Italian free Linux distribution that can be installed on a standard PC and that provides the main network services a LAN normally requires (routers, bridges, Firewall, VPN, HTTP proxy, captive portal, etc..)



It is available in Live CD or Compact Flash image and you can configure and administer via a web browser.
Anyone with a little familiarity with such hardware can reuse an old PC and turn it into the router (all at no cost!).
Among the many features provided by this tool I found very interesting:
1) the Net Balancer that can operate in two modes a) "Load Balancing and Failover" where the requests for access to the Internet are balanced automatically and in proportion to the weight of each gateway and, in the event of failure of one gateway, this is excluded from the Automatic
balance  b) "Failover" only one link is active at a time (the one with highest weight among those who are not in the state of Fault). The others are in the state of Spare, ready to attend in case of interruption of the active link.
2) the Virtual Private Network (LAN-to-LAN),  the ability to create links encrypted (permanent and automatic) over networks points that are geographically dispersed (using Internet).



PERSONAL EXPERIENCE: 

I use a Zeroshell with two ADSL balancedconnections with different ISPs and different speeds.
On two other Zeroshell I use  a VPN LAN-to-LAN to easily connect a company that has two offices located in different cities using their ADSL connection.


Here are some of the most important features: 

- Balancing and Failover of multiple connections to the Internet; 
- UMTS / HSDPA 3G modem; 
- RADIUS Server 
- Captive Portal 
- Management of QoS (Quality of Service) 
- HTTP Proxy with ClamAV open source antivirus 
- Support for the functionality of the Wireless Access Point Multi SSID using WiFi network cards based on Atheros chipsets. 
- VPN LAN-to-host protocol L2TP/IPsec 
- VPN LAN-to-LAN with Ethernet encapsulation of SSL / TLS tunnel, 
- Router with static and dynamic 
- 802.1d bridge with Spanning Tree 
- Firewall Packet Filter and Stateful Packet Inspection (SPI) 
- Control through Firewall and QoS classification of traffic type P2P file sharing; 
- NAT (Network Address Translation) 
- TCP / UDP port forwarding (PAT) to create Virtual Server 
- Multizone DNS server with automatic management of the Reverse Resolution in-addr.arpa; 
- Multi subnet DHCP server with the ability to assign IP address based on MAC address of the applicant; 
- 802.1Q Virtual LAN (tagged VLAN) applicable on Ethernet interfaces on LAN-to-LAN VPN, VPN and bonding on the bridge consisting of Ethernet interfaces, VPN, VPN and bonds; 
- PPPoE client to connect to the WAN via ADSL, DSL and cable 
- Dynamic DNS client used to easily reach even when the WAN IP is dynamic. 
- Client Server and NTP (Network Time Protocol); 
- Syslog server for receiving and cataloging the system logs produced by the remote hosts including Unix systems, routers, switches, Wi-Fi access points, network printers and others compatible with the syslog protocol; 
- Kerberos 5 authentication using an integrated KDC and cross-domain authentication; 
- Authorization LDAP, NIS and RADIUS; 
- X.509 Certificate Authority for issuing and managing electronic certificates; 
- Integration between Unix and Windows Active Directory on a single system of authentication and authorization using LDAP and Kerberos 5 cross realm authentication.

2011/07/14

How to connect 2 PCs at the same monitor or display


There are at least two methods:
The first method of course is to use a graphic display that has 2 video inputs (2 VGA, 2 DVI ,or 1 DVI and 1 VGA).
Take the example of a display that has both VGA and DVI input, and the two computers have graphics cards with different outputs (the first PC with VGA output, the second PC with DVI output).
You can then connect the 2 cables (VGA and DVI) for 2 PCs simultaneously with the same monitor. Then you press the button that changes the "display source" (VGA or DVI) depending on the PC you want to use (see). Of course this does not solve the problem of having to use double keyboards  and double mouse!

The second method involves the use of a Switch KVM (Keyboard, Video, Mouse), a device that connects a keyboard, a mouse and only a single display, but which has the double output cables ( or triple, etc..) tha connect the PCs to be controlled. The PCs should not be too far apart as the cables are quite short!
They are marketed both mechanical and electronic KVM switch, with different features (VGA, DVI, PS2 or USB keyboard, etc..) also KVM Switch exist for more than two PCs.
PERSONAL EXPERIENCE:
In the first case, the test was done for example with a Samsung SyncMaster 2243WM that has one entry VGA and one DVI, and it works!
In the second case currently I use a KVM switch (mechanical) that allows the use of one keyboard (PS2), one mouse (PS2) and a single display (VGA) connected to 2 PCs.