Networking Forums

Networking Forums > Computer Networking > Linux Networking > Networking - OS/2 <- - -> Mandrakelinux

Reply
Thread Tools Display Modes

Networking - OS/2 <- - -> Mandrakelinux

 
 
BillM
Guest
Posts: n/a

 
      06-22-2004, 04:06 PM
I need help on this one, My main problem is that I do not know
anything about networking and therefore I'm lost.

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



The problem, I beleive is software configuration. Favorite error
messages "access denied" and "..(File name)..not found. I
cannot get into the folders of the other machine (either way).

Is "Domain name", "workgroup",and "groups" all the same thing?

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?

Can I recruit anyone to act as a coach/ ? /consultant? After I get the
network up I would like to put my priner on the Barricade, now it is
on a A/B switch

Thanks in advance

--
BillM
 
Reply With Quote
 
 
 
 
Juhan Leemet
Guest
Posts: n/a

 
      06-22-2004, 07:51 PM
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.


> 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.


> The problem, I beleive is software configuration. Favorite error
> messages "access denied" and "..(File name)..not found. I
> cannot get into the folders of the other machine (either way).
>
> 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.

"Domain name" should be the TCP/IP domain name, usually used by DNS (or
NIS?) name resolution mechanisms for FQDN (fully qualified domain name).

"workgroup" is similar but applies only to the SMB (actually NetBEUI?)
protocol, which (I believe) these days is layered on top of TCP/IP?

"groups", ah, there are several different types of groups... /etc/group
defines user groups. Users log on and can share access to Linux resources
through the middle set of permissions bits, those for group access. There
are also "netgroups" and other groups. You probably don't have to worry
about any of these groups, not just yet, anyway.


> 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?). I
don't know where this LinNeighborhood thing is, or what it does. Someone
else will have to help you there. Ah, wait a minute... I do have it...

When I start it up, it shows:

[-]-.- <penguin icon> <my Linux PC hostname>
[+] <network icon> <my workgroup>

When I click on the + sign, it changes to:

[-]-.- <penguin icon> <my Linux PC hostname>
[-]-.- <network icon> <my workgroup>
+-- <computer icon> <my Solaris host1>
+-- <computer icon> <my Solaris host2>

[I don't want to advertise my internal structure on the internet.]
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?

In Linux, there is /etc/defaultdomain which defines your domain on bootup.
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?).

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?

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 did put some more notes and suggestions below]

> Can I recruit anyone to act as a coach/ ? /consultant? After I get the
> network up I would like to put my priner on the Barricade, now it is on
> a A/B switch
>
> Thanks in advance


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.

....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?!?)...

--
Juhan Leemet
Logicognosis, Inc.

 
Reply With Quote
 
BillM
Guest
Posts: n/a

 
      06-23-2004, 03:09 PM
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
 
Reply With Quote
 
Juhan Leemet
Guest
Posts: n/a

 
      06-23-2004, 09:07 PM
On Wed, 23 Jun 2004 11:09:27 -0400, BillM wrote:
> Juhan Leemet wrote:
>> [I don't want to advertise my internal structure on the internet.]

>
> I agree. May I contact you directly (off newsgroups)?


Sure. I have not been protective of my email address, but maybe I should
have been. My ISP does some spam filtering, and I do too, but it's still
climbing. You can e-mail me, or I might send you a note.

>> 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.


Is that a typo? Really the 1930s? Wow!

Yes, I also feel that the IBM OS/2 team achieved the ideal balance between
typing and mousing (er, pointing). For most of the GUI, you could use
keyboard and/or mouse, for specifying things. Every mouse action had a
keyboard accelerator. So, a "typist" like me _could_ drive the OS/2 GUI
from a keyboard alone. That is difficult (or even impossible) to to on any
other system (Mac, Windoze, Solaris). It's too bad that the IBM CUA
(Common User Access) standardization was marginalized and forgotten by the
industry. I thought it was really a good piece of work! It defined
semantics so that not every GUI designer pulled things out of the air.

>> 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.


> 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?


BTW, if you change any configuration for samba, you might have to tell it.
It does not automagically keep scanning its configuration file for
changes. The most straightforward way would be to shutdown/restart samba.
If you (er, or a typist, like me) want to get fancy, you could try:

pkill -HUP smbd
pkill -HUP nmbd

This sends a -HUP (hangup) signal to the two daemons smbd (file sharing)
and nmbd (SMB aka NetBEUI? name resolution) to tell them to reinitialize
and reread configuration files. I don't remember if/how that works with
what version of samba. The shutdown/restart is simplest/safest.

> 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


I'm not sure what/why you have those preceeding / characters? I would ping
the host names by:

ping HAL (or maybe...)
ping hal
ping R2D2 (or maybe...)
ping r2d2
ping barricade
....etc...

You should be able to ping from any machine to any other.
Once the pings work right, try your LinNeighborhood panel again.

My hostnames are usually lower case. I don't know if it makes a
difference? Just did a test on Solaris9 and SuSE 9.1, and I can use the
upper case name, which seems to get translated via host name resolution.

BTW, you might have to use some strange characters in some setup on the
OS/2 side? They have inherited a bunch of bad conventions from DOS, via
Windoze, which require some strange syntax. I don't remember details, but
I would first try without any '/' prefix. It's not a http request, like in
a browser window.

--
Juhan Leemet
Logicognosis, Inc.

 
Reply With Quote
 
Juhan Leemet
Guest
Posts: n/a

 
      06-25-2004, 10:16 PM
On Wed, 23 Jun 2004 11:09:27 -0400, BillM wrote:
> <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


BTW, this is also what your e-mail shows me, but when I try to reply to
you, I cannot. I get back the error "User unknown". Check your mail setup?
Ah, OK, should be "net" not "com" (as in your return address). Please fix.

--
Juhan Leemet
Logicognosis, Inc.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Networking (Networking Newbie) - Wireless & Wired can they work together ? GeoffP Home Networking 3 07-20-2005 12:03 PM
[Reminder] Online chat with Networking & Devices VP about Networking in Longhorn Eddy Malik [MSFT] Wireless Networks 0 03-22-2005 02:27 AM
[Reminder] Online chat with Networking & Devices VP about Networking in Longhorn Eddy Malik [MSFT] Windows Networking 0 03-22-2005 02:27 AM
Wireless networking removed wired networking Rob Windows Networking 1 01-15-2004 02:47 AM
full networking for console user, limited networking for remotely logged in user RJ41 Linux Networking 3 08-15-2003 08:18 PM



1 2 3 4 5 6 7 8 9 10 11