| English | Spanish | Home | Policies | FAQ | Contact Us | Blog |
SUPPORT
Customer service
Download
FAQ
             Networking Linux Based Controls
About Warranty
Warranty Register
Regarding the Position of CNC Knee Mill Control
Warning label
Leasing Companies
Credit Application
Products
MILL
LATHE
TOOL & CUTTING GRINDER
ACCESSORIES
CNC CONTROL
Product search
 
Home > Networking Linux Based Controls  
 

 Networking Linux Based Controls

 

Creating a Network

·         If not already connected, create the network using cables, switches, routers, etc.  To successful connect a DHCP network you will require a Cable/DSL Router which automatically generates IP addresses.  Static IP networks work with a switch/hub.

·         Simple network configurations:

Control and one or more computers, via Cable/DSL Router: Use Cat 5 straight-through Ethernet cables.

·         You should have lighted "link" indicator lights on all switch and computer connections.  This is a good indication that you have connectivity but it is not a guarantee.

·         Consult Windows XP Help and other resources for network setup assistance and trouble-shooting.

·         Make sure that the computers can share files with one another before attempting to access shared folders from CNC10.  If the computers cannot access each other's shared network files, neither will CNC10.

·         Verify that all network cables and equipment connecting the control to the network are working before you physically hook up the control.

 

Setting up the Remote PC

Using the XP Network Setup Wizard

1.        On your Windows XP machine, go to "Start", "Control Panel".

2.        If viewing by category, as shown below, click on "Network and Internet Connections".  Click on "Setup or change your home or small office network".

3.     

   If using the "classic" view, as shown below, double-click on "Network Connections".  Click on "Set up a home or small office network". 

 

 

4.        The Network Setup Wizard will start.

5.        Click "Next" and answer all the questions about your networkAll scenarios listed in the Network Setup Wizard are compatible with CNC10.  If you do not have an Internet connection through your computer or another computer on the network or you are connecting direct from the control to a laptop computer, you may select "Other" when asked how to best describe your network.

6.        When the following screen appears, be sure to note the Computer Name (circled in red, below.)  CNC10 will need the computer name in order to connect to it.

7.        You will be required to restart your computer after the Network Setup Wizard completes.

Making a Network Setup Disk

When the Network Setup Wizard is near completion, it will ask you if you wish to create a Network Setup Disk.  You should make a Network Setup Disk if any computer on your network is running Windows 98, 2000 or ME.  To run the disk on another computer, insert the disk into the computer and double-click on the NETSETUP.EXE file on the Network Setup Disk.

It is possible to create a Network Setup Disk without running the Network Setup Wizard.  For information on how to do this, go to Windows XP Help and Support and search for "network setup disk".

Sharing Files with CNC10

The following example demonstrates how to set up the Shared Documents folder as a shared folder on the network. Click on "Start" then "My Computer". 


Right-click on the "Shared Documents" folder and select "Sharing and Security".



Check the box "Share this folder on the network".  Check the "Allow network users to change my files" if you want CNC10 to be able to save files in this folder.


Note: The Share Name circled in red, above.  CNC10 will need to know both the Computer Name and Share Name in order to access files in this folder. The example above uses the "Shared Documents" folder; however, you may share any folder on your computer. Refer to Windows XP Support and Help for more information.
 Setting up the Linux Control
If using a Cable/DSL Router follow the DHCP Network Setup. If using a sw

itch, follow the Static IP Address Network. Centroid recommends using a Cable/DSL Router and using the DHCP network.

Setting up a "DHCP" Network

Accessing Windows Shared Folders from CNC10 

1. Press ALT-F6 to bring up a command prompt
2From the CNC10 directory type the following:  "edit cnc10.net"
(Absolute path is "/cncroot/c/cnc10/cnc10.net".) Note: If a message appears that the file doesn't exist, just select "New File".

3.   Add lines for each share.  Each line must contain:
//<computer-name>/<share-name>  <CNC10-drive-letter>   "<options>"

4.  For example: //winxp1/shareddocs g  "username=guest"
//winserver/cnc e  "username=joe,password="
Note: The username and password are your login into XP.
5.   Save the file (CTRL + Q)
6.  Type exit and press enter to go back into CNC10 software.

7.  If using version CNC10 v1.51 or less you have to make sure that the “Remote Drive & Directory” is set to the drive letter used in the cnc10.net file in the Control Configuration <F1>Setup, <F3>Configuration, password 137, and <F1>Control Config.
(Ex. g: ) Note: Do not call the shared directory from the control configuration, only call drive letter.

