2

I am a Ubuntu user (10.04 as of now), since I use it, over a year, I have to manually enter the command $ sudo pppoeconf everytime I turn on the computer and want to connect to the internet, the I click enter some times, enter my password of my internet provider, then I click enter some more times to have internet.

I have to do this boring work, 3 times a day, just now I am asking you if you know any way of automatizing this?

Thanks!

Rodrigo Alves Vieira.

rodrigoalvesvieira
  • 7,895
  • 15
  • 63
  • 84

2 Answers2

1

No need to run pppoeconf all the time. After you have configured pppoe once, just use 'pon' to connect.

0

You can

  1. Find another program similar to pppoeconf that runs in non-interactive mode
  2. Create a shell/perl/whatever script to automate pppoeconf
  3. Use the "expect" utility

See an example.

kazanaki
  • 7,988
  • 8
  • 52
  • 79