Connecting Sparc 20 (Sol. 8) to Windows XP

  • Follow


I currently have Windows XP Home and Windows 95 networked through a 4 port
hub with the Win XP machine dialing out to the internet and sharing the
service.
I've connected my SS20 to the hub (Sol. 8 CLI - I'm waiting for a supported
frame buffer) and I can ping the XP machine 192.168.0.1.  I can also ping
the Solaris box - 192.168.0.5 - from XP.
However I cannot get out to the internet from Solaris.
I managed to find some instructions on configuring DHCP (because I read
somewhere that was the problem) and followed them and then the Solaris unit
did not recognise the network.
What I did:
edited /etc/default/dhcpagent - uncommented REQUEST_HOSTNAME=yes.
edited /etc/hostname.le0 and added the following - inet hostname (where
hostname was the name of the Solaris box - it already had a line containing
hostname).

Needless to say, I deleted all of my changes to be able to get back to
pinging the XP Box.

Are there any (relatively) simple instructions on how to link my Solaris box
into the existing network?
Thanks for any and all comments.
Dave E.


0
Reply David 12/21/2003 10:31:14 AM

"David E. Edwards" <dedwards@forje.com> writes:
>I currently have Windows XP Home and Windows 95 networked through a 4 port
>hub with the Win XP machine dialing out to the internet and sharing the
>service.
>I've connected my SS20 to the hub (Sol. 8 CLI - I'm waiting for a supported
>frame buffer) and I can ping the XP machine 192.168.0.1.  I can also ping
>the Solaris box - 192.168.0.5 - from XP.
>However I cannot get out to the internet from Solaris.

Personally, I'd do this the other way round. (And indeed, that is what
I do do!) Get the Solaris box to dial the internet and act as
router/firewall/proxy for the Windows stuff. You have a *much* better
chance of (i) getting it working at all & (ii) getting to to do what
you want rather than what Billy's incompetent programmers want.

-- 
       "The road to Paradise is through Intercourse."
        [email me at huge [at] huge [dot] org [dot] uk]


0
Reply huge 12/21/2003 11:15:17 AM


"David E. Edwards" <dedwards@forje.com> writes:

> I currently have Windows XP Home and Windows 95 networked through a 4 port
> hub with the Win XP machine dialing out to the internet and sharing the
> service.
> I've connected my SS20 to the hub (Sol. 8 CLI - I'm waiting for a supported
> frame buffer) and I can ping the XP machine 192.168.0.1.  I can also ping
> the Solaris box - 192.168.0.5 - from XP.
> However I cannot get out to the internet from Solaris.
> I managed to find some instructions on configuring DHCP (because I read
> somewhere that was the problem) and followed them and then the Solaris unit
> did not recognise the network.
> What I did:
> edited /etc/default/dhcpagent - uncommented REQUEST_HOSTNAME=yes.
> edited /etc/hostname.le0 and added the following - inet hostname (where
> hostname was the name of the Solaris box - it already had a line containing
> hostname).

put the ip address of your xp box in /etc/defaultrouter, theres no
need for dhcp but it won't hurt.  If the SS20 won't resolve hostnames,
then you'll have to figure out something.  I've not the slightest idea
how xp does ip forwarding, so you might have to put some kind of
forwarding nameserver on the windows box.

Gregm

0
Reply Greg 12/21/2003 2:36:54 PM

In article <bs3sph$i4b$1@sparta.btinternet.com>, David E. Edwards wrote:
> I currently have Windows XP Home and Windows 95 networked through a 4 port
> hub with the Win XP machine dialing out to the internet and sharing the
> service.
> I've connected my SS20 to the hub (Sol. 8 CLI - I'm waiting for a supported
> frame buffer) and I can ping the XP machine 192.168.0.1.  I can also ping
> the Solaris box - 192.168.0.5 - from XP.
> However I cannot get out to the internet from Solaris.

The problem might be that you are getting out to the internet, but, since
your Solaris machine is using a "private address", it is being ignored.
Probably your xp machine is being assigned a valid address when it connects
to your ISP, but the sun machine keeps its assigned address.  (You should
be able to use a network snooping utility on your xp machine to verify that
this is happening.  ethereal is free and quite good.)

A common solution to this problem is to use network address translation
(NAT) to translate the address of packets going out to the internet to have
a valid source address.  With Solaris, ipfilter can be used to do this.
For XP, you'll probably want to ask in an appropriate windows group.


