Solairs TCP/IP Networking

This is a discussion on Solairs TCP/IP Networking within the Unix and OS Discussions forums in Database and Unix Discussions category; I'm brand new to Solars OS and would appreciate if anyone can help me out with the following. I got the Sun Blade 100 (SPARC|||) with Solaris 8 installed on it. I have a wireless router(DHCP enabled) and connecting one of the ethernet ports to the Sun box. when I type ifconifg, I get the following Ip (192.168.1.5). I have another machine(xp) in the network. When I try to telnet 192.168.1.5 from xp machine, It works fine But I want to give a host name to the ipaddress so that when ...

Go Back   Database Forum > Database and Unix Discussions > Unix and OS Discussions

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-27-2007, 04:00 PM
Default Solairs TCP/IP Networking

I'm brand new to Solars OS and would appreciate if anyone can help me
out with the following.
I got the Sun Blade 100 (SPARC|||) with Solaris 8 installed on it.
I have a wireless router(DHCP enabled) and connecting one of the
ethernet ports to the Sun box. when I type ifconifg, I get the
following Ip (192.168.1.5). I have another machine(xp) in the network.
When I try to telnet 192.168.1.5 from xp machine, It works fine But I
want to give a host name to the ipaddress so that when I type in
telnet://hostname, I should be able to get into it. I used the admin
tool and added the host name, but it doesnt connect to the host but
connects when ip address is given. Any help is really appreciated.

Reply With Quote
  #2  
Old 06-27-2007, 04:37 PM
Default Re: Solairs TCP/IP Networking

makhalid-at-gmail.com wrote:
> I'm brand new to Solars OS and would appreciate if anyone can help me
> out with the following.
> I got the Sun Blade 100 (SPARC|||) with Solaris 8 installed on it.
> I have a wireless router(DHCP enabled) and connecting one of the
> ethernet ports to the Sun box. when I type ifconifg, I get the
> following Ip (192.168.1.5). I have another machine(xp) in the network.
> When I try to telnet 192.168.1.5 from xp machine, It works fine But I
> want to give a host name to the ipaddress so that when I type in
> telnet://hostname, I should be able to get into it. I used the admin
> tool and added the host name, but it doesnt connect to the host but
> connects when ip address is given. Any help is really appreciated.
>


Edit the HOSTS file in WINDOWS and add the IP and hostname there.
(I doubt you want to go to the trouble of setting up a DNS server just for one
machine)
Reply With Quote
  #3  
Old 06-27-2007, 04:42 PM
Default Re: Solairs TCP/IP Networking

makhalid-at-gmail.com wrote:
> I'm brand new to Solars OS and would appreciate if anyone can help me
> out with the following.
> I got the Sun Blade 100 (SPARC|||) with Solaris 8 installed on it.
> I have a wireless router(DHCP enabled) and connecting one of the
> ethernet ports to the Sun box. when I type ifconifg, I get the
> following Ip (192.168.1.5). I have another machine(xp) in the network.
> When I try to telnet 192.168.1.5 from xp machine, It works fine But I
> want to give a host name to the ipaddress so that when I type in
> telnet://hostname, I should be able to get into it. I used the admin
> tool and added the host name, but it doesnt connect to the host but
> connects when ip address is given. Any help is really appreciated.
>


You really need to take this question to a Windows newsgroup!! If you
want Windows to be able to connect by name rather than by IP address,
you need to tell Windows the name and the numeric IP address. It goes
in a file called "hosts" that you will find somewhere in the /Windows
tree. Use the Windows "search" to find files names "hosts".

Reply With Quote
  #4  
Old 06-27-2007, 04:44 PM
Default Re: Solairs TCP/IP Networking

On Wed, 27 Jun 2007 18:59:51 +0000, makhali wrote:

> I got the Sun Blade 100 (SPARC|||) with Solaris 8 installed on it.
> I have a wireless router(DHCP enabled) and connecting one of the
> ethernet ports to the Sun box. when I type ifconifg, I get the
> following Ip (192.168.1.5). I have another machine(xp) in the network.
> When I try to telnet 192.168.1.5 from xp machine, It works fine But I
> want to give a host name to the ipaddress so that when I type in
> telnet://hostname, I should be able to get into it. I used the admin
> tool and added the host name, but it doesnt connect to the host but
> connects when ip address is given. Any help is really appreciated.


See Rich Teer's excellent page on the subject:

http://www.rite-group.com/rich/solaris_dhcp.html

Reply With Quote
  #5  
