summaryrefslogtreecommitdiff
path: root/docs/docbook/projdoc/OS2-Client-HOWTO.sgml
blob: ca7ad6a754e0feac98fb2cc3b6000795f1b768a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<chapter id="os2">


<chapterinfo>
	<author>
		<firstname>Jim</firstname><surname>McDonough</surname>
		<affiliation>
			<orgname>IBM</orgname>
			<address>
				<email>jerry@samba.org</email>
			</address>
		</affiliation>
	</author>
	
		
	<pubdate>5 Mar 2001</pubdate>
</chapterinfo>

<title>OS2 Client HOWTO</title>

<sect1>
	<title>FAQs</title>

	<sect2>
		<title>How can I configure OS/2 Warp Connect or 
		OS/2 Warp 4 as a client for Samba?</title>

		<para>A more complete answer to this question can be 
		found on <ulink url="http://carol.wins.uva.nl/~leeuw/samba/warp.html">
		http://carol.wins.uva.nl/~leeuw/samba/warp.html</ulink>.</para>
		
		<para>Basically, you need three components:</para>
		
		<itemizedlist>
			<listitem><para>The File and Print Client ('IBM Peer')
			</para></listitem>
			<listitem><para>TCP/IP ('Internet support') 
			</para></listitem>
			<listitem><para>The "NetBIOS over TCP/IP" driver ('TCPBEUI')
			</para></listitem>
		</itemizedlist>
		
		<para>Installing the first two together with the base operating 
		system on a blank system is explained in the Warp manual. If Warp 
		has already been installed, but you now want to install the 
		networking support, use the "Selective Install for Networking" 
		object in the "System Setup" folder.</para>

		<para>Adding the "NetBIOS over TCP/IP" driver is not described 
		in the manual and just barely in the online documentation. Start 
		MPTS.EXE, click on OK, click on "Configure LAPS" and click 
		on "IBM OS/2 NETBIOS OVER TCP/IP" in  'Protocols'.  This line 
		is then moved to 'Current Configuration'. Select that line, 
		click on "Change number" and increase it from 0 to 1. Save this
		configuration.</para>

		<para>If the Samba server(s) is not on your local subnet, you 
		can optionally add IP names and addresses of these servers 
		to the "Names List", or specify a  WINS server ('NetBIOS 
		Nameserver' in IBM and RFC terminology). For Warp Connect you 
		may need to download an update for 'IBM Peer' to bring it on 
		the same level as Warp 4. See the webpage mentioned above.</para>
	</sect2>
	
	<sect2>
		<title>How can I configure OS/2 Warp 3 (not Connect), 
		OS/2 1.2, 1.3 or 2.x for Samba?</title>
		
		<para>You can use the free Microsoft LAN Manager 2.2c Client 
		for OS/2 from 
		<ulink url="ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/">
		ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/</ulink>.
   	See <ulink url="http://carol.wins.uva.nl/~leeuw/lanman.html">
		http://carol.wins.uva.nl/~leeuw/lanman.html</ulink> for 
		more information on how to install and use this client. In 
		a nutshell, edit the file \OS2VER in the root directory of 
		the OS/2 boot partition and add the lines:</para>
		
		<para><programlisting>
		20=setup.exe
		20=netwksta.sys
		20=netvdd.sys
		</programlisting></para>
		
		<para>before you install the client. Also, don't use the 
		included NE2000 driver because it is buggy. Try the NE2000 
		or NS2000 driver from 
		<ulink url="ftp://ftp.cdrom.com/pub/os2/network/ndis/">
 		ftp://ftp.cdrom.com/pub/os2/network/ndis/</ulink> instead.
		</para>
	</sect2>
	
	<sect2>
		<title>Are there any other issues when OS/2 (any version) 
		is used as a client?</title>
		
		<para>When you do a NET VIEW or use the "File and Print 
		Client Resource Browser", no Samba servers show up. This can 
		be fixed by a patch from <ulink
		url="http://carol.wins.uva.nl/~leeuw/samba/fix.html">
		http://carol.wins.uva.nl/~leeuw/samba/fix.html</ulink>.
		The patch will be included in a later version of Samba. It also 
		fixes a couple of other problems, such as preserving long 
		filenames when objects are dragged from the Workplace Shell 
		to the Samba server. </para>
	</sect2>
	
	<sect2>
		<title>How do I get printer driver download working 
		for OS/2 clients?</title>

		<para>First, create a share called [PRINTDRV] that is 
		world-readable.  Copy your OS/2 driver files there.  Note 
		that the .EA_ files must still be separate, so you will need 
		to use the original install files, and not copy an installed 
		driver from an OS/2 system.</para>
		
		<para>Install the NT driver first for that printer.  Then, 
		add to your smb.conf a parameter, "os2 driver map = 
		<replaceable>filename</replaceable>".  Then, in the file 
		specified by <replaceable>filename</replaceable>, map the 
		name of the NT driver name to the OS/2 driver name as 
		follows:</para>
		
		<para>&lt;nt driver name&gt; = &lt;os2 driver 
		name&gt;.&lt;device name&gt;, e.g.:
		HP LaserJet 5L = LASERJET.HP LaserJet 5L</para>

		<para>You can have multiple drivers mapped in this file.</para>
	
		<para>If you only specify the OS/2 driver name, and not the 
		device name, the first attempt to download the driver will 
		actually download the files, but the OS/2 client will tell 
		you the driver is not available.  On the second attempt, it 
		will work.  This is fixed simply by adding the device name
  		 to the mapping, after which it will work on the first attempt.
		</para>
	</sect2>
</sect1>

</chapter>