- trying to get OS/2 to get along with Samba
- Posted by eric w on October 11th, 2004
On Tue, 12 Oct 2004 00:30:27 UTC, rayyfieldNOTSPAM@yahoo.com (ray field) wrote:
Nah.
SuSE is a great distro btw!
All I did was use the SMBCLIENT utility on LINUX (look at the help & maybe a
GOOGLE to get all the proper commandline switches) which provides PEER services
& will interface with OS/2 as long as you have the TCP/ip over netbios
(TCPBEUI) protocol active. There is NO configuration of the SAMBA server & in
fact it doesn't even run. This is pure PEER.
Let me know if you need additonal help for SMBCLIENT. It took me a little
digging to get it running but it really couldn't be easier!
....eric
- Posted by ray field on October 12th, 2004
I have installed SuSE 9.1 on my secondary machine, and I
would like to share files between it and my OS/2 Warp 4 box
(FP 15 I think).
It's going to take a fair amount of work for a Linux newbie
to get the Samba client configured under SuSE, though I've
made progress, but it's the OS/2 desktop box that's worrying
me now. (My Thinkpad, which is running eCS 1.1, is nearly
ready to work with the Samba server -- I can see the SuSE
shares, though I've still got to work out the permissions,
etc. on the server.)
Anyway, I've been trying to use as a guide this website
http://www.jacco2.dds.nl/samba/index.html
but got tripped up early on. Since I didn't have Netbios
over TCP/IP installed, I followed Jacco's instructions to
use MPTS to install the Netbios over TCP/IP protocol and
then go to the bottom half of the MPTS screen to change the
adapter number that goes with the protocol.
Unfortunately, whenever I do that, the next bootup process
will halt with this message:
NET3406: An error occurred while opening network device driver NET1=NETBEUI$
SYS1719: The file K:\IBMLAN\NETPROG\NETWKSTA.20 specificed in
the IFS statement on line 258 of the CONFIG.SYS file does not
contain a valid device driver or file system driver. Line 258
is ignored.
Press Enter to continue....
This happens when I give the three protocols each a
different number (0, 1, 2), or when I make the MPTS
selection match the configuration which seems to be working
on the Thinkpad, which shows in MPTS:
Intel(R) PRO PCI Adapter......
1-IBM OS/2 NETBIOS
0-IBM OS/2 NETBIOS OVER TCP/IP
0-IBM TCP/IP
What am I missing?
By the way, I've sort of been enjoying toying with SuSE 9.1
-- it's snappier than 9.0 (though still a pig relatively
speaking). and supports my Aureal soundcard out of the box,
which 9.0 didn't. Screen resolution and font rendering
under KDE leaves a good bit to be desired, at least with an
LCD monitor and this NVIDIA card. Figured I'd try it as a
sort of hedge, plus knowing something about Linux at this
point can't really hurt, but nevertheless I still end up
happily returning to OS/2.
--
-rafe t.
www.ray-field.com
- Posted by Frank on October 12th, 2004
Hello Ray,
On Mon, 11 Oct 2004 19:30:27 -0500, ray field wrote:
See http://www.mit.edu/activities/os2/peer/WARPPEER.HTM to fix this.
Kind regards,
Frank
- Posted by eric w on October 12th, 2004
On Tue, 12 Oct 2004 21:46:08 UTC, "Frank" <Frank@no_spam.now> wrote:
ECS has a REXX script to automate the process.
Its \ECS\BIN\PROTOCHK.CMD (just copy to your non-ECS system, it will still
work).
....eric
- Posted by ray field on October 13th, 2004
In article <senaxabfcnzabj.i5i7sw2.pminews@news.xs4all.nl>,
"Frank" <Frank@no_spam.now> wrote:
many thanks, that was exactly the problem. I've referred to
your helpful page before, I should have looked there
sooner...
all best,
rafe t.
- Posted by ray field on October 13th, 2004
In article <vSrfmdoFuNkL-pn2-HjOvsg7JzLBy@nospam.nospam.net>,
"eric w" <eric@nospam.net> wrote:
thank you! partly because I wasn't sure at what stage I
needed to run protochk.cmd -- presumably after changing MPTS
and before rebooting, but the changes seemed simple enough
to do by hand -- I ended up making the changes manually.
things are almost working. I will investigate running
SMBCLIENT -- although the Samba server on the SuSE box seems
to be functioning okay, so I'm not sure what I need to
change on my OS/2 side. here's the situation right now:
- when I access the SuSE box from my Thinkpad T22 running
windoze98, I can browse my user directory -- but I guess I
haven't granted myself read/write privileges over the
network, because I can't save files.
- I can browse files on the OS/2 Warp 4 box from the SuSE
machine, but don't have write privileges.
- the Warp 4 box sees the Linux box, but can't even browse
the user directories. also, its designation doesn't seem
correct: while W98 correctly identifies the Linux box by the
name I gave it, Warp's File & Print Client Resource Browser
calls it SAMBA SERVER. opening that, I get three objects:
a folder called All users, which seems to contain
nothing
the Epson printer I've configured on that box, which is
on the server (but not the LaserJet which is also on the
server and configured)
another folder titled "Network Profiles Service" --
also empty, or rather, when I click on it I get the "No
objects were found that matched the specified find criteria"
popup
again, it seems like I'm stuck configuring the privileges.
since I've started with the Samba server, I'm tempted to
stick with trying to configure that -- it would be easier, I
guess, if I could get Swat working, but I need to complete a
couple steps for that to happen. and I also have another
couple priorities, namely: getting SuSE 1) to
recognize/mount the HPFS partitions on that box, and 2) to
recognize my Palm Zire 31. (the latter has become necessary
because I need a desktop to keep track of Palm tasks, and
I'd rather get this running on Linux than have to boot
windoze.)
anyway, this is the kind of nice little incremental advance
that I've come to enjoy making with Linux -- maybe in a
couple weeks I'll have DOSEMU running to my satisfaction,
too. SuSE 9.1 really is good -- or maybe I should say that
KDE is good, because I feel like that's about as far as I've
gotten. I only wish there was something like SDD for KDE,
because the resolution sucks. (except when I'm running the
3D fighter plane game, which is way fun).
cheers,
--
-rafe t.
www.ray-field.com
- Posted by Bob McLellan on October 13th, 2004
I have just done it with no issues. You must line up the net numbers in
the protocol.ini (MPTS) with the net numbers in ibmlan.ini.
I have
IBM 10/100 Etherjet PCI Adapter (OS/2)
0-IBM OS/2 NETBIOS
1-IBM OS/2 NETBIOS OVER TCP/IP
0-IBM TCP/IP
notice that just the samba protocol is on virtual device 1
significant parts of the protocol.ini are
[IBMLXCFG]
netbeui_nif = netbeui.nif
tcpbeui_nif = tcpbeui.nif
tcpip_nif = tcpip.nif
IBMFEEO2_nif = IBMFEEO2.NIF
[NETBIOS]
DriverName = netbios$
ADAPTER0 = netbeui$,0
ADAPTER1 = tcpbeui$,1
[tcpbeui_nif]
DriverName = tcpbeui$
Bindings = ,IBMFEEO2_nif ************* note the position of the comma
......
[netbeui_nif]
DriverName = netbeui$
Bindings = IBMFEEO2_nif
.....
[tcpip_nif]
DriverName = TCPIP$
Bindings = IBMFEEO2_nif
[IBMFEEO2_nif]
DriverName = IBMFE$
relevant part of the config.sys
RUN=F:\MPTN\BIN\CNTRL.EXE
CALL=F:\OS2\CMD.EXE /Q /C F:\MPTN\BIN\MPTSTART.CMD >NUL
RUN=F:\IBMCOM\PROTOCOL\NBTCP.EXE
DEVICE=F:\IBMCOM\PROTOCOL\NETBEUI.OS2
DEVICE=F:\IBMCOM\PROTOCOL\TCPBEUI.OS2
DEVICE=F:\IBMLAN\NETPROG\RDRHELP.200
IFS=F:\IBMLAN\NETPROG\NETWKSTA.200 /I:F:\IBMLAN /N
DEVICE=F:\IBMCOM\PROTOCOL\NETBIOS.OS2
DEVICE=F:\IBMCOM\MACS\IBMFE.OS2
In the ibmlan.ini do this
[networks]
net1 = NETBEUI$,0,LM10,34,100,14
net2 = TCPBEUI$,1,LM10,34,100,14
in [requester]
change this
wrknets = NET1,NET2
in [peer]
change this
srvnets = NET1,NET2
ray field wrote:
- Posted by Bob Plyler on October 13th, 2004
ray field wrote:
There is a problem with mounting OS/2 drives using the latest
Samba. It works fine when mounting Samba shares from OS/2.
See
https://bugzilla.samba.org/show_bug.cgi?id=1353
Bob Plyler
(fails for me).
- Posted by Trevor Hemsley on October 13th, 2004
On Wed, 13 Oct 2004 10:53:48 UTC in comp.os.os2.setup.misc, Bob Plyler
<rplyler@no.spam.us.ibm.com> wrote:
Very odd, I have the opposite. With Samba 3.0.4 as shipped by SuSE 9.1 I
could mount OS/2 drives but not list their contents - "permission
denied" despite it working prior to 9.1. Updated to 3.0.7 when it came
out because of the security flaw, this fixed that problem... as long as
the drive is HPFS but if it's JFS then I can't even mount it (I'm going
from memory here since I haven't tried it recently). All attempts to
mount my Linux home directory from OS/2 fail but I've never spent a
great deal of time on this as it's something I only use occasionally and
can work around as long as I can use it in one direction or the other.
--
Trevor Hemsley, Brighton, UK.
Trevor-Hemsley at dsl dot pipex dot com
- Posted by eric w on October 13th, 2004
On Wed, 13 Oct 2004 06:05:18 UTC, rayyfieldNOTSPAM@yahoo.com (ray field) wrote:
What video card or chipset are you running???
Unless its a real oddball KDE ought to run every bit as resolute as SDD on
OS/2.
....eric
- Posted by Wayne on October 13th, 2004
On Thursday 14 Oct 2004 05:40 eric w wrote:
http://store.scitechsoft.com/product...1a6a127a754f68
Wayne
--
While the e-mail address in this post is genuine it is only
used as a spamtrap. Any mail sent to me at this address
will be considered to be spam and deleted without being
read.
- Posted by Isaac on October 14th, 2004
ray field wrote:
When you get this working, I'd appreciate if you could post a summary of
problems and how you fixed it (and/or helpful links).
I tried to fight with this a while and never could get this to work.
I gave up and tried Netdrive with the SAMBA support, but not sure that
went too far either. On the other hand, the server was a WinXX box, so
maybe it was the non-standard standard crap that MS usually pulls....
Isaac
- Posted by ray field on October 14th, 2004
In article <vSrfmdoFuNkL-pn2-3XYIVwi7JzYS@nospam.nospam.net>,
"eric w" <eric@nospam.net> wrote:
well but that's the thing, it's an NVIDIA GeForce2 MX400.
which wasn't supported out of the box in 9.0, but the 9.1
install recognized and configured it out of the box -- but
at a so-called 1024x768 res at 70HZ, 24-bit color depth, it
looks kind of muddy -- all text, but browser text in
particular, looks miserable, no matter what settings I try,
including lowering the scan rate.
I can improve things fairly substantially -- that is,
sharpen the edges of images and text -- if I change the
virtual resolution, to something like 1280x1024, but then I
have to drag the mouse along the edges of the screen to move
to the section of the desktop I want, which is a nuisance.
I may be missing something, but I've tried numerous
settings, and from Googling around, there are other folks
who don't seem too delighted with LCD screens under KDE.
--
-rafe t.
www.ray-field.com
- Posted by ray field on October 14th, 2004
In article <416d07ee_3@news3.prserv.net>,
Bob Plyler <rplyler@no.spam.us.ibm.com> wrote:
I couldn't say I've bumped into this bug, since at this
point I'm scarcely capable of starting with the Samba client
or server -- but the connection certainly seems flaky. last
night I was trying it out, and found that I couldn't access
my OS/2 machine from the Linux side -- then suddenly, my
IBMPEERS showed up in the KDE network browser, and I could
view OS/2 shares fine, though again without write
permissions. this morning, the OS/2 box won't show up.
--
-rafe t.
www.ray-field.com
- Posted by eric w on October 14th, 2004
On Thu, 14 Oct 2004 15:13:35 UTC, rayyfieldNOTSPAM@yahoo.com (ray field) wrote:
When I installed SuSE 8.2 I was quite dissatisfied with the settings the
installer chose for my video so I ran the manual X server configure which
allows you to set the video parameters to spec.
If this is too daunting a task (really not that hard!) look at the SNAP Linux
offering (URL given in another post) which claims to automate this process.
....eric
- Posted by Hendrik Schmieder on October 14th, 2004
ray field schrieb:
Maybe SuSe has forgooten to include HPFS support.
Just complie your own kernel and include HPFS support.
SDD for KDE makes as much sense as SDD for WPS.
KDE is an Desktop environment which is on top of a window manger
which is on top of the X-Server which makes the actual drawing.
So what you need is SNAP for Xfree and this exists.
Hendrik
- Posted by eric w on October 14th, 2004
NOT good advice!
hes not trying to access HPFS natively, hes trying to setup peer networking.
"Hendrik Schmieder" <unused@t-online.de> wrote in message
news:416EF57E.FFC4352F@t-online.de...
- Posted by ray field on October 15th, 2004
In article <vSrfmdoFuNkL-pn2-d7b8pHif1Kiw@nospam.nospam.net>,
"eric w" <eric@nospam.net> wrote:
I think Sax/2 does this now, but like most GUIs (especially
those that are a Linux programmer's idea of a GUI) it
probably sacrifices some of the full utility that a manually
editable configuration file has. my biggest problem with
anything I can't test on the fly is I really have very
little idea what the numbers will actually resemble -- on
this LCD, 1024x768 under Windoze doesn't bear the slighest
resemblance to the same number under KDE (or really eCS
either, though eCS looks quite nice). add to that that it's
a no-name LCD (the CD that came with it was pisspoor even by
generic standards) and you see what I'm up against. last
night I used Sax to change the res to 1152x864, and this
seems to have improved things at least a little.
SNAP is a good idea and twenty bucks sounds about right.
but it might be a while before I get around to it. I'm
happy to be finding my way around SuSE, it's kind of fun,
but for the moment I'm thinking of using it for the things
I've had to boot Windoze to do, like play realaudio stuff,
or use certain kinds of hardware OS/2 doesn't support. I
think it's really going to be useful for things like heavy-
duty backup (eg, backing up my Windoze partition image.
cheers,
-rafe t.
www.ray-field.com
- Posted by ray field on October 15th, 2004
In article <vSrfmdoFuNkL-pn2-d7b8pHif1Kiw@nospam.nospam.net>,
"eric w" <eric@nospam.net> wrote:
hmm, I downloaded it -- three attempts at installation have
failed. the console claims success, then the screen goes
black, never to return. not really sure what's going on but
I'm still half lost in Linux anyway; I'm sure I had the
right permissions in the console window, but -- it's not my
biggest priority anyway.
--
-rafe t.
www.ray-field.com