Connecting to Network Drive On Solaris10 ?

  • Follow


Hi Guru's

I have recently installed Soalris 10 11/04 on my laptop..

Im not using DHCP and was wondering how I can connect to my Network
Drive ( NAS ) via the Network Places icon on the java desktop. I
initially had it working via DHCP but it kept booting with hostname
"unknown", which I didn't like at all.... So...  I removed DHCP.

I can ping the address but when I try to navigate to the shared files
nothing is shown ???

I know I may be doing something "stupid" but if anyone can point me in
the right direction I'd be most grateful.

If I have left any info out, please let me know and Ill add...

TIA

0
Reply franco_spencer (15) 5/11/2007 11:25:11 PM

Franco wrote:
> Hi Guru's
> 
> I have recently installed Soalris 10 11/04 on my laptop..
> 
> Im not using DHCP and was wondering how I can connect to my Network
> Drive ( NAS ) via the Network Places icon on the java desktop. I
> initially had it working via DHCP but it kept booting with hostname
> "unknown", which I didn't like at all.... So...  I removed DHCP.
> 
Add /etc/nodename with your hostname in it and re-enable DHCP.


-- 
Ian Collins.
0
Reply Ian 5/12/2007 12:15:57 AM


On May 12, 1:15 am, Ian Collins <ian-n...@hotmail.com> wrote:
> Franco wrote:
> > Hi Guru's
>
> > I have recently installed Soalris 10 11/04 on my laptop..
>
> > Im not using DHCP and was wondering how I can connect to my Network
> > Drive ( NAS ) via the Network Places icon on the java desktop. I
> > initially had it working via DHCP but it kept booting with hostname
> > "unknown", which I didn't like at all.... So...  I removed DHCP.
>
> Add /etc/nodename with your hostname in it and re-enable DHCP.
>
> --
> Ian Collins.

I have /etc/nodename

But do I have to have DHCP ?

If so, to do that, would this be right ?

add /etc/dhcp/dhcp.NIC

add /etc/dhcp.NIC

and remove dns from hosts entry in /etc/nsswitch.conf ?


0
Reply Franco 5/12/2007 12:32:32 AM

Franco wrote:
> On May 12, 1:15 am, Ian Collins <ian-n...@hotmail.com> wrote:
>> Franco wrote:
>>> Hi Guru's
>>> I have recently installed Soalris 10 11/04 on my laptop..
>>> Im not using DHCP and was wondering how I can connect to my Network
>>> Drive ( NAS ) via the Network Places icon on the java desktop. I
>>> initially had it working via DHCP but it kept booting with hostname
>>> "unknown", which I didn't like at all.... So...  I removed DHCP.
>> Add /etc/nodename with your hostname in it and re-enable DHCP.
>>
>> --
>> Ian Collins.
> 
> I have /etc/nodename
> 
> But do I have to have DHCP ?
> 
> If so, to do that, would this be right ?
> 
I'd just do a sys-unconfig and make sure /etc/nodename was there afterwards.

-- 
Ian Collins.
0
Reply Ian 5/12/2007 12:35:02 AM

On May 12, 1:35 am, Ian Collins <ian-n...@hotmail.com> wrote:
> Franco wrote:
> > On May 12, 1:15 am, Ian Collins <ian-n...@hotmail.com> wrote:
> >> Franco wrote:
> >>> Hi Guru's
> >>> I have recently installed Soalris 10 11/04 on my laptop..
> >>> Im not using DHCP and was wondering how I can connect to my Network
> >>> Drive ( NAS ) via the Network Places icon on the java desktop. I
> >>> initially had it working via DHCP but it kept booting with hostname
> >>> "unknown", which I didn't like at all.... So...  I removed DHCP.
> >> Add /etc/nodename with your hostname in it and re-enable DHCP.
>
> >> --
> >> Ian Collins.
>
> > I have /etc/nodename
>
> > But do I have to have DHCP ?
>
> > If so, to do that, would this be right ?
>
> I'd just do a sys-unconfig and make sure /etc/nodename was there afterwards.
>
> --
> Ian Collins.



Did a sys-unconfig and added /etc/nodename

rebooted

Can see the network drive but now can't access the www

Any ideas ? Is it something to do with nsswitch.conf ?

Cheers for your help btw..

P.S. Never used DHCP before !

0
Reply Franco 5/12/2007 12:52:47 AM

