Entries from November 2008
It is really interesting to know we can run application on local computer , but actually they are displaying remote computers.
e.g.
#xterm -display 192.168.1.10:1
this command will display an X terminal on remote computer’s display number 1, while the command is invoked form 192.168.1.100
and the vice versa is also true
we can run command on remote computers but their GUI will display on local computer.
ssh -X -C varinder@china firefox
its relly interesting.
but could not understand the following command
X :2 -query [server2's IP] &
X :2 -indrect [server2's IP]
Categories: Uncategorized
Tagged: Uncategorized
Fonts can be installed very easily. The method is
Step 1. Make a directory named .fonts in home directory .i.e. ~/.fonts.
step 2. Copy fonts in the directory created in step 1. Ie. in ~/.fonts
It will install new fonts and we can access these fonts in Open Office writer and other similar applications.
Doubts:
I have tried the same method on my Dell laptop to view the news paper in Punjabi language. But its not working. (The same method working on my DELL Desktop)
Link to my lab work
My Lab work for Fonts Lab#06
Categories: Uncategorized
Tagged: Uncategorized
This Tutorial is explain the process of Importing Pictures from Digital Camera in Fedora Linux.
The list of Equipments and tools used in the process is given below
1. DELL P-4 2.8 GHz with 1GB RAM. Fedora 9.0.
2. Panasonic Digital Camera LUMIX MEGA O.I.S 6.0 Mega Pixels, 6X Optical zoom.
3. GIMP 2.4.7

Here are the steps
1. Attached the digital camera through USB interface & Switched it on
2. Fedora 9.0 Automatically Detects the Camera and displays a window on Screen
#3. After pressing the OK button it will start importing photos from digital Camera to show as thumbnails with “Open gThumb Image Viewer”

#4. Now We have option to select to Copy/store the Pictures on computer in a folder of our choice under specific Categories .i.e Holidays, Family and Birthday etc.

#5. Pressing OK button will start Downloading Pictures in folder we have selected.

#6. We can process image with GIMP (GNU Image Manipulation Program) , free open Source software from GNU.
Here are some example of processed image with GIMP

The above image is processed with Waves effet with GIMP
From “Filter –> “Animation”—>Waves
Here is Waves tools is in effect

Screen shot of Filter—>Animation—>Waves tool
- More Effect:- Crop Cut/Paste & Noise Effect to Images

Of course we can do much more i.e. crop & copy effects in picture.
Above Picture is showing effect of “Simulation Glowing boundary of Neon Light”.
If can implemented with option .i.e. Filter—->Edge-Detect—->Neon
I hope My Blog post will helpful.
Categories: Uncategorized
Tagged: Uncategorized
Torrents
The Bit torrent is a peer to peer(P2P) file transfer protocol. It is widely used to distribute data/software at a large scale without the original distributor is bearing the cost of hosting, bandwidth, hardware etc. when a data is distributed using p2p protocol then each recipient participate in distribution of data to new recipient.
Bit torrent client is any computer that is using the bit torrent protocol. Each client is capable of requesting, uploading any type of file form the bit torrent network. A peer starts with downloading a file in pieces. These pieces not be contiguous from the file, rather these are random. With the help of tracker, peer can find other peers having the other pieces of file. So while communicating peers can, upload(distribute) a pieces of file while downloading the other.
Magnet Links
Magnet links is a way to make reference to resources available in peer 2 peer network. The link identify a resource (file) not by location rather by name, or hash value. So it is called URN rather than URL. Magnet links are differ from torrents, in that the users can just copy and paste the magnet link s in to email, messaging system. Magnet link can also be shared through websites.
References:
NationMaster.com
WikiPedia.org
Here is Link to Shell script for backup of files created in last 24 hours (1day)
Shell Script to Backup the files in User’s Home Directory
Categories: Uncategorized
Tagged: Uncategorized
Just a beginner in python programming.It has very simple way of defining data structures such a lists , lists of lists, arrays & arrays. Variable declaration is quite simple no need to declare a variable type and variable inilization. just use it. very simple.
Unlike C, there is not a lot of punctuation.
e.g.
while (True): and while True: Both statements are working well.
Here is link to python Game script
Python SPR-720 Number Game (python-game.py) Script
Categories: Uncategorized
Tagged: Uncategorized
my project work contains yumjhand.py func (Fedora Unified Network Controller) based, module, written in python. It will adds more functionality to existing func based module yumcmd yumcmd.py . Yumjhand.py module contains a method named ‘install’. Not working completely yet. trying to make it work
here is link to code.
Link to yumjhand.py Module
sayhello() is another method in yumjhand module just to test the functionality. It prints the message Hello! World.
Link to Project Page
Project Page at Seneca WiKi
Categories: Uncategorized
Tagged: Uncategorized
Newly created func module (yumjhand)has two methods named ‘install’ & ’sayhello’
Only ’sayhello’ method is working. ‘Install’ method has some typical python errors.Trying to figure it out.
Categories: Uncategorized
Tagged: Uncategorized
A newly created func module(hello world testing ) named ‘mytest’ is working . A method named ’sayhello’ in the module is working. It is just prints the “hello world” message. A little sucess.
Categories: Uncategorized
Tagged: Uncategorized
created a new func module with func-create-module stored it in to the
directory /usr/lib/python2.5/site-packages/func/minion/modules
trying to run it from lord.. but not working
Categories: Uncategorized
Tagged: Uncategorized
Today’s SYA710 Lab was about Virtual Machine. It was a nice experience while setup as FreeBSD virtual machine & configure that virtual machine so that user should be able to login to matrix account.
Host fedora machine is set to forward packets
ip 192.168.122.1
#echo 1 > /proc/sys/net/ipv4/ip_forward
Then setup NAT Table
iptables -t nat -A POSTROUTING -o eth1 -J MASQUERADE
Virtual Machine
192.168.122.2
Add route on virtual machine to fedora
route add 0.0.0.0 192.168.122.1.
its working
I was able to ssh FreeBsd virtual machine from host machine as well as from another machine from network by setting up tunnel. (Prof Raymond Chain who Helps alot)
the command was
ssh -L 9022:192.168.122.2:22 joker@142.204.141.189
the X window was working.
Thanks to prof Raymond chain & Johan Selmys
Categories: Uncategorized
Tagged: Uncategorized