Re: MohammadJavad Naderi, Iran kernel 2.6.35-22-generic

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

 



On Fri, Aug 26, 2011 at 6:00 PM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx> wrote:
>
> Mohammed,
> The drivers installation and symbolic formation is fine!
>
> To load the drivers in the future, it will suffice to:
> $ sudo modprobe agrserial
> Any time you  want to repeat wvdialconf  test do:
> $ sudo wvdialconf  wvtest.txt
> Which targets wvtest.txt for the written informatin,
> otherwise your current /etc/wvdial.conf  will be overwritten.
>
> Try changing
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> to
> Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0
>
> With X3 meaning dial without dialtone detection.  This is necessary at some sites where line voltage is to low for modem dialtone detection.
> Then again try:
> $ sudo wvdial
> MarvS
>
> On Fri, Aug 26, 2011 at 10:11 AM, Mohammad Javad Naderi <mjnaderi@xxxxxxxxx> wrote:
>>
>> Thanks for your help.
>>
>>
>>
>> I installed dkms and then used:
>> $ sudo dpkg -i agrsm*.deb
>> and this was the result:
>>
>>
>>
>>
>> mjn@mjn-Aspire-5750G:~$ sudo dpkg -i agrsm*.deb
>> [sudo] password for mjn:
>> Selecting previously deselected package agrsm-11c11040.
>> (Reading database ... 131750 files and directories currently installed.)
>> Unpacking agrsm-11c11040 (from agrsm-11c11040_20110811_i386.deb) ...
>>
>>        The DKMS driver autocompiling package is installed.
>>        The drivers source code is being installed to the folder
>> /usr/src/agrsm-11c11040-2.1.80
>>        Then the drivers will be compiled and installed by the dkms tool
>>                provided that your System has adequate compiling support.
>>        Following kernel upgrades, complementary drivers will be
>>        automatically compiled and installed.
>>
>> Selecting previously deselected package agrsm-tools.
>> Unpacking agrsm-tools (from agrsm-tools_0.0.1-2_all.deb) ...
>> Setting up agrsm-11c11040 (20110811) ...
>>
>> kboot=2.6.35-22-generic
>>
>> DKMS support found. Attempting drivers compilation and installation
>> using DKMS actions on:
>>
>> Creating symlink /var/lib/dkms/agrsm-11c11040/2.1.80/source ->
>>                 /usr/src/agrsm-11c11040-2.1.80
>>
>> DKMS: add Completed.
>>
>> Kernel preparation unnecessary for this kernel.  Skipping...
>> applying patch GPL.patch...patching file agrsoftmodem.c
>> Hunk #1 succeeded at 211 (offset 4 lines).
>>
>>
>> Building module:
>> cleaning build area....
>> make KERNELRELEASE=2.6.35-22-generic -C
>> /lib/modules/2.6.35-22-generic/build
>> M=/var/lib/dkms/agrsm-11c11040/2.1.80/build.....
>> cleaning build area....
>>
>> DKMS: build Completed.
>>
>> agrmodem.ko:
>> Running module version sanity check.
>>  - Original module
>>   - No original module exists within this kernel
>>  - Installation
>>   - Installing to /lib/modules/2.6.35-22-generic/updates/dkms/
>>
>> agrserial.ko:
>> Running module version sanity check.
>>  - Original module
>>   - No original module exists within this kernel
>>  - Installation
>>   - Installing to /lib/modules/2.6.35-22-generic/updates/dkms/
>>
>> depmod......
>>
>> DKMS: install Completed.
>> For a first functional test, run:
>>  sudo agrsm-test
>>
>> Setting up agrsm-tools (0.0.1-2) ...
>>
>> For a first functional test, run:
>>  sudo agrsm-test
>>
>>
>>
>>
>> Then using sudo agrsm-test the result was :
>>
>>
>>
>> mjn@mjn-Aspire-5750G:~$ sudo agrsm-test
>>
>> Found drivers for boot kernel 2.6.35-22-generic at:
>> /lib/modules/2.6.35-22-generic/updates/dkms/agrserial.ko
>> /lib/modules/2.6.35-22-generic/updates/dkms/agrmodem.ko
>>
>>
>>
>> Loading drivers:
>>
>> Drivers loaded:
>> agrserial              10411  0
>> agrmodem             1250148  1
>> snd_hda_codec          87552  4
>> agrmodem,snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel
>> snd                    49006  14
>> agrmodem,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
>>
>> and symbolic link created:
>> lrwxrwxrwx 1 root root 12 2011-08-27 02:52 /dev/ttySAGR -> /dev/ttyAGS3
>>
>> Checking for utility wvdialconf
>> Found /usr/bin/wvdialconf, preparing to run:
>>        wvdialconf /etc/wvdial.conf
>> A file /etc/wvdial.conf already exists, first renaming to
>> /etc/wvdial.201108275208
>>
>> Modem Port Scan<*1>: S0   S1   S2   S3
>> ttySAGR<*1>: ATQ0 V1 E1 -- OK
>> ttySAGR<*1>: ATQ0 V1 E1 Z -- OK
>> ttySAGR<*1>: ATQ0 V1 E1 S0=0 -- OK
>> ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
>> ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
>> ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
>> ttySAGR<*1>: Modem Identifier: ATI -- Agere SoftModem Version 2.1.80.0
>> ttySAGR<*1>: Speed 4800: AT -- OK
>> ttySAGR<*1>: Speed 9600: AT -- OK
>> ttySAGR<*1>: Speed 19200: AT -- OK
>> ttySAGR<*1>: Speed 38400: AT -- OK
>> ttySAGR<*1>: Speed 57600: AT -- OK
>> ttySAGR<*1>: Speed 115200: AT -- OK
>> ttySAGR<*1>: Max speed is 115200; that should be safe.
>> ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
>> /etc/wvdial.conf<Warn>: Can't open '/etc/wvdial.conf' for reading: No
>> such file or directory
>> /etc/wvdial.conf<Warn>: ...starting with blank configuration.
>> ttySAGR<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>> Found a modem on /dev/ttySAGR.
>>
>> Modem detection successful
>> Read wdial.txt
>> Then edit /etc/wvdial.conf  with:
>>  sudo gedit /etc/wvdial.conf
>> at the lines beginning with ; and deleting the ; < >  "
>> Then try a dialout with:
>>   sudo wvdial
>>
>> The installation record has been written to ./agrsm-test.txt
>>
>>
>>
>> Then I changed wvdial.conf from
>>
>> [Dialer Defaults]
>> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> Modem Type = Analog Modem
>> ; Phone = <Target Phone Number>
>> ISDN = 0
>> ; Username = <Your Login Name>
>> Init1 = ATZ
>> ; Password = <Your Password>
>> Modem = /dev/ttySAGR
>> Baud = 115200
>>
>> to
>>
>> [Dialer Defaults]
>> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> Modem Type = Analog Modem
>> Phone = 9719099
>> ISDN = 0
>> Username = 1
>> Init1 = ATZ
>> Password = 1
>> Modem = /dev/ttySAGR
>> Baud = 115200
>>
>>
>> then using sudo wvdial  :
>>
>>
>> mjn@mjn-Aspire-5750G:~$ sudo wvdial
>> --> WvDial: Internet dialer version 1.60
>> --> 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: ATDT9719099
>> --> Waiting for carrier.
>> ATDT9719099
>> NO DIALTONE
>> --> No dial tone.
>> --> Disconnecting at Sat Aug 27 03:06:27 2011
>>
>>
>> Every time it writes the same dialog "No dial tone".
>>
>> Please help me what should I do next.
>>
>> Regards,
>> MohammadJavad Naderi
>



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

  Powered by Linux