RE: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-16 Thread Ed Kapitein
Hi KaZeR,

My provider also only allow http(s).
If you happen to have acces to an ADSL connected linux box at home, it
is quiet easy to run proxytunnel
http://proxytunnel.sourceforge.net/
And you tunnel ssh over http(s) and use that to build an ppp link to the
ADSL connected linux box.
All protocols are then available, as if you would be at home.

Please check if this is in acordance with your providers acceptable use
policy ;-)

Kind regrads
Ed

On Tue, 2008-12-16 at 06:36 +0100, KaZeR wrote:
 
  -Message d'origine-
  De : community-boun...@lists.openmoko.org 
  [mailto:community-boun...@lists.openmoko.org] De la part de 
  Joel Newkirk
  Envoyé : mardi 16 décembre 2008 04:58
  À : List for Openmoko community discussion
  Objet : RE: [SHR] GPRS / FATAL: Error inserting ppp_mppe
  snip
  So frameworkd is setting up three channels for itself and the 
  fourth should be for GPRS, but if ppp_generic isn't inserted 
  then it fails to bring up ppp0 and doesn't release the GPRS 
  resource.  Since the first attempt (absent ppp_generic) uses 
  the fourth of four available channels and doesn't release it, 
  then you're done at that point - game over.  After a fresh 
  reboot, though, if ppp_generic is inserted before GPRS is 
  attempted, you should be good to go.
  
 
 I managed to get it to work, in the exact way you described. 
 Thank you!
 
 Now, since my provider only allow http traffic, i wonder how i'll be able to
 use agps..
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread Nathan Kinkade
2008/12/15 KaZeR ka...@altern.org:

 Hi community,

 I'm trying to get gprs to work on my SHR, and it seems i'm getting close.

 I only have this error left :
 daemon.notice modprobe: FATAL: Error inserting ppp_mppe
 (/lib/modules/2.6.24/kernel/drivers/net/ppp_mppe.ko): No such device

 Can anybody help? Thanks in advance!

 K-

I see this error as well, but GPRS still works fine for me, which
leads me to believe that if GPRS is not working for you then it's
likely something other than that error.  Or maybe it does work and
you're just wondering about the cause of the error (which I don't
know).

Nathan

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread Michael 'Mickey' Lauer
Am Monday 15 December 2008 18:13:19 schrieb KaZeR:
 Hi community,

 I'm trying to get gprs to work on my SHR, and it seems i'm getting close.

 I only have this error left :
 daemon.notice modprobe: FATAL: Error inserting ppp_mppe
 (/lib/modules/2.6.24/kernel/drivers/net/ppp_mppe.ko): No such device

