Difference between revisions of "IP Address"
(→Connecting with motion controller) |
(→Connecting with motion controller) |
||
| Line 42: | Line 42: | ||
[[Image:TANK-SETUP-SCR4.PNG]] | [[Image:TANK-SETUP-SCR4.PNG]] | ||
| + | |||
| + | |||
| + | Instead '''10.4.20.171''' as above there will be the current IP address of your MC (it could be even not set at all) | ||
| + | |||
| + | == Set the new IP addres | ||
| + | |||
| + | Just type '''sudo /sbin/ifconfig eth0 90.0.0.51''' and your MC will be get the new IP address | ||
| + | |||
| + | [[Image:TANK-SETUP-SCR4.PNG]] | ||
| + | |||
| + | {{Note| The above example will set the permanent IP address only, this address will vanish immediately after }} | ||
Revision as of 07:04, 23 June 2014
Contents
How to set default IP address
Wiring
Two connections are needed
Serial:
- Connect MC on COM1 via serial cable to your PC.
Ethernet
- Connect MC on Ethernet port 1 (LAN) via to the network where your PC is connected to (or directly with cross-cable to the PC)
Setting up serial communication
Open Windows- Hypertherminal (or similar) communication software and set the parameters:
This means:
- Baud rate 11520
- Data bits 8
- Parity: None
- Stop bits: 1
- Flow control: None
Connecting with motion controller
Once the communcation parameters are set and the serial cable is connected between MC and PC you should:
- turn on the MC
On the Hypertherminal screen you should see the boot printouts. After mc booting is completed type:
/sbin/ifconfig
You should get:
Instead 10.4.20.171 as above there will be the current IP address of your MC (it could be even not set at all)
== Set the new IP addres
Just type sudo /sbin/ifconfig eth0 90.0.0.51 and your MC will be get the new IP address
| NOTE | |
| The above example will set the permanent IP address only, this address will vanish immediately after |