New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

myownb3.com

Got problems with your B2 or B3? Share and get helped!
josvergeer
Posts: 15
Joined: 25 Dec 2017, 04:11

myownb3.com

Post by josvergeer »

Hallo,
I have changed home.
No i cannot reached my server with my easyfind name anymore.
B3 is working as a server in my LAN.
I think that ip adress is the problem.

"failed to connect to xxxx.myownb3.com/84.xx.xx.xyz(port21)" (ip adres old house)

Ip adres has changed to 84.xx.xyz.xyz (ip adres new house)
How can i change it?
Thank you for your ideas..
Jos
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: myownb3.com

Post by Gordon »

Log into the B3 GUI as admin and go to `settings - identity`. Click on `update Easyfind`

Alternatively: open an SSH connection to the B3 and execute `/usr/lib/web-admin/easyfind.pl`
josvergeer
Posts: 15
Joined: 25 Dec 2017, 04:11

Re: myownb3.com

Post by josvergeer »

Hallo.
Thank you for your reaction.

Whwn i do that i get this message.

Easyfind failed with following error: No opcode available in the response.
Server responded: Failed to connect to database server

Jos
MouettE
Site admin
Posts: 341
Joined: 06 Oct 2011, 19:45

Re: myownb3.com

Post by MouettE »

Hello,

Sorry didn't get this message ealier. Do you still have issues with easyfind ? Everything seems ok on my end.
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: myownb3.com

Post by Gordon »

Unable to replicate here as well. That said, running the original perl script gives me an error as well though not the same as reported.
josvergeer
Posts: 15
Joined: 25 Dec 2017, 04:11

Re: myownb3.com

Post by josvergeer »

I still have that problem.
But i think it is not a problem with "myownb3" .
I have the same problems with my camera's, so it is a problem with my new adress.
I contact my provider to explain my problem.
I keep contact.
Thanks,
Jos
josvergeer
Posts: 15
Joined: 25 Dec 2017, 04:11

Re: myownb3.com

Post by josvergeer »

Hallo,
still i have the same problem.
I have reinstall my b3.
I cannot update the software.
I get the message
"Was unable to connect to the update server. Aborting upgrade. Please check internet connection"
My camera is working well. so that was not the problem.
I hope someone can help me with it.
Thank you.
Jos.
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: myownb3.com

Post by Ubi »

i do not think the ip address is the issue, rather a firewall or router.
My normal approach would be
* apt-get install nmap
* run : nmap <myownb3 server>
( the actual name of the server is in the script that contacts, I forgot it)
josvergeer
Posts: 15
Joined: 25 Dec 2017, 04:11

Re: myownb3.com

Post by josvergeer »

When i want to update myownb3 i get a message:
============================
A PHP Error was encountered
Severity: Notice
Message: Undefined index: opcode
Filename: models/networkmanager.php
Line Number: 41
=============================
Where can i find this file?
Thank you.
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: myownb3.com

Post by Gordon »

josvergeer wrote: 08 Mar 2022, 07:31 When i want to update myownb3 i get a message:
============================
A PHP Error was encountered
Severity: Notice
Message: Undefined index: opcode
Filename: models/networkmanager.php
Line Number: 41
=============================
Where can i find this file?
Thank you.
That's a red herring. The web GUI expects the easyfind client to return information that includes a field named `opcode`. It's not programmed to handle the error response that you receive from the client, which does not contain this field and thus causes this secondary fault.


Can you verify that `/usr/lib/web-admin/easyfind.pl` tries to connect to the correct server?

Code: Select all

grep easyfind /usr/lib/web-admin/easyfind.pl
This should print `https://easyfind.excito.org` a couple of times

Also, can you verify that you can connect to the easyfind server?

Code: Select all

curl https://easyfind.excito.org/extip.php
Note: this should print your current public IP address - don't need to post it here, just state whether it reports it correctly.
josvergeer
Posts: 15
Joined: 25 Dec 2017, 04:11

Re: myownb3.com

Post by josvergeer »

The first give as print:
use constant EASYFIND_CONF => "/etc/network/easyfind.conf";
my $url = "https://easyfind.excito.org/extip.php";
my $response = $ua->post('https://easyfind.excito.org/',
my $response = $ua->post('https://easyfind.excito.org/',
The second give as print:
root@b3:/# curl https://easyfind.excito.org/extip.php
bash: curl: opdracht niet gevonden
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: myownb3.com

Post by Gordon »

Right... Haven't used the original OS for quite a while

Try `wget -S https://easyfind.excito.org/extip.php` instead

Note: This will not print the web page return to stdout but download it as `extip.php`. Use the `cat` command to view the return.
josvergeer
Posts: 15
Joined: 25 Dec 2017, 04:11

Re: myownb3.com

Post by josvergeer »

It give's the public ip-adress.
But i cannot connect with the excito server to download the latest software,
I still think that this is a problem with my modem.It is a experiabox v10a.
Thank you for your effort.
Jos
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: myownb3.com

Post by Gordon »

Okay. There is good news and there is bad news.

The good news is that there no (external) issues preventing you to access the easyfind server.

The bad news is that the Perl code (LWP::UserAgent) fails, probably because of an encryption incompatibility. Since you already have easyfind enabled and only want to update the IP address, one thing you could try is start the bubba-easyfind service which is based on Python and may not suffer from the same issue.

The final option is to adopt one of the more recent developments for easyfind. These need to be compiled, so you'll need to install a bunch of other stuff first. As an alternative you can get `bubbagen` live USB. This does not require installing, simply shut down the B3 and disconnect the power cord. Insert the USB and hold the power button while reconnecting the power cord. The front light will turn green and the B3 will boot bubbagen. You can then update the easyfind server. Restart the B3 to drop back into your original system.
josvergeer
Posts: 15
Joined: 25 Dec 2017, 04:11

Re: myownb3.com

Post by josvergeer »

I did the latest option.
But i cannot update the latest software.
I think that is not a problem with the server but with my modem.
I gonna try it by a friend of mine.
I do that next week. No i have corona so i have to wait.
Thank you for your help so far.
Nice weekend.
Jos
Post Reply