HOw to stay connected to a Windows Network Share even after a reboot in Linux

You just need to edit  the /etc/fstab and following line:
//$ShareName  /mnt/$FolderName    cifs      username=$username,password=$password    0    0

To reload the files system:
mount -a

No Comments »

admin on November 18th 2011 in IT, Linux

Linux Network Testing

Tracert like in windows wit ICMP Echo request
#traceroute www.google.com –I

Show Routing Table
# nestat –nr
# route –n

Connection Statistic
# nestat –i
# mii-diag

Network Connections and Bind Ports
# netstat –a

Check DNS Settings
# dig www.google.com
# dig www.google.com mx
# nslookup www.google.com

I had to install the packages first to use this commands:
# apt-get install dnsutils

TCPDUMP
It is a very useful Network Sniffer for Linux. But first you need to install it:
# apt-get install tcpdump

Ex.
# tcpdump –nli eth0 port 80
# tcpdump –nli eth0 host 192.168.1.100 and port 80
# tcpdump –nli eth0 host 192.168.1.00 and not port 22
# tcpdump –nli eth0 src host 192.168.1.00 and not port 22

No Comments »

admin on May 18th 2010 in IT, Linux

Linux Network Settings

Check the state
# ifconfig –a

Activate/Deactivate Network Interface
# ifup eth0
# ifdown eth0

Hostname
# hostname
# uname -n
# vi /etc/hostname

Get an IP from the DHCP Server
# dhclient

Edit this file to setup a fix IP
#vi /etc/network/interfaces

auto eth0
iface eth0 inet static
      address 192.168.0.25
      netmask 255.255.255.0
      network 192.168.0.0
      broadcast 192.168.0.255
      gateway 192.168.5.1

# /etc/init.d/networking restart

Edit this file to setup DNS
#vi /etc/resolv.conf

order hotsts, bind
domain mydomain.local
nameserver 192.168.0.10

No Comments »

admin on May 17th 2010 in IT, Linux, Network

Add Second Network Card in VMWare

Today I had to add a second virtual network in VMWare. Unfortunately I didn’t find any option first. To do this you need to actually power off the VMWare Host. Then go the settings of the VMWare Host. Click on Add Ethernet Card and confirm everything. Startup OS again.

No Comments »

admin on May 26th 2009 in IT, VMWare

Remote Access to your Home/Work Computer

You need to access your computer at home or company. Or do you need to fix you relatives computer but you are to lazy to get up from you chair and visit them. So you need a remote control software. You could use vnc or remote desktop etc. But usually they are behind a firewall and it needs first a lot of configuration. And not everybody knows how to make a ssh tunnel through port 80 to bypass the firewall. Anyway if you looking for a pretty good and fast solution that most of the time works have a look here:

www.logmein.com

logmein.com

It is by the way free to use, but there are a couple of limitations. One important feature which is missing in the free version is that you can’t share files. Still this service is great and helped me already a couple of times.

No Comments »

admin on May 16th 2008 in Network




Check out new movies online website. Download and buy movies now.
1