You may also need to add<br><br>modprobe tun<br><br>to the top of your tinc-up. I also found that I needed to add the default route for the bridge interface.<br><br>here is my tinc-up, perhaps it may help you. this is on Ubuntu<br>
<br>donald@DonaldTincVM:/etc/tinc/vpn$ cat tinc-up<br>#!/bin/sh<br><br>modprobe tun<br><br>ifconfig vpn 0.0.0.0<br>ifconfig vpn up<br>ifconfig eth0 0.0.0.0<br>ifconfig eth0 up<br><br>brctl addbr bridge<br>brctl addif bridge vpn<br>
brctl addif bridge eth0<br><br>ifconfig bridge 192.168.2.11 netmask 255.255.0.0<br>route add default gw 192.168.2.1 bridge<br><br>ifconfig bridge up<br><br><br><div class="gmail_quote">On Thu, Feb 11, 2010 at 5:00 AM, Guus Sliepen <span dir="ltr"><<a href="mailto:guus@tinc-vpn.org">guus@tinc-vpn.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, Feb 11, 2010 at 10:55:33AM +0100, Ramses II wrote:<br>
<br>
> Both Tinc Server starts and both connects but it tell me the next error when<br>
> I try to execute the tinc-up script:<br>
><br>
> root@VPN-01:/etc/tinc# ./tinc-up<br>
> ifconfig: SIOCSIFADDR: No such device<br>
> interface vpn does not exist!<br>
> ifconfig: SIOCGIFFLAGS: No such device<br>
> root@VPN-01:/etc/tinc#<br>
><br>
> The tinc-up script contain this:<br>
><br>
> #!/bin/sh<br>
><br>
> ifconfig vpn 0.0.0.0<br>
> brctl addif br-lan vpn<br>
> ifconfig vpn up<br>
<br>
</div>Your virtual network interface may have another name than "vpn". Replace vpn<br>
with $INTERFACE in the scripts, so that it will automatically use the right<br>
name. I'll update the example.<br>
<div><div></div><div class="h5"><br>
--<br>
Met vriendelijke groet / with kind regards,<br>
Guus Sliepen <<a href="mailto:guus@tinc-vpn.org">guus@tinc-vpn.org</a>><br>
</div></div><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
<br>
iEYEARECAAYFAktz1SIACgkQAxLow12M2nsFtgCfb3bXv+y2Ll3YfExGtG0u2m+V<br>
GdQAniVHgw7KtkLSf6DXXZr+1iOhZN3z<br>
=lnt6<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
tinc mailing list<br>
<a href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><br>
<a href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc" target="_blank">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br>
<br></blockquote></div><br>