> I managed to find some instructions on configuring DHCP (because I read
> somewhere that was the problem) and followed them and then the Solaris unit
> did not recognise the network.
> What I did:
> edited /etc/default/dhcpagent - uncommented REQUEST_HOSTNAME=yes.
> edited /etc/hostname.le0 and added the following - inet hostname (where
> hostname was the name of the Solaris box - it already had a line containing
> hostname).
> 
> Needless to say, I deleted all of my changes to be able to get back to
> pinging the XP Box.
> 
> Are there any (relatively) simple instructions on how to link my Solaris box
> into the existing network?
> Thanks for any and all comments.
> Dave E.
> 
> 


-- 
Jim Cochrane; jtc@dimensional.com
[When responding by email, include the term non-spam in the subject line to
get through my spam filter.]
0
Reply Jim 12/21/2003 10:33:24 PM

"David E. Edwards" <dedwards@forje.com> wrote in message
news:bs3sph$i4b$1@sparta.btinternet.com...
> I currently have Windows XP Home and Windows 95 networked through a 4 port
> hub with the Win XP machine dialing out to the internet and sharing the
> service.
> I've connected my SS20 to the hub (Sol. 8 CLI - I'm waiting for a
supported
> frame buffer) and I can ping the XP machine 192.168.0.1.  I can also ping
> the Solaris box - 192.168.0.5 - from XP.
> However I cannot get out to the internet from Solaris.


Got my SS20 talking to the internet (setup /etc/defaultrouter file).
Can only access with dot address - cannot use DNS - my ISP assigns addresses
for these servers at connet time (BTInternet).
Any ideas how I can set up Sol. 8 to accept this?
Thanks
Dave E.


0
Reply David 12/22/2003 4:40:19 PM

On Mon, 22 Dec 2003, David E. Edwards wrote:

> Got my SS20 talking to the internet (setup /etc/defaultrouter file).

Great!

> Can only access with dot address - cannot use DNS - my ISP assigns addresses
> for these servers at connet time (BTInternet).
> Any ideas how I can set up Sol. 8 to accept this?

Check that the hosts line in /etc/nsswitch.conf says this:

	hosts:      files dns

Also check the contents of /etc/resolv.conf.

HTH,

-- 
Rich Teer, SCNA, SCSA                               .  *   * . * .* .
                                                     .   *   .   .*
President,                                          * .  . /\ ( .  . *
Rite Online Inc.                                     . .  / .\   . * .
                                                    .*.  / *  \  . .
                                                      . /*   o \     .
Voice: +1 (250) 979-1638                            *   '''||'''   .
URL: http://www.rite-online.net                     ******************
0
Reply Rich 12/22/2003 7:04:30 PM

"David E. Edwards" <dedwards@forje.com> writes:

> "David E. Edwards" <dedwards@forje.com> wrote in message
> news:bs3sph$i4b$1@sparta.btinternet.com...
> > I currently have Windows XP Home and Windows 95 networked through a 4 port
> > hub with the Win XP machine dialing out to the internet and sharing the
> > service.
> > I've connected my SS20 to the hub (Sol. 8 CLI - I'm waiting for a
> supported
> > frame buffer) and I can ping the XP machine 192.168.0.1.  I can also ping
> > the Solaris box - 192.168.0.5 - from XP.
> > However I cannot get out to the internet from Solaris.
> 
> 
> Got my SS20 talking to the internet (setup /etc/defaultrouter file).
> Can only access with dot address - cannot use DNS - my ISP assigns addresses
> for these servers at connet time (BTInternet).
> Any ideas how I can set up Sol. 8 to accept this?
> Thanks
> Dave E.

In general, to set up name resolution, your /etc/resolv.conf file will
have something like this;

nameserver 192.168.1.2
nameserver 192.168.2.3

where the ip addresses are replaced by those of the isp's dns servers.
You need at least one, additional entries serve as backup if the first
one doesn't respond.

Many isps use dns servers with static ip addresses (even those who say
they don't probably have them and just don't publish so as to keep the
Windows users off their backs).  Presumably xp has some way to find
out the ip config thats in effect- "ipconfig /all" in a dos box would
do it in NT/9x.  If the display has a couple lines related to DNS
servers, you could just put those ip addresses in /etc/resolv.conf and
give it a try.

It might be possible for xp to "masquerade" the udp dns requests from
your SS20 along with the tcp connections its already handling.  It
depends on what xp is capable of and how forwarding is configured.

Moving to dhcp for your local network might be another approach, but
I've never used it, so I don't know details.

Gregm

0
Reply Greg 12/22/2003 8:07:26 PM

6 Replies
188 Views

(page loaded in 0.092 seconds)

Similiar Articles:













7/29/2012 5:16:18 AM


Reply: