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.
Hi, i am raj,
my system is a dual booting system, one is linux and another is xp.
also my network server is xp. In xp ip is 192.168.1.4, gatway is 192.168.1.1, I can ping to server 192.168.1.1 through xp, but in linux, can't ping to server. message is showing destination host unreachable. Also in xp, i got internet, but no get through linux. anyone please help.
It is always helpful for guys around to help you if they know what distribution you are using.
You might not have configured your network card properly.
If you are sure your distro has detected and installed the card use the command ifconfig to see the configuration.
If you are using red hat linux use system-config-network to configure network and assign ip address, netmask and other details.
If you are using Ubuntu, you can do it graphically.
go to System > Administration > Network and complete the network details.
Other distributions can also configure your network graphically more or less the similar way.
for redhat, I used this command "system-config-network" and put the ip is 192.168.1.4 and netmask 255.255.255.0, gatway 192.168.1.1, and also using to restart the service network that time no problem occur, but yet not ping to the server or other system through this linux platform and also easy to ping through xp platform to other systems and server, please help me
Last edited by rajlovesall; 12-03-2008 at 04:45 AM.
hi, actually i am using xp and recently installed the redhat linux, and i am using system-config-network and put ip, netmask, and gatway, the gatway i am putting that is ipconfig command giving results that IP adress ...192.168.1.4, sub netmask 255.255.255.0, Default gatway 192.168.1.1, is shown and so i put this. also i flush the iptables and save. Actually I want internet from this xp server shared net. how can i get internet for the linux platform. Xp has no problem, internet is fine, ping to all system, but the only problem is linux, ping is not properly worked. self ping is ok and 127.0.0.1 is ok, but 192.168.1.1 is not ok, please give a solution for this
Is it a so called SERVER of your or a Real SERVER out there?
If its a Real LAN server, I had the same problem of connection time out and connection refused... messages... I don't know how, this problem vanished itself and now I am able to connect to my LAN w$indows server using Fedora.
But my observation is, it was a server side problem ..... Now It accepts my connection and I surf.
Can you ping your server when your Firewall is disabled??
-f Clears the routing tables of all gateway entries. If this is
used in conjunction with one of the commands, the tables are
cleared prior to running the command.
-p When used with the ADD command, makes a route persistent across
boots of the system. By default, routes are not preserved
when the system is restarted. Ignored for all other commands,
which always affect the appropriate persistent routes. This
option is not supported in Windows 95.
command One of these:
PRINT Prints a route
ADD Adds a route
DELETE Deletes a route
CHANGE Modifies an existing route
destination Specifies the host.
MASK Specifies that the next parameter is the 'netmask' value.
netmask Specifies a subnet mask value for this route entry.
If not specified, it defaults to 255.255.255.255.
gateway Specifies gateway.
interface the interface number for the specified route.
METRIC specifies the metric, ie. cost for the destination.
All symbolic names used for destination are looked up in the network database
file NETWORKS. The symbolic names for gateway are looked up in the host name
database file HOSTS.
If the command is PRINT or DELETE. Destination or gateway can be a wildcard,
(wildcard is specified as a star '*'), or the gateway argument may be omitted.
If Dest contains a * or ?, it is treated as a shell pattern, and only
matching destination routes are printed. The '*' matches any string,
and '?' matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*.
Invalid MASK generates an error, that is when (DEST & MASK) != DEST.
Example> route ADD 126.96.36.199 MASK 188.8.131.52 184.108.40.206 IF 1
The route addition failed: The specified mask parameter is invalid.
(Destination & Mask) != Destination.
> route PRINT
> route ADD 220.127.116.11 MASK 255.0.0.0 18.104.22.168 METRIC 3 IF 2
destination^ ^mask ^gateway metric^ ^
If IF is not given, it tries to find the best interface for a given
> route PRINT
> route PRINT 157* .... Only prints those matching 157*
> route CHANGE 22.214.171.124 MASK 255.0.0.0 126.96.36.199 METRIC 2 IF 2
CHANGE is used to modify gateway and/or metric only.
> route PRINT
> route DELETE 188.8.131.52
> route PRINT