![]() |
Forum Index : Microcontroller and PC projects : Please test this Internet MM....
Page 1 of 3 ![]() ![]() |
|||||
Author | Message | ||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Hello everyone. ![]() ASSUMING I have configured everything correctly, there should be a 170 MM chip accessible at the following address: <grogster.ddns.net:2000> The router is setup to route anything on port 2000 to a Raspberry Pi running Puppy Linux(Quirky Xerus 8.1). The Pi has a static IP address, and can access the Internet just fine with Puppy's built-in stuff, so I know it has a connection to the net. ser2net setup to talk to the on-board Pi COM port(/dev/ttyANA0) in raw mode. Standard 38k4 baud, 8N1 protocol. MiniCom installed in Puppy, and I can talk to the MM on /dev/ANA0, so I know I have that bit right. Closed MiniCom, and ran ser2net at the console. It responded with a # prompt, but no error messages, which I assume is a good sign. If I try to use GFXterm or other to talk to my own attempt using the address above, it times out and won't talk. That might be cos I am on the LAN, and the request might have to come from the WAN for the port-forwarding to work. If anyone can access it, please use EDIT to leave a comment and F1 save that, so I know you have been there. Also please do post here any results - good or bad, so I can tinker. Smoke makes things work. When the smoke gets out, it stops! |
||||
Boppa Guru ![]() Joined: 08/11/2016 Location: AustraliaPosts: 814 |
I tried on terraterm but just got a timed out message, although Ive never tried using terraterm this way before eta I tried pinging you and got a reply so thats working |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 1003 |
grogster.ddns.net resolves to 203.94.40.66 but can't seem to connect to anything to port 2000. Latest F4 Latest H7 FotS |
||||
Boppa Guru ![]() Joined: 08/11/2016 Location: AustraliaPosts: 814 |
I got the same IP as well so its probably right, but yeah no responce |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
The router is still blocking the connection. Damn. ![]() The IP address of my router gateway is NOT 203.94.40.66, but it is close(203.94.40.x) ddns.net insists it is the one ending in 66, but that is not what the router says. I have deleted that ddns connection, and setup a new one using the correct gateway address, but now I get a message that the connection was actively refused - that will be the gateway refusing the connection. When setting up ddns, you use the gateway IP address, correct? I have changed to port 5000, in case port 2000 is blocked or something.... Port forwarding config: ![]() EDIT: IP address of router IS correct ending in 66, and the Puppy Linux box also thinks the one ending in 66 is the external IP address, so that would appear to be correct. I have put that back, and enabled port 5000, but still can't get it to talk. QUESTION: How do you know that ser2net is actually running in Linux? Typing it's name just gives back another # prompt, but does that actually mean that it is running? How can I tell? Smoke makes things work. When the smoke gets out, it stops! |
||||
ajkw Senior Member ![]() Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Grogster, I reckon I was connecting until it went down just now. Wasn't getting much sense back at that point however - was working on it. Anthony. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
I'm working on things now. Were you trying to use port 2000 or 5000? Smoke makes things work. When the smoke gets out, it stops! |
||||
ajkw Senior Member ![]() Joined: 29/06/2011 Location: AustraliaPosts: 290 |
was on port 2000 but you obviously have changed it and probably why l lost the connection. Standing by for a update to the settings |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
I will leave it on port 5000 for now. I was worried that port 2000 was being blocked by the ISP or something. Port 5000 is usually open for anyone to use.... I have also just added a TCP port 5000 rule to the Puppy firewall. I would like to shut the FW down totally, but can't find out how to do that in puppy just yet. Smoke makes things work. When the smoke gets out, it stops! |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 1003 |
Hi Grogs, Just did a ^C and a list and run on you mite. It good. Gerry Latest F4 Latest H7 FotS |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
I also get a timeout when trying to connect. I did a port scan and ports 1 - 2000 show as being filtered. This is fine if you do not have any external access to services (any network access is only initiated from inside your network and not from outside trying to access anyhting within). By this I mean you do not host a mail server, web site, ftp site, vpn connection or any other thing people might connect to. One thought is when you added the port forward rule for port 2000 is there also an option to make it active (not on all systems). I know my dlink unit defaults to this active flag being off when I add a new port forwarding rule. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
@ disco4now - OH THAT IS MARVELLOUS NEWS - THANKS SO MUCH. ![]() I wonder why it is refused from here? @ Azure - please try now on port 5000. I have added a rule to the firewall in Puppy to allow TCP port 5000, which seems to be working for disco! ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
ajkw Senior Member ![]() Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Grog, just added 'hello from NSW from AJKW Had to connect to your IP address not use the ddns resolver. Perhaps it will take a while to reflect your change of port Cheers, Anthony. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Perhaps.... I will leave this setup running till tomorrow, so plenty of people can test it. YES EVERYONE - PLEASE DO use EDIT and leave a comment at the top of the code if you are able to access it at all. ![]() I am just looking to disable the internal firewall, although, if it is actually working and letting in port 5000 now, I guess I should leave well enough alone..... ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
ajkw Senior Member ![]() Joined: 29/06/2011 Location: AustraliaPosts: 290 |
DDNS seems to be better now but someone else is using the port it says. I would only open what you need to. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Just had a look in Puppy network stats, and there are about three connections in WAIT state for port 5000, so it might be just a collision of several people trying at once. I fully expect that only ONE connection can be serviced to any one port, at any one time, and as I only have one MM connected.... First in, first served - literally. ![]() I'll leave it running for a day or so anyway. EDIT: [Quote]I would only open what you need to.[/Quote] I know. ![]() ![]() Well, to be perfectly honest, you can't trust anyone - "Trust no-one!" - name that quote! ![]() At any rate, this device will be gone in a day or so once I am happy that the connections are working for people. I am 99% sure of that now thanks to members here helping me test this, but.... I will also be deleting the port-forwarding rule in the router, and also disabling the ddns.net host too in a day or so, so anyone trying to get in on the router IP address, will be blocked by the NAT firewall inside that - I hope! Smoke makes things work. When the smoke gets out, it stops! |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
I finally managed to connect, teraterm keeps aborting tried v4.95 and v4.97. 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. I added a comment but have not been able to see if it worked. There are some strange lines characters further down in file, not sure if that was me trying to navigate around or someone else. Here is a dump of the screen when I start edit, but then I cannot navigate around. Also cant <esc> or <f1> save or <f2> run to get out. I have to disconnect and start again. So it seems port is open but comms is not working correctly once connected. ' Azure 30-12-2017 6:39pm ' from AJKW list edit A[ A[B[ A[A[A [ Do Servo 1,0.5 Pause 1000 Ln: 22 Col: 1 INS |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Interesting..... ![]() Thanks for trying! ![]() At the end of this experiment, I will post what the MM2 chip has in it's program memory, so we can compare notes. I have never had a GREAT experience talking to MM's using TT - with no disrespect to TT. Could you perhaps try GFXterm by Rob?(Rozee) or PUTTY? Smoke makes things work. When the smoke gets out, it stops! |
||||
ajkw Senior Member ![]() Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Sending function key and the arrow keys are funny in the mapping. You need to go back to the control keys for some things, like ctrl-c I find that with the function keys l get the 'funny' string of characters returned to which if I a space and then enter works mostly. Note, i think, the function key should send something like [[11~, [[12~,[[13~,[[14~ not OP, OQ, OR,OS etc for F1 thru F4 Similar happens with Tassie Jims MM so it is not just Grogsters setup. I use Putty on Linux. Somebody has added which are the arrow keys. Anthony |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
I will give those a try a little later tonight. Can you cleanup the blank an junk character in the program file to make things a little clearer. |
||||
Page 1 of 3 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |