NetWare And Linux
Making your Linux server talk to NetWare servers and printers
As almost every office-LAN has a NetWare server, your desktop client must be able to talk
to NetWare. This article tells you how a Linux box can access files on a Novell server
and print to a Novell print queue.
Linux, by default, uses the IP network protocol for network communication. However, Novell
NetWare uses the IPX network protocol. As the Linux kernel has a completely new network
implementation compared to other operating systems like Unix, it supports a range of
non-TCP/IP protocols including the IPX protocol. Kernels 2.x onwards have built-in IPX
support. The Red Hat Linux distributed on our CD-ROM has it too. The Linux kernel supports
the IPX protocol only. It does not, yet, support protocols such as IPX/RIP, SAP, or NCP.
The first step is to configure your IPX interfaces.
Login as root
Type ipx_configure--auto_primary= on --auto_interface=on
Wait for a minute and type cat /proc/net/ipx_interface. You should see something like:
Network Node_Address Primary Device Frame_Type
000000E1 00A0C925164A Yes eth0 802.2
4.Type slist. You should see a list of the NetWare servers on your LAN.
Known NetWare File Servers Network Node Address
D74_SERVER 00000D74 00000000001
If you don"t, wait for a few minutes and retry. If the slist command displays a message
like: ncp_connect: Invalid argument, then your kernel probably does not support IPX.
Check that you have actually booted off the appropriate kernel. When you boot you should
see messages about IPX and ncpfs in system startup messages. If the slist command does
not list all of your fileservers, then you may need to use the manual network configuration
method. Type cat /proc/net/ipx_interface. You should see something like:
At this point, your Linux box is setup for IPX networking. Check if your kernel has
support for NetWare NCP file system. The default Red Hat kernel has NCP file system
support. You simply have to load the ncpfs module /usr/sbin /lib/modules/2.0.32/fs/ncpfs.0.
You can also add the line to your local file to load it automatically at the boot time.
Once that is done,
Login as root (only root can mount NetWare volumes).
Type mkdir/netware to create a directory for mounting the NetWare volumes.
Type ncpmount -S D74_SERVER -U user10 /netware. You will be prompted for a password for user10.
At this point your server is mounted on /netware. The volumes are sub-directories under
/netware. So the SYS volume would be /netware/sys and the DATA volume would be /netware/data.
If you only want to mount a single volume, you can use ncpmount -S D74_SERVER -V sys -U user10
/netware. This will mount only the SYS volume to /netware.
When you finish using the Net-Ware volume, you can unmount usingncpumount/netware.
Tip: You don"t need to manually unmount NetWare volumes when you shutdown.
When you want to share the mounted NetWare volume among other Linux users, you need to
understand file permissions. The NetWare file system doesn"t support user IDs and group
推荐阅读
- 乘风破浪的姐姐谁淘汰了
- 一言九鼎的九鼎指的是什么
- 关于植树节的诗句 关于植树节的诗句有哪些
- 关于鲍鱼脓泡病的防治方法
- 抖音中编辑文字视频的简单操作教程
- 什么叫做周长
- 美的空调pd是什么故障代码
- 实用技巧:解决awstats关键字的乱码问题
- 杏鲍菇的家常做法
- 关于鲍鱼寄生虫的病状特征