Category Archives: Linux-Projects

ipcop runs fcron not cron

ya .. use fcrontab -e to add jobs to ipcop firewall as it users fcron for more details on frcron see fcron

How to copy files to ipcop firewall server

Yaa.. jus i want to run my dynmaic dns update script ( as i know ipcop support some dyndns providers by default but dyndns proivder is no in list :(. so i downloaded dyndns client from provider site and want to pur cron entry that it will run every 5 mins… ok…ipcop small stripped disto..even there is no wget ..so what to do ? how to upload perl file there ? upon search i got to know that only way to copy is using scp … thank god..ok i enabled ssh from ipcop control panel ( prot is not 22 it is 222 ) and downloaded winscp to my laptop….rest asusual … crontab -e add entry as

*/5 * * * * /usr/local/sbin/xxxxscript.pl

so that it can run every 5 mins:)

silly-project-4-Install IPCOP as part of virtual online unix-linux lab

Ipcop

Ipcop is an iptables based firewall for linux and it is GNU based freeware. Now i want to implement ipcop as my firewall for my time waste project “online virtual unix-linux lab “.

typical ascii diagram as following, you can find my lab bluprint at here https://linuxunix.wordpress.com/2006/07/10/here-is-my-blue-print-for-my-virtual-online-linux-unix-lab/

here is my firewall part ascii diagram

ISP router —–IPCOP BOX —Reaming part of online unix lab

Sole purpose of this project is to build online unix/linux/windows lab so that any one can access lab from anywhere in world with internet connected device.

i will explain some more details here how it will work: First request comes to isp router – router pass all packets to IPCOP box. IPCOP have zones. Red(Internet faced NIC), Orange( DMZ NIC),Green ( local lan facing card). For more details about zone please refer ipcop.org published manual. now packet reaches to ipcop Red nic, ipcop applies all rules here like portforwarding etc .. at this stage.. if packet related to portforward it forwards to defind local lan server pc.

Below attached .pdf file will show you how to install step by step … Or you if know about vmware..you can down vmware ready ipcop install from ipcop.org

ipcop-howto-install

ok here is my detail ( i hope so…iam poor in documentation)

procedure i did in order to rescue my online virtual unix lab using ipcop…

1.first install guest pc using vmware ( select other 2.4 kernel as pc type )

2.set disk space to 1GB ( 512 is enough…but if you want to have more log files .. you need to have disk apce…)

3.set ram as 128 … it will play very well at 64 mb also …

4. I have 3 zones Red,Green,orange all are ethernet based…

for this zone type and how to select please refer following file ipcop-howto-install

becoz this zone combination is important and chnages according to you network system.

5.as i select Red+Green+orange system, i require 3 aln cards .. so i added 3 lan cards to my guest pc

6.Now my pc is ready…

7.insert ipcop.iso in virtual cdrom of vmware and boot ipcop pc…

8.i followed step by step as mentioned at ipcop-howto-install

9.After install , it will bounce pc and BINGO@@@ ipcop is up and protecting my virtaul network…

my ipaddress details

RED – 192.168.1.2

Green-192.168.2.1

Orange-192.168.3.1

and now iam using my windows pcs with out nasty windows default firewall 🙂

Ok my lab is ready ..to go online… soon i will up my virtual unix lab online….

if you require any ipcop help .. just leave a comment here.i will very happy to assist you freely 🙂

Today i tried knoppix vr 5 dvd … WOW

knoppix have WOW feature. Today i downloaded dvd version of knoppix and booted my pc with the live distro .. Bingo .. excellent it recognized all of my hardware… infact iam blogging this entry form knoppix

ITs very speed and safe … for day 2 day operations without touching your hard disk. ( i like it for browsing … Po* sites :0 ) But my tv tuner card was unable to mate with knoppix, its pinnacle stero tv tuner 😦

i got one mail from india about recent bomb blasts …

Dear Terrorist,

We don’t know whether you are Hindu / Muslim / Christian / Indian / pakistani/ Afghanistani / Iraqi / American or from any part of the world but only name we can give you is terrorist.

Even if you are not reading this we don’t care. Time and again you tried to
disturb us and disrupt our life – killing innocent civilians by planting
bombs in trains, buses and cars. You have tried hard to bring death and
destruction, cause panic and fear and create communal disharmony but
everytime you were disgustingly unsuccessful. Do you know how we pass our
life in Mumbai? How much it takes for us to earn that single rupee? If you
wanted to give us a shock then we are sorry to say that you failed
miserably in your ulterior motives. Better look elsewere, not here.

We are not Hindus and Muslims or Gujaratis and Marathis or Punjabis and
Bengaliies. Nor do we distinguish ourselves as owners or workers, govt.
employees or private employees. WE ARE MUMBAIKERS (Bombay-ites, if you

like). We will not allow you to disrupt our life like this. On the last few
occassions when you struck (including the 7 deadly blasts in a single day
killing over 250 people and injuring 500+ in 1993), we went to work next
day in full strength. This time we cleared everything within a few hours
and were back to normal – the vendors placing their next order, businessmen
finalizing the next deals and the office workers rushing to catch the next
train. (Yes the same train you targetted)


Fathom this: Within 3 hours of the blasts, long queues of blood donating
volunteers were seen outside various hospital, where most of the injured
were admitted. By
12 midnight, the hospital had to issue a notification
that blood banks were full and they didn’t require any more blood. The next
day, attendance at schools and office was close to 100%, trains & buses
were packed to the brim, the crowds were back.
The city has simply dusted itself off and moved one – perhaps with greater
vigour.

We are Mumbaikers and we live like brothers in times like this. So, do not
dare to threaten us with your crackers. The spirit of Mumbai is very strong
and can not be harmed.

Please forward this to others. U never know, by chance it may come to hands
of a terrorist & He / She can then read this message which is specially meant for him / her !!!

With Love,
From the people of Mumbai (
Bombay)

forgot link to ascii art ..here is http://linuxadminsupport.com/ascii/

http://linuxadminsupport.com/ascii/

convert any image to ascii art using asciiart

Ya … found good script alled asciiart, using this you can convert any image to ascii art.

*@,,
*.@@.,
*.++@@.,
*.++++@@.,
*.++++++@@.,
*.++++++++@@.,
*.+++++++++@@:,,
*.+++++++++@@++@,,
*.+++++++++@@++.@@.,
*.+++++++++@@++.:+@@.,
*.+++++++++@@++.:+++@@.,
*.+++++++++@@++.:+++++@@.,
*.+++++++++@@++.:+++++++@@.,
*.+++++++++@@+:#++++++++++@@.,
*.+++++++++@@+:.,#++++++++++@@.,
*.+++++++++@@+:., ,#++++++++++@@.,
*.+++++++++@@+:.,,  ,#++++++++++@@.,
*.+++++++++@@+:@*+**W,,#++++++++++@@.,
*.+++++++++@@++:::++*##@.#++++++++++@@.,
*.+++++++++@@+::...:++*#*@.#++++++++++@@.,
*.+++++++++@@+:*.,,.:++*#**:,#++++++++++@@.,
*.+++++++++@@+:.:.,,.:++*#**W.,#++++++++++@@.,
*.+++++++++@@++.#::...:++*#**#:,,#++++++++++@@.,
*.+++++++++@@+:.,W+::::++*##***:, ,#++++++++++@@.,
,*++++++++++@@., W++++++**#****+,,,.:++++++++*@*:,
,.*++++++++++@@,,+**++**##****@+,,.:++++++++*@*+:,
,.*++++++++++@@,,###*###******:..:++++++++*@*+:,
,.*++++++++++@@,#####**+***@+:.:++++++++*@*+:,
,.*++++++++++@@.W***+****#++.:++++++++*@*+:,,
,.*++++++++++@@.#******W++.:++++++++*@*+:,
,.*+++*++++++@@.:+@@*+++.:++++++++*@*+:,,
, ,,.*+*.*W+++++@@..:::::.:++++++++*@*+:,  ,
....@,,,.W,##W++++++@@,,,,,.:+++++++….W:,,*..:W,,
.+++@:,,,@**#@+++++++@@, ,.:+++++++W++++@*,W,++@+:,
.+++@+., *@W@@****+++W**@***#+++@**W*++++W:,++@*+.,
.+++@+., *.##@.++#++WW:+@.++W+++#+*WW++++@@.+#W+:,
.+++@+,, *.##@.+++#WW@:+@.++W+++#+*W+*++++,++W+:,
:+++@+,  *.#*@.+++*@*@:+@.++W+++@+*W:*++++++@*+.,
:+++@+.  *,##@.+*++*@@:+@.++W++*@+*W:,@++++@W+.,
:+++@+.  *.##@.+@+++*@:+@.++W+*@@+*W:,:++++*W:,
.+++@+.  *.#*@.+@#+++#:+@.++W*@*@+*W:,:,++++@:,
.+++@+.  *.##@.+@*#+++:+@.++W@*+*+#W:,::+++++W.,
.+++@+., *,##@.+@+*#++++@:++W*+:,+@@:W,+#++++@+,
.+++@WWWWW.##@.+@+:@#+++@*+++*@+,+W+*,++@*++++W.,
.+++:+:+#W.##@.+@+.,W#++@@#++++++WW+.++@#W++++@*,
:+++++++#W@@@@.@@+. ,W#@@@@WW@@WWW+W,+*W+:*++++W.,
+@@@@@@@@W****++++.,,,+W@*++*@@#++@.@@@*:.@*@@@@*,
,:+++++++++::::,   ,:++:..::::.:+***+.,,+*****.,
,……….,,,,,,     ,,.., ,,,,, ,.:::., ,,.:::.,,
WW,,,,,,W@,   @,W,W,   WW,    WW,  ,,,WW,  ,,WW:,,
W+.,   W,,#,  *,.,:,,  @:,,   W*,,    W:,,   W,+,,
W..,,  W.,+,, ,W.W.,,  #.,,   W:.,    W..,   W.@.,
,.,,   ,.,,,  ,,...,   ,.,    ,..,,   ,..,   ,,,.,
,,,     ,,,,   ,,,,,   ,,,,   ,,,,,   ,,,,   ,,,,,
,,              ,       ,     ,      ,,

moodle 1.6 is out and it is lot faster then 1.5 and slimer

moodle 1.6 is very fast and less size only 9MB (zip) 7 MB ( tgz) previous 15MB+ . today i installed from moodle.org. http://moodle.org is source if any one wants to give a try . to know more about this open source course ware see http://moodle.org