Thursday, September 27, 2007

Software Raid debian etch


Install Debian Etch on a Software Raid 1 with SATA Disks

New server, SATA disks, the hardware RAID controller is not really supported. So we decided to use a software RAID 1 for the two disks. Here are the steps to create the RAID:



1. Boot the Debian Etch installer.

2. If the installation comes to "Partition method", use "Manual".

3. In the following menu, scroll to your first disk and hit enter: the partitionier asks you, if you want to create an empty partition table. Say "yes". (Hint: this will erase your existing data, if any.)

  • The partitioner is back in the disk overview, scroll one line downwards over the line with "FREE SPACE" and hit enter.

  • Create a partition with the size you need, but remember the size and the logical type.

  • In the "Partition settings" menu, go to "Use as" and hit enter.

  • Change the type to "physical volume for RAID".

  • Finish this partition with "Done setting up the partition".

  • Create other partitions on the same disk, if you like.

  • Now repeat all the steps from the first disk for the second disk.

  • After this, you should have at least two disks with the same partition schema and all partitions (beside swap) should be marked for RAID use.

  • Now look at the first menu entry in the partitioner menu, there is a new line: "Configure software RAID". Go into this menu.

  • Answer the question, if you like to write the changes, with "Yes".

  • Now pick "Create MD device".

  • Use RAID1 and give the number of active and spare devices (2 and 0 in our case).

  • In the following menu, select the same device number on the first and second disk and Continue.

  • Repeat this step for every two devices until you are done. Then use "Finish" from the Multidisk configuration options.

  • You are back in the partitioner menu and now you see one ore more new partitions named as "Software RAID Device". You can use this partitions like any normal partition and continue installing your system.

See: http://ads.wars-nicht.de/blog/archives/54-Install-Debian-Etch-on-a-Software-Raid-1-with-S-ATA-disks.html

HBS Campus selection

College of engineering Attingal


HBS Campus Selection on 28-09-2007

Wednesday, September 26, 2007

Serial Communication : Null modem connection

Connection and connector details
http://www.lammertbies.nl/comm/info/RS-232_null_modem.html
http://www.nullmodem.com/NullModem.htm

RS-232 Tutorial

http://www.arcelect.com/rs232.htm

http://bugclub.org/beginners/modems/handshake.html

Tuesday, September 25, 2007

pico bots

http://poor-robot.com/pico/

csc.colstate.edu/camp/MT/Pico%20Crickets/PowerPoint%20Slides/Pico%20Crickets.ppt

Thursday, September 20, 2007

seminar topics

http://www.seminartopics.net/
http://www.cs.bham.ac.uk/~mdr/teaching/modules04/security/student-topics.html

File system EXT3

http://www.stumbleupon.com/tag/filesystems/

http://wiki.novell.com/index.php/File_System_Primer
http://kernelnewbies.org/Linux_2_6_22#head-f08feafcdf2d8b0e93f961733de4978c58888596
http://martin.hinner.info/fs/Filesystems-HOWTO/Filesystems-HOWTO-6.html
See this(good links)

http://widefox.pbwiki.com/Kernel%20New%20Features%20Comparison

http://widefox.pbwiki.com/Filesystem
http://www.redhat.com/support/wpapers/redhat/ext3/
www.redhat.com/support/wpapers/redhat/ext3/ext3.pdf
http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html
http://linuxplanet.com/linuxplanet/reports/4136/1/
http://web.mit.edu/rhel-doc/3/rhel-sag-en-3/ch-ext3.html

Monday, August 20, 2007

Linux Kernel Details for http://www.ceattingal.ac.in

for use of http://www.ceattingal.ac.in

see links

http://plg.uwaterloo.ca/~itbowman/CS746G/a1/

http://widefox.pbwiki.com/

http://plg.uwaterloo.ca/~itbowman/CS746G/a2/

http://linux-bangalore.org/2003/schedules/DownloadFile.php?talkcode=E402&type=ppt

http://www.ibm.com/developerworks/linux/library/l-linux-kernel/

Tuesday, August 14, 2007

www.ceattingal.ac.in (engineering college kerala)

