Showing posts with label System. Show all posts
Showing posts with label System. Show all posts

Saturday, November 19, 2011

Lan Management System (LMS) On Debian Squeeze - Router Howto

x install-vsmart-2.0-en-64bit.sh
./install-vsmart-2.0-en-64bit.sh

The scripts will download necessary packages from debian repositories and my deb packages:

linux kernel 2.6.32 with patches: layer-7, imq, esfqiptables 1.4.8 with patches: layer-7 and imqiproute 20101221 with esfq patchppp 2.4.3 with mppe and mppc
pppoe 3.10 with mppe, mppc and kernel pluginpptpd 1.3.4 with mppe and mppc

All the packages are available for independent download from:

 http://files.v-smart.pl/v-smart-2.0/

You may view the scripts before executing to see what they exactly do. You have to write down the MySQL root password and type it when the install script ask for. After reboot you can go to the router GUI via browser. Simply open the router IP address in the browser. First time LMS will ask you for creating an admin account. Don't forget to check full access option for admin. Example configuration is available for view after installation. You have to set up your WAN bandwidth in the /router/router.conf file in kilobits-per-second. Default is 10Mbps.

How does it work? Network administrator adds clients, computers and tariffs (download and upload speed) into LMS. There is my daemon running in the background which checks if something was changed in the GUI configuration. If so, the daemon will update the configuration file for the firewall (/router/lms.conf) and reload firewall, NAT and traffic shaping. Firewall scripts and configs are in the /router directory. LMS GUI is installed in the /var/www directory. Other stuff (messages, daemon, etc.) are in /var/v-smart directory. Network configuration you can find in /etc/rc.local script.

Installed LMS is pure and unmodified. In the database there is vsmart table with to-do records that are read by the daemon in 3-second period. I added MySQL triggers to follow changes in the LMS tables. The triggers will update to-do records when something is changed in customers' devices configuration. Then the daemon makes a decision about reloading firewall, traffic shaper and NAT. Finally - changes in LMS GUI are set in the router almost instantly. This is the main idea of my project.

In the crontab there are periodicaly run some LMS scripts (stats, payments, host alive checking and other). Feel free to view or adjust /etc/cron.d/vsmart file.

List of router main functions:

- Dynamic traffic shaping on WAN port using IMQ with HTB/esfq and service priority,
- Static traffic shaping on LAN port (LMS tariffs),
- MAC

View the Original article

Sunday, April 3, 2011

China Unicom, WoPhone Linux operating system to start

China Unicom announced Android like WoPhone operating system, with first phones from Huawei and Beijing Tianyu communication equipment will be provided an own Linux-based. The WoPhone announcement follows last week's news that China Unicom rival China offers mobile four ASUS smartphones and a tablet of Android version of carrier new OMS 2.0 (OPhone) on a new TD-CDMA-ready Marvell PXA920 processor running....

Read more at LinuxDevices

View the Original article

Thursday, March 24, 2011

Great comparison of 2.6.38 HDD/SSD Linux file system

Here are the results of our most important Linux file system compared to this day. What is us using Linux kernel 2.6.38 be released, on a disk SATA hard and Solid-State drive, comparing seven systems of files on each drive with the most recent kernel as of this past weekend code. The tested file systems include EXT3, EXT4, Btrfs, XFS, JFS, ReiserFS and the NILFS2.

Comments (0)Add Comment
You must be logged on to post a comment. Please register if you do not yet have an account.
busy

View the original article here


This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.

Tuesday, March 22, 2011

Embedded Linux file system Rev d for performance

Datalight has a new version of reliance Nitro file system target embedded Linux devices. Reliance Nitro SDK for Linux 2.0 improved read and write performance, fast boot times, solid reliability and offers a wide range of validation and test tools, the company says....

Read more at LinuxDevices

View the Original article