Computing.Net > Forums > Solaris > Help me to connect internet automat

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Help me to connect internet automat

Reply to Message Icon

Name: Shutian
Date: June 15, 2004 at 17:47:55 Pacific
OS: Solaris 9 x86
CPU/Ram: 350/128
Comment:

I installed solaris 9 x86 on my PC.
For each reboot, I need to run:

# ifconfig rh0 192.168.0.5
# ifconfig rh0 up
# route add default 192.168.0.1

then I can connect internet, otherwise the internet disconnects/

To let the connection automatically after reboot,
to which files do I need to add the lines?

Thanks in advance

Shutian



Sponsored Link
Ads by Google

Response Number 1
Name: shetty2k4
Date: June 16, 2004 at 02:24:42 Pacific
Reply:

Hi friend,
U have to edit 3 files. They are
1) /etc/hostname(give the system name and ip address)

2) /etc/resolv.conf(give the DNS server name and ip address)

3)/etc/sysconfig/network(specify the gateway address in this file.)

Then restart your system. Every thing will work fine.

Shetty.


0

Response Number 2
Name: sunsolnav
Date: June 28, 2004 at 01:10:20 Pacific
Reply:

/etc/defaultrouter is the file where you can add the gateway.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Help me to connect internet automat

Internet connection in Solaris 7 www.computing.net/answers/solaris/internet-connection-in-solaris-7/4232.html

How to install and connect internet with www.computing.net/answers/solaris/how-to-install-and-connect-internet-with/1628.html

Connecting RCN dsl for intel solaris 7 www.computing.net/answers/solaris/connecting-rcn-dsl-for-intel-solaris-7/996.html