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

Network not properly configured on digital ocean. #15

Closed
kevincox opened this issue Apr 17, 2016 · 3 comments
Closed

Network not properly configured on digital ocean. #15

kevincox opened this issue Apr 17, 2016 · 3 comments
Assignees

Comments

@kevincox
Copy link
Contributor

I started a new Digital Ocean VPS with Ubuntu 15.10 and ran ./install From the latest git (c85487e) and when the droplet rebooted it had no network connection. (Pinging IPs didn't work).

To fix it I had to add the correct IP address to enp0s3, remove the incorrect one (169.254.115.80) and set the default gateway.

The files in /old-root/etc/network provided the correct information.

@jeaye
Copy link
Owner

jeaye commented Apr 17, 2016

I believe all you needed to do was run the /etc/nixos-in-place/setup-network script and it'd do this for you. It's set to be a systemd target, but there are a few scenarios where it doesn't run and it's meant to; that's a separate issue. Are you able to verify with me that the setup-network script would do what you need?

If you can, then we can close this and just deal with the fact that it doesn't always run when it should.

@jeaye jeaye self-assigned this Apr 17, 2016
@kevincox
Copy link
Contributor Author

I don't know if I am doing something wrong but I don't have a /etc/nixos-in-place directory on the new system. I tried running the setup-network script from the repo but it fails because it looks in /etc/network which doesn't exist on the nixos system.

@kevincox
Copy link
Contributor Author

Oh, it's my fault. I didn't understand that I needed to specify the -d flag. I find that sentence a little confusing, maybe it could be reworded.

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