GithubHelp home page GithubHelp logo

Comments (9)

htot avatar htot commented on July 3, 2024

Hi, that code is here: https://github.com/edison-fw/edison-oobe/blob/master/src/configure_edison

After re-writing oobe we probably missed testing this. Would you have time to fix this code and send a patch?

from meta-intel-edison.

mymistake avatar mymistake commented on July 3, 2024

I can try during the winter break if I can improve the situation.

from meta-intel-edison.

htot avatar htot commented on July 3, 2024

That would be very welcome. BTW currently you should be able to press the power button to enable the builtin AP, then use your phone or laptop to connect to the web server. From there you can change device name, connect to your Wifi etc. Changing the password is not yet an option here and could use some improvement. As well as setting up a https connection instead of http.

from meta-intel-edison.

mwallnoefer avatar mwallnoefer commented on July 3, 2024

@mymistake I guess that I once faced exactly the same behaviour which you have described here. Would you mind retrying with the SSH access (on the new images SSH is enabled as default without any password)?

For sure the problem lies in the _getch() call in the _getPassword() function: https://github.com/edison-fw/edison-oobe/blob/6daba9fe150d0026ae8b79447bd576770cd9f965/src/configure_edison#L394. Looking at the code I guess that the serial connection is always sending control characters which makes the routine loop. On the original Edison image that had not been the case, so _getch() was blocking and everything worked.

from meta-intel-edison.

mwallnoefer avatar mwallnoefer commented on July 3, 2024

Any news here? As said we would need to address this in the respective kernel tty module (or in its terminal settings).

from meta-intel-edison.

mymistake avatar mymistake commented on July 3, 2024

Apologies for the delayed response - so far I have been unable to make a lot of progress. I needed to have the device working, so in the end I switched to the Debian image and just connected via connmanctl. I use the Edison as a micro-server.

from meta-intel-edison.

htot avatar htot commented on July 3, 2024

connmanctl is Edison's default way to control the network, no need to install Debian for that. In fact configure_edison will perform most network changes using connmanctl.
The Debian version does have advantages of course, like a large amount of pre-built packages.

from meta-intel-edison.

mwallnoefer avatar mwallnoefer commented on July 3, 2024

Fixes: edison-fw/edison-oobe#16 and PR #141.

@mymistake I guess that I once faced exactly the same behaviour which you have described here. Would you mind retrying with the SSH access (on the new images SSH is enabled as default without any password)?

For sure the problem lies in the _getch() call in the _getPassword() function: https://github.com/edison-fw/edison-oobe/blob/6daba9fe150d0026ae8b79447bd576770cd9f965/src/configure_edison#L394. Looking at the code I guess that the serial connection is always sending control characters which makes the routine loop. On the original Edison image that had not been the case, so _getch() was blocking and everything worked.

from meta-intel-edison.

mymistake avatar mymistake commented on July 3, 2024

Please excuse the very late reply @mwallnoefer - I tried, and the issue is resolved. I was able to set a password and everything like expected.

from meta-intel-edison.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.