Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
* Do you have MAC filer enabled on your router?If so, make sure yours is added to the router
* Is your router with the same subnet mask?
* Do yo have DHCP enabled on your router? If so, is your machine IP within the range specified on your router?
Do check your iptable rules.In linux "service iptables status" command will give you the clear picture .
If client and server are in the same subnet mask they must communicate with each other.
Two way handshake must be be established between them unless not restricted by iptable rules.
Check your iptable rules of both 192.168.1.100 machine & 192.168.1.1 machine.
I had the same problem before. Guess what I did? I added myself as another default gateway and it worked. No one has been able to answer why it worked. See if it works for you and I'll point you to my thread. Here's my routing table:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.70.146 * 255.255.255.255 UH 0 0 0 wlan0
loopback * 255.0.0.0 U 0 0 0 lo
default 172.16.1.1 0.0.0.0 UG 0 0 0 wlan0
default 172.16.70.146 0.0.0.0 UG 0 0 0 wlan0
Here's the script I wrote for my wireless. If the above works, you can modify this for your eth0
if [ "$1" == "on" ]; then
echo "Turning on wifi device"
/sbin/ifconfig wlan0 up
/sbin/iwlist wlan0 scan
echo "Connecting to network"
/sbin/iwconfig wlan0 essid XXXXX #Enter your essid (Connection name)
echo "Obtaining the address"
#Obtain IP and store it
/sbin/ifconfig wlan0 #Display configuration
IP=`/sbin/ifconfig wlan0|grep "inet addr"|cut -f2 -d:|cut -f1 -dB`
if [ -n "$IP" ]; then
/sbin/route add default gw $IP
/sbin/route add default gw XX.XX.XX.XX #My gateway
/sbin/ifconfig wlan0 down