[fpga-miniconf] could not configure /dev/net/tun (tap0): Operation not permitted

Tim 'mithro' Ansell me at mith.ro
Thu Jan 11 19:39:43 AEDT 2018


Do you have a /dev/net/tap0?

I'm guessing you have failed to have the tap0 be created, you can see the
bit of the shell script here -> https://github.com/
timvideos/litex-buildenv/blob/master/scripts/build-qemu.sh#L119-L134

Tim 'mithro' Ansell

On 11 January 2018 at 18:11, Marc MERLIN <marc at merlins.org> wrote:

> I now got as far as this:
> + build/arty_net_or1k//qemu/or32-softmmu/qemu-system-or32 -M litex
> -nographic -nodefaults -monitor telnet::10000,server,nowait -serial stdio
> -bios build/arty_net_or1k//software/bios/bios.bin -drive
> if=mtd,format=qcow2,file=build/arty_net_or1k//qemu.qcow2,serial=n25q128a13
> -net nic -net tap,ifname=tap0,script=no,downscript=no -gdb tcp::10001
> qemu-system-or32: -net tap,ifname=tap0,script=no,downscript=no: could not
> configure /dev/net/tun (tap0): Operation not permitted
> (LX P=arty C=or1k) saruman:~/src/fpga/litex-buildenv$ l /dev/net/tun
> crw-rw-rw- 1 root root 10, 200 Jan 10 12:15 /dev/net/tun
>
> Any idea why it doesn't work, just add sudo to it?
>
> Thanks,
> Marc
> --
> "A mouse is a device used to point at the xterm you want to type in" -
> A.S.R.
> Microsoft is to operating systems ....
>                                       .... what McDonalds is to gourmet
> cooking
> Home page: http://marc.merlins.org/                         | PGP
> 1024R/763BE901
> --
> fpga-miniconf mailing list
> fpga-miniconf at lists.lca2018.linux.org.au
> http://lists.lca2018.linux.org.au/mailman/listinfo/fpga-miniconf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lca2018.linux.org.au/pipermail/fpga-miniconf/attachments/20180111/034bf920/attachment.html>


More information about the fpga-miniconf mailing list