Dosemu a IPX
Milan Kerslager
milan.kerslager na spsselib.hiedu.cz
Úterý Červen 19 22:55:00 CEST 2001
On Tue, 19 Jun 2001, Zbynek Knop wrote:
> Zkuseni, prosim poradte: Potreboval bych se z dosemu nalogovat na
> Novellsky server.
>
> Situace:
> Novell - frame 802.3 a 802.2
> Linux - frame 802.3. a 802.2 - funguje slist, ncpmount
> dosemu 1.0.2 + DR-DOS 7.03 (diky pane Lukesh)
>
> Ze spore a pomerne stare dokumentace (Novell-Howto z roku 1995) neni
> jasne, zda funguje varianta paketdriver nebo vlm.
Ja pouzivam VLM. Musi se povolit podpora IPX v konfiguraci DosEmu, pro
obycejne uzivatele je nutny SUID bit na binarce DosEmu, pouzivam pak
restricted rezim. V DOSu spoustim jen VLM.EXE (a samozrejme nastavim IPX u
Linuxu tak, abych videl na NW server). Pouzivam dosemu-1.0.1-10 z
PowerTools RH 7.1.
diff -u dosemu.conf.orig dosemu.conf
--- dosemu.conf.orig Wed Feb 28 00:46:08 2001
+++ dosemu.conf Sat May 12 14:33:55 2001
@@ -130,7 +130,7 @@
# "threeinch:/dev/fd0"
$_floppy_b = "" # dito for B:
-$_hdimage = "hdimage.first" # list of hdimages under /var/lib/dosemu
+$_hdimage = "hdimage" # list of hdimages under /var/lib/dosemu
# assigned in this order such as
# "hdimage_c hdimage_d hdimage_e"
# If the name begins with '/dev/', then partion
@@ -170,7 +170,7 @@
# or "0x1ce range 0x280,0x29f 310"
# or "range 0x1a0,(0x1a0+15)"
-$_ipxsupport = (off) # or on
+$_ipxsupport = (on) # or on
$_novell_hack = (off)
$_vnet = (off) # 'on' for packet-multi (used by dosnet)
diff -u global.conf.orig global.conf
--- global.conf.orig Wed Feb 28 00:46:08 2001
+++ global.conf Sat May 12 14:38:16 2001
@@ -489,7 +489,7 @@
if (strchr($_secure,"0")>=0) secure off endif
dpmi off
speaker emulated
- ipxsupport off
+ ipxsupport on
# printer { options "%s" command "lpr" timeout 20 }
else
## /etc/dosemu.users does allow full access for this login
diff -u dosemu.users.orig dosemu.users
--- dosemu.users.orig Wed Feb 28 00:46:09 2001
+++ dosemu.users Sat May 12 14:40:28 2001
@@ -28,3 +28,4 @@
# If you want to allow limited dosemu to all users, uncomment the line below
# all nosuidroot restricted # all other users have normal user restrictions
+all suidroot restricted
CONFIG.SYS (v image DosEmu):
SWITCHES=/F
LASTDRIVE=Z
DOS=HIGH,UMB
device=c:\bin\emufs.sys /home
device=c:\bin\ems.sys
FILES=30
BUFFERS=20
AUTOEXEC.BAT:
@echo off
PATH c:\bin;c:\dos
c:\lan\vlm
--
Milan Kerslager
E-mail: milan.kerslager na spsselib.hiedu.cz
WWW: http://www.spsselib.hiedu.cz/~kerslage/
Další informace o konferenci Linux