On Thu, 23 Mar 2000, Hetz Ben Hamo wrote:
> Hi,
>
> I got here a Sun Ultra 60 and I need to configure it to the network. the
> channel #solaris is not that helpful as #linux (in Linux cases) - and I've
> been fed up with RTFM (which I did read but didn't find what I need)
>
> Here is the situation:
>
> I have this machine, and I give it an IP: 192.168.141.5 (no, thats only
> example - not the real one)
>
> I set up all the other stuff (gateway, hostname.hme0, defaultroute, everything)
~~~~~~~~~~~~
Should be /etc/defaultrouter
>
> Now here is my problem: If I setup the /etc/nsswitch.conf file - the hosts
> parameters to DNS - then the boot part of the network failes, and the card
> doesn't even get an IP. if I set the hosts to FILES - then it boots ok, but
> I cannot do anything from this machine (no ftp, telnet, web, nothing)..
>
> In Linux, I know I can set up something like files, hosts, dns - or any
> sort of mix of them. If I do this trick on Solaris - it doesn't work. It's
> either DNS or files, not both of them.
>
> OS: Solaris 7 (SunOS 5.7)
>
> Any help?? (and something off, off-topic - Minix services in Israel SUCKS
> HARD!)
# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
#10.0.0.1 taga taga.tcltek.co.il
204.141.46.1 tango tango.tcltek.co.il
10.0.0.6 taboo taboo.tcltek.co.il
# 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: dns files
networks: dns 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
>
> Thanks
> Hetz
>
> -------------------------
> Hetz Ben Hamo
> Sys. Admin.
> Intercomp
>
> http://www.cobol2java.com
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
Regards,
- yba
EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA ~. .~ TclTek Ltd.
=}-------------------------------------------------ooO--U--Ooo-----------{=
- [EMAIL PROTECTED] - tel: +972.52.670.353, http://www.tcltek.co.il -
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]