Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Scan QR Code and Detect Olares Device on Same LAN Using LarePass Mobile App #771

Open
Shukino20001015 opened this issue Dec 19, 2024 · 9 comments

Comments

@Shukino20001015
Copy link

My Olares device runs on Linux Ubuntu 22.04 LTS. After setting up the Olares host, when I try to scan the QR code of my Olares device using the LarePass app on my mobile phone (both devices are on the same local network), it says it cannot recognize the username "[email protected]". Additionally, when searching for nearby Olares devices, nothing can be found, even though my devices are definitely on the same network. Could there be an issue with my initial installation process?

321734614226_ pic
301734614194_ pic
311734614217_ pic

@cal-weng
Copy link
Contributor

cal-weng commented Dec 19, 2024

Hi, @Shukino20001015
Your LarePass is in Chinese. By our design, you would create a Olares ID with a olares.cn domain, which made your Olares ID [email protected]. This domain is for mainland Chinese users, with tailored FRP solutions and other network config.
However, we also see you install Olares using the olares.sh script, which would install the Olares with a totally different network config for users outside of mainland China (with the olares.com domain).

That's why when you scanned the QR code, it couldn't identify your ID. In this case, considering your installation status, the easiest way is to create an olares.com ID with the same name, that is[email protected]. To do this,
image

  1. Check your LarePass version. Make sure it's the latest(1.3.0).
  2. In account creation page, tap the advanced creation button on the top right corner.
  3. Change the default domain name to olares.com.
  4. Return to the creation page and enter the same name shukino, and click 继续 to finish creating.
  5. Rescan the QR code.

Sorry for the confusion. You can read the Chinease version of doc for details. https://docs.olares.xyz/zh/manual/get-started/create-olares-id.html#%E5%88%9B%E5%BB%BA-olares-id-1

Let us know if this works for you.

@Shukino20001015
Copy link
Author

Hi, @Shukino20001015 Your LarePass is in Chinese. By our design, you would create a Olares ID with a olares.cn domain, which made your Olares ID [email protected]. This domain is for mainland Chinese users, with tailored FRP solutions and other network config. However, we also see you install Olares using the olares.sh script, which would install the Olares with a totally different network config for users outside of mainland China (with the olares.com domain).

That's why when you scanned the QR code, it couldn't identify your ID. In this case, considering your installation status, the easiest way is to create an olares.com ID with the same name, that is[email protected]. To do this, image

  1. Check your LarePass version. Make sure it's the latest(1.3.0).
  2. In account creation page, tap the advanced creation button on the top right corner.
  3. Change the default domain name to olares.com.
  4. Return to the creation page and enter the same name shukino, and click 继续 to finish creating.
  5. Rescan the QR code.

Sorry for the confusion. You can read the Chinease version of doc for details. https://docs.olares.xyz/zh/manual/get-started/create-olares-id.html#%E5%88%9B%E5%BB%BA-olares-id-1

Let us know if this works for you.

However, creating an Olare ID requires at least 8 characters, and the shukino characters are insufficient. Furthermore, I also want multiple devices and multiple members to be able to participate in Olare later on, but I understand that duplicate names do not distinguish between users.

@cal-weng
Copy link
Contributor

Also regarding searching for nearby Olares devices, nothing can be found
This activation method is only valid when you just finished the pre-install phase. It's initially designed for our official hardware with pre-installed Olares. For users using their own hardware, the script runs non-stop till you reach the activation wizard stages, which has long passed the pre-install phase. That's why you could not discover your Olares using this method.

@Shukino20001015
Copy link
Author

Maybe I can reinstall Olares and change my registered domain name to '[email protected]' during initialization. Would the problem still exist?

@cal-weng
Copy link
Contributor

Hi, @Shukino20001015 Your LarePass is in Chinese. By our design, you would create a Olares ID with a olares.cn domain, which made your Olares ID [email protected]. This domain is for mainland Chinese users, with tailored FRP solutions and other network config. However, we also see you install Olares using the olares.sh script, which would install the Olares with a totally different network config for users outside of mainland China (with the olares.com domain).
That's why when you scanned the QR code, it couldn't identify your ID. In this case, considering your installation status, the easiest way is to create an olares.com ID with the same name, that is[email protected]. To do this, image

  1. Check your LarePass version. Make sure it's the latest(1.3.0).
  2. In account creation page, tap the advanced creation button on the top right corner.
  3. Change the default domain name to olares.com.
  4. Return to the creation page and enter the same name shukino, and click 继续 to finish creating.
  5. Rescan the QR code.

Sorry for the confusion. You can read the Chinease version of doc for details. https://docs.olares.xyz/zh/manual/get-started/create-olares-id.html#%E5%88%9B%E5%BB%BA-olares-id-1
Let us know if this works for you.

However, creating an Olare ID requires at least 8 characters, and the shukino characters are insufficient. Furthermore, I also want multiple devices and multiple members to be able to participate in Olare later on, but I understand that duplicate names do not distinguish between users.

If you want Olares ID less than 8 char, you will need to use to bind a Verifiable Credential using Gmail (in the advanced creation page. This is for security and fair name distribution reasons). I assume you have entered shukino in the CLI wizard when you actually did not created the id. However, the ID is already bound with the system. Therefore, there is only two ways to proceed:

  1. If you have a Gmail like [email protected], you can create [email protected] using the VC mode.
  2. Uninstall Olares using bash olares-uninstall.sh, and reinstall it. Then create a new Olares ID on LarePass for post installation and activation. Again please note:
    If you install with curl -fsSL https://cn.olares.sh | bash -, use a .cn domain.
    If you install with curl -fsSL https://olares.sh | bash -, use a .com domain.

@cal-weng
Copy link
Contributor

Furthermore, I also want multiple devices and multiple members to be able to participate in Olare later on, but I understand that duplicate names do not distinguish between users.

You can access Olares from multiple devices using your browser via unique domains for each app, if this is what you mean by multiple devices. Olares supports multi-user mode. As a admin, you can create multiple member users and assign hardware quota for each member simply by adding their Olares ID.

@cal-weng
Copy link
Contributor

Maybe I can reinstall Olares and change my registered domain name to '[email protected]' during initialization. Would the problem still exist?

Sadly the 8 char restriction is the same for both domains.

@cal-weng
Copy link
Contributor

cal-weng commented Dec 20, 2024 via email

@Shukino20001015
Copy link
Author

Hi, sorry for missing this update. Glad to know you have successfully installed and logged in. We will look into the Perplexica issue and get back to you soon. In the meantime, you could also try reach us via WeChat for more instant responses. image

On Thu, Dec 19, 2024 at 11:22 PM 周祈能 @.> wrote: image.png (view on web) https://github.com/user-attachments/assets/5311ade3-508f-4205-ba7d-35e9a1ef26b6 image.png (view on web) https://github.com/user-attachments/assets/cbd08c35-0a8f-407a-8ddc-8f79cfbd6c00 I have now reset @.' and successfully logged in, but I want to use 'perplexica' and it says it cannot connect. What could be the reason? — Reply to this email directly, view it on GitHub <#771 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIRST44EMBCDUFGQMFUPZGD2GLQDZAVCNFSM6AAAAABT47FG52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJUGU4DQOJSGY . You are receiving this because you commented.Message ID: @.***>

Okay, I have withdrawn my question because I found that you have written relevant documentation. Using 'Perplexica' requires installing 'searchng,' so I plan to try it myself first.Should I have any questions later, I will get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants