Posted on 10-10-2009
Filed Under (linux, networking, ubuntu) by admin

I decided to make a guide about TCP/IP configuration in Linux, and you may ask: well, what Linux distribution in specific? I know!, there are hundreds of Linux distribution, but for this guide, I’m only going to cover the two most used Linux distribution: Ubuntu and Fedora. Ubuntu is a Debian derivative, so the Ubuntu portion of TCP/IP configuration applies to any distro based on Debian. And the same goes for Fedora, which is based on RedHat Linux.

First, you want to find out what interfaces you have, and what ip address, “if any,” was assigned to your computer. For this use the “ifconfig” command:

ifconfig  #will list all enabled interfaces

if you are looking for a specific interface:

ifconfig eth0 #will only display the configuration for eth0 interface

If you get no interfaces other than the loopback address, it is time to do some troubleshooting and find out whether your network card was detected by Linux or not.

sudo lspci | grep -i ethernet #displaying all your ethernet cards

if you’re troubleshooting a wireless card just change “ethernet” for “wireless.”
other useful command when troubleshooting network card and drivers is “lsmod” Read the rest of this entry »

(2) Comments    Read More   
Posted on 25-09-2008
Filed Under (linux, security, ubuntu) by admin

After having to reset my Ubuntu box password, I decided to come up with this tutorial on how to reset linux password, in this case we will be taking two different methods…

Read the rest of this entry »

Comments Off    Read More   
Posted on 03-09-2008
Filed Under (security) by admin

An SSH tunnel (sometimes referred to as a VPN) is an encrypted network tunnel created through an SSH connection. SSH is frequently used to tunnel insecure traffic over the Internet in a secure way. For example, if you were to check your webmail over the internet your username and password would be send in clear text format, meaning that anyone with a sniffer and using ARP poisoning techniques could intercept your credentials. To browse the internet securely, one can establish an SSH tunnel that routes all HTTP traffic to the ssh server inside an SSH-encrypted connection. Even though the HTTP traffic itself is insecure, because it travels within an encrypted connection it becomes secure.

In order to create an SSH tunnel, the SSH client is configured to forward a specified remote port and IP address (that is accessible on the SSH server) to a port on the local machine. Once the SSH connection has been established, the user can connect to the specified local port to access the network services that would otherwise be available only at the remote IP address and port. For this tutorial I would be setting up SSH server in Ubuntu, and the client pc a windows xp using Internet Explorer as the browser, I know… not the best OS and browser, but I think that’s what most people use.

Read the rest of this entry »

Comments Off    Read More   

In todays hybrid network where Windows and Linux coexist together, I found myself trying to access remote shares from a Linux box and vise versa, having to input credentials to authenticate, well this little tutorial shows a quick and easy way to mount windows network shares in PCLinux with read/write permission, keep in mind that prior to mount the share a user should exist on the remote system in order to authenticate, also notice that the credentials are kept in a clear text file on the Linux box and will be sent during authentication, as it poses a security threat.
click here to view the tutorial

Comments Off    Read More