Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:37 30 Apr 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Wine and MMEdit - using ser2net

Author Message
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1094
Posted: 08:41pm 12 Jan 2016
Copy link to clipboard 
Print this post

Jim,

Could you please expand on this a little please?

Am running Mint17 on a 32 bit Dell laptop and trying to get MMEdit running under wine. Not having any luck getting COM anything going so would like to try ser2net as you suggest but am wallowing a bit on getting it going.

Appreciate any assistance,
Regards,
Doug.

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5905
Posted: 09:15pm 12 Jan 2016
Copy link to clipboard 
Print this post

First thing is to test MMEdit
Connect to the test server.
This will check that you can connect using TCPIP.
It is also using ser2net (on a Pi) so that will help the confidence levels.

On your linux box.
Install ser2net
I did my Ubuntu system from the command line.
sudo apt-get install ser2net

That should give you a configuration file /etc/ser2net.conf which needs to be edited using your preferred editor.

Use sudo so that you can save any changes

From the command line
sudo nano /etc/ser2net.conf

scroll down to the lines with 2000:telnet:600:/dev/ttyS0:9600 etc...
comment out the ones you don't want and edit one to read something like this:

  Quote  BANNER:banner1:\r\nWelcome to TassyJim's micromite test device\r\nYour IP is logged for security reasons\r\n\r\n

BANNER:banner2:\r\nCoffee monster\r\n\r\n

#2000:telnet:600:/dev/ttyS0:9600 8DATABITS NONE 1STOPBIT banner
#2001:telnet:600:/dev/ttyS1:9600 8DATABITS NONE 1STOPBIT banner
3002:raw:600:/dev/ttyUSB0:38400 8DATABITS NONE 1STOPBIT banner1
3001:raw:600:/dev/ttyUSB1:38400 8DATABITS NONE 1STOPBIT banner2


This is from the test server.

save the file

test it by running
/usr/local/sbin/ser2net -c /etc/ser2net.conf -n


connect MMEdit to localhost or 127.0.0.1 and you chosen port number

Jim
VK7JH
MMedit   MMBasic Help
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1094
Posted: 01:59am 14 Jan 2016
Copy link to clipboard 
Print this post

Thanks Jim,

Hope to get at it tomorrow arvo - greatly appreciate the advice,

Regards, Doug.

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024