**** BEGIN LOGGING AT Sat Aug 31 02:59:58 2013 Aug 31 09:02:14 I'm going to soon migrate to a system that doesn't do X :) Aug 31 09:46:19 lindi-: wayland? Aug 31 09:46:53 pabs3: android Aug 31 09:47:00 ah Aug 31 09:47:27 Replicant or? Aug 31 09:51:23 undecided Aug 31 10:28:18 I've been using CM during my current travels Aug 31 17:21:09 Hello, I have a problem with GPRS. What is the log file for it? Aug 31 17:27:51 I'm connecting now using GPRS in gta02 and after while it disconnects Aug 31 17:28:25 I can't find anything in the log files Aug 31 17:33:01 waraqa: pppd uses syslog Aug 31 17:33:10 waraqa: so it depends on your syslog config Aug 31 17:33:29 waraqa: usually its /var/log/messages or /var/log/daemon etc Aug 31 17:33:53 PaulFertser: Thanks Aug 31 17:34:10 PaulFertser: I will check them Aug 31 17:34:18 waraqa: what's your OS? Aug 31 17:34:40 SHR Core Aug 31 17:37:18 PaulFertser: There is no /var/log/messages Aug 31 17:38:49 There is /var/log/ppp.log but nothing related to the problem Aug 31 17:45:25 waraqa: you can add "debug" to your pppd options in fsogsmd, then you'll have everything that's there. Aug 31 17:47:04 PaulFertser: I added it but nothing changed Aug 31 17:57:00 waraqa: ps will tell you the parameters with which pppd is started. proceed from there and its manpage. Aug 31 17:59:51 PaulFertser: Do you mean I need to take the parameters and reexecute ppp in the shell? Aug 31 18:01:50 waraqa: no, I mean you need to take a look at the actual process to make sure it has "debug" as one of its parameters and then to find out where it actually sends its debugging output. Aug 31 18:02:32 PaulFertser: It has Aug 31 18:02:35 (pppd sends via syslog so you'll need to check your syslog config) Aug 31 18:04:00 PaulFertser: The log file specified is /var/log/ppp.log Aug 31 18:04:38 waraqa: ok, so you'll have all pppd debugging in there Aug 31 18:05:26 When I lose the connection, I can find nothing new there Aug 31 18:07:55 waraqa: can you pastebin the last few lines? Aug 31 18:08:26 Ok Aug 31 18:08:46 PaulFertser: Now it's ok since I'm still connected Aug 31 18:23:31 PaulFertser: http://pastebin.com/iLekHNug Aug 31 18:27:34 PaulFertser: Do you think I can find anything useful in dmesg? Aug 31 18:30:15 waraqa: that's not debugging pppd output for sure Aug 31 18:31:59 o/ Aug 31 18:33:04 PaulFertser: (ps aux | grep ppp) outputs: Aug 31 18:33:14 /usr/sbin/pppd notty 115200 nodetach nodefaultroute noreplacedefaultroute debug hide-password holdoff 3 ipcp-accept-local ktune ipcp-max-configure 4 noipdefault novj novjccomp proxyarp usepeerdns logfile /var/log/ppp.log plugin /usr/lib/cornucopia/modules/fsogsm/ppp2fsogsmd.so Aug 31 18:33:38 DocScrutinizer05: hey :) Aug 31 18:33:44 and Aug 31 18:33:46 root 537 0.0 0.6 19640 876 ? S 21:08 0:03 /usr/sbin/pppd notty 115200 nodetach nodefaultroute noreplacedefaultroute debug hide-password holdoff 3 ipcp-accept-local ktune ipcp-max-configure 4 noipdefault novj novjccomp proxyarp usepeerdns logfile /var/log/ppp.log plugin /usr/lib/cornucopia/modules/fsogsm/ppp2fsogsmd.so Aug 31 18:33:50 waraqa: and what's your syslog config? Aug 31 18:34:09 PaulFertser: I don't know what is syslog config? Aug 31 18:36:03 PaulFertser: How to check that? Aug 31 18:48:48 PaulFertser: Do you mean this one /etc/syslog-startup.conf? Aug 31 18:49:39 #LOGLEVEL=5 # local log level (between 1 and 8) Aug 31 18:49:45 waraqa: sorry, drinking wine with my wife here on our summer vacation you know.. Aug 31 18:50:17 waraqa: there should be some explicit config of the syslog daemon that tells exactly what goes where. Aug 31 18:50:34 Probably it's configured to /var/log/debug Aug 31 18:52:12 PaulFertser: in the same file there is LOGFILE=/var/log/messages # where to log (file) Aug 31 18:52:49 but acutally this file is not available Aug 31 19:01:06 dos1: Hi Aug 31 19:01:17 waraqa: hello Aug 31 19:01:34 I have a problem with GPRS in gta02 Aug 31 19:02:09 dos1: Do you know what can I do to get debug from ppp? Aug 31 19:11:58 waraqa: loglevel=DEBUG in fsogsmd.conf should be enough, isn't it? Aug 31 19:12:25 dos1: Does it affect ppp also? Aug 31 19:33:24 waraqa: I think it should Aug 31 19:33:35 judging from code Aug 31 19:33:37 160 ppp.set_debug( onDebugFromAtPPP ); Aug 31 19:33:39 161 ppp.set_recording( "/tmp/ppp.log" ); Aug 31 19:33:59 public void onDebugFromAtPPP( string str ) { assert( logger.debug( @"ThirdParty.At.PPP: $str" ) ); } Aug 31 19:34:02 dos1: Ok, I will try it **** ENDING LOGGING AT Sun Sep 01 02:59:58 2013