10-10-2008
As a simple check, you can ping
Google. The command tries to look up the IP address from the name. If it successfully does, you'll see the IP address of google.com in the ping output. Then the command tries to send ICMP packets to the destination IP address. If you see replies from google.com then you are on the internet. Otherwise you have probably entered incorrect DNS address or default gateway. Use 'route' and 'nslookup' commands to see your settings.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello There,
I configure my Modem as follow.
Step1.
# admintool &
Then from Browse --> Serial Port
i select tta port and Edit --> Modify
From that i select Template : Modem:Dial Out
Baud Rate: 9600
Ok
Step 2
# tip /dev/cua/a
connected (1 Reply)
Discussion started by: abidmalik
1 Replies
2. HP-UX
i more than one hp-ux 11.0 application server. some of these application server has an xterminal attached to them. ncd900 and ncd400. i would like to know how many xterm is connected to an application server. without physically checking each xterm, can i identify how many xterm?
thanks alot. (0 Replies)
Discussion started by: inquirer
0 Replies
3. AIX
Hi There,
I'm new here and this is my first (of many ;) ) problems. I've got AIX 5.3 on our unix box and i'm trying to do a DLPAR memory change, but then I ok it I get an error telling me that there is no RMC connection. Does anyone have any ideas what could cause this?
Thanks in advance.
... (3 Replies)
Discussion started by: KeesH
3 Replies
4. Emergency UNIX and Linux Support
I have a host os Windows 7 ultimate in place where virtual box is installed.
Now in virtual box I have installed solaris 10.
There is internet connection present in host windows 7 still I am not able to access internet in solaris 10.
Please help to configure solaris so that internet can be... (12 Replies)
Discussion started by: hiten.r.chauhan
12 Replies
5. UNIX for Dummies Questions & Answers
Hi all
I've been a Debian user since solidly since about 1997 so I'm fairly experienced Linux user as a whole but unfortunately the monoculture has hit be hard recently. I'm working off a Laptop a lot of the time which spends up to 2-4 weeks without an Internet connection. A few weeks ago it... (1 Reply)
Discussion started by: pointyhat
1 Replies
6. IP Networking
how does a router directs the internet traffic to a specific host in the private network?
Example:
My PC has ip 192.168.134.100
Router has ip 192.168.134.200
My company's ip 202.52.150.33
When i try to access internet, say google, it traverses from... (1 Reply)
Discussion started by: Arun_Linux
1 Replies
7. Shell Programming and Scripting
Hi,
I have an external hard drive connected to my iMac.
I am logged into a Linux_x86_64 server. Now, if I want to download files directly to the hard drive, is there a way to do it.
Currently, I am chasing cyberduck to download content to the hard drive. (3 Replies)
Discussion started by: jacobs.smith
3 Replies
8. UNIX for Advanced & Expert Users
I need some help thinking of ways to quickly check if I am connected to the internet while on an internal network. I never lose connection to the internal network but for some annoying reason I lose the internet quite often. I don't get any errors or warnings. I usually find out that I have lost my... (2 Replies)
Discussion started by: cokedude
2 Replies
9. UNIX for Advanced & Expert Users
This is what I did.
$ ps -ef | grep -i networkroot 6657 1 0 12:55 ? 00:00:01 /usr/sbin/NetworkManager
bob 7251 7212 0 13:24 pts/3 00:00:00 grep --color=auto -i
$ sudo kill -9 6657
password for bob:
$ ping -c 5 google.com
PING google.com (74.125.229.160)... (1 Reply)
Discussion started by: cokedude
1 Replies
10. UNIX for Advanced & Expert Users
Hello,
A question please.
Could anyone tell me how to know the connected time for a user on unix ?
I'd need to know this information for several days.
Is there a command to get it ?
Thanks in advance (9 Replies)
Discussion started by: nurinolo
9 Replies
HOSTS(5) Linux Programmer's Manual HOSTS(5)
NAME
hosts - The static table lookup for hostnames
SYNOPSIS
/etc/hosts
DESCRIPTION
This manual page describes the format of the /etc/hosts file. This file is a simple text file that associates IP addresses with hostnames,
one line per IP address. For each host a single line should be present with the following information:
IP_address canonical_hostname [aliases...]
Fields of the entry are separated by any number of blanks and/or tab characters. Text from a "#" character until the end of the line is a
comment, and is ignored. Host names may contain only alphanumeric characters, minus signs ("-"), and periods ("."). They must begin with
an alphabetic character and end with an alphanumeric character. Optional aliases provide for name changes, alternate spellings, shorter
hostnames, or generic hostnames (for example, localhost).
The Berkeley Internet Name Domain (BIND) Server implements the Internet name server for Unix systems. It augments or replaces the
/etc/hosts file or hostname lookup, and frees a host from relying on /etc/hosts being up to date and complete.
In modern systems, even though the host table has been superseded by DNS, it is still widely used for:
bootstrapping
Most systems have a small host table containing the name and address information for important hosts on the local network. This is
useful when DNS is not running, for example during system bootup.
NIS Sites that use NIS use the host table as input to the NIS host database. Even though NIS can be used with DNS, most NIS sites still
use the host table with an entry for all local hosts as a backup.
isolated nodes
Very small sites that are isolated from the network use the host table instead of DNS. If the local information rarely changes, and
the network is not connected to the Internet, DNS offers little advantage.
FILES
/etc/hosts
NOTES
Modifications to this file normally take effect immediately, except in cases where the file is cached by applications.
Historical Notes
RFC 952 gave the original format for the host table, though it has since changed.
Before the advent of DNS, the host table was the only way of resolving hostnames on the fledgling Internet. Indeed, this file could be
created from the official host data base maintained at the Network Information Control Center (NIC), though local changes were often
required to bring it up to date regarding unofficial aliases and/or unknown hosts. The NIC no longer maintains the hosts.txt files, though
looking around at the time of writing (circa 2000), there are historical hosts.txt files on the WWW. I just found three, from 92, 94, and
95.
EXAMPLE
127.0.0.1 localhost
192.168.1.10 foo.mydomain.org foo
192.168.1.13 bar.mydomain.org bar
146.82.138.7 master.debian.org master
209.237.226.90 www.opensource.org
SEE ALSO
hostname(1), resolver(3), resolver(5), hostname(7), named(8), Internet RFC 952
COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2002-06-16 HOSTS(5)