Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:11 02 Aug 2025 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 : Please test this Internet MM....

     Page 2 of 3    
Author Message
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5119
Posted: 08:40am 30 Dec 2017
Copy link to clipboard 
Print this post

If you are ever wanting to test what ports are accessible from the internet, there is a handy side called "Shields Up" https://www.grc.com/x/ne.dll?bh0bkyd2

Its been around for decades! I use it to test open ports on web servers.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
ajkw
Senior Member

Joined: 29/06/2011
Location: Australia
Posts: 290
Posted: 08:41am 30 Dec 2017
Copy link to clipboard 
Print this post

  Quote  I seem to get inconsistent response to console commands and edit screen does not work properly. Mostly just shows command prompt ">" character and after I press enter it echoes the line I just typed.


If you get this happening it hasn't connected properly (and happens sometimes leaving the editor or otherwise times out)

At the beginning you should get "Grogster COM1!! - ACTIVE - 170MM2
to be sure it has connected.


Note, All the control codes are in the manual.Edited by ajkw 2017-12-31
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 08:59am 30 Dec 2017
Copy link to clipboard 
Print this post

AWESOME!

Keep the posts coming, guys(and gals(if any)) - this is great.

@ Gizmo - Did you try to connect? I will check out that link.

@ akjw - Bloody Hell!!! I was not convinced that banner greeting would be working, but I must have set that up right too.

Bearing in mind I am a Windoze user and Linux is ALMOST a mystery to me, I am please with progress thus far.

EDIT: I will take the system OFFLINE soon, to clean-up the comments etc as suggested by Azure. If you can't connect........Edited by Grogster 2017-12-31
Smoke makes things work. When the smoke gets out, it stops!
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 09:04am 30 Dec 2017
Copy link to clipboard 
Print this post

I get the banner when it connects, the errors I mentioned come afterwards.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 09:08am 30 Dec 2017
Copy link to clipboard 
Print this post

That's still a good sign.

The banner comes from the Linux ser2net utility, so you are at least getting as far as the Pi I have hanging off the router at the moment!

Just going to take the thing offline now, to clean up the editor as suggested.
I will also post results once I have done this.

170MM will be offline for a moment while I do this......

EDIT: OK, cleaned that and MM should be back online again. Edited by Grogster 2017-12-31
Smoke makes things work. When the smoke gets out, it stops!
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 09:25am 30 Dec 2017
Copy link to clipboard 
Print this post

I could not get putty to connect same problem as teraterm it just crashes.

GfxTerm worked perfectly, could connect, edit properly and run commands, list, etc. Thanks Rob.

I cleaned up the messy comments.
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 10:11am 30 Dec 2017
Copy link to clipboard 
Print this post

hi,
i get the "Port already in use" message when i try to connect (grogster.ddns.net:5000), but then the connection remains open (online) at this end for some reason. i have a feeling that after delivering the 'already in use' message your end should forcibly close the connection.

addendum - finally managed to get in, using GFXterm everything works ok. editor and cursor keys (and mouse wheel) working correctly. disconnected at 11:18pm.


cheers,
rob :-)Edited by robert.rozee 2017-12-31
 
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 593
Posted: 02:17pm 30 Dec 2017
Copy link to clipboard 
Print this post


Just putting this "grogster.ddns.net" in the browser.

I get "Grogster COM1!!! - ACTIVE - 170MM2"

If I do "grogster.ddns.net:5000"

the "Grogster COM1!!! - ACTIVE - 170MM2"

flashes then clears.

A few years ago had to setup Port forwarding for my granddaughter's
three minecraft servers running under Ubuntu on an old HP laptop.

She was having fun till the ISP said to stop or upgrade $$$$ervice.
So she kept one running during the summer for just her friends.

A browser based UI like ESPTerm webbased VT100

could be fun to play with.

 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 08:38pm 30 Dec 2017
Copy link to clipboard 
Print this post

Got an initial connection with Putty @ 7:33am, but had the same issue with arrow keys & esc chars as mentioned above.

Used the DNS name & worked very first time.

