pppd no CHAP response when using NM

2012-01-15 Thread Stefan Rutzinger

Hi,

I'm trying to connect with a GSM USB modem ZTE MF-100 (USB ID 19d2:0039) 
to a mobile broadband network (German Congstar = network of German 
Telecom) with debian testing.


Using KDE NetworkManager, my problem is that pppd doesn't answer the CHAP 
challenge and runs into a timeout (see log file). In NM, the hooks at 
Authentication and at CHAP may be checked or not, doesn't matter. If 
they are set, a hook at EAP always re-appears even when it was 
unchecked.


Using wvdial, the connection is established correctly when stupid mode = 
1 is set.


Maybe this is the root cause but I'm not sure. Is there a way to get more 
debugging (parameters of pppd...) than shown in the logfiles below? How 
can stupid mode = 1 be configured in NM (or any other parameters which 
are not accessible by the GUI of the NM)? Does it read a config file 
similar like wvdial.conf, where is it placed?


According to this page, NM works for others with this provider and this 
HW, so I assume it's not big issue:


http://marthjod.blogspot.com/2011/08/umts-usb-stick-congstar-surfstick-under.html

Anybody some hints?

greetings Stefan

system.log NetworkManager:
Dec 31 17:18:11 stefano NetworkManager[1725]: info Activation (ttyUSB2) Stage
3 of 5 (IP Configure Start) started...
Dec 31 17:18:11 stefano NetworkManager[1725]: info (ttyUSB2): device state
change: config - ip-config (reason 'none') [50 70 0]
Dec 31 17:18:11 stefano NetworkManager[1725]: info starting PPP connection
Dec 31 17:18:11 stefano NetworkManager[1725]: info pppd started with pid 9212
Dec 31 17:18:11 stefano NetworkManager[1725]: info Activation (ttyUSB2) Stage
3 of 5 (IP Configure Start) complete.
Dec 31 17:18:11 stefano pppd[9212]: Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.
so loaded.
Dec 31 17:18:11 stefano pppd[9212]: pppd 2.4.5 started by root, uid 0
Dec 31 17:18:11 stefano pppd[9212]: Removed stale lock on ttyUSB2 (pid 9196)
Dec 31 17:18:11 stefano pppd[9212]: using channel 53
Dec 31 17:18:11 stefano pppd[9212]: Using interface ppp0
Dec 31 17:18:11 stefano pppd[9212]: Connect: ppp0 -- /dev/ttyUSB2
Dec 31 17:18:11 stefano pppd[9212]: sent [LCP ConfReq id=0x1 asyncmap 0x0
magic 0x78ff7de4 pcomp accomp]
Dec 31 17:18:11 stefano NetworkManager[1725]:SCPlugin-Ifupdown: devices
added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 31 17:18:11 stefano NetworkManager[1725]:SCPlugin-Ifupdown: device
added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown
configuration found.
Dec 31 17:18:11 stefano pppd[9212]: rcvd [LCP ConfReq id=0xf asyncmap 0x0
auth chap MD5 magic 0x1171ba3 pcomp accomp]
Dec 31 17:18:11 stefano pppd[9212]: sent [LCP ConfAck id=0xf asyncmap 0x0
auth chap MD5 magic 0x1171ba3 pcomp accomp]
Dec 31 17:18:11 stefano pppd[9212]: rcvd [LCP ConfAck id=0x1 asyncmap 0x0
magic 0x78ff7de4 pcomp accomp]
Dec 31 17:18:11 stefano pppd[9212]: rcvd [LCP DiscReq id=0x10 magic=0x1171ba3]
Dec 31 17:18:11 stefano pppd[9212]: rcvd [CHAP Challenge id=0x1
3c9250a670f6b0f30cb003e7505a1ba3, name = UMTS_CHAP_SRVR]
Dec 31 17:18:32 stefano NetworkManager[1725]: warn pppd timed out or didn't
initialize our dbus module
Dec 31 17:18:32 stefano NetworkManager[1725]: info (ttyUSB2): device state
change: ip-config - failed (reason 'ip-config-unavailable') [70 120 5]
Dec 31 17:18:32 stefano NetworkManager[1725]: info Marking connection
'Congstar - Prepaid Contracts' invalid.