8.  Shut down and restart the control.  Shares will be mounted at startup.

9.  Access a share by its "drive" letter from the CNC10 load menu.

* CNC10 and CNC Linux are trademarks of Centroid Corporation.  All other trademarks are the property of their respective owners.  "Windows" and related trademarks are the property of Microsoft.


Setting up a Static IP Address Network under Windows  
1. Open the Control Panel.
 
2. Open Network Connections
 
3. Open Local Area Connection
 
4. Open Properties
 
5. Click on Internet Protocol (TCP/IP) and open its properties

 
6. Select "Use the following IP address" and enter the following IP address, Subnet mask, and Default gateway.
 
The address 192.168.0.2 is an example. If this address is already used, you can use any address from 192.168.0.2 through 192.168.0.254.


 
Setting up a Static IP Address Network under CNC Linux

 

Note: If networking multiple controls you will need a different IPaddress for each control. Everything else would be the same.

4.        The cnc10.net file will still need to be created, just like setting up a “dhcp” network. To do this type: edit cnc10.net. Then add a line with following information:

//<computer name>/<shared file name> <shared drive letter> “username=guest”

ex.     //Centroid1/shareddocs d “username=guest”
or     //XPserver/cncfiles g “username=joe,password=” If a username and password exist.
 
Note: Username and password are your Windows XP login.

 

*** Changing the file below should only be done by a qualified tech rep. Centroid recommends using DHCP. If your configuration requires Static IP addressing then contact your qualified tech rep or local IT professional.
 
1. Edit the “ifcfg-eth0 file by typing: edit /etc/sysconfig/network-scripts/ifcfg-eth0
 
2. Change the line "BOOTPROTO=dhcp" to "BOOTPROTO=none".
 
3. Start a windows command window by clicking start, then run. At the prompt, type "cmd" and press enter.
 
4. You now type the following and then press enter: ipconfig
 
5. You should now see information similar to the following:
 
6. Take note of this information since it will be needed during the configuration of CNC Linux.
 
7. Change the "NETWORK=" to "NETWORK=192.168.0.0".
Note: If you chose a different IP address other than that shown in the above examples, use the first 3 numbers in the IP address followed by "0". For instance, if you chose "10.11.12.13" as your IP address, your network line would be "NETWORK=10.11.12.0".
 
8. Change the "BROADCAST=" line to "BROADCAST=192.168.0.255".
Note: If you chose a different IP address other than that shown in the above examples, use the first 3 numbers in the IP address followed by "255". For instance, if you chose "10.11.12.13" as your IP address, your broadcast line would be "BROADCAST=10.11.12.255".
 
9. Change the "IPADDR=" line to "IPADDR=192.168.0.3".
Note: The first three numbers in the IP address should match the first three numbers of the "IP Address" line shown in the Windows ipconfig screen.

Note: The IP address chosen chosen for CNC Linux must not be an IP address already in use (use an address that is NOT the Windows machine's address and is NOT the default gateway's address). In this example, any address from 192.168.0.3 through 192.168.0.254 would be acceptable.
 
Note: If networking multiple controls you will need a different IP address for each control.
 
10. Change the "GATEWAY=" line to "GATEWAY=192.168.0.1". The IP address specified here should be the same as the address on the "Default Gateway" line shown in the Windows ipconfig screen.
 
11. Change the "NETMASK=" line to "NETMASK=255.255.255.0". The IP address specified here should be the same as the address on the "Subnet Mask" line shown in the Windows ipconfig screen.
 
Below is what the final configuration for CNC Linux should look like.



 

Note: If networking multiple controls you will need a different IPaddress for each control. Everything else would be the same.

4.        The cnc10.net file will still need to be created, just like setting up a “dhcp” network. To do this type: edit cnc10.net. Then add a line with following information:

//<computer name>/<shared file name> <shared drive letter> “username=guest”

ex.     //Centroid1/shareddocs d “username=guest”
or     //XPserver/cncfiles g “username=joe,password=” If a username and password exist.
 
Note: Username and password are your Windows XP login.
   
$Id: TB168.html,v 1.7 2005/05/10 20:29:36 rgray Exp $

Atrump Machinery, Inc. | 670 Union Ave. Pomona Ca 91768
Tel:1-877-428-7867 | FAX: (909) 922-7596 | EMAIL: Sales, TechSupport, Parts
Home | Introduction | Products | Support | News Events | Partnership | Contact Us | Policy | FAQ | Jobs
Site Contents ©2004-2007 Atrump Machinery, Inc. All Rights Reserved. Website development: goldensection101.com