Find the answer to your Linux question:
Results 1 to 6 of 6
Howdy all, I have a LinModem which I have successfully installed (by fluke). there are 2 things that are a slight issue. First - I can't turn the modem speaker ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2003
    Posts
    37

    Small issue with Linmodem


    Howdy all,

    I have a LinModem which I have successfully installed (by fluke).
    there are 2 things that are a slight issue.

    First - I can't turn the modem speaker down or off! Even if I use the options for the speaker (Low, Medium, High etc) it doesn't change anything.
    Is there a file that I can check to modify these settings?

    Secondly - I hope it's not me, but when I dial up I get the handshake blah blah and then when it goes to authenticate it just stops there then tries to redial after about 20 secs. I haven't got the log file with me, but there's something about PaP - I was under the impression it should be PPP.

    Anyone, anything?

    Pleeeease!

    Thanks!

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    PaP is the authentication protocol, not the connection protocol (PPP).

    And logs would be much appreciated when you get to them.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    some things to understand.

    When a modem (any modem) dials up an ISP it can log you on in one of three ways. Either a script (you'd see this either in the kppp log window or by doing a
    Code:
    tail /var/log/messages
    ), or using CHAP or using PAP (actually some ISPs will let you use either PAP or CHAP).

    If you're logging into a CHAP and or PAP type of ISP, then the "pppd" on your PC will do all of the userid / password stuff for you. It get's this information from (and now I'm starting to have to guess the exact names) /etc/wvdial/pap-secrets or /etc/wvdial/chap-secrets . You put the required information (ie. your ISP useris and password) into those files by either stating (in the GNOME Internet setup wizard or the kppp setup dialogue) that PPP will be doing all of the security bits and peices (I think it's in the "Advanced" tab in kppp). They will then put the user id and password that you put in (which would normally only be used for script logons) into both of the "secret" files.

    Give it a go and see how you get on.

    have fun

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

  4. #4
    Just Joined!
    Join Date
    Oct 2003
    Posts
    37
    Hi Folks!

    I am still checkin' what's happening here. I didn't get a chance to get the log file from the modem - will try again tonight.

    Nerderello, I did find the PAP-secrets file a few days ago, that you mentioned and all seemed ok in there. I will check again.

    I guess no one has any idea on the volume of the modem speaker....


    Will be back with logs tomorrow...

    Chris

  5. #5
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    the modem volume is normally controlled by an
    Code:
    AT
    command (the guis just put a pretty front end on it). The two commands that I've just found on the web are :-
    Code:
    Ln (Speaker Volume) 
    L0,1 -- Selects low speaker volume.  
    L2 -- Selects medium speaker volume.  
    L3 -- Selects high speaker volume
    Which should look something like
    Code:
    ATL3
    when you look at the modem log

    and

    Code:
    Mn (Speaker Control) 
    M0 -- The speaker is always off.  
    M1 -- Enables the speakerduring call establishment, but off once the carrier is detected.  
    M2 -- The speaker is always on.  
    M3 -- Disables the speaker during the dialing period and receiving carrier, but on during answering.
    which allows you to control when and if the modem makes noises at you.

    Check out your modem init strings for these two.

    have fun

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

  6. #6
    Just Joined!
    Join Date
    Oct 2003
    Posts
    37
    I know it's been a long time, but I just wanted to say thanks.
    The modem is now working properly and silently.

    Thankyou for all your help - I really appreciate it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •