Comments (9)
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.
I can try during the winter break if I can improve the situation.
from meta-intel-edison.
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.
@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.
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.
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.
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.
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.
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)
- BTRFS rebooted crash HOT 2
- boot failure HOT 12
- Preempt-RT support HOT 4
- ACPI table is not loaded HOT 8
- Integration with Azure HOT 1
- How to use PWM mode? HOT 5
- altering the partition table prevents subsequent dfu updates HOT 3
- requirement for sudo to use flashall.sh HOT 4
- `make debian` broken on master and dunfell HOT 4
- SD card does not work on dunfell branch HOT 69
- SD card not detected properly in U-Boot HOT 9
- Intel Edison can't boot new flashed image HOT 3
- There is no issue with the network, but numactl cannot be downloaded. HOT 2
- Initramfs unpacking failed: invalid magic at start of compressed archive HOT 4
- Issue Building Sumo Branch HOT 1
- Expired gpg keys HOT 3
- [Kirstone] List of required packages does not match YP
- npm i mraa fails HOT 3
- [Kirkstone] missing elfutils-native while building linux-yocto HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-intel-edison.