ntap icon indicating copy to clipboard operation
ntap copied to clipboard

brctl commands don't stick

Open digininja opened this issue 12 years ago • 2 comments

I've not tested this but aren't the brctl commands only relevant to the current session? After you shut down the bridge will be lost.

Why not add these to the start of your script, you could do a simple check to see if the bridge already exists and has the two interfaces on it before creating it.

I assume that you don't need ip_forward set for this to work.

digininja avatar Dec 17 '13 13:12 digininja

I don't think so, it worked well so far, but yes you're right, would be good to verify the bridge and create it on the fly if needed.

botherder avatar Dec 19 '13 17:12 botherder

hi, i have a issue. when i reboot PI, it doesnt always detect the second eth. and ten seconds isnt enough to enter and delete ntap.sh or alter the file. happens to some dongles i have. any tip?

tompt avatar May 29 '18 20:05 tompt