Re: Configuring AC'97 softmodem on Ubuntu 8.10 Intrepid Ibex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marvin, thank you again,

On 2009-01-24 01:05, Marvin Stodolsky wrote:
> EL,
> 
> The sl-modem-daemon package you installed is setting up the modem on
> bootup,  That is why the is a later failure
> --------
> error: alsa setup: cannot open playback device 'modem:1': Device or
> resource busy
>    error: cannot setup device `modem:1'
> ---------
> because modem:1   is already in use.

after some search in internet I have used

    sudo dpkg-reconfigure sl-modem-daemon -plow

to set my country, and

    sudo /etc/init.d/sl-modem-daemon restart

to restart the slmodemd daemon with new settings

( https://help.ubuntu.com/community/DialupModemHowto/AlsaModem )

> 
> Do:
> $ sudo gedit  /etc/default/sl-modem-daemon
> and change the default COUNTRY  from USA  to GERMANY.
> Then
> $ sudo /etc/init.d/sl-modem-daemon  restart
> to establish GERMANY

it is now already set to GERMANY:

    SLMODEMD_COUNTRY=GERMANY

> 
> RE:   Carrier Check issue:
> Don't use gnome-ppp.
> Rather do:
> $ sudo wvdialconf
> Then use
> $ sudo wvdialconf  /etc/wvdial.conf
> to add a line:
> Carrier  Check  =  no

sudo wvdialconf  /etc/wvdial.conf
has simply written some default settings (no possibility to change
anything during this process)

I have used than

    gksudo gedit /etc/wvdial.conf &

and added "Carrier  Check  =  no".


Then altered Phone, Password, Username.
(It is Arcor Internet-By-Call, the settings are common for everybody)


Content of /etc/wvdial.conf is now:

------------------------------------------
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Phone = 01920793
ISDN = 0
Password = internet
New PPPD = yes
Username = arcor
Modem = /dev/ttySL0
Baud = 460800
Carrier Check = no

------------------------------------------

> 
> Then trial a dialout with:
> $ sudo wvdial

    $ sudo wvdial

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT01920793
--> Waiting for carrier.
ATDT01920793
--> Timed out while dialing.  Trying again.
--> Sending: ATDT01920793
--> Waiting for carrier.
NO CARRIER
ATDT01920793
--> No Carrier!  Trying again.
--> Sending: ATDT01920793
--> Waiting for carrier.
NO CARRIER
...




The same with

    $ sudo wvdial --config /etc/wvdial.conf
> 
> There may be a way to add "Carrier Check = no"  to the gnome-ppp
> configuration file, but I haven't check.  

yes, it have this in settings
(already tried -- no success, see my previous mail)

> Gnome-ppp is no more that a
> front end to wvdial, but less flexible.

last versions seem to be quite configurable:

http://labun.de/gnome-ppp.png
http://labun.de/gnome-ppp_modem.png
http://labun.de/gnome-ppp_networking.png
http://labun.de/gnome-ppp_options.png

> 
> MarvS
> 

Eugen




> On Fri, Jan 23, 2009 at 12:01 PM, E. Labun <labun@xxxxxx> wrote:
>> Hi Marvin, thank you for your help,
>>
>> On 2009-01-23 00:38, Marvin Stodolsky wrote:
>>> The setup command you should be using is:
>>> $  sudo slmodemd -c  GERMANY --alsa modem:1
>> This gives me
>>
>>    error: alsa setup: cannot open playback device 'modem:1': Device or
>> resource busy
>>    error: cannot setup device `modem:1'
>>
>>
>>> It is worth while checking whether you can do an ordinary ppp0
>>> connection to your Internent Provider
>> Unfortunatelly I can't.
>>
>> Log of GNOME PPP:
>>
>> --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
>> --> WvDial: Internet dialer version 1.60
>> --> Cannot get information for serial port.
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> OK
>> --> Modem initialized.
>> --> Sending: ATM1L3DT01920793
>> --> Waiting for carrier.
>> ATM1L3DT01920793
>> --> Timed out while dialing.  Trying again.
>> --> Maximum Attempts Exceeded..Aborting!!
>> --> Disconnecting at Fri Jan 23 17:35:17 2009
>>
>>
>> The same happens with settings:
>>
>>    Check carrier line: no
>>    Ignore terminal strings (stupid mode): yes
>>
>>
>> I can get connection to this provider on Windows.
>>
>>
>> btw how can I configure the modem / sound  car to acustically control
>> fax/internet connection attempts? Actually I can't hear anything from
>> laptop seakers ...
>>
>>
>>> Separately I'll send you a package of FAX protocols effective for a
>>> related modem using slmodemd and the slamr.ko  driver.
>>>
>>> MarvS
>> Quoted from another eMail:
>>
>> >From http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/
>>> get the slamr-2.6.27-9-generic.tar.gz .  Unpack. THere is a fax folder
>> therein.
>>> I don't have any fax experience myself.
>>>
>>> Do NOT use the slmodemd in this tarball.  It is not ALSA proficient
>>
>> hmm... I can't found the fax (sub?)folder in that archive.
>> Anyway, what should I do with files in that archive?
>>
>>
>> wbr
>> Eugen
>>
>>
>>
> 


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux