Dialing ISP
Hi everyone,
I would like to know if i can auto dial up to multiple dial up number using the command ifup ppp0. Currently, i was able to dial up my default number. I had been trying using wvdial command like "wvdial;wvdial phone2" where it will dial up the first number and dial up the second number by manually pressing ctrl-c, disconnecting the first connection.
my wvdial.conf file:
[Modem 0]
Modem=/dev/ttyS0
Baud=115200
Init1=ATZ
SetVolume=1
DialCommand=ATDT
Init4=ATM1L3
[Dialer Defaults]
Modem=/dev/ttyS0
Baud=115200
Init1=ATZ
SetVolume=1
DialCommand=ATDT
Init4=ATM1L3
Username=myusername
Password=mypassword
Phone=myphone
[Dialer Phone2]
Phone=myphone2
My ifcfd-ppp0:
Device=PPP0
Name=Console
WVDIALSECT=Console
MODEMPORT=/dev/ttyS0
LINESPEED=115200
PAPNAME=mypapname
USERCTL=True
ONBOOT=no
PERSIST=no
DEFROUTE=yes
PEERDNS=yes
DEMAND=no
IDLETIMEOUT=600
How to i set the settings in ifcfg-ppp0 (or other possible files) so that i can auto dial the first and the second number automatically without manaully tying "wvdial;wvdial phone2"? Could anyone help me with this problem? Thanks.
|