Using Nard from VirtualBox with a Direct Ethernet Connection

Ronny Nilsson rln-nard at arbetsmyra.dyndns.org
Thu Jun 30 14:23:21 CEST 2016


Hi
Try like this:

eth0proto="static"
eth0ip0="192.168.10.2"
eth0mask0="255.255.255.0"
eth0defgw=""
eth0dns1=""
eth0dns2=""

/Ronny



------------------------------------------
> Thanks for the reply. I'm definitely not a network guru, so what should go
> in the fields below it? I'm assuming eth0ip0 should be the IP, but what
> about mask, defgw, dns1, and dns2? Do I need to set them?
>
> On Thu, Jun 30, 2016 at 5:34 AM, Ronny Nilsson <
>
> rln-nard at arbetsmyra.dyndns.org> wrote:
> > Hi
> > I understand better now. The simplest method would be using fixed IP
> > addresses. For example, configure Fedora to use 192.168.10.1 and the
> > Raspberry 192.168.10.2 There are two caveats though:
> >
> > 1) VirtualBox and Fedroa probably need to use "Bridged" networking
> >         Menu > Machine > Settings > Network > Adapter 1 > Attached to
> >
> > 2) Setting a fixed IP in Nard can be done in the file
> >         SD-card/settings/network
> >         http://www.arbetsmyra.dyndns.org/nard/#devsettingsnet
> > It's a text file which is easy to understand. You can move the SD-card to
> > your
> > PC and edit the file in Windows - but, you need to use a text editor that
> > understands Unix text file format. Thus, Notepad won't work. However, the
> > free Notepad++ works and probably any text editor designed for real
> > programing does.
> >
> > /Ronny
> >
> >
> >
> > ------------------------------------------
> >
> > > After reading, I see that I wasn't very clear. What I want to do is
> > > *connect the RPi to the computer completely locally with an ethernet
> >
> > cable*
> >
> > > (the computer may not even be connected to Wi-Fi) and use make ssh from
> > > that. (Local ethernet connection is covered in this StackOverflow post:
> > > Hook up Raspberry Pi via ethernet to laptop without router?
> > > <
> >
> > http://stackoverflow.com/questions/16040128/hook-up-raspberry-pi-via-ethe
> >r
> >
> > >net-to-laptop-without-router>). To make matters even better, I'm running
> > > Linux from the prepared Fedora image in VirtualBox.
> > >
> > > - Caleb




More information about the Nard mailing list