Archive

Archive for April, 2008

Problem Connecting two pc via straight ethernet cable.. Networking & Security

April 30th, 2008

Recently I connected my Laptop & my PC via a straight ethernet cable. I used the ip adress 192.168.1.2, subnet mask 255.255.255.0, default gateway 192.168.1.3 for my PC & 192.168.1.3, subnet mask 255.255.255.0, default gateway 192.168.1.2 for my Laptop. At first when I need to backup my data to PC, Both system behaved well connected & I transfered all my data to PC. But after formatting my laptop when I try to transfer data again to my Laptop from my PC, it doesnt work any more. Actually it connects for only some 30 secs- 1 min & at the middle of transfer the conection breaks. It shows the message that it couldnt find the network path. I disabled my Antivirus firewall & my windows firewall both, but still the problem persists. somebody pls help….

Connecting two computer’s without a switch or hub, needs a Cross cable and not a straight cable… Also try to crimp the RJ45 connectors again, seems a bit loose… Also give only IP address and subnet mask, Gateway is not required. Will not do any harm but still… All the best

straight cable work once & I have transfered around 250 GB of data. This time also it connects, but after sometime connection breaks. What may the reason for breaking the connection???

Check the connections proper At the back of the Connecters, it may be Loose,for connecting this Seem to be the Only reason , other than that , i dont think Anything else would be Causing this problem

I already checked the connection…Its well fixed….May it be due to any kind security settings of Windows???? By the way, I also have an Beetel 450BX1 wifi router….can it be any help to transfer my files from one system to another??? My PC connected with it via LAN & Laptop connected with it via WiFi….

Reply With Quote

You’re using a wifi router, to connect the PC and Laptop so your PC will go with the straight cable, and laptop with wifi. Did you change anu configurations on your PC or Wifi? Check workgroup of your laptop an PC it should be same, Also configure wifi router to give IP Addresses automatically, that it make use of DHCP server. It will avoid configuration settings

author is renowned Internet Marketing Experts
is provided free in internet

Computer Security , , , , , ,

Very Simple Backup script for Database and Files

April 24th, 2008

Hi,

This post will show you a simple way to take automatic DB backup and Files backup.

Warning: Not for Windows users :-)

When you are setting up backups its always good idea to save them on different server (atleast on different disk / disk partition)

Here are the steps to install this script

create a file

cat > /root/mycrons/backup.sh

now copy paste following script

## ——– Begin—————–

# Set a Date stamp to append to backup file
DATE=`date +%Y-%m-%d`
# DB Backup Dir
DBBACKUP=”/mnt/backups/db”
# Set Databas USER
DBUSER=”user”
# set DB password
DBPASS=”password”
#set DB Host
DBHOST=”localhost”
#list db names one per line in this file
DBLIST=”/mnt/backups/db/list.txt”
#set Location to store File backups
FILEBACKUP=”/mnt/backups/files”
# We will take WEBROOT directory backup
WEBROOT=”/opt/lampp/htdocs”
#add the excluded files/directory one per line in the this file.
# to know more about exclude option please check tar manual for –exclude-from #patterns
EXCLUDE=”/mnt/backups/files/exclude.txt”

for DBNAME in `cat $DBLIST`
do
# directory for each DB
FILEDIR=”$DBBACKUP/$DBNAME”

# create DB directory for the first time
if [ ! -d $FILEDIR ]
then
mkdir -p $FILEDIR
fi

mysqldump -h $DBHOST –user=$DBUSER -p$DBPASS –opt $DBNAME | gzip -c -9 > $FILEDIR/$DBNAME-$DATE.sql.gz

done

# Auto Delete
# Find all files that are “MaxAge” days old and delete them.
MaxAge=4
find $DBBACKUP -name ‘*.gz’ -type f -mtime +$MaxAge -exec rm -f {} \;

tar -zcf $FILEBACKUP/ufomusic_$DATE.tgz –exclude-from=$EXCLUDE $WEBROOT
find $FILEBACKUP -name ‘*.tgz’ -type f -mtime +$MaxAge -exec rm -f {} \;

## ——– End—————–

Now press ctrl + d to save the file. Before saving the script you need to change the parameters defined in the begining of script:

make the file executable

chmod u+x /root/mycrons/backup.sh

now add an entry to the crontab file to run this script on daily basis

59 23 * * * /root/mycrons/backup.sh

Thats it… this script will run on everyday at 23:59 and take the backup of DB and your Webroot directory . This script also delete the backup files which are older than MaxAge . You can set the MaxAge parameter value in the above script.

You can add n number of databases to the file defined in DBLIST parameter. all db will be dumped on daily basis.

For directories.. the logic is opposite. Define a root directory in WEBROOT and add the subdirectory names, you want to exclude in backup, in file defined in EXCLUDE variable.

–Asif–

Backup, Linux, Opensource

How can i extend my Ethernet LAN cable Networking & Security

April 22nd, 2008

Does any one have any idea how can i extend my ethernet cable beyond 100 meters between my computer and router/modem? According to my knowledge is concern the maximum size of an ethernet cable length comes around 100 meters. So ant information related to this issue would be appreciated.

You can extend your ethernet cable beyond 100 meters by adding a switch or a hub in between of both ends.

You can also opt for Ethernet Extenders. Ethernet Extenders are also known as network extenders which are used to extend an Ethernet segment beyond its normal distance limitation of 100 meters.

