Automatic TINC configuration & launch (win)

EleGoS elegos at fastwebnet.it
Mon Nov 27 14:27:01 CET 2006


Guus Sliepen ha scritto:
> On Mon, Nov 27, 2006 at 12:52:34PM +0100, EleGoS wrote:
>
>   
>>> Which variables do you want to automatically fill in? 
>>>  
>>>       
>> exactly what the program asks (i.e. the file without C:, but I assume 
>> that sources are up-to-date and no need to exclude C:)
>>     
>
> Ah. But tinc should detect whether you run it from a shell, or if you
> run it from a script or some other program, and it should only ask for
> filenames if you run it from a shell. I don't know if it can detect it
> correctly on Windows though, but you should try it out.
>
>   
>>> I don't know Dev-CPP. You should try compiling it by starting a MinGW
>>> shell and type:
>>>
>>> cd tinc-1.0.5
>>> ./configure
>>> make
>>>       
>> I haven't got a linux machine (my linux laptop was robbed some days ago :( )
>> Do you know a good compiler/linker for windows? Maybe GCC? But I don't 
>> know the same procedure for OS windows (it's so easy in linux :P )
>>     
>
> You should install MinGW, in comes with GCC. GCC is required for tinc.
> If you have set up MinGW properly, you should be able to compile it the
> same way you compile it under Linux.
>   

I'll try installing GCC and then MinGW (just see the other mail)

>   
>>>> Another problem is device-related: I want to auto-rename the connection, 
>>>> but I have no idea on how to do that (even DOS or VB.NET commands). I've 
>>>> tried opening OemWin2k.inf, but no luck...
>>>>         
>>> I have no idea how you should do that...
>>>       
>> That's not a real problem, is really easy to tell a windows-user where 
>> to search and edit (tutorial step-by-step) :P
>>     
>
> Note that if you don't add Device = ... and Interface = ... to
> tinc.conf, tinc will try to autodetect the TAP device, regardless of how
> the user named it.
>   

Well, it should be a problem if someone wants to have more then one 
daemon. Anyway I simply add Interface = ... What must I insert as Device 
on windows? (I've read the tinc.conf manual, but I didn't understand 
what to put in Windows)



More information about the tinc mailing list