Asked
Resolved Resolved by DJ Sures!

Connection Issues

I can't connect my EZ-B to my computer, and the tutorials are not helping.  I'm able to get the wifi connection running, I boot up ARC, but the debug log says...

Connection Failed: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.1:23 at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at EZ_B.EZB.Connect(String hostname, Int32 baudRate) Disconnected

What do I do here?


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

#9  

@DJ Oh, THAT I got. My bad.

  1. To the best of my knowledge, it looks like my virus protection is turned off.

    User-inserted image

  2. I can't change the address of the EZ-B, because whenever I go to http://192.168.1.1/, I get THIS screen and don't know how to proceed.

    User-inserted image

PRO
Synthiam
#10   — Edited

The connection diagnostic tutorial mentions AVast or Symantec as a virus scanner or firewall. You should really have your windows defender turned on though, that's built into windows. The windows virus scanner is better than anything else out there. You might have a virus actually - if that's why your virus scanner is turned off?

You could change the network address in the router, since you can access it. That's the easiest way. Log into the router using the instructions that were provided by the webpage that you copy and pasted the screenshot of. Find the NETWORK or LOCAL NETWORK or LAN settings. Locate the area where you can change the network or ip address of the router. It should be 192.168.1.0 or 192.168.1.1 or something like that. Simply change it to 192.168.0.0.

It's super rare this would happen, because few routers default to 192.168.1.0. I don't know why any of them would, but oh well:)

Once you change the network address and the router reboots, you'll have to restart your computer as well. Then your EZ-B will work perfectly after that

#11  

I can't change the network address on the router. It's not mine to tamper with, and my landlord won't help me change the network address because he thinks it's impossible.

Looks like all I've got here is a $200 paperweight until I find myself a new place to live...

PRO
Canada
#12  

You could just unplug your network cable, log into the EZ-B webserver, change the address, then plug your network cable back in, no?

PRO
Synthiam
#13  

Ha nah, we have another option - which was the original one. We’ll change the ip for the ezb

the easiest way is to simply disconnect the Ethernet cable from behind the computer. Connect to the ezb and change the ezb address. Then, plug the Ethernet back in:)

PRO
USA
#14   — Edited

Even if you change EZB lan address. You will have EZB (AP) assigning a DHCP client IP plus a default gateway, and then you have the OP's router (Ethernet) assigning a default gateway too. So your computer will have 2 default gateways one is a dead end, maybe you can get lucky, and the the good default gateway route metric is lower.

When I did my EZB4 custom firmware I noticed there is a parameter to disable the EZB's  DHCP client default gateway: https://technodocbox.com/C_and_CPP/71191432-Bluegiga-wi-fi-software.html page 207 setting FLASH_PS_KEY_DHCPS_DISABLE_ROUTING

although the EZ-Robot EZB4 v1 firmware does not, so all the networking is routed back to the EZB.  Is not a big deal, but sometimes small details makes all the difference, same thing with default EZB port 23, not a good choice. Disabling an Antivirus in machine with Internet access... Does not seem a good recipe.

Why not changing EZB to client mode ?

*** EDIT *** The default gateway applies to the EZB4 V1, I can't confirm if is still valid for EZB4 V2 (new wireless chip)

#15  

@DJ "the easiest way is to simply disconnect the Ethernet cable from behind the computer. Connect to the ezb and change the ezb address. Then, plug the Ethernet back in:)" It worked!  Thank you so much!:D

#16  

So, this is exactly what I said in the first reply to your question, with the additional details of why this works.   In order to help me communicate better, can you tell me what you didn't understand from my response?