You are not logged in.

#1 2009-12-12 11:51:23

hume's doona
Member
Registered: 2009-12-11
Posts: 206

can i choose between 2 wvdial.conf files?[SOLVED]

Sorry if this is really obvious.

I have 2 usb e169 modems with 2 different companies [both cover different areas geographically] and my simple question is:

if instead of starting wvdial with:

sudo wvdial

i use:

sudo wvdial -c /etc/wvdial3.conf

will it use /etc/wvdial3.conf instead of /etc/wvdial.conf?

I can't just try it b/c 3 doesn't cover my area, but i will need to for xmas travel

again, sorry if it's dumb, i searched the forums and wiki [and google], but is that whatt the

-c

command does? "use the .conf file /X/XXX"? not all distros explain why we use these hings or what they mean, but i think that's right

cheers

Last edited by hume's doona (2009-12-12 12:29:22)

Offline

#2 2009-12-12 12:25:23

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: can i choose between 2 wvdial.conf files?[SOLVED]

Make several profiles in your /etc/wvdial.conf?
It should look like this:

[Dialer Defaults]
Baud = 9600
ISDN = false
....

[Dialer orange]
Modem Type = Analog Modem
Phone = *99#
....

Running 'wvdial' will use the Defaults profile, 'wvdialer orange' will use the orange profile.

Offline

#3 2009-12-12 12:28:54

hume's doona
Member
Registered: 2009-12-11
Posts: 206

Re: can i choose between 2 wvdial.conf files?[SOLVED]

Awesome, cheers

Offline

#4 2009-12-12 12:30:20

hume's doona
Member
Registered: 2009-12-11
Posts: 206

Re: can i choose between 2 wvdial.conf files?[SOLVED]

btw: did i get the [SOLVED] formatting right?

Offline

Board footer

Powered by FluxBB