dmccullough1972
asked on
Probably a broad question
I cant seem to find an answer anywhere. I have a Sun SPARCclassic, SunOS 5.7. I am trying to get it on to my network.
Currently it is plugged into my router/gateway, the le0 is active. default interface is multicast the gateway is set to Classic or 127.0.0.1 dont know why I want the gateway set to 192.168.1.1 which is the router/gateway IP address, I want to set the Sparc to an IP of 192.168.1.103. Everthing functions well.
Can someone please help. I have setup Linux system, for internet access and hosting, but this is nothing like that not the same files/filenames.
thanks
Currently it is plugged into my router/gateway, the le0 is active. default interface is multicast the gateway is set to Classic or 127.0.0.1 dont know why I want the gateway set to 192.168.1.1 which is the router/gateway IP address, I want to set the Sparc to an IP of 192.168.1.103. Everthing functions well.
Can someone please help. I have setup Linux system, for internet access and hosting, but this is nothing like that not the same files/filenames.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Where is ipconfig?
ASKER
I found it, its one that i have goofed up a few times. ifconfig.
I can ping and hit other computers in the 192.168.1 area. but getting outside is still not working. there is no firewall up at the moment.
Here is some output.
# netstat -a
UDP
Local Address Remote Address State
-------------------- -------------------- -------
*.route Idle
*.* Unbound
*.sunrpc Idle
*.* Unbound
*.32771 Idle
*.name Idle
*.biff Idle
*.talk Idle
*.time Idle
*.echo Idle
*.lockd Idle
*.discard Idle
*.daytime Idle
*.chargen Idle
*.32772 Idle
*.32773 Idle
*.32774 Idle
*.32775 Idle
*.32776 Idle
*.32777 Idle
*.32778 Idle
*.32779 Idle
*.syslog Idle
*.* Unbound
TCP
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
-------------------- -------------------- ----- ------ ----- ------ -------
*.* *.* 0 0 0 0 IDLE
*.sunrpc *.* 0 0 0 0 LISTEN
*.* *.* 0 0 0 0 IDLE
*.ftp *.* 0 0 0 0 LISTEN
*.telnet *.* 0 0 0 0 LISTEN
*.shell *.* 0 0 0 0 LISTEN
*.login *.* 0 0 0 0 LISTEN
*.exec *.* 0 0 0 0 LISTEN
*.uucp *.* 0 0 0 0 LISTEN
*.finger *.* 0 0 0 0 LISTEN
*.time *.* 0 0 0 0 LISTEN
*.echo *.* 0 0 0 0 LISTEN
*.discard *.* 0 0 0 0 LISTEN
*.daytime *.* 0 0 0 0 LISTEN
*.chargen *.* 0 0 0 0 LISTEN
*.32771 *.* 0 0 0 0 LISTEN
*.32772 *.* 0 0 0 0 LISTEN
*.lockd *.* 0 0 0 0 LISTEN
*.32773 *.* 0 0 0 0 LISTEN
*.32774 *.* 0 0 0 0 LISTEN
*.fs *.* 0 0 0 0 LISTEN
*.32775 *.* 0 0 0 0 LISTEN
*.printer *.* 0 0 0 0 LISTEN
*.smtp *.* 0 0 0 0 LISTEN
puma.telnet router.4688 64181 0 9254 0 ESTABLISHED
*.* *.* 0 0 0 0 IDLE
# netstat -rn
Routing Table:
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.1.0 192.168.1.101 U 3 1 le0
224.0.0.0 192.168.1.101 U 3 0 le0
default 192.168.1.1 UG 0 0
127.0.0.1 127.0.0.1 UH 0 9 lo0
looks like I screwed something up
I can ping and hit other computers in the 192.168.1 area. but getting outside is still not working. there is no firewall up at the moment.
Here is some output.
# netstat -a
UDP
Local Address Remote Address State
-------------------- -------------------- -------
*.route Idle
*.* Unbound
*.sunrpc Idle
*.* Unbound
*.32771 Idle
*.name Idle
*.biff Idle
*.talk Idle
*.time Idle
*.echo Idle
*.lockd Idle
*.discard Idle
*.daytime Idle
*.chargen Idle
*.32772 Idle
*.32773 Idle
*.32774 Idle
*.32775 Idle
*.32776 Idle
*.32777 Idle
*.32778 Idle
*.32779 Idle
*.syslog Idle
*.* Unbound
TCP
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
-------------------- -------------------- ----- ------ ----- ------ -------
*.* *.* 0 0 0 0 IDLE
*.sunrpc *.* 0 0 0 0 LISTEN
*.* *.* 0 0 0 0 IDLE
*.ftp *.* 0 0 0 0 LISTEN
*.telnet *.* 0 0 0 0 LISTEN
*.shell *.* 0 0 0 0 LISTEN
*.login *.* 0 0 0 0 LISTEN
*.exec *.* 0 0 0 0 LISTEN
*.uucp *.* 0 0 0 0 LISTEN
*.finger *.* 0 0 0 0 LISTEN
*.time *.* 0 0 0 0 LISTEN
*.echo *.* 0 0 0 0 LISTEN
*.discard *.* 0 0 0 0 LISTEN
*.daytime *.* 0 0 0 0 LISTEN
*.chargen *.* 0 0 0 0 LISTEN
*.32771 *.* 0 0 0 0 LISTEN
*.32772 *.* 0 0 0 0 LISTEN
*.lockd *.* 0 0 0 0 LISTEN
*.32773 *.* 0 0 0 0 LISTEN
*.32774 *.* 0 0 0 0 LISTEN
*.fs *.* 0 0 0 0 LISTEN
*.32775 *.* 0 0 0 0 LISTEN
*.printer *.* 0 0 0 0 LISTEN
*.smtp *.* 0 0 0 0 LISTEN
puma.telnet router.4688 64181 0 9254 0 ESTABLISHED
*.* *.* 0 0 0 0 IDLE
# netstat -rn
Routing Table:
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.1.0 192.168.1.101 U 3 1 le0
224.0.0.0 192.168.1.101 U 3 0 le0
default 192.168.1.1 UG 0 0
127.0.0.1 127.0.0.1 UH 0 9 lo0
looks like I screwed something up
ASKER
Also when I rebooted the system I got two messages.
Hostname: Classic
Setting default interface for multicast: add net 224.0.0.0: gateway Classic
Classic: bad value
???? huh I thought I changed all that
Hostname: Classic
Setting default interface for multicast: add net 224.0.0.0: gateway Classic
Classic: bad value
???? huh I thought I changed all that
Looks like you have your IP address set to 192.168.1.101
If you make the changes dynamically you still hae to make the changes to the config files or else it will revert to old settings on a reboot.
Sorry - that should read ifconfig not ipconfig - I'm getting confused with Windows!!
What are the contents of /etc/hosts and /etc/hostname.le0. The /etc/defaultrouter file should only contain the ip address 192.168.1.1.
What does 'ifconfig -a' say?
SD
If you make the changes dynamically you still hae to make the changes to the config files or else it will revert to old settings on a reboot.
Sorry - that should read ifconfig not ipconfig - I'm getting confused with Windows!!
What are the contents of /etc/hosts and /etc/hostname.le0. The /etc/defaultrouter file should only contain the ip address 192.168.1.1.
What does 'ifconfig -a' say?
SD
ASKER
Heres some things
#
# Internet host table
#
127.0.0.1 localhost loghost
192.168.1.1 router
192.168.1.100 imac
192.168.1.102 mac
192.168.1.103 dan-laptop
192.168.1.101 puma
$ cat /etc/hostname.le0
puma
It says there is no /etc/defaultrouter
# ifconfig -a
lo0: flags=849<UP,LOOPBACK,RUNN ING,MULTIC AST> mtu 8232
inet 127.0.0.1 netmask ff000000
le0: flags=863<UP,BROADCAST,NOT RAILERS,RU NNING,MULT ICAST> mtu 1500
inet 192.168.1.101 netmask ffffff00 broadcast 192.168.1.255
ether 8:0:20:1d:68:6
#
# Internet host table
#
127.0.0.1 localhost loghost
192.168.1.1 router
192.168.1.100 imac
192.168.1.102 mac
192.168.1.103 dan-laptop
192.168.1.101 puma
$ cat /etc/hostname.le0
puma
It says there is no /etc/defaultrouter
# ifconfig -a
lo0: flags=849<UP,LOOPBACK,RUNN
inet 127.0.0.1 netmask ff000000
le0: flags=863<UP,BROADCAST,NOT
inet 192.168.1.101 netmask ffffff00 broadcast 192.168.1.255
ether 8:0:20:1d:68:6
ASKER
Awesome !!!! Great. One more question?
I can get anywhere using IP addresses. I cant get anywhere using domain names.
Help ?
I can get anywhere using IP addresses. I cant get anywhere using domain names.
Help ?
puma was just an example it should really be your own hostname here since it's your primary address. I'm also assuming you want address 192.168.1.101 not 192.168.1.103.
I'm guessing your machine is called 'Classic' - check by calling 'uname -n'.
So /etc/hostname.le0 should read
Classic
/etc/hosts
...
192.168.1.101 Classic
...
/etc/defaultrouter
192.168.1.1
To use names rather then IP addresses, make the following changes.
/etc/nsswitch.conf
....
hosts: files dns
....
/etc/resolv.conf
domain your.domain.com
nameserver <IP Address of primary nameserver>
nameserver <IP Address of secondary nameserver>
reboot
I'm guessing your machine is called 'Classic' - check by calling 'uname -n'.
So /etc/hostname.le0 should read
Classic
/etc/hosts
...
192.168.1.101 Classic
...
/etc/defaultrouter
192.168.1.1
To use names rather then IP addresses, make the following changes.
/etc/nsswitch.conf
....
hosts: files dns
....
/etc/resolv.conf
domain your.domain.com
nameserver <IP Address of primary nameserver>
nameserver <IP Address of secondary nameserver>
reboot
ASKER
That still didnt work. I can still ping IP but no names.
this is what I setup
/etc/resolv.conf
domain www.some-net.com
nameserver 66.128.255.32
nameserver 141.25.85.32
domain www.other.com
nameserver 66.128.255.32
nameserver 141.25.85.32
I hate to keep bothering you.
So if you dont mind are there some forums or mailing lists where I can ask these questions, where people are patient with someone just starting out.
this is what I setup
/etc/resolv.conf
domain www.some-net.com
nameserver 66.128.255.32
nameserver 141.25.85.32
domain www.other.com
nameserver 66.128.255.32
nameserver 141.25.85.32
I hate to keep bothering you.
So if you dont mind are there some forums or mailing lists where I can ask these questions, where people are patient with someone just starting out.
You can't have two domain entries in /etc/resolv.conf - should be your (or your ISPs) domain here only. All this does is automatically add '.yourdomain.com' to non-qualified addresses.
i.e.
'ping www.hotmail.com' - goes to hotmail
'ping www' - will try to ping www.yourdomain.com
Did you make the change to /etc/nsswitch.conf to add dns to the files lookup entry?
Are you able to ping 66.128.255.32 (odd address!) and 141.25.85.32?
If you type nslookup what does it say?
Sun has a full set of documentation available on-line at http://docs.sun.com
DNS is covered here
http://docs.sun.com/db/doc/806-1390/806-1390#hic
i.e.
'ping www.hotmail.com' - goes to hotmail
'ping www' - will try to ping www.yourdomain.com
Did you make the change to /etc/nsswitch.conf to add dns to the files lookup entry?
Are you able to ping 66.128.255.32 (odd address!) and 141.25.85.32?
If you type nslookup what does it say?
Sun has a full set of documentation available on-line at http://docs.sun.com
DNS is covered here
http://docs.sun.com/db/doc/806-1390/806-1390#hic
ASKER
Okay this evening I cant ping 66.128.255.32 or 141.25.85.32. If I try www or mail then I get www.mydomain.com is alive.
in /etc/nsswitch.conf
host: file dns
# nslookup
Authoritative answers can be found from:
(root) nameserver = G.ROOT-SERVERS.NET
(root) nameserver = H.ROOT-SERVERS.NET
(root) nameserver = I.ROOT-SERVERS.NET
(root) nameserver = J.ROOT-SERVERS.NET
(root) nameserver = K.ROOT-SERVERS.NET
(root) nameserver = L.ROOT-SERVERS.NET
(root) nameserver = M.ROOT-SERVERS.NET
(root) nameserver = A.ROOT-SERVERS.NET
(root) nameserver = B.ROOT-SERVERS.NET
(root) nameserver = C.ROOT-SERVERS.NET
(root) nameserver = D.ROOT-SERVERS.NET
(root) nameserver = E.ROOT-SERVERS.NET
(root) nameserver = F.ROOT-SERVERS.NET
A.ROOT-SERVERS.NET internet address = 198.41.0.4
B.ROOT-SERVERS.NET internet address = 128.9.0.107
C.ROOT-SERVERS.NET internet address = 192.33.4.12
D.ROOT-SERVERS.NET internet address = 128.8.10.90
E.ROOT-SERVERS.NET internet address = 192.203.230.10
F.ROOT-SERVERS.NET internet address = 192.5.5.241
G.ROOT-SERVERS.NET internet address = 192.112.36.4
H.ROOT-SERVERS.NET internet address = 128.63.2.53
I.ROOT-SERVERS.NET internet address = 192.36.148.17
J.ROOT-SERVERS.NET internet address = 192.58.128.30
K.ROOT-SERVERS.NET internet address = 193.0.14.129
L.ROOT-SERVERS.NET internet address = 198.32.64.12
M.ROOT-SERVERS.NET internet address = 202.12.27.33
*** Can't find server name for address 66.80.146.130: No information
Authoritative answers can be found from:
(root) nameserver = F.ROOT-SERVERS.NET
(root) nameserver = G.ROOT-SERVERS.NET
(root) nameserver = H.ROOT-SERVERS.NET
(root) nameserver = I.ROOT-SERVERS.NET
(root) nameserver = J.ROOT-SERVERS.NET
(root) nameserver = K.ROOT-SERVERS.NET
(root) nameserver = L.ROOT-SERVERS.NET
(root) nameserver = M.ROOT-SERVERS.NET
(root) nameserver = A.ROOT-SERVERS.NET
(root) nameserver = B.ROOT-SERVERS.NET
(root) nameserver = C.ROOT-SERVERS.NET
(root) nameserver = D.ROOT-SERVERS.NET
(root) nameserver = E.ROOT-SERVERS.NET
A.ROOT-SERVERS.NET internet address = 198.41.0.4
B.ROOT-SERVERS.NET internet address = 128.9.0.107
C.ROOT-SERVERS.NET internet address = 192.33.4.12
D.ROOT-SERVERS.NET internet address = 128.8.10.90
E.ROOT-SERVERS.NET internet address = 192.203.230.10
F.ROOT-SERVERS.NET internet address = 192.5.5.241
G.ROOT-SERVERS.NET internet address = 192.112.36.4
H.ROOT-SERVERS.NET internet address = 128.63.2.53
I.ROOT-SERVERS.NET internet address = 192.36.148.17
J.ROOT-SERVERS.NET internet address = 192.58.128.30
K.ROOT-SERVERS.NET internet address = 193.0.14.129
L.ROOT-SERVERS.NET internet address = 198.32.64.12
M.ROOT-SERVERS.NET internet address = 202.12.27.33
*** Can't find server name for address 64.141.71.91: No information
Authoritative answers can be found from:
(root) nameserver = C.ROOT-SERVERS.NET
(root) nameserver = D.ROOT-SERVERS.NET
(root) nameserver = E.ROOT-SERVERS.NET
(root) nameserver = F.ROOT-SERVERS.NET
(root) nameserver = G.ROOT-SERVERS.NET
(root) nameserver = H.ROOT-SERVERS.NET
(root) nameserver = I.ROOT-SERVERS.NET
(root) nameserver = J.ROOT-SERVERS.NET
(root) nameserver = K.ROOT-SERVERS.NET
(root) nameserver = L.ROOT-SERVERS.NET
(root) nameserver = M.ROOT-SERVERS.NET
(root) nameserver = A.ROOT-SERVERS.NET
(root) nameserver = B.ROOT-SERVERS.NET
A.ROOT-SERVERS.NET internet address = 198.41.0.4
B.ROOT-SERVERS.NET internet address = 128.9.0.107
C.ROOT-SERVERS.NET internet address = 192.33.4.12
D.ROOT-SERVERS.NET internet address = 128.8.10.90
E.ROOT-SERVERS.NET internet address = 192.203.230.10
F.ROOT-SERVERS.NET internet address = 192.5.5.241
G.ROOT-SERVERS.NET internet address = 192.112.36.4
H.ROOT-SERVERS.NET internet address = 128.63.2.53
I.ROOT-SERVERS.NET internet address = 192.36.148.17
J.ROOT-SERVERS.NET internet address = 192.58.128.30
K.ROOT-SERVERS.NET internet address = 193.0.14.129
L.ROOT-SERVERS.NET internet address = 198.32.64.12
M.ROOT-SERVERS.NET internet address = 202.12.27.33
*** Can't find server name for address 66.80.146.131: No information
*** Default servers are not available
#
in /etc/nsswitch.conf
host: file dns
# nslookup
Authoritative answers can be found from:
(root) nameserver = G.ROOT-SERVERS.NET
(root) nameserver = H.ROOT-SERVERS.NET
(root) nameserver = I.ROOT-SERVERS.NET
(root) nameserver = J.ROOT-SERVERS.NET
(root) nameserver = K.ROOT-SERVERS.NET
(root) nameserver = L.ROOT-SERVERS.NET
(root) nameserver = M.ROOT-SERVERS.NET
(root) nameserver = A.ROOT-SERVERS.NET
(root) nameserver = B.ROOT-SERVERS.NET
(root) nameserver = C.ROOT-SERVERS.NET
(root) nameserver = D.ROOT-SERVERS.NET
(root) nameserver = E.ROOT-SERVERS.NET
(root) nameserver = F.ROOT-SERVERS.NET
A.ROOT-SERVERS.NET internet address = 198.41.0.4
B.ROOT-SERVERS.NET internet address = 128.9.0.107
C.ROOT-SERVERS.NET internet address = 192.33.4.12
D.ROOT-SERVERS.NET internet address = 128.8.10.90
E.ROOT-SERVERS.NET internet address = 192.203.230.10
F.ROOT-SERVERS.NET internet address = 192.5.5.241
G.ROOT-SERVERS.NET internet address = 192.112.36.4
H.ROOT-SERVERS.NET internet address = 128.63.2.53
I.ROOT-SERVERS.NET internet address = 192.36.148.17
J.ROOT-SERVERS.NET internet address = 192.58.128.30
K.ROOT-SERVERS.NET internet address = 193.0.14.129
L.ROOT-SERVERS.NET internet address = 198.32.64.12
M.ROOT-SERVERS.NET internet address = 202.12.27.33
*** Can't find server name for address 66.80.146.130: No information
Authoritative answers can be found from:
(root) nameserver = F.ROOT-SERVERS.NET
(root) nameserver = G.ROOT-SERVERS.NET
(root) nameserver = H.ROOT-SERVERS.NET
(root) nameserver = I.ROOT-SERVERS.NET
(root) nameserver = J.ROOT-SERVERS.NET
(root) nameserver = K.ROOT-SERVERS.NET
(root) nameserver = L.ROOT-SERVERS.NET
(root) nameserver = M.ROOT-SERVERS.NET
(root) nameserver = A.ROOT-SERVERS.NET
(root) nameserver = B.ROOT-SERVERS.NET
(root) nameserver = C.ROOT-SERVERS.NET
(root) nameserver = D.ROOT-SERVERS.NET
(root) nameserver = E.ROOT-SERVERS.NET
A.ROOT-SERVERS.NET internet address = 198.41.0.4
B.ROOT-SERVERS.NET internet address = 128.9.0.107
C.ROOT-SERVERS.NET internet address = 192.33.4.12
D.ROOT-SERVERS.NET internet address = 128.8.10.90
E.ROOT-SERVERS.NET internet address = 192.203.230.10
F.ROOT-SERVERS.NET internet address = 192.5.5.241
G.ROOT-SERVERS.NET internet address = 192.112.36.4
H.ROOT-SERVERS.NET internet address = 128.63.2.53
I.ROOT-SERVERS.NET internet address = 192.36.148.17
J.ROOT-SERVERS.NET internet address = 192.58.128.30
K.ROOT-SERVERS.NET internet address = 193.0.14.129
L.ROOT-SERVERS.NET internet address = 198.32.64.12
M.ROOT-SERVERS.NET internet address = 202.12.27.33
*** Can't find server name for address 64.141.71.91: No information
Authoritative answers can be found from:
(root) nameserver = C.ROOT-SERVERS.NET
(root) nameserver = D.ROOT-SERVERS.NET
(root) nameserver = E.ROOT-SERVERS.NET
(root) nameserver = F.ROOT-SERVERS.NET
(root) nameserver = G.ROOT-SERVERS.NET
(root) nameserver = H.ROOT-SERVERS.NET
(root) nameserver = I.ROOT-SERVERS.NET
(root) nameserver = J.ROOT-SERVERS.NET
(root) nameserver = K.ROOT-SERVERS.NET
(root) nameserver = L.ROOT-SERVERS.NET
(root) nameserver = M.ROOT-SERVERS.NET
(root) nameserver = A.ROOT-SERVERS.NET
(root) nameserver = B.ROOT-SERVERS.NET
A.ROOT-SERVERS.NET internet address = 198.41.0.4
B.ROOT-SERVERS.NET internet address = 128.9.0.107
C.ROOT-SERVERS.NET internet address = 192.33.4.12
D.ROOT-SERVERS.NET internet address = 128.8.10.90
E.ROOT-SERVERS.NET internet address = 192.203.230.10
F.ROOT-SERVERS.NET internet address = 192.5.5.241
G.ROOT-SERVERS.NET internet address = 192.112.36.4
H.ROOT-SERVERS.NET internet address = 128.63.2.53
I.ROOT-SERVERS.NET internet address = 192.36.148.17
J.ROOT-SERVERS.NET internet address = 192.58.128.30
K.ROOT-SERVERS.NET internet address = 193.0.14.129
L.ROOT-SERVERS.NET internet address = 198.32.64.12
M.ROOT-SERVERS.NET internet address = 202.12.27.33
*** Can't find server name for address 66.80.146.131: No information
*** Default servers are not available
#
ASKER
I keep getting Classic sendmail: unable to qualify my own domain name (Classic) -- using short name
Can you ping anything outside of your subnet yet?
Your nsswitch.conf should say 'files' not 'file'
What are 66.80.146.130 64.141.71.91 66.80.146.131 - are they in your resolv.conf file?
Looks like DNS has already been set up in server mode on your system! Does 'ps -ef | grep named' return anything other than your grep command?
Your nsswitch.conf should say 'files' not 'file'
What are 66.80.146.130 64.141.71.91 66.80.146.131 - are they in your resolv.conf file?
Looks like DNS has already been set up in server mode on your system! Does 'ps -ef | grep named' return anything other than your grep command?
To stop the sendmail message put
192.168.1.101 Classic Classic.your.domainname
in /etc/hosts - this gives it a domainname for sendmail to work on.
192.168.1.101 Classic Classic.your.domainname
in /etc/hosts - this gives it a domainname for sendmail to work on.
ASKER
question I cant find my /etc/named.conf or /etc/named.boot file
how can I see if I'm BIND 8.1 or 4.9?
how can I see if I'm BIND 8.1 or 4.9?
ASKER
# /usr/sbin/named-bootconf
/etc/named.boot does not exist
/etc/named.boot does not exist
You don't need them if you are running as a client, you only need nsswitch.conf and resolv.conf. What I don't understand is where it is getting info about root servers if it can't see any of the name servers you have defined. Only a DNS server knows about the root servers, a client should't know about them unless it can see a server.
ASKER
Sorry let me list the contents of a few files.
# cat /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
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
# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost loghost
192.168.1.1 router
192.168.1.100 imac
192.168.1.102 mac
192.168.1.103 dan-laptop
192.168.1.101 Classic
192.168.1.101 Classic Classic.mccullough-net.com
# cat /etc/resolv.conf
domain mccullough-net.com
nameserver 127.0.0.1
nameserver 66.80.146.130
nameserver 64.141.71.91
I still cant ping anything this evening an nslookup basically returns what I showed above. I was going through the Sun DNS guide that you sent the link for and that I was running through it correcting stuff. They said to put no more then three nameservers in the resolv.conf so I did they also had 127.0.0.1 in the first one. Then I moved on to named.conf, except their wasnt one, and so I went to named.boot, none either. To me that doesnt sound good.
# cat /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
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
# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost loghost
192.168.1.1 router
192.168.1.100 imac
192.168.1.102 mac
192.168.1.103 dan-laptop
192.168.1.101 Classic
192.168.1.101 Classic Classic.mccullough-net.com
# cat /etc/resolv.conf
domain mccullough-net.com
nameserver 127.0.0.1
nameserver 66.80.146.130
nameserver 64.141.71.91
I still cant ping anything this evening an nslookup basically returns what I showed above. I was going through the Sun DNS guide that you sent the link for and that I was running through it correcting stuff. They said to put no more then three nameservers in the resolv.conf so I did they also had 127.0.0.1 in the first one. Then I moved on to named.conf, except their wasnt one, and so I went to named.boot, none either. To me that doesnt sound good.
ASKER
I dont know the life this server had before my purchase. I got it for $50 in an ISP selloff, and really have left it in the back corner. I dont think this would have been a DNS server, it doesnt look to have BIND installed on it. I did a search for /etc/init.d/named and there was no file found.
I get odd things on the startup, I still get it "Setting default interface for multicast: add net 244.0.0.0: gateway Classic syslog service starting" Yet I cant find where that is setting that or if it even matters.
If you want I can tell you how to hit the box and you can poke around theres nothing on here of importance I was planning on settng this up as a mail server since my wifes ISP is dropping the ball on a regular basis.
I get odd things on the startup, I still get it "Setting default interface for multicast: add net 244.0.0.0: gateway Classic syslog service starting" Yet I cant find where that is setting that or if it even matters.
If you want I can tell you how to hit the box and you can poke around theres nothing on here of importance I was planning on settng this up as a mail server since my wifes ISP is dropping the ball on a regular basis.
ASKER
I dont know the life this server had before my purchase. I got it for $50 in an ISP selloff, and really have left it in the back corner. I dont think this would have been a DNS server, it doesnt look to have BIND installed on it. I did a search for /etc/init.d/named and there was no file found.
I get odd things on the startup, I still get it "Setting default interface for multicast: add net 244.0.0.0: gateway Classic syslog service starting" Yet I cant find where that is setting that or if it even matters.
If you want I can tell you how to hit the box and you can poke around theres nothing on here of importance I was planning on settng this up as a mail server since my wifes ISP is dropping the ball on a regular basis.
I get odd things on the startup, I still get it "Setting default interface for multicast: add net 244.0.0.0: gateway Classic syslog service starting" Yet I cant find where that is setting that or if it even matters.
If you want I can tell you how to hit the box and you can poke around theres nothing on here of importance I was planning on settng this up as a mail server since my wifes ISP is dropping the ball on a regular basis.
ASKER
I dont know the life this server had before my purchase. I got it for $50 in an ISP selloff, and really have left it in the back corner. I dont think this would have been a DNS server, it doesnt look to have BIND installed on it. I did a search for /etc/init.d/named and there was no file found.
I get odd things on the startup, I still get it "Setting default interface for multicast: add net 244.0.0.0: gateway Classic syslog service starting" Yet I cant find where that is setting that or if it even matters.
If you want I can tell you how to hit the box and you can poke around theres nothing on here of importance I was planning on settng this up as a mail server since my wifes ISP is dropping the ball on a regular basis.
I get odd things on the startup, I still get it "Setting default interface for multicast: add net 244.0.0.0: gateway Classic syslog service starting" Yet I cant find where that is setting that or if it even matters.
If you want I can tell you how to hit the box and you can poke around theres nothing on here of importance I was planning on settng this up as a mail server since my wifes ISP is dropping the ball on a regular basis.
ASKER
I dont know the life this server had before my purchase. I got it for $50 in an ISP selloff, and really have left it in the back corner. I dont think this would have been a DNS server, it doesnt look to have BIND installed on it. I did a search for /etc/init.d/named and there was no file found.
I get odd things on the startup, I still get it "Setting default interface for multicast: add net 244.0.0.0: gateway Classic syslog service starting" Yet I cant find where that is setting that or if it even matters.
If you want I can tell you how to hit the box and you can poke around theres nothing on here of importance I was planning on settng this up as a mail server since my wifes ISP is dropping the ball on a regular basis.
I get odd things on the startup, I still get it "Setting default interface for multicast: add net 244.0.0.0: gateway Classic syslog service starting" Yet I cant find where that is setting that or if it even matters.
If you want I can tell you how to hit the box and you can poke around theres nothing on here of importance I was planning on settng this up as a mail server since my wifes ISP is dropping the ball on a regular basis.
ASKER
Sorry about all those extra posts, it seemed to keep my post information.
Anyway I was playing around and nsswitch and took dns out and now I can ping IPs outside my subnet.
Anyway I was playing around and nsswitch and took dns out and now I can ping IPs outside my subnet.
You only need 1 entry for Classic in the hosts file - the OS will just find and use the first one so would not get to your second entry.
remove the line
192.168.1.101 Classic
leave
192.168.1.101 Classic Classic.mccullough-net.com
This will stop the email error messages
The nameserver 127.0.0.1 entry should be removed from your resolv.conf - this is used to tell a host that it is running named locally which your's currently isn't. Should read.
domain mccullough-net.com
66.80.146.130
64.50.168.187
64.50.168.188
nsswitch.conf has no function when pinging by IP address -something else must have changed to allow you to ping externally.
To receive mail on this server you will also need a DNS MX record and reverse record that either points to your sun server or a server that will forward mail to it. Currently it points to dns.dnsmadeeasy.com which doesn't seem to be a valid server name.
The message:
Setting default interface for multicast: add net 244.0.0.0: gateway Classic
syslog service starting
is entirely legitimate - the 224.0.0.0 is a loopback address for multicast - nothing to do with normal IP routing. You will see it as an extra entry in 'ifconfig -a'
remove the line
192.168.1.101 Classic
leave
192.168.1.101 Classic Classic.mccullough-net.com
This will stop the email error messages
The nameserver 127.0.0.1 entry should be removed from your resolv.conf - this is used to tell a host that it is running named locally which your's currently isn't. Should read.
domain mccullough-net.com
66.80.146.130
64.50.168.187
64.50.168.188
nsswitch.conf has no function when pinging by IP address -something else must have changed to allow you to ping externally.
To receive mail on this server you will also need a DNS MX record and reverse record that either points to your sun server or a server that will forward mail to it. Currently it points to dns.dnsmadeeasy.com which doesn't seem to be a valid server name.
The message:
Setting default interface for multicast: add net 244.0.0.0: gateway Classic
syslog service starting
is entirely legitimate - the 224.0.0.0 is a loopback address for multicast - nothing to do with normal IP routing. You will see it as an extra entry in 'ifconfig -a'
ASKER
I could ping externally when I removed dns out of nsswitch under hosts:
nsswitch is only used when pinging by name - if you ping by IP address it never goes anywhere near nsswitch.conf
ASKER
I could ping externally when I removed dns out of nsswitch under hosts:
ASKER
I could ping externally when I removed dns out of nsswitch under hosts:
ASKER
Is there a place where I can pick up a fresh copy of Solaris 7.
I just went in and /usr/local is missing.
I just went in and /usr/local is missing.
ASKER
Is there a place where I can pick up a fresh copy of Solaris 7.
I just went in and /usr/local is missing.
I just went in and /usr/local is missing.
I don't think so, you can download the SPARC Solaris 9 CD images from www.sun.com in the downloads area (3 CDs). What makes you think there should be anything in /usr/local it is only used for downloaded shareware packages - not core Solaris files.
I don't think so, you can download the SPARC Solaris 9 CD images from www.sun.com in the downloads area (3 CDs). What makes you think there should be anything in /usr/local it is only used for downloaded shareware packages - not core Solaris files.
I don't think so, you can download the SPARC Solaris 9 CD images from www.sun.com in the downloads area (3 CDs). What makes you think there should be anything in /usr/local it is only used for downloaded shareware packages - not core Solaris files.
ASKER