Recently I connected my Laptop & my PC via a straight ethernet cable. I used the ip adress 192.168.1.2, subnet mask 255.255.255.0, default gateway 192.168.1.3 for my PC & 192.168.1.3, subnet mask 255.255.255.0, default gateway 192.168.1.2 for my Laptop. At first when I need to backup my data to PC, Both system behaved well connected & I transfered all my data to PC. But after formatting my laptop when I try to transfer data again to my Laptop from my PC, it doesnt work any more. Actually it connects for only some 30 secs- 1 min & at the middle of transfer the conection breaks. It shows the message that it couldnt find the network path. I disabled my Antivirus firewall & my windows firewall both, but still the problem persists. somebody pls help..

Connecting two computer’s without a switch or hub, needs a Cross cable and not a straight cable… Also try to crimp the RJ45 connectors again, seems a bit loose… Also give only IP address and subnet mask, Gateway is not required. Will not do any harm but still… All the best!

Does any one have any idea how can i extend my ethernet cable beyond 100 meters between my computer and router/modem? According to my knowledge is concern the maximum size of an ethernet cable length comes around 100 meters. So ant information related to this issue would be appreciated.

You can extend your ethernet cable beyond 100 meters by adding a switch or a hub in between of both ends.

You can also opt for Ethernet Extenders. Ethernet Extenders are also known as network extenders which are used to extend an Ethernet segment beyond its normal distance limitation of 100 meters.

author is renowned Internet Marketing Experts
is provided free in internet

Computer Security , , , ,

multiplex one ethernet cable into two? Networking & Security

April 14th, 2008

In situation where I have access to one ethernet cable between two end points, is there a way to multiplex so it functions like two independent (lower bandwidth) ethernet cables? Perhaps some sort of multiplexer sitting at both end points, each with three ethernet ports, one goes to the cable, two others are the virtual cable end points.

A network switch is a broad and imprecise marketing term for a computer networking device that connects network segments.The term commonly refers to a Network bridge that processes and routes data at the Data link layer (layer 2) of the OSI model. Switches that additionally process data at the Network layer (layer 3 and above) are often referred to as Layer 3 switches or Multilayer switches.Not necessarily. You can buy physical cable splitters which enable you to run two 10/100 Mbps Ethernet links (each link only needs two pairs) on one regular four pair Ethernet cable. No switch, no power needed. Caveats: Obviously will not work for GigE, which uses all four pairs. May or may not work for 10/100 Mbps Ethernet, depending on distance, cable qualityA network switch is a broad and imprecise marketing term for a computer networking device that connects network segments.The term commonly refers to a Network bridge that processes and routes data at the Data link layer (layer 2) of the OSI model. Switches that additionally process data at the Network layer (layer 3 and above) are

In situation where I have access to one ethernet cable between two end points, is there a way to multiplex so it functions like two independent (lower bandwidth) ethernet cables? Perhaps some sort of multiplexer sitting at both end points, each with three ethernet ports, one goes to the cable, two others are the virtual cable end points.

A network switch is a broad and imprecise marketing term for a computer networking device that connects network segments.The term commonly refers to a Network bridge that processes and routes data at the Data link layer (layer 2) of the OSI model. Switches that additionally process data at the Network layer (layer 3 and above) are often referred to as Layer 3 switches or Multilayer switches.Not necessarily. You can buy physical cable splitters which enable you to run two 10/100 Mbps Ethernet links (each link only needs two pairs) on one regular four pair Ethernet cable. No switch, no power needed. Caveats: Obviously will not work for GigE, which uses all four pairs. May or may not work for 10/100 Mbps Ethernet, depending on distance, cable quality

A network switch is a broad and imprecise marketing term for a computer networking device that connects network segments.The term commonly refers to a Network bridge that processes and routes data at the Data link layer (layer 2) of the OSI model. Switches that additionally process data at the Network layer (layer 3 and above) are often referred to as Layer 3 switches or Multilayer switches.

author is renowned Internet Marketing Experts
is provided free in internet

Computer Security , , , , ,

Network Security

April 6th, 2008

Dubai will be hosting the top IT brains of India from August 21-25. The occasion is the Technology Senate where the who’s who of the Indian IT arena will be conglomerating to discuss and debate on hot IT issues.

While talking about Tech Senate that largely caters to the CIOs of India, I am not sure how many of us have observed the silent drift the CIOs have made – from their limited role as the technology leaders a few years back to taking on the role of business leaders. They are no longer just the technology experts, but they are in the forefront of the organizational hierarchy, applying IT to accelerate and support the organization’s goals and roadmap. Dittoing these thoughts will be a presentation on ‘Shifting Role of the CIO – Technology to Business Leader in a Security Context’ by Mr. Digvijay Sinh Chudasma, VP-Sales, Cyberoam, at Tech Senate.

These thoughts have found echo in many international magazines as well. A point in case is the recent survey on Indian CIOs – Tomorrow’s CIOs – by one of the international IT magazines. The results reflected that most of these CIOs report directly to the CEOs or owners of their firms. These CIOs are more focused on business strategies and business decision-making, leaving IT infrastructure and application management to other senior members of their team.

Unlike their US counterparts, the role of Indian CIOs involves greater contribution to company innovation and growth, managing outsourced relationships, managing customers and the like. For them, attributes like leadership, execution, communication, vision and innovation define the role of a CIO better.

The way I see this role transformation of the Indian CIOs is that not only has the role of a CIO broadened but the importance of IT and its footprint in organizations has also grown manifolds today.

“Harish Chib is the VP (New business development) Cyberoam. For more information on Cyberoam, visit these pages -

http://www.cyberoam.com/firewall.html

http://www.cyberoam.com/idp.html

http://www.cyberoam.com/antispam.html”

Computer Security ,

Powered by Yahoo! Answers