Need help configuring DNS/DHCP with cable modem
I have two PCs: one Win2k and one Solaris8 x86.
They are connected to the router which in turn is connected to the cable modem. My ISP is roadrunner (hawaii.rr.com). My Windows PC has no problems connecting to the Internet. Because I'm using the router, my PCs IP adresses are 192.168.2.x where x was 28 on the winpc and 36 on the solaris pc when I last ran it on its windows partition. The router's IP is 192.168.2.1, but its external IP is assigned by my ISP.
So, when I try to go to the Web on the solaris box, it tells me that it has no info on requested host, i.e., it doesn't know where to go to the DNS server.
I'm attempting to correctly edit the nsswitch.conf, the resolv.conf, and the hosts files. Currently, they look like this:
# more hosts
#
# Internet host table
#
127.0.0.1 localhost
192.168.2.1 hostname domain hawaii.rr.com loghost
# more defaultrouter
192.168.0.1
# more resolv.conf
domain hawaii.rr.com
nameserver 192.168.2.1
nameserver 192.168.2.1
# more /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd: files
group: files
hosts: files dns
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
printers: user files
auth_attr: files
prof_attr: files
So what am I doing wrong? Thanks in advance for the help
I have two PCs: one Win2k and one Solaris8 x86.
They are connected to the router which in turn is connected to the cable modem. My ISP is roadrunner (hawaii.rr.com). My Windows PC has no problems connecting to the Internet. Because I'm using the router, my PCs IP adresses are 192.168.2.x where x was 28 on the winpc and 36 on the solaris pc when I last ran it on its windows partition. The router's IP is 192.168.2.1, but its external IP is assigned by my ISP.
So, when I try to go to the Web on the solaris box, it tells me that it has no info on requested host, i.e., it doesn't know where to go to the DNS server.
I'm attempting to correctly edit the nsswitch.conf, the resolv.conf, and the hosts files. Currently, they look like this:
# more hosts
#
# Internet host table
#
127.0.0.1 localhost
192.168.2.1 hostname domain hawaii.rr.com loghost
# more defaultrouter
192.168.0.1
# more resolv.conf
domain hawaii.rr.com
nameserver 192.168.2.1
nameserver 192.168.2.1
# more /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd: files
group: files
hosts: files dns
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
printers: user files
auth_attr: files
prof_attr: files
So what am I doing wrong? Thanks in advance for the help
