08-28-2002
I have a stand alone Solaris machine and I did the following(found these steps in Google search!!). No use
a. touch /etc/dhcp.eth0
b. cp /dev/null /etc/hostname.eth0
c. Make sure that /etc/inet/hosts only has one line in it, the one containing
127.0.0.1 localhost
e. touch /etc/notrouter
f. cp /dev/null /etc/defaultrouter
g. cp /dev/null /etc/resolv.conf
h. Edit the file /etc/nsswitch.conf and look at the hosts: line. By default, it reads files ; change
it to read hosts: files dns.
Restarted the system, typed ifconfig -a, no change. Couldn't connect.
3 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have 5 computers on a network behind a firewall, once in a while my DSL service will get knocked out and will come back in like 20 minutes or so, but during those 20 minutes, i will be able to view my website, but i will not be able to retrieve my mail, nor will be able to ftp or telnet into my... (12 Replies)
Discussion started by: norsk hedensk
12 Replies
2. Linux
ive been playing around in dsl (damn small linux) live for some time and i love the simplicity of it. but when i go into cfdisk to partition my hard drive, it says like
"Fatal Error:Does not have permission"
i am trying out Xandros desktop os 2.0 right now on my laptop. Can some one help me... (4 Replies)
Discussion started by: Texasone
4 Replies
3. UNIX for Dummies Questions & Answers
I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do
lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies
LEARN ABOUT LINUX
defaultrouter
defaultrouter(4) File Formats defaultrouter(4)
NAME
defaultrouter - configuration file for default router(s)
SYNOPSIS
/etc/defaultrouter
DESCRIPTION
The /etc/defaultrouter file specifies a IPv4 host's default router(s).
The format of the file is as follows:
IP_address
...
The /etc/defaultrouter file can contain the IP addresses or hostnames of one or more default routers, with each entry on its own line. If
you use hostnames, each hostname must also be listed in the local /etc/hosts file, because no name services are running at the time that
defaultrouter is read.
Lines beginning with the ``#'' character are treated as comments.
The default routes listed in this file replace those added by the kernel during diskless booting. An empty /etc/defaultrouter file will
cause the default route added by the kernel to be deleted.
Use of a default route, whether received from a DHCP server or from /etc/defaultrouter, prevents a machine from acting as an IPv4 router.
You can use routeadm(1M) to override this behavior.
FILES
/etc/defaultrouter Configuration file containing the hostnames or IP addresses of one or more default routers.
SEE ALSO
in.rdisc(1M), in.routed(1M), routeadm(1M), hosts(4)
SunOS 5.10 17 Aug 2004 defaultrouter(4)