Solved

Don't have defaultrouter file

Posted on 2004-04-03
2
373 Views
Last Modified: 2013-12-27
How do I changed the default router in my Solaris 8 Sun Box?  I have been troubleshooting the server because I cannot see it from outside the LAN and I am told that I need to set the defaultrouter in my /etc file to the router's IP 192.168.1.1.  Well I don't have a defaultrouter file in the /etc directory.  Can I create it from a text file and ftp it in or do I need to create it in the box.  I don't have a clue on how to manually edit a file in Solaris.  I tried VI and it locked up on me.  Any suggestions would be much appreciated.
0
Comment
Question by:roduno
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 10749196
You won't have a defaultrouter file unless you create it with any any text editor or by executing:

echo "192.168.1.1" >/etc/defaultrouter
0
 

Author Comment

by:roduno
ID: 10749446
That did it.  Thanks!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Vmware Vswitch  VS  Redhat  Bridge 1 90
Shell script errors 10 98
AIX    Volume group Auto ON/OFF question 2 70
unix example issues 18 46
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now