Re: Fwd: Re: Re: Re: Ludwig Gebauer, Germany, openSUSE 11.4 "Celadon" - Kernel kernel 2.6.37.1-1.2-desktop

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

 



Ludwig,

Become root, and open an editor and add the nameservers to
/etc/resolv.conf.  That or become root user

$ su -
passwd:

--> primary   DNS address 195.129.111.50
--> secondary DNS address 195.129.111.49

# echo "nameserver 195.129.11.50" >> /etc/resolv.conf
# echo "nameserver 195.129.11.49" >> /etc/resolv.conf

If these numbers change, just use the ones that come up when you are connected:

ATDT019193790
CONNECT 45333

For some reason or another, wvdial whether Auto DNS = 1 is used or
not, the file /etc/resolv.conf is not updated.  Just add them manually
and you should be able to browse.

Regards,

Antonio


On Sun, Aug 28, 2011 at 8:39 AM, Ludwig Gebauer <ludwiggebauer@xxxxxxx> wrote:
> Seems to be a never ending story.
>
> slmodemd does not work with SuSE 11.4 "*-desktop" kernels, neither 64 nor 32 bit. Neither with precompiled nor with selfcompiled (in 32 bit) versions of slmodemd.  Reason seems to be SuSE's questionable hack with shorter timeslices, which tends to make the system react faster, but to work slower, see (sorry, found it only in german):
>
> http://de.opensuse.org/SDB:Meldung_No_Carrier_mit_Winmodem-Treiber
> http://de.opensuse.org/SDB:SuSE_Linux_9.0_/_Interaktivit%C3%A4t_ausgleichen
>
> Deleted in SuSE 11.4 32 bit the *-desktop" kernel and installed instead the "*-default" kernel (in 64 bit not yet tested).
> slmodemd works now, the cryptic message "error: sched_setscheduler: Operation not permitted" disappeared.
>
> Now wvdial works, but browsing fails:
>
> # 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.
> --> Idle Seconds = 300, disabling automatic reconnect.
> --> Sending: ATDT019193790
> --> Waiting for carrier.
> ATDT019193790
> CONNECT 45333
> --> Carrier detected.  Starting PPP immediately.
> --> Starting pppd at Sun Aug 28 13:58:06 2011
> --> Pid of pppd: 8640
> --> Using interface ppp0
> --> local  IP address 149.225.64.80
> --> remote IP address 139.4.248.3
> --> primary   DNS address 195.129.111.50
> --> secondary DNS address 195.129.111.49
> --> Script /etc/ppp/ip-up run successful
> --> Default route Ok.
> --> warning, no nameserver found `/etc/resolv.conf`
> --> Nameserver (DNS) failure, the connection may not work.
> --> Connected... Press Ctrl-C to disconnect
>
> Yes, in wvdialconf is "Auto DNS = 1"
>
> (With "Auto DNS = 0" the two lines "primary DNS adress..." and "secondary DNS adress..." are missing).
>
> Though this seems to be no more a modem problem, but a problem of pppd, I would appreciate some help.
>
> Regards
> Ludwig
>
>
>
> -------- Original-Nachricht --------
> Datum: Wed, 17 Aug 2011 18:36:38 +0200
> Von: "Ludwig Gebauer" <ludwiggebauer@xxxxxxx>
> An: discuss@xxxxxxxxxxxxx
> Betreff: Fwd: Re: Re: Re: Ludwig Gebauer, Germany, openSUSE 11.4 "Celadon" - Kernel kernel 2.6.37.1-1.2-desktop
>
> Antonio,
>
> for completeness:
>
> linux-k7za:~ # slmodemd -d -c  GERMANY --alsa hw:0,6
> SmartLink Soft Modem: version 2.9.11 Aug  9 2011 14:15:04
> <509.933718> SmartLink Soft Modem: version 2.9.11 Aug  9 2011 14:15:04
> <509.933749> hw:0,6: startup modem...
> <509.934052> hw:0,6: update termios...
> symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
> modem `hw:0,6' created. TTY is `/dev/pts/2'
> <509.934183> open file: /var/lib/slmodem/data.hw:0,6...
> <509.934213> cannot open '/var/lib/slmodem/data.hw:0,6': No such file or directory
> error: sched_setscheduler: Operation not permitted
> <509.935465> main: rt applyed: SCHED_FIFO, pri 99
> Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
> <520.213998> main: termios changed.
> <520.214021> hw:0,6: update termios...
> <520.274303> main: termios changed.
> <520.274325> hw:0,6: update termios...
> <520.376343> hw:0,6: run cmd: ATZ
> <520.376363> hw:0,6: modem reset...
> <520.376368> hw:0,6: modem set state: 1 --> 1...
> <520.376375> hw:0,6: modem set mode: -> 0...
> <520.376381> hw:0,6: modem report result: 0 (OK)
> <520.478372> hw:0,6: run cmd: ATQ0V1E1S0=0X3&C1&D2+MS=90
> <520.478405> hw:0,6: modem report result: 0 (OK)
> <520.580350> hw:0,6: run cmd: ATDT019193790
> <520.580378> hw:0,6: modem dial: T019193790...
> <520.580384> hw:0,6: modem_dial_start...
> <520.580412> hw:0,6: modem_start..
> <520.580417> hw:0,6: modem set state: 1 --> 2...
> <520.580423> hw:0,6: new state: DP_ESTAB
> <520.580427> main: alsa_ioctl: cmd 8, arg 3...
> <520.580432> hw:0,6: modem set hook: 0 --> 1...
> <520.580437> main: alsa_ioctl: cmd 2, arg 1...
> <520.580549> main: alsa_ioctl: cmd 11, arg 0...
> <520.580597> main: alsa_ioctl: cmd 4, arg 2580...
> <520.580603> main: alsa_ioctl: cmd 7, arg 30...
> <520.580608> main: alsa_start...
> Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
> Its setup is:
>  stream       : PLAYBACK
>  access       : RW_INTERLEAVED
>  format       : S16_LE
>  subformat    : STD
>  channels     : 1
>  rate         : 9600
>  exact rate   : 9600 (9600/1)
>  msbits       : 16
>  buffer_size  : 2048
>  period_size  : 64
>  period_time  : 6666
>  tstamp_mode  : NONE
>  period_step  : 1
>  avail_min    : 64
>  period_event : 0
>  start_threshold  : 2147483647
>  stop_threshold   : 2048
>  silence_threshold: 0
>  silence_size : 0
>  boundary     : 1073741824
>  appl_ptr     : 0
>  hw_ptr       : 0
> Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
> Its setup is:
>  stream       : CAPTURE
>  access       : RW_INTERLEAVED
>  format       : S16_LE
>  subformat    : STD
>  channels     : 1
>  rate         : 9600
>  exact rate   : 9600 (9600/1)
>  msbits       : 16
>  buffer_size  : 2048
>  period_size  : 64
>  period_time  : 6666
>  tstamp_mode  : NONE
>  period_step  : 1
>  avail_min    : 64
>  period_event : 0
>  start_threshold  : 2147483647
>  stop_threshold   : 2048
>  silence_threshold: 0
>  silence_size : 0
>  boundary     : 1073741824
>  appl_ptr     : 0
>  hw_ptr       : 0
> <520.582928> main: startup write: 384...
> <520.653022> main: alsa xrun: try to recover...
> <520.653318> main: alsa xrun: recovered.
> <520.653325> main: dev read = 0
> <520.654040> main: alsa xrun: try to recover...
> <520.654361> main: alsa xrun: recovered.
> <520.654367> main: dev write = 0
> <520.655069> main: alsa xrun: try to recover...
> <520.655387> main: alsa xrun: recovered.
> <520.655394> main: dev write = 0
> <520.656109> main: alsa xrun: try to recover...
> <520.656829> main: alsa xrun: recovered.
> <520.656851> main: dev write = 0
> <520.656881> main: alsa xrun: try to recover...
> <520.657196> main: alsa xrun: recovered.
> <520.657202> main: dev read = 0
> <520.658040> main: alsa xrun: try to recover...
> <520.658449> main: alsa xrun: recovered.
> <520.658464> main: dev write = 0
> <520.659177> main: alsa xrun: try to recover...
> <520.659555> main: alsa xrun: recovered.
> <520.659570> main: dev write = 0
> <520.659609> main: alsa xrun: try to recover...
> <520.659923> main: alsa xrun: recovered.
> <520.659929> main: dev read = 0
> <520.660771> main: alsa xrun: try to recover...
> <520.661093> main: alsa xrun: recovered.
> <520.661099> main: dev write = 0
> <520.661922> main: alsa xrun: try to recover...
> <520.662237> main: alsa xrun: recovered.
> <520.662242> main: dev write = 0
> <520.663079> main: alsa xrun: try to recover...
> <520.663448> main: alsa xrun: recovered.
> <520.663462> main: dev write = 0
> <520.664173> main: alsa xrun: try to recover...
> <520.664572> main: alsa xrun: recovered.
> <520.664587> main: dev write = 0
> <520.665385> main: alsa xrun: try to recover...
> <520.665719> main: alsa xrun: recovered.
> <520.665724> main: dev write = 0
> <520.666534> main: alsa xrun: try to recover...
> <520.666862> main: alsa xrun: recovered.
> <520.666868> main: dev write = 0
> <520.667680> main: alsa xrun: try to recover...
> <520.668008> main: alsa xrun: recovered.
> <520.668013> main: dev write = 0
> <520.668812> main: alsa xrun: try to recover...
> <520.669139> main: alsa xrun: recovered.
> <520.669144> main: dev write = 0
> <520.669191> main: alsa xrun: try to recover...
> <520.669614> main: alsa xrun: recovered.
> <520.669629> main: dev read = 0
> <520.670447> main: alsa xrun: try to recover...
> <520.670780> main: alsa xrun: recovered.
> <520.670786> main: dev write = 0
> <520.671620> main: alsa xrun: try to recover...
> <520.671949> main: alsa xrun: recovered.
> <520.671954> main: dev write = 0
> <520.671984> main: alsa xrun: try to recover...
> <520.672421> main: alsa xrun: recovered.
> <520.672431> main: dev read = 0
> <520.673117> main: alsa xrun: try to recover...
> <520.673532> main: alsa xrun: recovered.
> <520.673546> main: dev write = 0
> <520.674256> main: alsa xrun: try to recover...
> <520.674698> main: alsa xrun: recovered.
> <520.674713> main: dev write = 0
> <520.675527> main: alsa xrun: try to recover...
> <520.675841> main: alsa xrun: recovered.
> <520.675846> main: dev write = 0
> <520.676647> main: alsa xrun: try to recover...
> <520.676966> main: alsa xrun: recovered.
> <520.676971> main: dev write = 0
> <520.677784> main: alsa xrun: try to recover...
> <520.678112> main: alsa xrun: recovered.
> <520.678117> main: dev write = 0
> <520.678932> main: alsa xrun: try to recover...
> <520.679257> main: alsa xrun: recovered.
> <520.679263> main: dev write = 0
> <520.679420> main: alsa xrun: try to recover...
> <520.679740> main: alsa xrun: recovered.
> <520.679745> main: dev read = 0
> <520.680572> main: alsa xrun: try to recover...
> <520.680910> main: alsa xrun: recovered.
> <520.680916> main: dev write = 0
> <520.680962> main: alsa xrun: try to recover...
> <520.681409> main: alsa xrun: recovered.
> <520.681482> main: dev read = 0
> <520.681526> main: alsa xrun: try to recover...
> <520.681846> main: alsa xrun: recovered.
> <520.681852> main: dev read = 0
> <520.681880> main: alsa xrun: try to recover...
> <520.682195> main: alsa xrun: recovered.
> <520.682200> main: dev read = 0
> <520.683121> main: alsa xrun: try to recover...
> <520.683531> main: alsa xrun: recovered.
> <520.683546> main: dev write = 0
> <520.683840> hw:0,6: modem_update_status: 16
> <520.683848> hw:0,6: --> FINISH.
> <520.683852> hw:0,6: modem_hup...
> <520.683856> hw:0,6: modem set state: 2 --> 9...
> <520.683862> hw:0,6: new state: DP_DISC
> <520.683878> hw:0,6: modem_update_status: 16
> <520.683883> hw:0,6: --> FINISH.
> <520.683887> hw:0,6: modem_hup...
> <520.683903> hw:0,6: modem_update_status: 16
> <520.683907> hw:0,6: --> FINISH.
> <520.683912> hw:0,6: modem_hup...
> <520.683927> hw:0,6: modem_update_status: 16
> <520.683932> hw:0,6: --> FINISH.
> <520.683936> hw:0,6: modem_hup...
> <520.683952> hw:0,6: modem_update_status: 16
> <520.683956> hw:0,6: --> FINISH.
> <520.683960> hw:0,6: modem_hup...
> <520.683976> hw:0,6: modem_update_status: 16
> <520.683981> hw:0,6: --> FINISH.
> <520.683985> hw:0,6: modem_hup...
> <520.684001> hw:0,6: modem_update_status: 16
> <520.684005> hw:0,6: --> FINISH.
> <520.684009> hw:0,6: modem_hup...
> <520.684025> hw:0,6: modem_update_status: 16
> <520.684030> hw:0,6: --> FINISH.
> <520.684034> hw:0,6: modem_hup...
> <520.684050> hw:0,6: modem_update_status: 16
> <520.684054> hw:0,6: --> FINISH.
> <520.684058> hw:0,6: modem_hup...
> <520.684074> hw:0,6: modem_update_status: 16
> <520.684079> hw:0,6: --> FINISH.
> <520.684082> hw:0,6: modem_hup...
> <520.684099> hw:0,6: modem_update_status: 16
> <520.684104> hw:0,6: --> FINISH.
> <520.684108> hw:0,6: modem_hup...
> <520.684123> hw:0,6: modem_update_status: 16
> <520.684128> hw:0,6: --> FINISH.
> <520.684132> hw:0,6: modem_hup...
> <520.684148> hw:0,6: modem_update_status: 16
> <520.684153> hw:0,6: --> FINISH.
> <520.684157> hw:0,6: modem_hup...
> <520.684172> hw:0,6: modem_update_status: 16
> <520.684177> hw:0,6: --> FINISH.
> <520.684181> hw:0,6: modem_hup...
> <520.684197> hw:0,6: modem_update_status: 16
> <520.684201> hw:0,6: --> FINISH.
> <520.684205> hw:0,6: modem_hup...
> <520.684221> hw:0,6: modem_update_status: 16
> <520.684226> hw:0,6: --> FINISH.
> <520.684230> hw:0,6: modem_hup...
> <520.684245> hw:0,6: modem_update_status: 16
> <520.684250> hw:0,6: --> FINISH.
> <520.684254> hw:0,6: modem_hup...
> <520.684897> hw:0,6: modem_update_status: 16
> <520.684910> hw:0,6: --> FINISH.
> <520.684914> hw:0,6: modem_hup...
> <520.684930> hw:0,6: modem_update_status: 16
> <520.684935> hw:0,6: --> FINISH.
> <520.684939> hw:0,6: modem_hup...
> <520.684955> hw:0,6: modem_update_status: 16
> <520.684959> hw:0,6: --> FINISH.
> <520.684963> hw:0,6: modem_hup...
> <520.684979> hw:0,6: modem_update_status: 16
> <520.684984> hw:0,6: --> FINISH.
> <520.684988> hw:0,6: modem_hup...
> <520.685004> hw:0,6: modem_update_status: 16
> <520.685008> hw:0,6: --> FINISH.
> <520.685012> hw:0,6: modem_hup...
> <520.685028> hw:0,6: modem_update_status: 16
> <520.685033> hw:0,6: --> FINISH.
> <520.685037> hw:0,6: modem_hup...
> <520.685053> hw:0,6: modem_update_status: 16
> <520.685057> hw:0,6: --> FINISH.
> <520.685061> hw:0,6: modem_hup...
> <520.685077> hw:0,6: modem_update_status: 16
> <520.685081> hw:0,6: --> FINISH.
> <520.685085> hw:0,6: modem_hup...
> <520.685101> hw:0,6: modem_update_status: 16
> <520.685106> hw:0,6: --> FINISH.
> <520.685110> hw:0,6: modem_hup...
> <520.685126> hw:0,6: modem_update_status: 16
> <520.685130> hw:0,6: --> FINISH.
> <520.685134> hw:0,6: modem_hup...
> <520.685150> hw:0,6: modem_update_status: 16
> <520.685155> hw:0,6: --> FINISH.
> <520.685159> hw:0,6: modem_hup...
> <520.685164> hw:0,6: modem_stop..
> <520.685168> main: alsa_stop...
> <520.685204> hw:0,6: modem set hook: 1 --> 0...
> <520.685211> main: alsa_ioctl: cmd 2, arg 0...
> <520.685781> main: alsa_ioctl: cmd 8, arg 0...
> <520.685806> hw:0,6: modem set state: 9 --> 1...
> <520.685817> hw:0,6: new state: MODEM_IDLE
> <520.685822> hw:0,6: modem report result: 6 (NO DIALTONE)
> <520.685831> main: dev write = 0
> <520.787483> main: termios changed.
> <520.787509> hw:0,6: update termios...
> <520.787541> main: pty closed.
> ^C<540.854338> main: signal 2: mark termination.
> <540.854375> hw:0,6: modem_delete...
>
>
>
> linux-k7za:~ # 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 X3 &C1 &D2 +MS=90
> ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=90
> OK
> --> Modem initialized.
> --> Idle Seconds = 300, disabling automatic reconnect.
> --> Sending: ATDT019193790
> --> Waiting for carrier.
> ATDT019193790
> NO DIALTONE
> --> No dial tone.
> --> Disconnecting at Wed Aug 17 18:12:00 2011
>
>
> Regards
> Ludwig
>
>
>
> -------- Original-Nachricht --------
> Datum: Mon, 15 Aug 2011 10:47:19 +0200
> Von: "Ludwig Gebauer" <ludwiggebauer@xxxxxxx>
> An: discuss@xxxxxxxxxxxxx
> Betreff: Re: Re: Re: Ludwig Gebauer, Germany, openSUSE 11.4 "Celadon" - Kernel kernel 2.6.37.1-1.2-desktop
>
> Antonio,
>
> yes, I did read the documentation contained in SLMODEMD_gcc4.5_alsa1.0.24.tar.gz :-))
>
> Yes, I tried that Init2 string
> Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS90
> and monitored the phone line with a voltmeter and high impedance (crystal) earphones. Same result: The modem takes up the phone and hangs it up immediately, doesn't dial.
>
> Regards
> Ludwig
>
> -------- Original-Nachricht --------
>> Datum: Sun, 14 Aug 2011 12:19:31 -0500
>> Von: Antonio Olivares <olivares14031@xxxxxxxxx>
>> An: Ludwig Gebauer <ludwiggebauer@xxxxxxx>
>> CC: discuss@xxxxxxxxxxxxx
>> Betreff: Re: Re: Re: Ludwig Gebauer, Germany, openSUSE 11.4 "Celadon" - Kernel kernel 2.6.37.1-1.2-desktop
>
>> Ludwig,
>>
>> Try editing your /etc/wvdial.conf file and change Init 2 as follows:
>>
>> sample Init 2 line:
>>
>> Modem = /dev/ttySL0
>> Baud = 460800
>> Init = ATZ
>> Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS90
>> ISDN = 0
>> Modem Type = Analog Modem
>> Phone = YOUR_ISP_PHONE_NUMBER_GOES_HERE
>> Username = YOUR_USERNAME
>> Password = YOUR_PASSWORD
>> Carrier Check = no
>> Stupid Mode = yes
>>
>> Try that and report back.
>>
>> Regards,
>>
>> Antonio
>>
>>
>>
>> On Sun, Aug 14, 2011 at 12:08 PM, Ludwig Gebauer <ludwiggebauer@xxxxxxx>
>> wrote:
>> > Marvin,
>> >
>> > thank you very much.
>> >
>> > Now the modem shows some reaction, but no real success: Wvdial exits
>> with a happy "NO DIALTONE". A shot dip in phone line voltage indicates, that
>> the modem picks up the phone, but immediately hangs it up again, before any
>> telephone provider might have a chance to send a dialtone. The hardware
>> seems o.k.; I am posting via the same hardware and phone line under SuSE 10.3.
>> >
>> > Fiddling with drivers (Removing oss-drivers, inserting available
>> snd_intel_*-drivers) and wvdial.conf settings (Reduced baudrate, dial without
>> waiting for dialtone, etc.) brought no change.
>> >
>> > Suspicious:
>> >
>> > linux-k7za:~ # slmodemd -c GERMANY --alsa hw:0,6
>> > SmartLink Soft Modem: version 2.9.11 Aug  9 2011 14:15:04
>> > symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
>> > modem `hw:0,6' created. TTY is `/dev/pts/2'
>> > error: sched_setscheduler: Operation not permitted
>> > Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
>> >
>> > Whitch Operation?? I suspected a priority problem, invoced slmodend with
>> nice -20, but no change.
>> >
>> > Also suspicious:
>> >
>> > linux-k7za:~ # dmesg
>> > .
>> > .
>> > [  536.642852] hda-intel: IRQ timing workaround is activated for card
>> #0. Suggest a bigger bdl_pos_adj.
>> >
>> > Regards
>> > Ludwig
>
> --
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
>



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

  Powered by Linux