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

Awaiting hostname never completes #36

Open
cflewis opened this issue May 20, 2016 · 3 comments
Open

Awaiting hostname never completes #36

cflewis opened this issue May 20, 2016 · 3 comments

Comments

@cflewis
Copy link

cflewis commented May 20, 2016

Using the image in #34 , I was able to get as far as getting VirtualBox up and running. It does appear to be doing something (checking top shows the CPU going up quite a bit, and then falling off again), but whatever the create script is waiting for never happens.

I've verified this on my local Ubuntu machine and a cloud Ubuntu VM. Same behavior :/

~/src❯ t2-vm create
Initializing VM...
? Choose a bridge interface (or hit enter) em1
Downloading image...
.......... downloaded ...
Creating VM...
Attaching to serial port: /usr/local/google/home/cflewis/.tessel/vm.port
Configuring VM...
Opened serial connection to VirtualBox...
Awaiting hostname...
This seems to be taking way too long.
Perhaps CTRL+C and try again.

@cflewis
Copy link
Author

cflewis commented May 21, 2016

Also verified with a fresh install on Mac OS X :(

@cflewis
Copy link
Author

cflewis commented May 23, 2016

From what I can tell, this will never work. It seems to me that the prompt (which you get if you boot the image and hit "Return" after it's finished) says test_ap whereas the script is looking for something with tessel in the name.

Hacking in test_ap to the script doesn't work though, as the initialize function fails to sed what it needs to either, and I don't know enough about TCP sockets to know how to begin debugging that :(

@kumarsm
Copy link

kumarsm commented Jun 15, 2016

I had the same issue:
Awaiting hostname...
This seems to be taking way too long.
Perhaps CTRL+C and try again.

This is how I was able to get past this problem:
Launch vm console on virtualbox.
Edit file /etc/config/system. Change HOSTNAME from 'test_ap' to 'Tessel-XXXXXXXX'.
Reboot

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