Application of Linux network shared data machine (II)

Source: Internet
Author: User
Tags ip number
Article title: Linux network shared data machine application (bottom ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
VII. connect a Linux host to a data machine in a regional network
  
This is the focus of this article. after the modem is connected to the Linux host, this modem can be easily used by its PC on a Linux host, and can also be used by many people at the same time, to achieve the goal of multiple employees. (Figure 8: coming soon)
  
Installation and operation
  
I. PC NET network cabling
  
Generally in the network teaching room are RG-58 with the same axis cable will have the electric brain connected to, when there can also be connected to the HUB side, in order to facilitate the Division of Network faults, and to deploy special cables.
  
II. setup of PC LINUX
  
This score is a competitive score, and is also the most vulnerable to loss, it is often said that a person has been installed for N times on the Xueshu network, but it cannot be installed. when there is, it will be installed, but in order to change some settings or functions, the system will not be moved, and new installation will be required. I would like to provide some suggestions for you to participate in the examination. in order to add an additional host for installation:
  
Enable color-based display card and screen-mounted installation. do not use single-color cards or screens.
  
Generally, the computer brain of the SERVER is rarely directly connected to the SERVER, so when the cost is limited, it is often used to display cards and screens in a single color. The installation process of single-color and color colors is different. the installation method of single-color is Q & A, and the installation method of single-color is selected, there is no distinction between old LINUX installation and installation, but for new users, it is suggested to use color-colored installation, select a single-party installation method instead of a single-color installation process. do you know what to fill in when you have questions? The installation fails. After the installation is completed, you can change it to a single-color card and a curtain when you want to perform the normal operation. the BIOS of the Master board is set to a single color, its other systems cannot be changed, that is, they can be used normally.
  
3. Data Machines and telephone lines
  
This is a must-have for external connections. when there is no data line, the telephone line can be used as a thread, purchase V.32B (14,400 bps) as the high-speed data device for the data device. the high-speed data device speed is 14400bps, 19200bps, and 28800bps, the price difference is not very large. it is better to buy 19200bps or 28800bps because it is not a trend.
  
IV. communication agreements
  
The protocol used on the network is TCP/IP protocol. we can leave it alone, you only need to pay attention to one point, that is, each server must have a unique IP address. If the IP address is in the closed network, we can order it as expected, if you want to connect to the Learning Network, you must be careful to set an IP address that has not been used by the machine on the network. Generally, in the Ministry of Education and Education, all single-bit and school levels have been allocated with the IP address range that can be used by the single-bit, if a single machine needs to access the network, the IP address is assigned by the single-bit responsible department (such as the computing center of each school.
  
This article describes a closed network Path. the Terminal Server is used to connect to the network path through the SLIP mode only during the split, you only need to set unused IP addresses. If you do not connect to a foreign IP address, you only need to avoid the IP address of each university or host in the country, the IP addresses that are commonly seen in the Chinese network are: 140. XXX. XXX. XXX, 192. XXX. XXX. XXX and so on, is to only use the IP address with 140 and 192 open header, this ratio is relatively different from that of others, but it is not fixed. IP addresses are often changed.
  
The method of setting IP addresses and the hard-body interface of the network card are not closed. The pure method is the setting of soft bodies, the configuration file on the personal e-brain PC is placed in the CONFIG of NCSA. in the MYIP = command in the TEL file case, you only need to change CONFIG before executing TELNET. you can change the IP address of the local machine.
  
V. start and launch
  
Open the power source of the LINUX master machine and wait until it enters the LINUX system, some computers will plan the LINUX on-premises magnetic zone and DOS on-premises magnetic zone on the LINUX host, it is suggested to set the LINUX startup magnetic zone to the first in LILO, and the DOS activation magnetic zone to the second in LILO. if this is the case, do not press any key to automatically enter LINUX.
  
When the LINUX startup succeeds, you will see the painting of LOGIN on the host screen of the LINUX master machine. The first operation is only root (the highest authority administrator) the account number is signed in, and no password is required to log in. if it is the master machine of the verification stage, only the environment in which you are operating exists, the password is redundant. if not, you need to set up another password to avoid others logging in first and setting up his password, then you cannot sign in with the root account number, nor manage the LINUX host.
  
After the root is mounted to the line, that is, in the UNIX environment, all commonly used UNIX commands can be used, if you want to use a data machine, you can use the dip command. the detailed instructions will be introduced in the next section, it is similar to the LINUX operation from other locations. please continue to read it.
  
VI. steps for PC operations from other locations
  
Determine two things before you perform the operation:
  
1. no questions about network cabling
  
2. the LINUX host has been started and is running normally.
  
   
  
Next, you can find any PC on the network. Let's set the IP address of the LINUX host to 150.123.1.1 and the IP address of the PC to 150.123.1.2. we need to dial the Terminal Server number from the Zhongshan University
  
The following method uses the Linux master machine to control the modem dial number:
  
Table 3: The operation sequence of his/her PC-based learning network path
  
------------------------------------------------------------------------
  
   
  
   
  
   
  
   
  
1. Boot
  
2. driver network packet driver (example: ne2000 0x62 10 0x360)
  
Different network cards must use different drivers. Other parameters mean:
  
0x62 => software intercept, as long as it is not used by other programs
  
Someone sets it to 0x60.
  
10 hardware disconnection set by the network card
  
0x360 I/O address set by the network card
  
3. enter Chinese (for example, et3
  
4. enter the NCSA subdirectory (for example, cd/ncsa ).
  
5. check in the LINUX host (for example, telnet 150.127.41.9)
  
6. execute dip-vt (for example, dip-vt ).
  
7. set the modem communication port: port modem
  
8. set the communication rate. example: term.
  
9. terminal mode example: term
  
10. for example, atdt 7458425
  
11. (BBS operation) example: speed 38400
  
12. tangent exit example: dip-k
  
   
  
   
  
   
  
   
  
------------------------------------------------------------------------
  
   
  
Table 4. operation procedure of learning the network path on his PC and entering the SLIP
  
------------------------------------------------------------------------
  
   
  
   
  
   
  
1. Boot
  
2. driver network packet driver (example: ne2000 0x62 10 0x360)
  
3. enter Chinese
  
4. go to the NCSA subdirectory
  
5. check in the LINUX host
  
6. execute dip-vt.
  
7. set the modem communication port
  
8. set the communication rate
  
9. enter terminal mode
  
10. dial the terminal server with slip or ppp server on the academic network
  
11. execute slip to obtain the assigned ip number.
  
12. press ctrl-] to return to dip mode.
  
13. get $ remote 140.117.10.100
  
14. get $ local 140.117.10.105
  
15. get $ mtu 1500
  
16. default
  
17. return CSLIP to linux
  
18. (Academic Network Operations)
  
19. dip-k tangent exit
  
   
  
   
  
   
  
   
  
------------------------------------------------------------------------
  
   
  
Table 5. SLIP mode multi-person multi-worker instances
  
------------------------------------------------------------------------
  
   
  
   
  
   
  
2 ne2000 0x62 10 0x360
  
3 et3
  
4 cd \ ncsa
  
5 telnet 150.127.41.9
  
6 dip-vt
  
7 port modem
  
Eight speed 38400
  
9 term
  
10 atdt 5332040
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.