system.log wvdial:
Dec 31 17:19:03 stefano pppd[9242]: pppd 2.4.5 started by root, uid 0
Dec 31 17:19:03 stefano pppd[9242]: using channel 55
Dec 31 17:19:03 stefano pppd[9242]: Using interface ppp0
Dec 31 17:19:03 stefano pppd[9242]: Connect: ppp0 -- /dev/ttyUSB2
Dec 31 17:19:03 stefano pppd[9242]: sent [LCP ConfReq id=0x1 asyncmap 0x0
magic 0x7b986b17 pcomp accomp]
Dec 31 17:19:03 stefano pppd[9242]: rcvd [LCP ConfReq id=0x11 asyncmap 0x0
auth chap MD5 magic 0x117e589 pcomp accomp]
Dec 31 17:19:03 stefano pppd[9242]: sent [LCP ConfAck id=0x11 asyncmap 0x0
auth chap MD5 magic 0x117e589 pcomp accomp]
Dec 31 17:19:03 stefano pppd[9242]: rcvd [LCP ConfAck id=0x1 asyncmap 0x0
magic 0x7b986b17 pcomp accomp]
Dec 31 17:19:03 stefano pppd[9242]: sent [LCP EchoReq id=0x0 magic=0x7b986b17]
Dec 31 17:19:03 stefano NetworkManager[1725]:SCPlugin-Ifupdown: devices
added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 31 17:19:03 stefano NetworkManager[1725]:SCPlugin-Ifupdown: device 
added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown 
configuration found.

Dec 31 17:19:03 stefano pppd[9242]: rcvd [LCP DiscReq id=0x12 magic=0x117e589]
Dec 31 17:19:03 stefano pppd[9242]: rcvd [CHAP Challenge id=0x1
de3a583326df80e580adba6fcee7d448, name = UMTS_CHAP_SRVR]
Dec 31 17:19:03 stefano pppd[9242]: sent [CHAP Response id=0x1
1526240390ef3775893ada2f64f157c2, name = t-mobile]
Dec 31 17:19:03 stefano pppd[9242]: rcvd [LCP EchoRep id=0x0 magic=0x117e589 7b
 98 6b 17]
Dec 31 17:19:03 stefano pppd[9242]: rcvd [CHAP Success id=0x1 ]
Dec 31 17:19:03 stefano pppd[9242]: CHAP 

backlight control lost after resume - screen black after hibernate

2011-08-19 Thread Stefan Rutzinger

Hello,

I run Wheezy on a quite new sony vaio PCG laptop with GeForce GT 555M 
(GF106) and a second intel 2D video card and nouveau FB.


After resume from suspend or hibernate, the backlight control gets lost. I 
still can echo and cat to /sys/class/backlight/acpi_video[0,1]/ but it has 
no effect. After a fresh boot, everything behaves as expected and e.g.

FN-Brightness keys work well.

This is especially annoying since at hibernate-resume the backlight is 
switched _off_ and there is no way to switch it back on anymore. It is 
actually off which can be seen when the memory is restored from disk and 
the cursor is blinking in the corner, one can see a slight shine at the 
edges of the display which disapperas immediately after.


The system however is resumed and working, it can be shutdown -r now 
'blind' or be accessed by ssh.


There are a lot of descriptions about the backlight not being restored to 
the correct value but there is nothing about the /sys/../backlight branch 
being without function after resume at all.


Any Ideas?
Stefan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: 
http://lists.debian.org/alpine.deb.2.00.1108191606120.23...@valhalla.fs.tum.de



Lost wifi connection

2011-08-19 Thread Stefan Rutzinger

Hello,

yet another problem. Randomly, my wifi card drops its connection. It seems 
to forget its setting but everything which can be found in the logs is 
shown below. It needs ifdown wlan0; ifup wlan0 to recover.


This seems to be related to the link quality because this occurs more 
often when the signal is poor. However it's annoying having to restart the 
network whenever the signal strength dropped just for a second.


# cat /var/log/messages
kernel: [  363.852630] cfg80211: Calling CRDA to update world regulatory
domain
kernel: [  374.473765] ADDRCONF(NETDEV_UP): wlan0:
link is not ready
kernel: [  375.484569] ADDRCONF(NETDEV_CHANGE):
wlan0: link becomes ready

# cat /proc/version
Linux version 3.0.0-1-amd64 (Debian 3.0.0-1) (b...@decadent.org.uk) (gcc 
version 4.5.3 (Debian 4.5.3-4) ) #1 SMP Sun Jul 24 02:24:44 UTC 2011


# lspci | grep Wi
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless 
Network Adapter (PCI-Express) (rev 01)


Does anybody know about such a behaviour?
Stefan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: 
http://lists.debian.org/alpine.deb.2.00.1108192134080.26...@valhalla.fs.tum.de