|  | 
 
 发表于 2002-11-21 06:17:21
|
显示全部楼层 
我用英文写的HowTo| Hi, Everyone Here 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
 | 
 |