Emcoturn 120 lathe retrofit

More
05 Jul 2016 02:58 #77009 by PCW
Replied by PCW on topic Emcoturn 120 lathe retrofit
The first step is to configure the PC for a static Ethernet address of 10.10.10.1 and netmask of 255.255.255.0
This has nothing directly to do with hm2_eth, its network setup on host. Here's some info on setting it up manually:

wiki.debian.org/NetworkConfiguration#Con...e_interface_manually

To use the 10.10.10.10 7I76E address you must have W2 down and W3 up
The following user(s) said Thank You: LutzTD

Please Log in or Create an account to join the conversation.

More
05 Jul 2016 11:46 #77024 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
ok I think I see.

1. set jumpers default is (w2 down, w3 down), so I move w3 to up
2. I need to edit the file "/etc/network/interfaces" to add:

auto eth0
iface eth0 inet static
address 10.10.10.1
netmask 255.255.255.0

do I need to add?

gateway 192.0.2.254

Please Log in or Create an account to join the conversation.

More
05 Jul 2016 14:51 #77035 by PCW
Replied by PCW on topic Emcoturn 120 lathe retrofit
you want no gateway address (use 0.0.0.0)

(There should not be _any_ normal internet traffic on the real time link)

Please Log in or Create an account to join the conversation.

More
05 Jul 2016 14:55 #77036 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
ok thanx,

yeah I will likely want to add a second network controller later (usb network adapter) but for the time being this machine tool will not be network capable except to talk to the Mesa card.

Please Log in or Create an account to join the conversation.

More
05 Jul 2016 22:29 - 05 Jul 2016 22:29 #77053 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
the learning curve on this is apparently incredibly steep. is there an easy way for a windows lifer to edit a text file in linux? I tried vi but it was failure after failure to wade through the commands reading a wiki and I just couldnt add the simple 4 lines to the interfaces file.
Last edit: 05 Jul 2016 22:29 by LutzTD.

Please Log in or Create an account to join the conversation.

More
05 Jul 2016 22:34 #77054 by PCW
Replied by PCW on topic Emcoturn 120 lathe retrofit
If you are using the wheezy distribution, I would use mousepad:
cd /etc/network
sudo mousepad interfaces

Please Log in or Create an account to join the conversation.

More
05 Jul 2016 22:45 - 05 Jul 2016 22:48 #77055 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
i think this was my problem. I had a file manager open, and right clicked the file to edit it, then couldnt save it. If I do a terminal line command of "mousepad interfaces" from a root terminal does this let me save? sorry to be a pain, I have to even learn to edit a file..... Also, do I have a carriage return at the end of lines or at the end of blank lines or is that not allowed? Are the indented lines necissary? Is that a tab? sudo doesnt seem to work for me, I think its because I have a password for the root
Last edit: 05 Jul 2016 22:48 by LutzTD.

Please Log in or Create an account to join the conversation.

More
05 Jul 2016 23:04 #77056 by PCW
Replied by PCW on topic Emcoturn 120 lathe retrofit
Normally you would use sudo rather than logging in as root
if you are not root or dont run sudo you will not be able to save the file
since you do not have write permissions to the file

Please Log in or Create an account to join the conversation.

More
05 Jul 2016 23:22 #77057 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
thanx, I guess that was what happened. I will walk out to the shop and give it another try. I did save the file to the desktop so Ill try to cut and paste

Please Log in or Create an account to join the conversation.

More
05 Jul 2016 23:48 #77058 by andypugh

I did save the file to the desktop so Ill try to cut and paste


The simple way to do it then, is "sudo mousepad" then open the file in the normal way, and save it where you want it.
The sudo-started mousepad session will be able to save anywhere.

The "geek way" would be
sudo mv ~/Desktop/interfaces /etc/network/

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.268 seconds
Powered by Kunena Forum