Liunx能否访问NetWare的共享文件夹?
Liunx通过SAMBA能不能支持IPX协议?能否访问NetWare的共享文件夹?
我用英文写的HowTo
Hi, EveryoneHere i will tell you guys how to use linux to mount Novell Servers(ACE, AXE,
PLATO) and how to print in Linux. I would like to thank for Dr. Diamond and
Karim(a graduate student) in computer sci. They all contribute lots to this
article.
Okay, here are the steps I had to do to get AXE and PLATO mounted.
Please note that I had installed Slackware on my computer myself so
some of the options in the kernel may be a bit different on the
laptops as the options may already be compiled in!Also I am using
kernel version 2.2.18 so the names of the kernel options may differ a
bit depending on your kernel options.
1)Recompile the kernel with IPX/SPX support (either as modules or
right into the kernel) as well as support for NCP(Novell) File systems
(under File systems, network file systems). If you do not know how
to do this please refer to the Linux-HOWTO's.
If you use Mandrake 8.0 or later version, you donot need to do this.
If you use Slackware 8.0 or later version, you may need to recompile your
kernel(Not sure about this, because i use Mandrake 9.0 and donot
need to recompile, the kernel already build in IPX support).
2)Reboot with new kernel,load modules if necessary.
3) Download and install ncpfs 2.2.0.18 (or later)found at:
ftp://platan.vc.cvut.cz/pub/linux/ncpfs/
if you use Mandrake, you can go to findrpm.net to find the lastest verion of
ncpfs
you may also need to install another package called IPXutilities(not sure
about the name).
4) Configure your IPX devices by typing (as root)
ipx_configure --auto_primary=on --auto_interface=on
This will enable IPX for your ethernet cards (eth0 in my case)
This is required by the novell file systems.
You need to reboot your computer or use init to restart your services.
After reboot, use root command ifconfig to check your IPX support on your
eth0.
5)Mount the Novell file systems (may need to be root, depends on how
you have your permissions set up.
ncpmount-S AXE -U <username> <mount-point>
ncpmount-S PLATO -U <username> -b <mount-point>
<username> should: 0xxxxx.student.acadia
Example:
ncpmount -S PLATO -U 0xxxxx.student.acadia/mnt/novell/plato
ncpmount -S PLATO -U 0xxxxx.student.acadia -b /mnt/novell/plato
Plato is the one that I had problems with mounting before because
I did not include the -b option, If you do not include that option you
will get "No Entry Point" errors. Also there are many other options
that you can use with ncpmount, such as -V ... to see the full list
just type ncpmount -h, and it will list them all . Also, to see a
list of NCP servers, user the command "slist" which will produce a
server list"
6)Print your documents by using NPRINT
nprint myfile.txt -S Host -q QUEUE -U uname -P password
Example:
nprint myfile.txt -S ACE -q cs-laser4-q -U 0xxxxx.student.acadia -P
xxxxxxx
simple test command:
echo -en "" | nprint -S HOST -q QUEUE -U USER -P PASSWORD - && echo "OK"
|| echo "ERROR"
Any questions please post on newsgroup!
That is all
Good Luck
BR,
Jackey Yang
You can also try this!
http://novelclient.sourceforge.net/ 系统自带:2002年11月21日上午07时59分54秒# rpm -qi ncpfs
Name : ncpfs Relocations: (not relocateable)
Version : 2.2.0.18 Vendor: Red Hat, Inc.
Release : 6 Build Date: 2001年07月17日 星期二 05时32分02秒
Install date: 2002年05月08日 星期三 19时20分47秒 Build Host: stripples.devel.redhat.com
Group : Applications/System Source RPM: ncpfs-2.2.0.18-6.src.rpm
Size : 1108841 License: GPL
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : Utilities for the ncpfs filesystem, a NetWare client for Linux.
Description :
Ncpfs is a filesystem which understands the Novell NetWare(TM) NCP
protocol. Functionally, NCP is used for NetWare the way NFS is used in
the TCP/IP world. For a Linux system to mount a NetWare filesystem, it
needs a special mount program. The ncpfs package contains such a mount
program plus other tools for configuring and using the ncpfs
filesystem.
Install the ncpfs package if you need it to use Novell NetWare files
or services.
Thank
多谢。
页:
[1]