OS Problems -no DNS & SSH not working


 
Thread Tools Search this Thread
Operating Systems Solaris OS Problems -no DNS & SSH not working
# 1  
Old 09-14-2006
OS Problems -no DNS & SSH not working

I just installed Solaris 6/10 without any problems but I didn't connect the network cable when I installed it.

Here are my problems:
-I can access webpages using IP addrsses but not with domain names
-ssh is installed but it is not running ('ps -e | grep sshd' didn't show it)

I have been using this OS for only a couple days and I need to get it running for school so any walk-thru help would be appreicated.

*/etc/sys-unconfig, my instructor told me to use this, should this fix everything?? I'm at school right now, that's why I'm asking. I want to have something to work with when I get home.

Last edited by kungpow; 09-14-2006 at 02:16 PM..
# 2  
Old 09-14-2006
seems that you are missing a nameserver...
the /etc/resolv.conf file should have that entry
nameserver <IP>

and edit your /etc/nsswitch.conf. these two lines should look like:
hosts: files dns
ipnodes: files dns

for your sshd enter:
svcadm enable svc:/network/ssh

greetings pressy
# 3  
Old 09-14-2006
Thanks.

I don't even have the /etc/resolv.conf file, so create that file and add nameserver 192.168.0.1 ? 192.168.0.1 is my router.

Quote:
hosts: files dns
ipnodes: files dns
So I type those lines exactly, no change?
# 4  
Old 09-14-2006
correct, most home routers are dns relays.
# 5  
Old 09-14-2006
My ssh is still not working, it looks like it is running though. Do I have to configure the firewall like the Linux OS? It keeps saying connection refused when I connect using Putty. Also, how do I change the ssh port to port 19 b/c I have a Linux box that's running ssh and it's using port 22.

I don't know what I did but my system is not starting up in GUI mode, it is console mode, what do I type to start the console?

Thanks.

Last edited by kungpow; 09-14-2006 at 09:09 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. Shell Programming and Scripting

Problems in analysing SSH LOG users & time

Attached is the log file that I have generated through the following script: last | head -2 |sed '2q;d' |awk '{ print $1"\t"$2"\t"$3"\t\t"$4"\t"$5"\t"$6"\t"$7"\t"$8"\t" $9"\t"$10"\t"$11}'>>/var/log/logadmin/logtest.txt But now I'm unable to run the following operations on it: 1. Count... (1 Reply)
Discussion started by: Lionking93
1 Replies

3. Emergency UNIX and Linux Support

DNS flush is not working

I have a Linux machine and it seems DNS cache is not getting clear on it. It is still showing old values, even after changing in DNS server by Network team. I did /etc/init.d/nscd restart But still it is showing old values on this server. On my rest of servers in environment, nslookup is showing... (7 Replies)
Discussion started by: solaris_1977
7 Replies

4. Red Hat

DNS not working

Hi, I have installed RHEL5 as a new build and need get it to resolve to the internet. At the moment I get following: # dig www.google.com ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> www.google.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status:... (9 Replies)
Discussion started by: Duffs22
9 Replies

5. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

6. Emergency UNIX and Linux Support

SSH Is hanging and the & sign does not seem to be working

I am having an issue where I am do an SSH to about 30 servers one at a time however my script is getting hung up sometimes on the SSH. I thought the & at the end as seen below would fire it and move on but that does not seem to be working. #!/bin/sh for remsys in trumpetsnail angel... (15 Replies)
Discussion started by: LRoberts
15 Replies

7. Solaris

dns client not working

Hi All, I have configured linux server as local dns server (practice level). I have given the IP and hostname details in /etc/hosts -bash-3.00# cat /etc/hosts # # Internet host table # ::1 localhost 127.0.0.1 localhost 192.168.1.78 dummy.set.com loghost 192.168.1.57 cent.set.com #... (3 Replies)
Discussion started by: vaibhav.kanchan
3 Replies

8. UNIX for Advanced & Expert Users

problems figuring out dns

Im on an OS X 10.4 Mac server running bind 9.3, I just replaced the entire network with cisco hardware, all machines including servers now have private ip addresses that t he firewall resolves. I need to have a dns that works for both internal and external connections. any help would be great! (1 Reply)
Discussion started by: nbredthauer
1 Replies

9. UNIX for Dummies Questions & Answers

DNS problems.

Here's the setup. We have a consortium of three different\separate domains\organizations A.org, B.org, and C.org that are sharing a domain D.org. The server they share\use is housed at domain A.org. Domain A.org also maintains the primary nameserver for both internal and external DNS. The... (5 Replies)
Discussion started by: Westy564
5 Replies

10. UNIX for Dummies Questions & Answers

dns/pppoe Problems

I would appreciate any help anyone could give. I am having DNS problems... Here are the facts: linux: 2.2.16 Distrib: SUSE 7.0 pppd: rp-pppoe ISP: Verizon Avenue IP: Dynamic DNS: 10.5.0.65 ??? Default Gateway: 10.5.0.65 ???? I have tried putting the above IP into /etc/resolv.conf with... (3 Replies)
Discussion started by: Recon
3 Replies
Login or Register to Ask a Question