How to install new network adapter using Java on Windows

489 Views Asked by At

I ought to create a program for a local ISP. They need a program that would automatically install new broadband adapter (with certain configuration) in Windows XP and later. I'd like to do it using Java, but if it wont be doable I could also use C#. I'm looking for a way how to do it but I haven't found anything useful so far. I thought I could be able to do it with "netsh" through executing commands but I couldn't find a way to actually create new interface using the netsh.

Thanks for all your help

edit: so I actually found that i need to create a PPPoE connection. The best I can get so far is to make a popup window with rasphone -a ... Isn't there any way to do it just with code? :/ I'm searching Google like mad but can't find anything...

1

There are 1 best solutions below

3
Carlo On

Did you see this article and this question? The latter is related to C#, but it should give you a hint on what to do.