Solved

Don't have defaultrouter file

Posted on 2004-04-03
2
394 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.

679 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