<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR: #000000">
<DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>You could check raspberrypi.org:- <A 
href="http://www.raspberrypi.org/">http://www.raspberrypi.org/</A></DIV>
<DIV>Click on Forum, and in the search box 'stakis3g', lots of hits.</DIV>
<DIV>As you are getting random crashes and have a 2A power supply, its still 
possible the voltage is down, under load.</DIV>
<DIV>Check the voltage on the Pi, TP1 to TP2, try it with nothing plugged in 
except the power supply, plug things</DIV>
<DIV>in one at a time, check the voltage. Are you overclocking? Check the 
voltage under heavy CPU load.</DIV>
<DIV>Does your powered hub backfeed power to the Pi?</DIV>
<DIV>I'm using a 5.25V - 2A power supply, after it gets to the Pi through the 
cables and connectors. it drops to</DIV>
<DIV>5.1V and under load to 5.06V (I'm overclocking to 1Ghz) and a 7 port hub 
with a 3A power supply.</DIV>
<DIV>About 4.85V TPI to TP2 is a working minimum under load.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=mike.giles@gmx.com 
href="mailto:mike.giles@gmx.com">Mike Giles</A> </DIV>
<DIV><B>Sent:</B> Thursday, January 09, 2014 8:28 AM</DIV>
<DIV><B>To:</B> <A title=kent@mailman.lug.org.uk 
href="mailto:kent@mailman.lug.org.uk">Kent Linux User Group - General Topics</A> 
</DIV>
<DIV><B>Subject:</B> Re: [Klug-general] Raspberry Pi Serial terminal 
server</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'><SPAN 
style="FONT-FAMILY: verdana"><SPAN style="FONT-SIZE: 12px">Hi Michael,<BR>Thanks 
very much for the info, I will give this a go.<BR>I guess I can leave ser2net in 
rc.local ?<BR><BR>Best Regards,<BR>Mike 
<P 
style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px"> </P>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN: 0px 0px 0px 5px; BORDER-LEFT: #ccc 1px solid" 
type="cite">
  <P 
  style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px"><SPAN 
  style="FONT-FAMILY: verdana"><SPAN style="FONT-SIZE: 12px">----- Original 
  Message -----</SPAN></SPAN></P>
  <P 
  style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px"><SPAN 
  style="FONT-FAMILY: verdana"><SPAN style="FONT-SIZE: 12px">From: Michael 
  Miller</SPAN></SPAN></P>
  <P 
  style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px"><SPAN 
  style="FONT-FAMILY: verdana"><SPAN style="FONT-SIZE: 12px">Sent: 01/08/14 
  11:58 PM</SPAN></SPAN></P>
  <P 
  style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px"><SPAN 
  style="FONT-FAMILY: verdana"><SPAN style="FONT-SIZE: 12px">To: Kent Linux User 
  Group - General Topics</SPAN></SPAN></P>
  <P 
  style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px"><SPAN 
  style="FONT-FAMILY: verdana"><SPAN style="FONT-SIZE: 12px">Subject: Re: 
  [Klug-general] Raspberry Pi Serial terminal server</SPAN></SPAN></P>  
  <DIV>
  <DIV>
  <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR: #000000">
  <DIV>Hello,</DIV>
  <DIV> </DIV>
  <DIV>To setup sakis3g</DIV>
  <DIV><A 
  title=http://lawrencematthew.wordpress.com/2013/08/07/connect-raspberry-pi-to-a-3g-network-automatically-during-its-boot/ 
  href="http://lawrencematthew.wordpress.com/2013/08/07/connect-raspberry-pi-to-a-3g-network-automatically-during-its-boot/">http://lawrencematthew.wordpress.com/2013/08/07/connect-raspberry-pi-to-a-3g-network-automatically-during-its-boot/</A></DIV>
  <DIV 
  style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
  <DIV style="FONT: 10pt tahoma">
  <DIV><FONT face=Arial>There is a note about stopping and starting the service 
  without a reboot.</FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT face=Arial>Regards</FONT></DIV>
  <DIV><FONT face=Arial>Michael</FONT></DIV>
  <DIV> </DIV>
  <DIV><STRONG>From:</STRONG> <A title=mike.giles@gmx.com 
  href="mailto:mike.giles@gmx.com">Mike Giles</A></DIV>
  <DIV style="BACKGROUND: #f5f5f5">
  <DIV><B>Sent:</B> Tuesday, January 07, 2014 1:41 PM</DIV>
  <DIV><B>To:</B> <A title=kent@mailman.lug.org.uk 
  href="mailto:kent@mailman.lug.org.uk">kent@mailman.lug.org.uk</A></DIV>
  <DIV><B>Subject:</B> [Klug-general] Raspberry Pi Serial terminal 
  server</DIV></DIV></DIV>
  <DIV> </DIV></DIV>
  <DIV 
  style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>Good 
  Afternoon,<BR>I'm working on an HNC assignment using a Raspberry Pi model B 
  running<BR>wheezy-raspian.<BR>I'm a Linux Novice.<BR>The Kernel 
  is:<BR>pi@raspberrypi /usr/bin/modem3g $ cat /proc/version<BR>Linux version 
  3.6.11+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731<BR>(prerelease) 
  (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) )<BR>#538 PREEMPT 
  Fri Aug 30 20:42:08 BST 2013<BR><BR>I have been using sakis3g and ser2net to 
  connect the RPi to the cellular<BR>network and act as a serial terminal 
  server. (based on various posts and<BR>blogs)<BR>I have added the following to 
  rc.local in an attempt to connect to the<BR>mobile network and configure the 
  serial terminal server.<BR>****<BR>#!/bin/sh -e<BR>#<BR># rc.local<BR>#<BR># 
  This script is executed at the end of each multiuser runlevel.<BR># Make sure 
  that the script will "exit 0" on success or any other<BR># value on 
  error.<BR>#<BR># In order to enable or disable this script just change the 
  execution<BR># bits.<BR>#<BR># By default this script does nothing.<BR><BR># 
  Print the IP address<BR>_IP=$(hostname -I) || true<BR>if [ "$_IP" ]; 
  then<BR>  printf "My IP address is %s\n" "$_IP"<BR>fi<BR><BR>(sleep 
  2;sudo /usr/local/sbin/ser2net -c /etc/ser2net.conf -n) &<BR>#sudo 
  /usr/bin/modem3g/sakis3g connect<BR>(sleep 5;sudo /home/pi/connect.sh) 
  &<BR>exit 0<BR><BR>****<BR>connect.sh<BR>****<BR>#!/bin/bash<BR># script 
  to connect to mobile network<BR>echo "Running Sakis3g"<BR>sleep 10<BR>sudo 
  /usr/bin/modem3g/sakis3g connect --console APN=CUSTOM_APN<BR>CUSTOM_APN='apn' 
  APN_USER='user' APN_PASS='password' USBDRIVER=option<BR>USBMODEM=12d1:1003 
  OTHER=USBMODEM MODEM=OTHER<BR>****<BR>This normally works from a power on but 
  often doesn't from a reboot.<BR>I would like to debug the boot sequence to try 
  and make this more reliable<BR>however I'm not sure how to enable/capture the 
  debug output, I can't see<BR>anything in /var/logs.<BR>Is there any debug I 
  can enable or re-direct the console output to a file ?<BR><BR>I have found 
  that the 3g modem is not always listed in lsusb.<BR><BR>I also experience 
  random hangs/crashes and a power cycle is required to<BR>recover. I'm not sure 
  if this is hardware related. I have a 2A power adapter<BR>and a powered USB 
  hub that has the 3g modem, wifi adapter, mouse and<BR>keyboard connected to 
  it. The RPi will run for varying lengths of time.<BR>Any debug help would be 
  much appreciated.<BR>Best 
  Regards,<BR>Mike<BR><BR><BR>_______________________________________________<BR>Kent 
  mailing 
  list<BR>Kent@mailman.lug.org.uk<BR>https://mailman.lug.org.uk/mailman/listinfo/kent</DIV></DIV></DIV></DIV></BLOCKQUOTE>
<P 
style="PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px"> </P></SPAN></SPAN>
<P>
<HR>
_______________________________________________<BR>Kent mailing 
list<BR>Kent@mailman.lug.org.uk<BR>https://mailman.lug.org.uk/mailman/listinfo/kent</DIV></DIV></DIV></BODY></HTML>