HP3000-L Archives

November 2006, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
donna hofmeister <[log in to unmask]>
Reply To:
donna hofmeister <[log in to unmask]>
Date:
Fri, 3 Nov 2006 12:17:36 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (256 lines)
> 1)       Donna Garverick  (thanks, donna)
> 3)       Donna from the hp3000 list (thanks, donna)
> 5)       Donna Hofmeister (thanks, donna)
> 7)       Donna at Long's Drugs (thanks, donna)

geesh, who is this masked crusader? :-)     (thanks ray :-)

i worry about ray....he thinks vi is cool!  we may have to pray for his healing or something ;-)  (ps, you don't HAVE TO use vi....but you certainly don't want to use editor or any other unenlightened editor.) (ps #2, if you get a good .exrc file....you can use those cursor keys in vi.  mpe does not ship (that i know of) with any .exrc files.  hop over to some *ix box and snitch one or get a buddy to send you their copy....you'll be glad you did.)  (ps #3, the vi tutorial from the univ. of hawaii is pretty good....i'd call it a classic!)

and ray -- apache is a piece of cake compared to samba ;-)        - d

----- 
Donna Hofmeister, HP-CSA Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631 Longs Drug Stores
 
>>>MY opinions, not Longs Drug Stores'<<


----- Original Message ----
From: Ray Shahan <[log in to unmask]>
To: [log in to unmask]
Sent: Friday, November 3, 2006 8:30:46 AM
Subject: [HP3000-L] SAMBA tips for newbies that have WINDOWS XP


Hi all,

            



            We finally got SAMBA to work here, and I thought I'd share a
couple of things I found out for those folks who may be looking to try
SAMBA (do it, it's cool).



            First, I know nothing about NETWORKING (on the hp or
WINDOWS), but I had seven things in my corner:

                        


2)       Some really good documentation within the SAMBA
directories/files (thanks Lars Appel) and the internet (thanks everybody
else)

3)       Donna from the hp3000 list (thanks, donna)

4)       The 3000 list (thanks to all who helped  - special thanks to
Raymond Legault)

5)       Donna Hofmeister (thanks, donna)

6)       Tutorials on SAMAB, VI and UNIX/LINUX/POSIX on the WEB that are
very good, and for the most part, easy to follow (thanks Cyber Geeks) 

7)       Donna at Long's Drugs (thanks, donna)



Second, if I could do this, all of us can, and believe me, it's a really
cool product - you can see/create/access files on your hp from a PC just
as if your hp was another WINDOWS server on your network (I still don't
know squat about networks and windows servers, though).  There are some
really good uses for this product - like having users access data in
folder/files on the hp via XCEL or ACCESS instead of printing that data
on a report.  We can (and should have done this years ago) have the hp
act/look like a WINDOWS server, so folks can then take the data they've
accessed and send it by email, cut-paste it into WORD docs, whatever (I
could go on, but you get the point).





The config file that comes with SAMBA is just about 90% complete, you
just need to create you own share(s) (I'll include a copy of one), set
your hp's IP address, and a couple of other small changes specific to
your installation (and those changes are well documented inside of the
SAMBA config file).  



1) One very important point for WINDOWS XP users is that you must use
ENCRYPT PASSWORDS = YES in your SAMBA config file. This is where I got
killed over and over again (then donna tirelessly saved me - yo, donna,
thanks) - without this turned on, you will not get anywhere.  



2) You'll also need to understand that the USER.ACCT you setup in SAMBA
will need to be a USER.ACCT that exists on the hp, however (and this is
major), the password you setup for the USER.ACCT in SAMBA has nothing to
do with the password for the same user on the hp (you may want to use
the same password in SAMBA as the hp, but use a lowercase version of the
hp password (yes, SAMBA cares about the case)).



3) Set your SECURITY = SHARE in the SAMBA config file, so anyone logging
in has to supply the correct password to gain access to a share (see 2).



4) Another XP issue - When you get the password dialogue box from
WINDOWS on your PC (when trying to access a folder/file on the hp), just
ignore the User Name box (it'll likely be filled in with
servername/GUEST), and just enter the password (in the password box)
that you setup within SAMBA (repeat this to yourself over and over).



Here is an example of a share and how to set it up in the SAMBA config
file (it really is about this simple):  Notice that the users are setup
as hp username.acct



[Myshare]



comment = Abstract Department Files



browseable = yes

guest ok = no

write ok = no

username = barbara.ptc john.ptc

valid users = barbara.ptc john.ptc

only user = yes



path = /SAMBA/SHR/Myshare



Ok, a few other pointers that will help:



a)       You'll need to use VI as your editor to modify your smb.conf
config file...don't worry, it's actually pretty cool once you get used
to it (beats the snot out of EDIT3000 and/or the Business BASIC editor).
So here's a WEB page that helped me get started and another one that's
got some good cheats (don't get put off by the second one - just try the
first WEB page, then move on to the next one).  Oh, and DON'T TOUCH
THOSE CURSER KEYS!   8-)



http://www.eng.hawaii.edu/Tutor/vi.html#intro

            

http://www.lagmonster.org/docs/vi.html#search



b)       Here are a couple of links for help with POSIX (again, it's
cool once you get going)



http://invent9k.external.hp.com/~csy/cmds.cgi?mpe=summary       (This is
an hp to posix command cross-ref)



http://codex.wordpress.org/UNIX_Shell_Skills   (This is a great tutorial
for UNIX beginners - really, it'll get you going - just scroll about
half way down the page for some basic but useful commands you may use)





Alright, I truly hope others will try this (it'll help you in your
futures - trust me on this), and if there's anything I can do to help
(while my miserable memory has any retention of what I've done), please
don't hesitate to ask.  You can do this all in a few hours (really!!),
and once you get it going, you'll look at your hp in a whole new light
(donna's words, and she's correct).  Imagine, if you will, dragging the
contents of a file on the hp onto your desktop (or even from your
desktop to the hp)!!  Or creating a file with SUPRTOOL and OUTPUT =
filename,PRN - your users can then just open XCEL ,and import that comma
delimited file right off the hp and into XCEL in seconds!



Ok, I've ranted enough - my next challenge (if I get the time and
chance) APACHE WEB SERVER for the hp.



As always, if I've misstated/omitted something, please do help correct
it, and TIA for your input.





Have a great weekend!









  <http://www.republictitle.com/> 

Raymond Shahan

Computer Programmer
REPUBLIC TITLE OF TEXAS, INC. <http://www.republictitle.com/> 
  2701 W Plano Parkway
<http://maps.yahoo.com/maps_result?addr=2701+w+plano+parkway&csz=75075&c
ountry=us&new=1&name=&qty=>  
Plano, TX 75075




direct 214.556.0202
main 972.578.8611
fax 972.424.5621

www.republictitle.com <http://www.republictitle.com/> 

[log in to unmask] <mailto:[log in to unmask]> 






* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *



* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2