Old 06-27-2007, 05:19 PM
Default Re: Solairs TCP/IP Networking

On Jun 27, 3:44 pm, Dave Uhring wrote:
> On Wed, 27 Jun 2007 18:59:51 +0000, makhali wrote:
> > I got the Sun Blade 100 (SPARC|||) with Solaris 8 installed on it.
> > I have a wireless router(DHCP enabled) and connecting one of the
> > ethernet ports to the Sun box. when I type ifconifg, I get the
> > following Ip (192.168.1.5). I have another machine(xp) in the network.
> > When I try to telnet 192.168.1.5 from xp machine, It works fine But I
> > want to give a host name to the ipaddress so that when I type in
> > telnet://hostname, I should be able to get into it. I used the admin
> > tool and added the host name, but it doesnt connect to the host but
> > connects when ip address is given. Any help is really appreciated.

>
> See Rich Teer's excellent page on the subject:
>
> http://www.rite-group.com/rich/solaris_dhcp.html


Thanks a billion..I shall try tonight..seems like this( the last one)
would work....

** I was asked to put a script into /etc/init.d/set_hostname, with a
symbolic link to it from /etc/rc2.d/S70set_hostname. ** Would
appreciate if anyonce can explain me that..I mean do I have to create
the file S70set_hostname and set_hostname with the same contents?
Appreciate all the help

Reply With Quote
  #6  
Old 06-27-2007, 05:38 PM
Default Re: Solairs TCP/IP Networking

On Wed, 27 Jun 2007, makhalid-at-gmail.com wrote:

> > See Rich Teer's excellent page on the subject:
> >
> > http://www.rite-group.com/rich/solaris_dhcp.html

>
> Thanks a billion..I shall try tonight..seems like this( the last one)
> would work....
>
> ** I was asked to put a script into /etc/init.d/set_hostname, with a
> symbolic link to it from /etc/rc2.d/S70set_hostname. ** Would
> appreciate if anyonce can explain me that..I mean do I have to create
> the file S70set_hostname and set_hostname with the same contents?
> Appreciate all the help


It means that you put the S70set_hostname script you downloaded from my
page into a file called /etc/init.d/set_hostname, then from /etc/rc2.d
run the following command as root:

ln -s ../init.d/set_hostname S70set_hostname

I also recommend a read of some of the books on docs.sun.com and/or other
"Solaris for beginners" type books.

HTH,

--
Rich Teer, SCSA, SCNA, SCSECA, OGB member

CEO,
My Online Home Inventory

Voice: +1 (250) 979-1638
URLs: http://www.rite-group.com/rich
http://www.myonlinehomeinventory.com
Reply With Quote
  #7  
Old 06-28-2007, 01:23 AM
Default Re: Solairs TCP/IP Networking

Rich Teer wrote:
> On Wed, 27 Jun 2007, makhalid-at-gmail.com wrote:
>
>>> See Rich Teer's excellent page on the subject:
>>>
>>> http://www.rite-group.com/rich/solaris_dhcp.html

>> Thanks a billion..I shall try tonight..seems like this( the last one)
>> would work....
>>
>> ** I was asked to put a script into /etc/init.d/set_hostname, with a
>> symbolic link to it from /etc/rc2.d/S70set_hostname. ** Would
>> appreciate if anyonce can explain me that..I mean do I have to create
>> the file S70set_hostname and set_hostname with the same contents?
>> Appreciate all the help

>
> It means that you put the S70set_hostname script you downloaded from my
> page into a file called /etc/init.d/set_hostname, then from /etc/rc2.d
> run the following command as root:
>
> ln -s ../init.d/set_hostname S70set_hostname


Am I missing something, or how is setting a Solaris hostname going to
help the OP to connect from Windows using "telnet hostname"???
Reply With Quote
  #8  
Old 06-28-2007, 11:59 AM
Default Re: Solairs TCP/IP Networking

On Jun 27, 4:38 pm, Rich Teer wrote:
> On Wed, 27 Jun 2007, makha...@gmail.com wrote:
> > > See Rich Teer's excellent page on the subject:

>
> > > http://www.rite-group.com/rich/solaris_dhcp.html

>
> > Thanks a billion..I shall try tonight..seems like this( the last one)
> > would work....

>
> > ** I was asked to put a script into /etc/init.d/set_hostname, with a
> > symbolic link to it from /etc/rc2.d/S70set_hostname. ** Would
> > appreciate if anyonce can explain me that..I mean do I have to create
> > the file S70set_hostname and set_hostname with the same contents?
> > Appreciate all the help