This is harmless and does not affect ppp working.

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread KaZeR
 

 -Message d'origine-
  I see this error as well, but GPRS still works fine for me, 
 which leads me to believe that if GPRS is not working for you 
 then it's likely something other than that error.  Or maybe 
 it does work and you're just wondering about the cause of the 
 error (which I don't know).
 
 Nathan
 

It does not work, because i checked with ifconfig if ppp was up, and answer
is no.

I used the script from here : http://wiki.openmoko.org/wiki/GPRS_FSO

Anyone knows how you can specify an alternate phone number to dial? I have
to use a shorter number than the one you see usually.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread arne anka
 It does not work, because i checked with ifconfig if ppp was up, and  
 answer
 is no.

does that mean you are logged in via ssh/usb?
my experience is that ppp0 does not come up as long as usb0 is up.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread Nathan Kinkade
2008/12/15 arne anka openm...@ginguppin.de:
 It does not work, because i checked with ifconfig if ppp was up, and
 answer
 is no.

 does that mean you are logged in via ssh/usb?
 my experience is that ppp0 does not come up as long as usb0 is up.

Hmm.  I can get a GPRS connection fine while logged in over usb0.
KaZeR, is there nothing else in the logs (logread)?

Nathan

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread Michael 'Mickey' Lauer
Am Monday 15 December 2008 22:13:13 schrieb KaZeR:
  -Message d'origine-
 
   I see this error as well, but GPRS still works fine for me,
 
  which leads me to believe that if GPRS is not working for you
  then it's likely something other than that error.  Or maybe
  it does work and you're just wondering about the cause of the
  error (which I don't know).
 
  Nathan

 It does not work, because i checked with ifconfig if ppp was up, and answer
 is no.

 I used the script from here : http://wiki.openmoko.org/wiki/GPRS_FSO

 Anyone knows how you can specify an alternate phone number to dial? I have
 to use a shorter number than the one you see usually.

No you don't. The number to dial is completely unrelated to your service 
provider parameters.

Please post some debug logs and then we can debug this.

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread KaZeR
 

 -Message d'origine-
 De : community-boun...@lists.openmoko.org 
 [mailto:community-boun...@lists.openmoko.org] De la part de 
 Nathan Kinkade
 Envoyé : lundi 15 décembre 2008 22:39
 À : List for Openmoko community discussion
 Objet : Re: [SHR] GPRS / FATAL: Error inserting ppp_mppe
 
 2008/12/15 arne anka openm...@ginguppin.de:
  It does not work, because i checked with ifconfig if ppp 
 was up, and 
  answer is no.
 
  does that mean you are logged in via ssh/usb?
  my experience is that ppp0 does not come up as long as usb0 is up.
 
 Hmm.  I can get a GPRS connection fine while logged in over usb0.
 KaZeR, is there nothing else in the logs (logread)?
 

You'll find a full chatlog below.
I think that my problem is maybe because i need to dial another number (i
had a simiar issue with Qtopia).
But it doesn't explain why my usb link gets so unstable after trying to use
gprs..


Log below. I don't know if the powerdown could affect dialup.


 8 --
Mar 13 01:41:59 (none) local0.info /usr/sbin/gsm0710muxd[1188]:
gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/6 to virtual
channel 5 for ogsmd.gprs on /dev/ttySAC0
Mar 13 01:41:59 (none) local0.info /usr/sbin/gsm0710muxd[1188]:
gsm0710muxd.c:1410:extract_frames(): Logical channel 5 opened
Mar 13 01:42:00 (none) user.info kernel: PPP generic driver version 2.4.2
Mar 13 01:42:00 (none) daemon.notice pppd[1269]: pppd 2.4.3 started by root,
uid 0
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (BUSY)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (DELAYED)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (ERROR)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (NO ANSWER)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (NO CARRIER)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (NO DIALTONE)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (RINGING)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (VOICE)
Mar 13 01:42:01 (none) local2.info chat[1279]: timeout set to 5 seconds
Mar 13 01:42:01 (none) local2.info chat[1279]: send (+++ATZ^M)
Mar 13 01:42:01 (none) local2.info chat[1279]: expect (OK)
Mar 13 01:42:02 (none) user.info kernel: jbt6k74 spi2.0:  jbt6k74
powerdown
Mar 13 01:42:03 (none) user.info kernel: jbt6k74 spi2.0:  jbt6k74
powerdown
Mar 13 01:42:06 (none) local2.info chat[1279]: alarm
Mar 13 01:42:06 (none) local2.info chat[1279]: send (\k\k\k\d+++ATH^M)
Mar 13 01:42:07 (none) local2.info chat[1279]: expect (OK)
Mar 13 01:42:12 (none) local2.info chat[1279]: alarm
Mar 13 01:42:12 (none) local2.info chat[1279]: Failed
Mar 13 01:42:12 (none) daemon.err pppd[1269]: Connect script failed
Mar 13 01:42:12 (none) daemon.info pppd[1269]: Exit.
Mar 13 01:42:12 (none) local0.info /usr/sbin/gsm0710muxd[1188]:
gsm0710muxd.c:609:pseudo_device_read(): Logical channel 5 for (null) closed
Mar 13 01:42:12 (none) daemon.info avahi-daemon[1095]: Interface usb0.IPv4
no longer relevant for mDNS.
Mar 13 01:42:12 (none) daemon.info avahi-daemon[1095]: Leaving mDNS
multicast group on interface usb0.IPv4 with address 192.168.0.202.
Mar 13 01:42:12 (none) daemon.info avahi-daemon[1095]: Withdrawing address
record for 192.168.0.202 on usb0.
Mar 13 01:42:13 (none) daemon.info avahi-daemon[1095]: Joining mDNS
multicast group on interface usb0.IPv4 with address 192.168.0.202.
Mar 13 01:42:13 (none) daemon.info avahi-daemon[1095]: New relevant
interface usb0.IPv4 for mDNS.
Mar 13 01:42:13 (none) daemon.info avahi-daemon[1095]: Registering new
address record for 192.168.0.202 on usb0.IPv4.
Mar 13 01:42:13 (none) user.notice root: Checking for WLAN association...
Mar 13 01:42:13 (none) user.notice root: Found association!
 8 --
Mar 13 01:41:59 (none) local0.info /usr/sbin/gsm0710muxd[1188]: 
gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/6 to virtual channel 5 
for ogsmd.gprs on /dev/ttySAC0
Mar 13 01:41:59 (none) local0.info /usr/sbin/gsm0710muxd[1188]: 
gsm0710muxd.c:1410:extract_frames(): Logical channel 5 opened
Mar 13 01:42:00 (none) user.info kernel: PPP generic driver version 2.4.2
Mar 13 01:42:00 (none) daemon.notice pppd[1269]: pppd 2.4.3 started by root, 
uid 0
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (BUSY)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (DELAYED)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (ERROR)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (NO ANSWER)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (NO CARRIER)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (NO DIALTONE)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (RINGING)
Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (VOICE)
Mar 13 01:42:01 (none) local2.info chat[1279]: timeout set to 5 seconds
Mar 13 01:42:01 (none) local2.info chat[1279]: send (+++ATZ^M)
Mar 13 01:42:01 (none) local2.info chat[1279]: expect (OK)
Mar 13 01:42:02 (none) user.info kernel

Re: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread Michael 'Mickey' Lauer
Thanks for the log, now we're getting somewhere.

Am Monday 15 December 2008 23:21:07 schrieb KaZeR:
 You'll find a full chatlog below.
 I think that my problem is maybe because i need to dial another number (i
 had a simiar issue with Qtopia).

No, it isn't.

  8 --
 Mar 13 01:41:59 (none) local0.info /usr/sbin/gsm0710muxd[1188]:
 gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/6 to virtual
 channel 5 for ogsmd.gprs on /dev/ttySAC0

This is your problem. Somehow you have already four channels open in your 
modem. TI Calypso does not manage more than four, but will happily assign you 
an infinite number of channels (still checking whether this is an inherent 
limitation of 07.10 or not).

So, ppp assigns a channel where no one listens to him.

 Mar 13 01:41:59 (none) local0.info /usr/sbin/gsm0710muxd[1188]:
 gsm0710muxd.c:1410:extract_frames(): Logical channel 5 opened
 Mar 13 01:42:00 (none) user.info kernel: PPP generic driver version 2.4.2
 Mar 13 01:42:00 (none) daemon.notice pppd[1269]: pppd 2.4.3 started by
 root, uid 0
 Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (BUSY)
 Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (DELAYED)
 Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (ERROR)
 Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (NO ANSWER)
 Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (NO CARRIER)
 Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (NO DIALTONE)
 Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (RINGING)
 Mar 13 01:42:01 (none) local2.info chat[1279]: abort on (VOICE)
 Mar 13 01:42:01 (none) local2.info chat[1279]: timeout set to 5 seconds
 Mar 13 01:42:01 (none) local2.info chat[1279]: send (+++ATZ^M)
 Mar 13 01:42:01 (none) local2.info chat[1279]: expect (OK)
 Mar 13 01:42:02 (none) user.info kernel: jbt6k74 spi2.0:  jbt6k74
 powerdown
 Mar 13 01:42:03 (none) user.info kernel: jbt6k74 spi2.0:  jbt6k74
 powerdown
 Mar 13 01:42:06 (none) local2.info chat[1279]: alarm

ppp timeout, no one answered.

Do you have a mickeyterm instance or anything else still open by any chance? 
ogsmd will only occupy three channels, so that ppp can get the last one.

Cheers,

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread KaZeR
Thanks for your fast answer.


 This is your problem. Somehow you have already four channels 
 open in your modem. TI Calypso does not manage more than 
 four, but will happily assign you an infinite number of 
 channels (still checking whether this is an inherent 
 limitation of 07.10 or not).
 
 So, ppp assigns a channel where no one listens to him.
 Do you have a mickeyterm instance or anything else still open 
 by any chance? 
 ogsmd will only occupy three channels, so that ppp can get 
 the last one.

Mmm, no. I run SHR, and nothing special beyond that.
Is there a way to find which processes are using theses channels?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread KaZeR
 

 -Message d'origine-
 De : community-boun...@lists.openmoko.org 
 [mailto:community-boun...@lists.openmoko.org] De la part de arne anka
 Envoyé : lundi 15 décembre 2008 22:19
 À : List for Openmoko community discussion
 Objet : Re: [SHR] GPRS / FATAL: Error inserting ppp_mppe
 
  It does not work, because i checked with ifconfig if ppp 
 was up, and 
  answer is no.
 
 does that mean you are logged in via ssh/usb?
 my experience is that ppp0 does not come up as long as usb0 is up.
 

Ok i'm trying with usb link.
I have noticed that usb link becomes quite unstable after i try to launch
gprs..


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread Joel Newkirk
On Tue, 16 Dec 2008 01:12:46 +0100, KaZeR ka...@altern.org wrote:
 Thanks for your fast answer.
 
 
 This is your problem. Somehow you have already four channels
 open in your modem. TI Calypso does not manage more than
 four, but will happily assign you an infinite number of
 channels (still checking whether this is an inherent
 limitation of 07.10 or not).

 So, ppp assigns a channel where no one listens to him.
 Do you have a mickeyterm instance or anything else still open
 by any chance?
 ogsmd will only occupy three channels, so that ppp can get
 the last one.
 
 Mmm, no. I run SHR, and nothing special beyond that.
 Is there a way to find which processes are using theses channels?

I've been running into the same problem, it seems.  I just ran an opkg
upgrade on my NAND install (SHR from FSO M4 release, opkg upgraded since
though I realize some things are broken or missed that way) and it pulled
in a new frameworkd, new since 8 hours ago when I did the same, and after a
reboot I'm connected via GPRS again, first time in weeks.

But I'm not saying it was the upgrade per se, though I believe this is the
first time in a couple weeks I've gotten GSM registration right after boot.
(Thanks Mickeyl!:)

I did a little debugging and discovered part of what's happening.  With
ppp_generic not inserted I attempted to bring up GPRS three times then
checked the log (tail -n 100 /var/log/messages | grep gsm):

Dec 16 04:02:30 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/0 to virtual
channel 1 for ogsmd.misc on /dev/ttySAC0
Dec 16 04:02:30 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:1410:extract_frames(): Logical channel 1 opened
Dec 16 04:02:30 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/1 to virtual
channel 2 for ogsmd.unsolicited on /dev/ttySAC0
Dec 16 04:02:30 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:1410:extract_frames(): Logical channel 2 opened
Dec 16 04:02:30 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/2 to virtual
channel 3 for ogsmd.call on /dev/ttySAC0
Dec 16 04:02:30 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:1410:extract_frames(): Logical channel 3 opened
Dec 16 04:03:08 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/4 to virtual
channel 4 for ogsmd.gprs on /dev/ttySAC0
Dec 16 04:03:08 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:1410:extract_frames(): Logical channel 4 opened
Dec 16 04:03:44 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/5 to virtual
channel 5 for ogsmd.gprs on /dev/ttySAC0
Dec 16 04:03:44 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:1410:extract_frames(): Logical channel 5 opened
Dec 16 04:03:56 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:693:c_alloc_channel(): Connecting /dev/pts/6 to virtual
channel 6 for ogsmd.gprs on /dev/ttySAC0
Dec 16 04:03:56 (none) local0.info /usr/sbin/gsm0710muxd[1192]:
gsm0710muxd.c:1410:extract_frames(): Logical channel 6 opened

So frameworkd is setting up three channels for itself and the fourth should
be for GPRS, but if ppp_generic isn't inserted then it fails to bring up
ppp0 and doesn't release the GPRS resource.  Since the first attempt
(absent ppp_generic) uses the fourth of four available channels and doesn't
release it, then you're done at that point - game over.  After a fresh
reboot, though, if ppp_generic is inserted before GPRS is attempted, you
should be good to go.

j





-- 
Joel Newkirk
http://jthinks.com  (blog)
http://newkirk.us/om (FR stuff)


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: [SHR] GPRS / FATAL: Error inserting ppp_mppe

2008-12-15 Thread KaZeR
 

 -Message d'origine-
 De : community-boun...@lists.openmoko.org 
 [mailto:community-boun...@lists.openmoko.org] De la part de 
 Joel Newkirk
 Envoyé : mardi 16 décembre 2008 04:58
 À : List for Openmoko community discussion
 Objet : RE: [SHR] GPRS / FATAL: Error inserting ppp_mppe
 snip
 So frameworkd is setting up three channels for itself and the 
 fourth should be for GPRS, but if ppp_generic isn't inserted 
 then it fails to bring up ppp0 and doesn't release the GPRS 
 resource.  Since the first attempt (absent ppp_generic) uses 
 the fourth of four available channels and doesn't release it, 
 then you're done at that point - game over.  After a fresh 
 reboot, though, if ppp_generic is inserted before GPRS is 
 attempted, you should be good to go.
 

I managed to get it to work, in the exact way you described. 
Thank you!

Now, since my provider only allow http traffic, i wonder how i'll be able to
use agps..


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community