rapido-linux / rapido

Quickly test Linux kernel changes
GNU Lesser General Public License v2.1
22 stars 22 forks source link

setup br0 failure #82

Closed x2c3z4 closed 5 years ago

x2c3z4 commented 5 years ago

CentOS 7 report this issue:

 $ ip link add br0 type bridge;ip addr add 192.168.155.1/24 dev br0;ip tuntap add dev tap0 
Command line is not complete. Try option "help"

The error is from the last command.

ddiss commented 5 years ago

Thanks for the report. It looks like you need to set TAP_USER in rapido.conf - the last ip tuntap parameter should be the device owner.

I'll add an explicit check to br_setup.sh, so that the missing config is detected before ip tuntap invocation.

x2c3z4 commented 5 years ago

Your patch works. Thanks!

ddiss commented 5 years ago

Patch merged, closing...