Franco wrote:
> On May 12, 1:35 am, Ian Collins <ian-n...@hotmail.com> wrote:
>> Franco wrote:
>>> On May 12, 1:15 am, Ian Collins <ian-n...@hotmail.com> wrote:
>>>> Franco wrote:
>>>>> Hi Guru's
>>>>> I have recently installed Soalris 10 11/04 on my laptop..
>>>>> Im not using DHCP and was wondering how I can connect to my Network
>>>>> Drive ( NAS ) via the Network Places icon on the java desktop. I
>>>>> initially had it working via DHCP but it kept booting with hostname
>>>>> "unknown", which I didn't like at all.... So...  I removed DHCP.
>>>> Add /etc/nodename with your hostname in it and re-enable DHCP.
>>>> --
>>>> Ian Collins.
>>> I have /etc/nodename
>>> But do I have to have DHCP ?
>>> If so, to do that, would this be right ?
>> I'd just do a sys-unconfig and make sure /etc/nodename was there afterwards.

*Please* don't quote signatures.

> 
> Did a sys-unconfig and added /etc/nodename
> 
> rebooted
> 
> Can see the network drive but now can't access the www
> 
> Any ideas ? Is it something to do with nsswitch.conf ?
> 
> Cheers for your help btw..
> 
> P.S. Never used DHCP before !
> 
You should see some entries in /etc/nsswitch.conf like:

#hosts:      files # Commented out by DHCP
hosts: files dns # Added by DHCP
#ipnodes:    files # Commented out by DHCP
ipnodes: files dns # Added by DHCP

You should also now have a valid /etc/resolv.conf

-- 
Ian Collins.
0
Reply Ian 5/12/2007 12:56:17 AM

<snip>

Sorry !
>
> You should see some entries in /etc/nsswitch.conf like:
>
> #hosts:      files # Commented out by DHCP
> hosts: files dns # Added by DHCP
> #ipnodes:    files # Commented out by DHCP
> ipnodes: files dns # Added by DHCP
>
> You should also now have a valid /etc/resolv.conf
>
> --
> Ian Collins.

BIG PROBLEM: I dont have an resolv.conf file ??

strange ?

and the edits to nsswitch.conf aren't there either ?

Im thinking of a clean install now :-(


0
Reply Franco 5/12/2007 1:06:03 AM

Franco wrote:
> <snip>
> 
> Sorry !
>> You should see some entries in /etc/nsswitch.conf like:
>>
>> #hosts:      files # Commented out by DHCP
>> hosts: files dns # Added by DHCP
>> #ipnodes:    files # Commented out by DHCP
>> ipnodes: files dns # Added by DHCP
>>
>> You should also now have a valid /etc/resolv.conf
>>
>> --
>> Ian Collins.
> 
*Please* don't quote the above.

> BIG PROBLEM: I dont have an resolv.conf file ??
> 
> strange ?
> 
> and the edits to nsswitch.conf aren't there either ?
> 
> Im thinking of a clean install now :-(
> 
You don't have to go that far, just create a valid resolv.conf and edit
nsswitch.conf.

What is your DHCP server by the way?

-- 
Ian Collins.
0
Reply Ian 5/12/2007 1:07:33 AM

On May 12, 2:07 am, Ian Collins <ian-n...@hotmail.com> wrote:
> Franco wrote:
> > <snip>
>
> > Sorry !
> >> You should see some entries in /etc/nsswitch.conf like:
>
> >> #hosts:      files # Commented out by DHCP
> >> hosts: files dns # Added by DHCP
> >> #ipnodes:    files # Commented out by DHCP
> >> ipnodes: files dns # Added by DHCP
>
> >> You should also now have a valid /etc/resolv.conf
>
> >> --
> >> Ian Collins.
>
> *Please* don't quote the above.
>
> > BIG PROBLEM: I dont have an resolv.conf file ??
>
> > strange ?
>
> > and the edits to nsswitch.conf aren't there either ?
>
> > Im thinking of a clean install now :-(
>
> You don't have to go that far, just create a valid resolv.conf and edit
> nsswitch.conf.
>
> What is your DHCP server by the way?
>
> --
> Ian Collins.

A Netopia Wireless Router "

Not Sure The Model....

:)

I'll try pull a resolv.conf off a work server. Cheers for your help


0
Reply Franco 5/12/2007 1:14:21 AM

8 Replies
621 Views

(page loaded in 0.117 seconds)

Similiar Articles:













7/24/2012 6:08:32 PM


Reply: