1837463 Members
3666 Online
110117 Solutions
New Discussion

hpux to pc connection

 
SOLVED
Go to solution
gordon wilson_1
Occasional Advisor

hpux to pc connection

I have a 735 (hpux 10.20)
and a PC (windows 98SE) that
I would like to connect
inexpensively. The PC has
a 10Bt NIC card, and the 735
also has a 10Bt connection.
Is it possible to connect them
via ftp using the existing
hardware and software?
28 REPLIES 28
Paul Sperry
Honored Contributor

Re: hpux to pc connection

yes it would be possible but you would need samab on the unix box or something like Services For Unix on the PC.
Hai Nguyen_1
Honored Contributor

Re: hpux to pc connection

Gordon,

I do not see why that should not work.


Hai
Dario_1
Trusted Contributor

Re: hpux to pc connection

Gordon:

Yes, it should work.

Regards,

Dario
Dario_1
Trusted Contributor

Re: hpux to pc connection

Gordon:

By the way, welcome to the HP forum.

Regards,

Dario
Caesar_3
Esteemed Contributor
Solution

Re: hpux to pc connection

Hello!

Yes it's posiable!
The HP will be your FTP server
and the windown FTP client.
Connect them with the cable, give them
ip addresseds in the same sigment (192.168.1.1 to HP and 192.168.1.2 to PC)
Restart them and after check ping between them,
if no problems with ping then from PC run
ftp 192.168.1.1 enter the host and password
and you in.
If you ftp server on HP running you wouldn't have problems.

Caesar
A. Clay Stephenson
Acclaimed Contributor

Re: hpux to pc connection

Yes this is trivially easy. The least expensive method is to use a crossover 10BaseT cable and directly connect the boxes. The easist (and only slightly more expensive these days) method is to use 2 "straight" 10BaseT cables and a dirt-cheap small hub.

Use sam to configure the network connection on the HP workstation.

This will give you telnet and ftp connectivity from your PC to the HP.
If it ain't broke, I can fix that.
Paul Sperry
Honored Contributor

Re: hpux to pc connection

Sorry, you would not need samba or services for unix if you are using FTP.
Next time I'll read the whole question before answering
Jairo Campana
Trusted Contributor

Re: hpux to pc connection

yes, is possible for hardware
whit cable crossed or connect a hub, configure network sam mask and ip
the software ,you can share archives or printers using samba or connections of network with cifsclient


http://hpux.cs.utah.edu/hppd/hpux/Networking/Misc/samba-2.2.3a/
legionx
gordon wilson_1
Occasional Advisor

Re: hpux to pc connection

Thanks for all the replies.
I set the hpux to 192.168.1.1.
But, how do I set the PC to
192.168.1.2?

My PC is dialup. And,
the PC IP gets assigned
automatically.

regards,
gordon
A. Clay Stephenson
Acclaimed Contributor

Re: hpux to pc connection

Hold everything. Your dialup connection (PPP) has absolutely nothing to do with your PC's 10BaseT port. You will need to configure a NIC along with all the TCP IP stuff. You PC will actually have two IP addresses and two hostnames - one for the dialup and the other for the LAN port. The easist method is to choose IP addresses that share a common subnet for the PC LAN and HP-UX nodes.


If it ain't broke, I can fix that.
gordon wilson_1
Occasional Advisor

Re: hpux to pc connection

Ok, right. I set the PC NIC
address to 192.168.1.2.
I left the mask as:
255.255.255.248
I hope that is ok.

I tried to ping 192.168.1.1
(HP) from PC, and got a
timeout.
I have connected them using
a netgear hub. I do not
see any flashing lights on
the hub. I suppose the hub
could be bad, was bought used.
It looks ok, power light on,
and appears brand new.

I wonder if the NIC bindings
need to be set to something
else. Currently it is:
client for microsoft networks.

A. Clay Stephenson
Acclaimed Contributor

Re: hpux to pc connection

You can leave your "Client for Microsoft Networks" in but the main one that MUST be included and configured is "Internet Protocol (TCP/IP)."
If it ain't broke, I can fix that.
gordon wilson_1
Occasional Advisor

Re: hpux to pc connection

Clay,
Thanks, but where do I set:
"Internet Protocol (TCP/IP)"
If I look at bindings, there
is only "client for microsoft
networks". Do I need to add
another binding?

regards,
gordon
gordon wilson_1
Occasional Advisor

Re: hpux to pc connection

Clay,
Let me see if I can clarify.
If you go to control panel/network/configuration.
I have 5 entries:
Client for Microsoft Networks
Dial up adapter
Netgear PCI adapter
TCP/IP -> Dial up adapter
TCP/IP -> Netgear PCI adapter

Are you referring to the last
entry, when you say:
"Internet Protocol (TCP/IP)"
Or are you referring to a
"bindings" entry?
regards,
gordon
Con O'Kelly
Honored Contributor

Re: hpux to pc connection

Hi Gordon

I'm no expert with Windows but I think it is the "TCP/IP -> Netgear Adapter" that is the important one. You should select this and then click "Properties" to check your NIC settings.

One thing I noticed was you mentioned a 255.255.255.248 subnet mask on your PC setting. I would be inclined to use a standard 255.255.255.0, unless you have a reason for a non-standard one. You should ensure that the hp-ux NIC has the same subnet mask as your PC.

HTH.

Cheers
Con
A. Clay Stephenson
Acclaimed Contributor

Re: hpux to pc connection

I wasn't very clear. The latter is the case. Your "bindings" are ok. You will need to specify an IP address and subnet for the LAN connection.

Note that some of the hubs have an 'X' (crossover) port - those are for hub to hub connections so avoid that port.
If it ain't broke, I can fix that.
gordon wilson_1
Occasional Advisor

Re: hpux to pc connection

Eureka! Clay, Con, Caeser, Dario, Hai, Paul, Jarle, Bill, Twang, John and Michael,
thank you.

The problems were:
1. I believe there was a problem with the
subnet mask, it is now 255.255.255.0.
2. The hub that I was questioning, was
actually ok.
3. Several of the cat5 cables that I had
were actually crossover cables!! I finally
figured that out after looking at the
wiring with the help from www.johnscloset.net.

Since I only have the two machines, I have
them connected with the crossover cable only.

I am able to ftp. I wish ftp would go to
binary automatically. The hpux version does
that when needed. And, the telnet works, but
some of the control characters do not work
properly, like if you do a "man tar".
My primary goal was to set up the hpux as a
backup for my important files, and that works
just fine.
thank you all
gordon
Steven E. Protter
Exalted Contributor

Re: hpux to pc connection

Thank them with some points sir.

0 for me.

Solution values for those that helped you.

You do understand that no matter what is IP is auto assigned to your dial up networking, you can still assign an IP address to your NIC card.

right mouse on network properties and move from there.

Sounds like you found a solution.

Good Luck to you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: hpux to pc connection

When I looked at the thread there were no points assigned.

Anyway more most likely useless input.

lanadmin -x 0

for lan0 if thats what you are connected to.

Just need to make sure if using a hub you are getting the speed you expect. If the hub is 100 BaseT you should show 100 BaseT Full duplex on the HP side. If you see something else, you will have rotten transfer rates and need to hard code the desired settings in /etc/rc.config.d/hpbtlanconf or /etc/rc.config.d/hpgsclanconf or similarly named files.

there are plenty of examples in itrc.

Good Luck.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
gordon wilson_1
Occasional Advisor

Re: hpux to pc connection

Steven,
I am new to this format and etiquette.
Hope I got it right now.

Yes, I see that I can have a NIC ip
address and a IE ip address. And, it
worked out ok, but it makes me wonder
how 98SE decided which ip to use.
Seems that msdos prompt is hardwired
to the NIC ip?

regards,
gordon
Steven E. Protter
Exalted Contributor

Re: hpux to pc connection

Let me help with that.

If you type ifconfig in a dos box you will see various IP connections.

They look the similar in Windows 98 but not the same.

You said your connection was dialup and auto assigned, that will show up to whatever the admin at the dial up end set.

After you get done with the NIC settings, the ifconfig command will show you two interfaces, one dial up, one ethernet, they are both IP so they will look alike.

Its important not to conflict the IP address you pick for your little network doesn't conflict with the one you get from the dial up.

If both want to me 192.168.0.# and netmaks 255.255.255.0 you will have problems.

When its set up, go ahead and post up the ifconfig output from the Windows box and the ifconfig lan0 from the HP box.

Have you gotten full connectivity yet?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
gordon wilson_1
Occasional Advisor

Re: hpux to pc connection

Steven,
Yes, I have full connectivity.
Actually, this is better than planned, since
I only need one monitor and keyboard because
I can shutdown the hpux from the PC using
telnet.

Here is from msdos:
C:\WINDOWS>ipconfig

Windows 98 IP Configuration

0 Ethernet adapter :

IP Address. . . . . . . . . : 64.63.204.233
Subnet Mask . . . . . . . . : 255.0.0.0
Default Gateway . . . . . . : 64.63.204.233

1 Ethernet adapter :

IP Address. . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . :

Here is from hpux:
home/gw > ifconfig lan0
lan0: flags=863
inet 192.168.1.1 netmask ffffff00 broadcast 192.168.1.255

regards,
gordon
Steven E. Protter
Exalted Contributor

Re: hpux to pc connection

Nice job sir.

You're done.

If you are looking for a fun project and its supported, think about 11.00 on the HP-UX box.

Good night.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Caesar_3
Esteemed Contributor

Re: hpux to pc connection

Hello Gordon!

If you want to work with NICs and networks
with your PC you should think about
change your windows 98 to 2000 or XP
because the part of network and network configuration not so good on the 98, and good on the 2000/XP versions.
Also the winsock of 98 should be upgraten.

Good luck.

Caesar