College of engineering attingal ( Engineering college at attingal http://www.ceattingal.ac.in) An engineering college in Kerala State IHRD)

Thursday, August 9, 2007

Java in debian (link)

It includes java installation, firefox java virtual machine cofiguration, firefox plugin installations


http://www.linuxforums.org/forum/debian-linux-help/80445-howto-install-firefox-2-various-plugins-debian-etch.html

TTF fonts in debian etch

TTF font installation in etch is simple.

apt-get install xfstt

then copy ttf files to

/usr/share/fonts/truetype/

now it is ok

restart xfs (ctrl+alt+backspace)

you can install malayalam fonts in this way.

Wednesday, August 8, 2007

Webmin in debian etch

install packages
  1. access wemin/usermin official website (http://www.webmin.com/) and get the latest debian packages, or simply run:
    wget http://prdownloads.sourceforge.net/webadmin/webmin_1.350_all.deb
    wget http://prdownloads.sourceforge.net/webadmin/usermin_1.280_all.deb
  2. first install their dependent packages:
    apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl libmd5-perl
  3. therefore you can install webmin/usermin package without error message:
    dpkg -i webmin_1.350_all.deb usermin_1.280_all.deb
  4. also update your rc*.d and so webmin/usermin will startup correctly, and able to manage by using rcconf:
    rm -rvf /etc/rc*d/S*webmin*
    rm -rvf /etc/rc*d/K*webmin*
    rm -rvf /etc/rc*d/S*usermin*
    rm -rvf /etc/rc*d/K*usermin*
    update-rc.d -f webmin defaults 99 01
    update-rc.d -f usermin defaults 99 01
  5. you can now log into your webmin interface by https://www.example.com:10000 for webmin, and https://www.example.com:20000 for usermin
some follow up and tips
  1. remember to set auto-logout: the original debian's webmin package come with 15min auto-logout as default setting. this is a very good idea for increase the security level.

    go to "Webmin -> Webmin Configuration -> Authentication", active "Auto-logout after..." and set to 15min (case of webmin), or "Webmin -> Usermin Configuration -> Authentication", active "Auto-logout after..." and set to 15min (case of usermin)

  2. remember to set IP access control: as like as the case of above, original debian's webmin package come with only 127.0.0.1 (localhost) restricted access to webmin as default setting.

    go to "Webmin -> Webmin Configuration -> IP Access Control", click "Only allow from listed addresses", set to 127.0.0.1 and 192.168.0.0/16 (optional, you should fill in your LAN network) (case of webmin), or "Webmin -> Usermin Configuration -> IP Access Control", click "Only allow from listed addresses", set to 127.0.0.1 and 192.168.0.0/16 (case of usermin)

more details http://edin.no-ip.com/html/?q=webmin_usermin_debian_etch_mini_howto

Block Internet Explorer in Squid

Blocking Internet Explorer with the Squid Web proxy


/etc/squid/squid.conf :

#We want to block IE, but some sites are only working under IE
# so we put up a list of URLs for Internet Explorer in the following file

acl allowed_url_IE url_regex -i "/etc/squid/allowed_url"

### The ACL for the IE user-agent
acl internet_explorer browser MSIE

### The world
acl all src 0.0.0.0/0.0.0.0

### Internal Network
acl lan src 192.168.1.0/24

### allowed machines in the network to use IE

acl ie_allowed_machine src 192.168.1.100/32

### First, we are allowing the IE-machine here
http_access allow ie_allowed_machine internet_explorer

### here, we are denying Internet Explorer,
### except for the "safe URL" list that is still allowed.
http_access deny internet_explorer !allowed_url_IE

### Now, after the restrictions, we are allowing our network.
http_access allow lan

### And finally blocking the rest of the world.
http_access deny all

The Allowed url ACL file (/etc/squid/safe_url) looks like this :

http://.*\.capstocks.biz/.*
http://.*\.tvsesupport.com/.*
http://.*\.ceattingal.ac.in/.*

Panayara

It is a small village located in South India-->Kerala state --> Trivandrum Dist --> Chemmaruthy panchayath.

College of engineering attingal(ceattingal.ac.in)

College of Engineering Attingal, established by the Institute of Human Resources Development(IHRD), a Government of Kerala undertaking,is a premier technical institute having well flourished environment for moulding professionals.

College of Engineering Attingal, started functioning in the academic year 2003-2004.The Institution has gained the approval of the All India Council for Technical Education and is an affiliated institution under Cochin University of Science & Technology, offering under graduate courses in following deciplines

Computer Science and Engineering - 60 Intake/Year
Electronics and Communication - 60 Intake/Year
ceattingal.ac.in





my work place

I am now working at College of Engineering Attingal(ceattingal.ac.in).

My service started at Regional centre of IHRD, Calicut
after that Model Engineering college,
Regional centre of ihrde Trivandrum(RCTVM) ,
Kerala Legislature secreteriat ,
College of Engineering Adoor
from 14th August 2007 College of engineering Attingal(ceattingal.ac.in)