Computing.Net > Forums > Solaris > connect solaris to cable modem

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.

connect solaris to cable modem

Reply to Message Icon

Name: jdba
Date: August 25, 2004 at 21:13:58 Pacific
OS: solaris 9
CPU/Ram: 650mhz/512mb
Comment:

Hi, I'd like to share my internet connection(cable modem) on win98 with sparc solaris 9 machine. I have only one network card in win98 side and a spare hub.

What will be the best to set up this? If I connect both through the hub, my cable provider will charge me for the 2nd IP, right? Do I need to buy a router and use it to connect to cable modem?

OR, if I don't need to connect both to internet at same time, how should I configure the solaris side? Will my cable provider still charge me the connection from the 2nd computer?

Thanks in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: jagarwal
Date: September 21, 2004 at 12:06:08 Pacific
Reply:

dude here we go

How can I setup my Solaris box to use with TWCNYC RoadRunner's cable modem service?

TWCNYC uses DOCSIS certified cable modem. Coax cable coming from outside is hooked on to the Cable Modem and the Ethernet cable is connected from modem to computer's ethernet card or possibly to a
Ethernet Hub.
The throughput is about 2.0-MB/sec. on downstream and 300KB/sec. on upstream.
But the speed may differ for based on you internal network capacity .
RoadRunner of TWCNYC configures their systems with Dynamic Host Configuration Protocol (DHCP), which provides the IP address, default route, and name servers. You need Solaris 2.6 or higher for DHCP.
To set it up for Solaris, follow these steps, as root:

a. touch /etc/dhcp.eth0
replace the ".eth0" with whatever the ethernet interface for your system might be, as shown by
ifconfig -a

b. cp /dev/null /etc/hostname.eth0
You need to make SURE that this file is EMPTY - otherwise, DHCP
configuration won't work.

c. Make sure that /etc/inet/hosts only has one line in it, the one containing
127.0.0.1 localhost
Any other lines will be ignored, and any additional necessary
lines will be added by the DHCP client at boot time.

e. touch /etc/notrouter
this creates a file to tell Solaris that your system will not be performing routing or
packet-forwarding duties. If the file is there leave it the way it is.

f. cp /dev/null /etc/defaultrouter
since the DHCP client software will automatically put the needed entries in this file, we just need to make sure that it exists as an empty file. If it already exists, rename it and create the empty file in its place.

g. cp /dev/null /etc/resolv.conf
the DHCP client will add the necessary entries. If you already have this file,
rename it and create an empty file in its place.

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. This will enable your
machine to resolve addresses using DNS, the Domain Name System.
Okay if you have followed all my Instructions, Solaris machine is ready to get its networking information via DHCP.
Reboot your machine. You will see status messages during boot about the DHCP client, this is normal. Once the machine is booted
type the "ifconfig -a" command. You will see output similar to this:

$ ifconfig -a
le0: flags=849 mtu 8232
inet 127.0.0.1 netmask ff000000
eth0: flags=4843 mtu 1500
inet 66.65.63.238 netmask ffffff00 broadcast 66.65.63.255
ether 8:0:20:9f:37:f1

i. check to make sure that the /etc/resolv.conf and /etc/defaultrouter files were configured by the DHCP client.
Type "hostname" to see if it says "unknown." If so, DHCP did not provide a hostname. One workaround is to edit /etc/init.d/ network and replace
all occurences of "unknown" with your real hostname.

RoadRunner information is at http://www.rr.com/v5/home/0,1793,92,00.html and help is at http://help.rr.com/. But if you got UNIX or LINUX tough luck buddy.

I am not representing Timewarner cable or Roadrunner in any form or manner. This
work of mine is based on personal experience. But if you feel my expression may
cause damage to free world please kindly drop me an email & I will gladly remove any
misleading or Incorrect Information. Or help me correct the Information

johnny agarwal


0
Reply to Message Icon

Related Posts

See More


solaris cannot boot change monitor refresh ra...



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: connect solaris to cable modem

Connecting Solaris to XP www.computing.net/answers/solaris/connecting-solaris-to-xp/4916.html

H E L P ! ! ! cable modem on solaris www.computing.net/answers/solaris/h-e-l-p-cable-modem-on-solaris/71.html

NIC to 10 HDX - Work with cable modem www.computing.net/answers/solaris/nic-to-10-hdx-work-with-cable-modem/1922.html