Juhan Leemet wrote:
> On Tue, 22 Jun 2004 12:06:36 -0400, BillM wrote:
>> I need help on this one, My main problem is that I do not know
>> anything about networking and therefore I'm lost.
>
> That's OK. Take it a step at a time.
Many Thanks for the reply
{The following left for reference purposes}
>> A rough outline of what I have (No Windows):
>>
>> Machine 1 named "Hal", PentiumPro 200 128MB RAM
>> Running OS/2 Warp 4.0 FP10 (also dual Boot eCS 1.1, seldom used)
>> 3COM 10 MHz NIC
>> IBMLAN 'peer 2 peer'
>>
>>
>> In between:
>> SMC 'baricade 7004BR' 4 port switch/router
>>
>>
>> Machine 2 named R2D2, AMD Athalon 512 MB RAM
>> Running Mandrakelinux 10.0 OE (also dual Boot Mandrakelinux 9.2)
>> 3COM 100MHz NIC
>> Samba / LinNeighborhood
>
> OK, that does not sound too intimidating. The OS/2 is intriguing.
>
>> Is "Domain name", "workgroup",and "groups" all the same thing?
>
> er, maybe, maybe not. I seem to recall there has been some
> ambiguity/sloppiness in terminology in some places.
OK
<snip>
>
>> In my ~/ a folder was created named "LinNeighborhood".
>> In that folder is a file called "hosts" with one line:
>> " pref_host = Hal//". There is another file called "preferences"
>> with one line in it:"workgroup = STARTREK". In Hal I have the
>> Domain named STARTREK. I have never found a place to name the
>> domain in MDK, the machine shows up as "R2D2.STARTREK" in
>> LinNeighborhood, also under that is "MDKGROUP". In
>> "Mandrake Control Center" - "manage connections" is an area
>> called "Search Domain" and it has the word "peer" (lower case - none
>> changeable). How do I know or change it?
>
> You've lost me here. It seems like you're describing the OS/2 side, yet
> you refer to ~/ (did you switch OS/2 path name separator character?).
Sorry - it was mostly Mandrake except "In Hal I have the Domain named
STARTREK."
Since that time I opened up "IBMLAN.INI in OS/2" and opened "smb.conf in
Mandrake" and coordinated both to "STARTREK" (uppercase)
> .......... this LinNeighborhood thing is, or what it does. I do have
> it...
>
> When I start it up, it shows:
>
> [-]-.- <penguin icon> <my Linux PC hostname>
> [+] <network icon> <my workgroup>
>
<snip>
>
> [I don't want to advertise my internal structure on the internet.]
I agree. May I contact you directly (off newsgroups)? My email address above
is a "used-to-be", I had to close it down because of the spam. Lets see if
I can slip passed the automatic address reapers:
bill26m
[at]
comcast
{dot}
net
> Then if I double click on one of my computer host icons, I see resources.
> OK, I think I know what it is. What do you see in your display?
I have some screen dumps (*.png) and some log excerpts that I can send you,
just prefer not in a 'Googlized' arena.
>
> In Linux, there is /etc/defaultdomain which defines your domain on bootup.
No "/etc/defaultdomain" folder or file present
> However, if you don't have any name resolution mechanism(s) setup (e.g.
> DNS or NIS) then it probably doesn't matter much anyway. In your small
> case, it might be enough to make sure there is a hosts file in each
> machine that defines the IP address for each machine, and maybe for your
> printer (virtual machine inside your hub?).
However do have "file:/etc/resolv.conf, contents:
search peer (peer ??? is that an area or a name?)
nameserver 192.168.2.1 (my Barricade router)
>
> Sounds like your Mandrake side has defined (in smb.conf) the workgroup to
> be "MDKGROUP", while your OS/2 side has defined workgroup to be
> "STARTREK"? The workgroups should be the same. You might be able to find
> the other side by looking for something like "all networks" or "all
> workgroups"? I think there is a way to do a kind of broadcast. Then you
> want to align those names. Since you originally had (designed?) "STARTREK"
> as your workgroup, I would change the workgroup name in LinNeighborhood
> from "MDKGROUP" to "STARTREK". Then you should see your OS/2 machine, when
> you click on the + sign (or double click on the workgroup name. Do you?
See earlier in post
> I get the impression that you want to do all the setup using GUI tools.
> I'm a command line kinda guy, so I may have to hand off to someone else.
I am not a typist. I tried to learn 'touch typing' back in the 1930's, got
nowhere. Tried several times since, one of the reasons I liked OS/2 user
interface.
>
> This takes me back a bit. I used to run OS/2 (Warp3 + TCPIP option) and
> used the TCP/IP networking from my OS/2 PC to Sun Solaris machines. That
> worked quite well, and I was able to mount NFS exports on the OS/2 machine
> and only have some file name (caps? case?) problems. I never did setup
> Samba until after I had retired the OS/2 and unfortunately had to work on
> Windows systems (to do client work). Meanwhile I was experimenting with
> Linux, which seemed to network better with my Sun computers.
>
> Your description is a bit confusing, but that might be because I've been
> out of OS/2 for quite a while. I think nowadays samba smb share protocol
> is something that used to be called NetBEUI over TCP/IP, or something like
> that? Therefore, you probably have to have both domain (for TCP/IP) and
> workgroup (for SMB) match up right. OTOH, it might be as simple as
> defining all your machine IP addresses in a hosts file, to make the
> TCP/IP connection. I can't remember where the hosts file is on OS/2,
> maybe somewhere in C:/TCPIP, or something like that?
>
> You should also test your connectivity by using "ping". That is a standard
> tool for *nix networking and part of the TCP/IP support in OS/2 Warp4. I
> believe you have to get the TCP/IP connectivity working right first.
>
> Once TCP/IP works, then you should be able to see the other computers in
> your SMB "neighborhood". Then it is just a matter of tuning up your
> samba.conf on the linux side. You may have to "refresh" the neighborhood
> display on the OS/2 side (more than once?) and you should see resources
> appear as you get their definitions right
>
> I'm not sure about sharing from OS/2 to Linux, if you also want to do
> that. I believe you can mount SMB resources in Linux (you cannot in
> Solaris), but I have never done so.
>
Now, since I think I have "STARTREK" in both OS/2 and Linux specified right
I think that there is a problem with the mounting of Samba. Where and in
what file can I check?
ping 192.168.2.37 ---Ping from Linux (R2D2) to (Hal) OS/2
--- 192.168.2.37 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.477/0.514/0.563/0.028 ms
ping //Hal
ping: unknown host //Hal
ping //HAL
ping: unknown host //HAL
ping /HAL
ping: unknown host /HAL
.................................................. ........
Ping 192.168.2.1 ---Ping from Linux (R2D2) to Barricade
.......
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
.................................................. .........
ping 192.168.2.10 ---Ping from OS/2 (Hal) to (R2D2) Linux
.......
4 packets transmitted, 4 received, 0% packet loss, min/Aver./Max 0/2/10
.................................................. .......
ping //R2D2
ping: unknown host //R2D2
> ...almost makes me want to blow the dust off, and see if I can fire up
> that old OS/2 clunker? BTW, I think there were 2 sad deficiencies with
> OS/2: marketing ineptness by IBM, and inherited crap from PC-DOS and
> Windoze. The multi-threading kernel was great! These days Linux gives us
> the multi-tasking and multi-threading without all that DOS and Windoze
> crap (except for those damn apps that hold our data hostage?!?)...
>
[marketing ineptness by IBM] That was a number of problems - internal
warfare between divisions, trying to placate Microsoft (that was testified
to in the DOJ vs Microsoft trial), bleeding money - among other things
--
BillM