News:

Down for 24 hours, Feb 21 '25.  Nearby infrastructure is going down for a day (again), so the forum will be unavailable on this day (Australia time).

Main Menu

Setting up LAN on a PC-9821AS

Started by Shentok, December 22, 2024, 12:25:15 PM

Previous topic - Next topic

Shentok

I recently bought a Buffalo LAN card (LGY-98J-T) with the intention of getting something like mTCP going in DOS since I can't install Windows 95 on this machine. I tried installing the drivers that are still hosted on their website. The included software can read the card, but I can't get farther than that. I tried another piece of software on Vector called TEENE and it reads the card as well, but can't report back any IP information. Anyone have any success with setting up FTP access on a 9821 that might have advice to share?

Basically my procedure was as followed:
Unpacked the EXE, ran the setup.
Modified autoexec.bat for mTCP and TEENE.
Modified the config.sys to load the driver LGY98.DOS (I think this is the driver, the readme mentions adding this to the config.sys.) and edited PROTOCOL.INI.

After setting up mTCP and TEENE's configs. I get nothing after that if I either load the included packet driver from the Buffalo source or TEENE's packet driver and try running various included software to finish setup.

I've also tried editing various configs to make the included drivers happy, but no luck. Made sure the IRQ information was correct as far as I can tell. The included software has a tool to let you know if you're set correctly and polls back information that the card can be seen.

A suggestion I saw that was regular DOS-related was loading up LSL.COM and IPXODI.COM along with the driver, but that didn't seem to make a difference.

JulBS0

Hi,

I don't know if you've found a solution since your post, but since I had similar needs, I'll share my experience:

mTCP's developer reported recently that mTCP does not work on PC-98 machines. I've lost the related post, but I think it was on Vogons.

I tried the TEENE route. TEENE implements a full TCP/IP stack for Ethernet cards on DOS PC-98 machines, and uses packets drivers to talk with the hardware.

The self-extracting archive you've found on Buffalo's website contains a packet driver, namely \pktdrv\lgypkt.com.

The simplest TEENE setup would be the following (if it works, you can put it in your AUTOEXEC.BAT):

REM start the packet driver, here configured with default settings
A:¥TEENE¥LGYPKT 0x60 3 0x00D0
REM set up the TEENE configuration environment variable to point to your TEEN.DEF file
set TEEN=A:¥TEENE¥TEEN.DEF
REM start up TEENE
A:¥TEENE¥TEENE.COM

At that point, if your TCP/IP configuration in TEEN.DEF is correct, you'll be able to ping your PC-9821 from another computer. I'm not sure TEENE supports DHCP, you might need to setup up a static IP address.

TEENE does not come with any "client" for anything; I found a compatible FTP client on http://www.abk.nu/~kattyo/freesoft.htm#prog_ftp, look for KFTP006.LZH.

About LSL.COM and IPXODI.COM, you'll only need them if you intend to use a Novell Netware client... or if you cannot find a packet driver for your Ethernet card (it was my case).

The .DOS file you configured in config.sys is the driver for Microsoft LAN Manager, yet another MS-DOS TCP/IP stack (among other protocols); if you use TEENE, you won't need it.

For reference, my TEENE configuration (TEEN.DEF) is the following:

;TEEN v0.36 定義ファイル(Ethernet 版用)

; ';' 以降はコメントであり、無視されます。
; シングルクォート(') で囲まれた文字列中に ; を書くことはできません。

;行頭の数字は書き替えないでください。

[TSR]
102 $0F ; Hardware type, use $0F for PC-9801/PC-9821

[ETHERNET]
<NETIF>
400 172.30.98.1 ;IP Address
401 255.255.255.0 ;Subnet mask
402 172.30.98.255 ;Broadcast address
;403 ;(未使用)
404 172.30.98.254 ;Default gateway IP address

[RESOLVER]
100 10 ;タイムアウトまでの時間(秒)

300 '172.30.98.254' ; Primary DNS resolver IP address. Keep the address single-quoted.
;301 '' ;If needed, you can unquote this line and set a secondary resolver address.

; the remaining lines were left as-is

Shentok

Thanks for the info. I haven't tried working at it in a bit, but I did find some leads I'd like to try and was planning to share the steps here if it worked out. I'll give yours a go since it's pretty simple next time I take a stab at it. Thanks for the write-up!

Shentok

#3
So I wanted to let you know that your method got TEENE set up at least. Thanks so much! I'm struggling a bit with the FTP side of things though. The FTP client you suggested seems to work fine as it'll try to connect to Filezilla, but just hangs. Do you have any recommendation for a simple FTP server to just point to a directory?

Edit: Nevermind, just silly firewall stuff I had to configure.