>
> It means that you put the S70set_hostname script you downloaded from my
> page into a file called /etc/init.d/set_hostname, then from /etc/rc2.d
> run the following command as root:
>
> ln -s ../init.d/set_hostname S70set_hostname
>
> I also recommend a read of some of the books on docs.sun.com and/or other
> "Solaris for beginners" type books.
>
> HTH,
>
> --
> Rich Teer, SCSA, SCNA, SCSECA, OGB member
>
> CEO,
> My Online Home Inventory
>
> Voice: +1 (250) 979-1638
> URLs:http://www.rite-group.com/rich
> http://www.myonlinehomeinventory.com


I did all the steps that you specified. It doesnt work...I mean I
cannot make a telnet session from my xp box to the solairs box using
the hostname....
Let me explain you my current situtaion and what I intend to do...

I have a comcast internet connection (DHCP enabled)...The modem is
connected to a netgear wireless router ( DHCP enabled)... I'm
connecting one of the ethernets ports from the router to the Solaris
box. I have my notebook on the same network connected wireless to the
router. The ipaddress of the sub box is showing as 192.168.1.5.

Here are the changes that i made.
1. I created a file /etc/nodename and put "devhost" and hot enter at
the end.
2. I browsed the hosts from the admin tool and chnaged the unknownhost
to devhost pointing to 192.168.1.5
3. Copied your script to /etc/init.d/set_hostname
4. from /etc/rc2.d ---> ln -s ../init.d/set_hostname S70set_hostname

In the command prompt if I type telnet://192.168.1.5 ...it would
work...but if I type telnet://devhost..it doesnt work...

I hope you undestand my problem and any help is really really
appreciated..

Thanks

Reply With Quote
  #9  
Old 06-28-2007, 11:59 AM
Default Re: Solairs TCP/IP Networking

On Jun 27, 4:38 pm, Rich Teer wrote:
> On Wed, 27 Jun 2007, makha...@gmail.com wrote:
> > > See Rich Teer's excellent page on the subject:

>
> > > http://www.rite-group.com/rich/solaris_dhcp.html

>
> > Thanks a billion..I shall try tonight..seems like this( the last one)
> > would work....

>
> > ** I was asked to put a script into /etc/init.d/set_hostname, with a
> > symbolic link to it from /etc/rc2.d/S70set_hostname. ** Would
> > appreciate if anyonce can explain me that..I mean do I have to create
> > the file S70set_hostname and set_hostname with the same contents?
> > Appreciate all the help

>
> It means that you put the S70set_hostname script you downloaded from my
> page into a file called /etc/init.d/set_hostname, then from /etc/rc2.d
> run the following command as root:
>
> ln -s ../init.d/set_hostname S70set_hostname
>
> I also recommend a read of some of the books on docs.sun.com and/or other
> "Solaris for beginners" type books.
>
> HTH,
>
> --
> Rich Teer, SCSA, SCNA, SCSECA, OGB member
>
> CEO,
> My Online Home Inventory
>
> Voice: +1 (250) 979-1638
> URLs:http://www.rite-group.com/rich
> http://www.myonlinehomeinventory.com


I did all the steps that you specified. It doesnt work...I mean I
cannot make a telnet session from my xp box to the solairs box using
the hostname....
Let me explain you my current situtaion and what I intend to do...

I have a comcast internet connection (DHCP enabled)...The modem is
connected to a netgear wireless router ( DHCP enabled)... I'm
connecting one of the ethernets ports from the router to the Solaris
box. I have my notebook on the same network connected wireless to the
router. The ipaddress of the sub box is showing as 192.168.1.5.

Here are the changes that i made.
1. I created a file /etc/nodename and put "devhost" and hot enter at
the end.
2. I browsed the hosts from the admin tool and chnaged the unknownhost
to devhost pointing to 192.168.1.5
3. Copied your script to /etc/init.d/set_hostname
4. from /etc/rc2.d ---> ln -s ../init.d/set_hostname S70set_hostname

In the command prompt if I type telnet://192.168.1.5 ...it would
work...but if I type telnet://devhost..it doesnt work...

I hope you undestand my problem and any help is really really
appreciated..

Thanks

Reply With Quote
  #10  
Old 06-28-2007, 12:18 PM
Default Re: Solairs TCP/IP Networking

makhalid-at-gmail.com wrote:

> In the command prompt if I type telnet://192.168.1.5 ...it would
> work...but if I type telnet://devhost..it doesnt work...



Did you try editing the Windows HOSTS file as originally suggested???
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 02:19 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.