In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to configure Netware server in Linux, for this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
Let me briefly introduce how to configure it (based on Asianux Server 3):
1. Kernel, you need to recompile the core to add the support of ipx and ncpfs. Note that the "Full internal IPX network" (that is, CONFIG_IPX_INTERN) in ipx must not be selected, otherwise other machines will not be connected. I just didn't know at first, and it took a long time.
2. Ipxutils, a tool that supports the configuration of ipx. Asianux has been brought, and you need to confirm whether it is installed.
3. Ncpfs, a tool that supports ncpfs, because netware's server uses ncpfs, so this package needs to be installed.
4. Mars_nwe, this is the package that simulates the netware service. The configuration file is in the / etc/nwserv directory. You can modify the nwserv.conf slightly. The main changes are:
(1) 163line CDROM path, this is still the old way of writing, in Asianux Server 3 does not exist / mnt/cdrom directory, you can change it to another directory, or simply create a / mnt/cdrom directory on the OK.
(2) 184line, the name of the server, this is the name of your netware server, just pick one of your own, note that this file all starts with a number, and the number indicates what this line means, such as the server name is 2, so this line is "2 servername", and the number 2 is equivalent to some other configuration files similar to "ServerName" keywords.
(3) the definition of IPX device and frame in 314 rows. The corresponding number is 4. The second column represents the network. If there is no other netware service in your network, you can write it freely. If there is, as long as it does not conflict with it, the third column is the device, you can write eth0, and the fourth column is the frame. You can write 802.3 or ethernet_ii,*** column is to choose whether Internal router handles RIP/SAP. I am not sure whether this is useful or not. Generally speaking, I can just write 1, and a number greater than 6 means processing.
(4) the login user can be set on line 592. There is only one guest by default, and the user in the linux system can be added as follows:
13 login user name Linux user name password identification
The login user name and the Linux user name can be different. The password is the password for logging in to Netware. The identity currently only knows that there is 0x1, indicating that the user cannot change the password. However, the default guest user corresponding to the Linux user is nobody, which seems to be no problem, and the nobody user does not have any permissions, but because it does not have a HOME directory, its HOME becomes the root directory, so the root directory of the entire Linux system can be seen on the Netware client, so all files can be viewed. Although it can only be viewed, it feels very insecure. * remove this guest user.
The rest is fine, you can just use the default.
OK, let's talk about my testing process. Because I don't have a diskless terminal here, I use two Linux machines for testing, one as a server and the other as a client:
Server configuration:
1. Install the core that supports ipx and ncpfs, install ncpfs and mars_nwe packages, and confirm that ipxutils has been installed.
2. Load ipx and ncpfs modules
3. Modify the / etc/sysconfig/network-scripts/ifcfg-eth0 file, leaving only DEVICE=eth0 and ONBOOT=yes lines, in order to make eth0 only support IPX protocol but not TCP/IP protocol
4. Restart the / etc/rc.d/init.d/network service and confirm that you can't see the IP when you check the eth0 with ifconfig.
5. Modify / etc/nwserv/nwserv.conf file
6. Start / etc/rc.d/init.d/nwserv service
7. Use the ifconfig command to confirm that the IPX protocol is supported (you can see lines like IPX/Ethernet 802.3). If you can't see the line of IPX, shut down the nwserv service first, then run the command ipx_interface add eth0 802.3, check it with the ifconfig command, and start the nwserv service after you see the IPX.
8. Run the command slist and you should see the service with the name you set in the / etc/nwserv/nwserv.conf file
OK, at this point, the server is configured. If you are not assured, you can first mount yourself on the server:
Ncpmount-S servername-U username-P password
If you want to change the servername,username and passwork here to your own, you can not add the-P parameter, and then you will be asked to enter a password, as well as a user name. Users who have set guest by default have no password, so you can try this first. The user's settings are also in the / etc/nwserv/nwserv.conf file.
Note that if you set the path of CDROM to / mnt/cdrom, then do not mount to / mnt directory, because netware will share / mnt/cdrom, and if you mount to / mnt directory, the ncpmount command will die because of the loop.
Settings for the client:
The settings of the first four steps are the same as the server.
5. Use the command ipx_interface add-p eth0 802.3 to add IPX support for eth0 and automatically set the IPX address; note that you must add a parameter of-p here, which means that using Primary mode, you can see the Yes written in Primary in the / proc/net / ipx/interface file accordingly. Otherwise, the server cannot be seen on the client side. I struggled for a long time because of this problem. At first, I suspected that the switch did not support the IPX protocol, and then I could not even change the direct connection. Later, I accidentally saw this parameter and tried to OK it!
6. Looking at it with the command ifconfig, you should see that eth0 has lines like IPX/Ethernet 802.3
7. Run the command slist to view the available servers, and you should see a line similar to the following:
Known NetWare File Servers Network Node Address
-
MARS 7F000001 000000000001
8. If you see the server above, it means that the client can connect to the server, we can use commands (such as mount to / opt directory):
Ncpmount-S MARS / opt-U guest
To connect to the server MARS, run this command will ask you to enter a password, directly enter will be casually entered, and then check the / opt directory can see a lot of directories, these directories can be defined in the / etc/nwserv/nwserv.conf file, in which the HOME directory is the default server root directory.
There are some files about ipx in the / proc/net/ipx/ directory, where the interface file contains the configuration information of the IPX interface in the system; the route file contains the route list that appears in the IPX routing table; and the socket file contains a list of IPX socket in use.
This is the answer to the question about how to configure the Netware server in Linux. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.