| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| 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. |
|
#2
|
| 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) |
|
#3
|
| 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". |
|
#4
|
| 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 |
|
#5
|
| On Jun 27, 3:44 pm, Dave Uhring > 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 |
|
#6
|
| 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 |
|
#7
|
| 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"??? |
|
#8
|
| On Jun 27, 4:38 pm, Rich Teer > 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 |
|
#9
|
| On Jun 27, 4:38 pm, Rich Teer > 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 |
|
#10
|
| 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??? |
![]() |
| Thread Tools | |
| Display Modes | |