Disconnected & tried again, & got a brief "Port In Use" message.

Phil.

Edit: Port still in use 10 minutes later. Might need some sort of inactivity timer.

Edited by Phil23 2018-01-01
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 09:12pm 30 Dec 2017
Copy link to clipboard 
Print this post

Connected OK at 0805 with Teraterm and MMEdit.
MMEdit was able to use its file manager to copy the full program to it's edit window so it all seems to be working as it should.

re the timeout.
My 'mite has a 10 minute (600 seconds) inactivity timeout.
If someone falls asleep at the keyboard, they get kicked off after 10 minutes.
3002:raw:600:/dev/ttyUSB0:38400 8DATABITS NONE 1STOPBIT banner1


AS it stands, it is a one-at-a-time system.
There are more advanced options but KISS is best.

Jim

VK7JH
MMedit
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 12:10am 31 Dec 2017
Copy link to clipboard 
Print this post

This is all very good information. Thanks a TON to everyone who helped with this.

I won't need multi-user connections, only one - me - to a remote system of mine. So, I will setup everything so that I am the only one who should ever be trying to connect, but with this public forum test, it is quite likely several people may read the thread and try a minute or two apart, if someone is already in, all others will be refused.

So yeah, this is working a treat, and as it is only ever likely to be me in a single-user connection basis wanting to talk to the other end, I think this will work beautifully, and is a way to use one of my redundant Pi boards, and is cheaper then the Wiznet module, which was about US$50 from what I remember.

Quirky Puppy Linux takes only 15 seconds from power-up to desktop on a Pi B+ board, so that is very quick which is what I wanted. I did not want to wait around for ages for the network sub-system to be ready.

RESULTS:

[Code]
' tassyjim sending best wishes for 2018


' hello from NSW
' Azure 30-12-2017 6:39pm using teraterm and 8:13pm using gfxterm
' gfxterm works well - thanks rob
' from AJKW
'it is Not easy To navigate the editor
'hereA A

''OPOPOPOP

'GET / HTTP/1.1
'GET / HTTP/1.1
'SSH-2.0-vSSH_1.9

''


'GET gea/ni, like Gecko) Version/11.0.1 Safari/604.3.5
'GET gea/ni, like Gecko) Version/11.0.1 Safari/604.3.5



'hello from amsterdam europe.
'i am using a telnet app omn my iphone
'to connect and it works!!!


' rob here from christchurch, nz. finally managed to connect at 11:15pm,
' landing in the editor left open from the last user. navigation within
' the edior using GFXterm and the cursor keys and mouse wheel is fine.
' saving edit, exiting editor and disconnecting at 11:18pm.
'
' Gerry using Micromite Console ver.0.929 @ 11.45pmEST

Print "Running Now"

Do
Servo 1,0.5
Pause 1000
Servo 1,2.5
Pause 1000
Loop

TEST2:
Dim As Float X
Do
Print "Start."
X=0.5
Servo 1,x
Pause 1000 'Allow servo to move
Do
Servo 1,x
Print X
Pause 1000
X=X+0.05
If X>=2.5 Then Exit Do
Loop
Print "Done."
Pause 2000
Loop

End

LDR:
SetPin 3,AIN
Do
Print Pin(3)
Pause 500
Loop
[/Code]

Successful test.

EDIT: I included the full program including all the comments, in case someone added or changed the program. It looks the same as I left it, but I can't remember. This particular MM2 has been sitting on the shelf for quite a while....

The MM2, ddns host, and port-forwarding have all now been removed, so connections won't be possible from this post onwards.Edited by Grogster 2018-01-01
Smoke makes things work. When the smoke gets out, it stops!
 
Boppa
Guru

Joined: 08/11/2016
Location: Australia
Posts: 814
Posted: 01:36am 31 Dec 2017
Copy link to clipboard 
Print this post

Not that much cheaper tho, I just checked and the new Pi b+ is $41 from my normal supplier

I never did get in with terraterm, but I did get the banner- I suspect terraterm might be the issue rather than anything else

Scary- that pi's specs are 200 mhz faster processor speed (1ghz/1.2ghz) and 4x the ram (256mb/1gb) of my first ever `new' computer, that cost me 1200 bucks back around Y2K, it ran xp happily- wonder if anyone has ever tried running xpsp1 on a pi???

jeez it had a 20gb hdd that cost me several hundred- I was given a 32gb credit card usb stick for free as a promotional giveaway the other day
not to mention the size- a 500w psu, and a full sized case- versus something that you can easily lose if you put it down in the wrong place (like my workshop lol)

how things have changed...Edited by Boppa 2018-01-01
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 02:16am 31 Dec 2017
Copy link to clipboard 
Print this post

I hear you.

But it is a way for me to use up one of the FIVE Pi B+ boards I have lying around here doing nothing but gathering dust. If I actually had to buy the Pi to do this, that would probably make me look at other options.

Re. TT - Yes, I have had lots of trouble getting TT to talk to Mites on the net. Most recently was Jim's(TassyJim) and Phil's(WhiteWizzard) tests. TT refused to talk to them, but GFXterm logged onto them right away.

On the progress thing, I really hear that. My first USB flash drive was 256MB and cost about NZ$200 in those days. Would have only been USB1 speed too. It was in a beautiful brushed aluminium case though. Still.....

My first hard-drive was a Seagate Series-5 20GB one, and that also cost NZ$250 or so back then. You could probably run XP in a VM on a Pi without too much trouble. Perhaps I will try that next while I am playing around with Pi's and Linux.

My next test might be a Pi Zero as a network interface, as the Zero has a WiFi connection built-in, and is only US$5 last time I looked.(that might have changed)
Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 03:47am 31 Dec 2017
Copy link to clipboard 
Print this post

  Boppa said   it ran xp happily- wonder if anyone has ever tried running xpsp1 on a pi???

The RPi is NOT Intel based so forget about running things like XP on it.
There are a couple of emulators out there but not very successful.

You can get "Windows 10 for RPi" but it is not what you think. It is a bloated command line system that needs a Windows 10 PC to create applications.

Jim

VK7JH
MMedit
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 03:54am 31 Dec 2017
Copy link to clipboard 
Print this post

Have you played with Windows 10 IoT on the Pi, Jim?

I did look at that at one point, but as I was having reasonably good success with Linux, I just kept going down that path.
Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 04:49am 31 Dec 2017
Copy link to clipboard 
Print this post

  Grogster said   Have you played with Windows 10 IoT on the Pi, Jim?

I looked but as soon as I saw you need Visual Studio I ran away again.
VK7JH
MMedit
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 05:49am 31 Dec 2017
Copy link to clipboard 
Print this post

Visual Studio Community Edition is all you need and is for free.

Microblocks. Build with logic.
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4044
Posted: 08:46am 31 Dec 2017
Copy link to clipboard 
Print this post

  Boppa said   Not that much cheaper tho, I just checked and the new Pi b+ is $41 from my normal supplier


If starting fresh (i.e. no RPi sitting idle) boards roughly like the RPi (LAN/WiFi/Linux/...) start at about $10 now. Still overkill but cheap and easy to use.

(Things like the Orange Pi)

John
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 10:58pm 31 Dec 2017
Copy link to clipboard 
Print this post

Boppa does make a valid point on the cost of the Pi for this approach. But as I have plenty of them doing nothing but gathering dust as mentioned.....

The Pi Zero seems like a candidate with WiFi on-board.

I have seen those Orange Pi and Bannana Pi clones, but I have also seen that they are temperamental, and often won't run the Pi software cos of changes in their hardware, but you get what you pay for I guess. I think the Orange or Bananna or both run rather hot too, which is never a good sign in my book. Heat is an electronic killer.
Smoke makes things work. When the smoke gets out, it stops!
 
Boppa
Guru

Joined: 08/11/2016
Location: Australia
Posts: 814
Posted: 10:42am 01 Jan 2018
Copy link to clipboard 
Print this post

I havent had much luck with the orange pi's, have 3 and all failed after several months of 24/7 operations
 
     Page 2 of 3    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025