Hotel Wireless Internet with Liveport

July 31st, 2012

Aletho Technologies is the California Rep for Liveport, the wireless service provider for hotels and resorts.

New Apartment Wireless Features

November 14th, 2011

We are setting up new systems for our apartment wireless solutions.

Reflashing Ubuquity Nanostation M2

December 14th, 2010

Ok, reflashing the Ubiquity Nanostation M2 can be a little difficult, but only if you do not know a few things.

If you are flashing it for the first time (has AirOS installed) you can just push the reset button when it is live to get it to take a tftp transfer for the image.

However, I needed to reflash it after putting OpenWrt on it.

X Windows on Windows 7 with Xming and Putty

October 5th, 2010

After much troubleshooting, I discovered that Windows 7 has issues with X Windows. To get around some of its limitations I installed Xming which is an X server for windows. Very non-intrusive, just runs in the system tray. So, here is how to get remote Linux/Unix graphical programs to display on your local Windows 7 system.

1. download software:
a. Xming

b. Putty

2. Install Xming, run installer (very self explanatory)

3. Run Putty

4. Go to: Connection/SSH/X11

a. check enable X11 forwarding

5. Go to: Session

a. Type in the IP or hostname of the server

b. Select SSH

c. Type a descripting name for the Saved Session name

d. Click Save

6. Click Open to start the session

7. Prepare your server

a.

Sweet vsftpd setup using virtual users for web developers

September 15th, 2010

What this setup does is create a list of FTP users, not local users on the server system, and jail them to web directories. This means that they can only work in those directories to which they are assigned.

Firstly, install vsftpd:

linux# apt-get install vsftpd

Now install the PAM password file support:

linux# apt-get install libpam-pwdfile

Make sure this directory exists: /etc/vsftpd and if it does not:

linux#mkdir /etc/vsftpd

Now, we are going to make a list of users using PAM. The username will need to match the directory name of the web root for each virtual host. E.G. /var/www/google.com would be ‘google.com’ for the username.

linux# htpasswd -c /etc/vsftpd/passwd google.com

For each user after that drop off the -c

linux# htpasswd /etc/vsftpd/passwd yahoo.com

Next we need to edit the vsftpd config file

linux# nano /etc/vsftpd.conf

Edit or add these settings:

    listen=YES
    anonymous_enable=NO
    local_enable=YES
    virtual_use_local_privs=YES
    write_enable=YES
    connect_from_port_20=YES
    secure_chroot_dir=/var/run/vsftpd
    pam_service_name=vsftpd
    guest_enable=YES
    guest_username=www-data
    user_sub_token=$USER
    local_root=/var/www/$USER
    chroot_local_user=YES
    hide_ids=YES
    check_shell=NO
    user_config_dir=/var/www/users

Now we need to configure PAM to read the password file:

linux# nano /etc/pam.d/vsftpd

Comment out all existing lines and add these:

# Customized login using htpasswd file
auth required pam_pwdfile.so pwdfile /etc/vsftpd/passwd
account required pam_permit.so

To make a super FTP user with access to all of the website we need to make a special config file for them.
First, make the config file directory:

linux# mkdir /var/www/users

Create the super FTP user using htpasswd in /etc/vsftpd, but now we are also going to create a config file for that user (google.com):

linux# nano /var/www/users/google.com

Put just this line in the file and save: local_root=/var/www

Now that user has access to all of the websites in /var/www because we jailed it there instead of /var/www/google.com

These config file take precedence over /etc/vsftpd.conf settings.

Reboot vsftpd

linux# /etc/init.d/vsftpd restart

Note, users will not work until their directory is made.

—Cleaning up—

Make all website accessible to apache:

linux# chown www-data:www-data /var/www -R

Make the www-data group sticky to retain the group even when ftp users create things:

linux# chmod g+s /var/www -R

Fix the user config file directory
linux# chown root:root /var/www/users -R

Many thanks to the author of this article to get me most of the way there.
http://howto.gumph.org/content/setup-virtual-users-and-directories-in-vsftpd/

PicoStation2HP Meshing with Open-Mesh

March 29th, 2010

A friend of mine invited me to go along with him on a wireless project he was doing.

VMware ESXi Running 64-bit Guests – Not All CPUs Equal!

March 24th, 2010

Much to my chagrin, I have found that VMware ESXi cannot run 64-bit Guests on all 64-bit CPUs. It turns out that the CPU needs to support 64-bit virtualization not just be able to run a 64-bit host. So, my Dell SC1425 server that handles 64-bit Intel processors will not support 64-bit guests due to the processors not being compatible with 64-bit guests.

To avoid this problem, look for Intel CPUs that support VT (Intel Virtualization Technology) and AMD CPUs that support AMD-V (AMD Virtualization). Another thought is that all modern or new server processors probably support 64-bit guests, but if you are looking to utilize an older server then watch out.

Setting WordPress

March 2nd, 2010

Time and time again I am impressed with how easy it is to use WordPress.

Hello Ventura!

October 29th, 2009

Welcome to Aletho Technologies website!