LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to shutdown modem volume? (wvdial) (https://www.linuxquestions.org/questions/linux-software-2/how-to-shutdown-modem-volume-wvdial-544335/)

haxpor 04-08-2007 01:54 PM

How to shutdown modem volume? (wvdial)
 
How we shutdown modem volume? I use wvdial to connect to internet.

Thanks.

GrapefruiTgirl 04-08-2007 02:11 PM

Usually by sending 'ATM0' or 'ATM0L0' to the modem, or by adding this command to the wvdial.conf file in the appropriate area.

haxpor 04-08-2007 02:21 PM

Thanks
Is it the same as 'SetVolume = 0'. Anyway I see others place ATM0 in 'init4 = ATM0'.
What does it mean by init4 (also init1, init2)?

GrapefruiTgirl 04-08-2007 02:42 PM

Init refers to the 'run-level' that the linux system is running in.
On many distributions, init-1 is single user mode. init-2,3,4,5 are multi-user run-levels, with init 4 & 5 being the level where the X graphical environment usually runs.
init 0 or 6 are for shutting down/rebooting the system.
To change runlevels, enter root console and type 'telinit 3' or whatever level you want to switch to.

As for the 'SetVolume' thingy, I am not sure. I would guess that the idea with 'SetVolume' is intended to apply a 0 value to the volume, and if it's used in a modem configuration file, then yes, it probably intends to set the speaker volume to zero. Whether that gets translated into something the modem understands is another question. As for wvdial specifics, you'd have to do a bit of research on your own there, as I don't actually use wvdial. I have however used lots of modems, and generally all modems use the 'Hayes Command Set' or some variation of it. Google 'Hayes Commands' for more info on that.:)

haxpor 04-08-2007 02:54 PM

Thanks alot. I will try.

Junior Hacker 04-08-2007 09:14 PM

Initiating strings to initiate a modem and ppp session. For more info, google using "modem init strings" as a search keyword (s).

GrapefruiTgirl 04-08-2007 09:55 PM

Oh **THOSE** init strings :eek:

Good grief, where's my head?!

Yes, as Junior Hacker correctly corrected my moronic misinterpretation of which init strings you were referring to, one of the init string boxes will be for the volume most likely, and it is usually near the bottom of the config panel.
;)


All times are GMT -5. The time now is 06:54 PM.