[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    Re: [Nix-dev] no network virtualbox install
From:       Daniel Barlow <dan () telent ! net>
Date:       2017-06-21 10:35:33
Message-ID: CABadKf52Gf0SC4p-Gg1ieC2wr8oLS-oa0gCZB+fPdqWBcd+BQg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Andreas, did that fix it for you?

I've just run up against the same problem (or at least, the same symptoms)
and in my case the problem was in the Virtualbox settings: after importing
the appliance into Virtualbox I need to

* go to Machine -> Settings
* click the "Network" tab
* open the "Advanced" settings (click the triangle)
* check the checkbox labelled "Cable Connected"

This is using Virtualbox Version 5.0.20 r106931 on MacOS Sierra (10.12.4
(16E195))

I don't know whether Bas' fix would have worked because I was unable to run
nixos-rebuild switch because no networking ... but trying to run dhcpcd by
hand was reporting "no carrier" messages.


Hope this helps, if you don't already have it running


-dan

On 5 April 2017 at 07:51, Bas van Dijk <v.dijk.bas@gmail.com> wrote:

> Hi Andreas,
>
> You could enable DHCP by turning on:
>
>   networking.useDHCP
>
> If you need to set a static address look into:
>
>   networking.interfaces.<name?>.ip4
>
> Then after a nixos-rebuild switch your machine should have a network
> connection provided that you configured the host the right way.
>
> Bas
>
> Op 4 apr. 2017 21:29 schreef "Andreas Meyer" <a.meyer@nimmini.de>:
>
> Hello!
>
> I installed a virtualbox using nixos-17.03.889.9626bc7db7-x86_64-linux.ova
> but I have no networkconnection.
>
> ifconfig shows the interface is there but
> sudo ifconfig enp0s3 10.0.0.2 up has no effect.
>
> :-(
>
>   Andreas
>
> _______________________________________________
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>


-- 
dan@telent.net
http://ww.telent.net

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hi Andreas, did that fix it for you?<br><br></div>I&#39;ve \
just run up against the same problem (or at least, the same symptoms) and in my case \
the problem was in the Virtualbox settings: after importing the appliance into \
Virtualbox I need to <br><br>* go to Machine -&gt; Settings <br>* click the \
&quot;Network&quot; tab<br></div>* open the &quot;Advanced&quot; settings (click the \
triangle)<br><div>* check the checkbox labelled &quot;Cable \
Connected&quot;<br></div><div><br></div><div>This is using Virtualbox Version 5.0.20 \
r106931 on MacOS Sierra (10.12.4 (16E195))<br><br><p \
style="margin:0px;text-indent:0px">I don&#39;t know whether Bas&#39; fix would have \
worked because I was unable to run nixos-rebuild switch because no networking ... but \
trying to run dhcpcd by hand was reporting &quot;no carrier&quot; messages.<br></p><p \
style="margin:0px;text-indent:0px"><br></p></div><div>Hope this helps, if you \
don&#39;t already have it running<br><br><br></div><div>-dan<br></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On 5 April 2017 at 07:51, Bas van \
Dijk <span dir="ltr">&lt;<a href="mailto:v.dijk.bas@gmail.com" \
target="_blank">v.dijk.bas@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="auto"><div>Hi Andreas,<div \
dir="auto"><br></div><div dir="auto">You could enable DHCP by turning on:</div><div \
dir="auto"><br></div><div dir="auto">    <span \
style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:monospace;font-size:14px">networking.useDHCP</span></div><br><div \
class="gmail_extra">If you need to set a static address look into:</div><div \
class="gmail_extra" dir="auto"><br></div><div class="gmail_extra" dir="auto">    \
<span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:monospace;font-size:14px">networking.interfaces.&lt;name?<wbr>&gt;.ip4</span></div><div \
class="gmail_extra" dir="auto"><br></div><div class="gmail_extra" dir="auto">Then \
after a nixos-rebuild switch your machine should have a network connection provided \
that you configured the host the right way.</div><div class="gmail_extra" \
dir="auto"><br></div><div class="gmail_extra" dir="auto">Bas</div><div \
class="gmail_extra" dir="auto"><br><div class="gmail_quote" dir="auto">Op 4 apr. 2017 \
21:29 schreef &quot;Andreas Meyer&quot; &lt;<a href="mailto:a.meyer@nimmini.de" \
target="_blank">a.meyer@nimmini.de</a>&gt;:<br type="attribution"><blockquote \
class="m_6628894355327230095quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div class="h5">Hello!<br> <br>
I installed a virtualbox using nixos-17.03.889.9626bc7db7-x86<wbr>_64-linux.ova<br>
but I have no networkconnection.<br>
<br>
ifconfig shows the interface is there but<br>
sudo ifconfig enp0s3 10.0.0.2 up has no effect.<br>
<br>
> -(<br>
<font color="#888888"><br>
   Andreas<br>
</font><br></div></div>______________________________<wbr>_________________<br>
nix-dev mailing list<br>
<a href="mailto:nix-dev@lists.science.uu.nl" \
target="_blank">nix-dev@lists.science.uu.nl</a><br> <a \
href="http://lists.science.uu.nl/mailman/listinfo/nix-dev" rel="noreferrer" \
target="_blank">http://lists.science.uu.nl/mai<wbr>lman/listinfo/nix-dev</a><br> \
<br></blockquote></div><br></div></div></div> \
<br>______________________________<wbr>_________________<br> nix-dev mailing list<br>
<a href="mailto:nix-dev@lists.science.uu.nl">nix-dev@lists.science.uu.nl</a><br>
<a href="http://lists.science.uu.nl/mailman/listinfo/nix-dev" rel="noreferrer" \
target="_blank">http://lists.science.uu.nl/<wbr>mailman/listinfo/nix-dev</a><br> \
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" \
data-smartmail="gmail_signature"><a href="mailto:dan@telent.net" \
target="_blank">dan@telent.net</a> <br><a href="http://ww.telent.net" \
target="_blank">http://ww.telent.net</a><br></div> </div>



_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic