0

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...

Julius Vainora
  • 47,421
  • 9
  • 90
  • 102
manWe
  • 340
  • 2
  • 16

1 Answers1

0

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.

Community
  • 1
  • 1
Carlo
  • 1,686
  • 3
  • 29
  • 43
  • Thanks. Actually I found out that even when I manually install the PPPoE broadband I still cant find it within the netsh... Any ideas? I need to instal the PPPoE SOMEHOW and then edit the settings. – manWe Jun 07 '12 at 12:34
  • Nope, at the moment I don't have a Windows box to try. Something in the event viewer? – Carlo Jun 07 '12 at 13:32
  • Ok I found that it could be SOMEHOW achieved with RAS (Rasdial/rasphone) tools on WIN, but I still cant manage to add the PPPoE using ONLY cmd... – manWe Jun 07 '12 at 13:33