Wil try this advise.
Many thanks Piotr for your help, you sort me out from a big issue.
Regards,
Emmanuel
2010/8/5 Piotr Isajew
> With settings similar to yours I get the behaviour when mbuni sends
> everything that is queued and then disconnects. Maybe if you patch
> mmsbox_mm1.c to add a 2
With settings similar to yours I get the behaviour when mbuni sends
everything that is queued and then disconnects. Maybe if you patch
mmsbox_mm1.c to add a 2 second sleep at end of inner loop in
handle_mm1 function that will solve your problem.
On Thu, Aug 05, 2010 at 02:55:16PM +1100, Emmanuel
Yes, by default mmsbox.conf has the following config:
group = mbuni
storage-directory = /var/spool/mbuni
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 10001
max-send-threads set to 5 but Mbuni conn
On Thu, Aug 05, 2010 at 04:59:59AM +0200, Emmanuel CHANSON wrote:
> I forgot to add
>
> /sbin before 'ip route' in ip-up script, now it is Ok
>
> Things is Mbuni connect to GPRS, send the MMS and disconnect just after
> although a second MMS has to be sent, reconnect, send it and disconnect?
hav
I forgot to add
/sbin before 'ip route' in ip-up script, now it is Ok
Things is Mbuni connect to GPRS, send the MMS and disconnect just after
although a second MMS has to be sent, reconnect, send it and disconnect?
Is it a normal behavior ? or is it possible to keep the ppp0 open and send
all MM
On Thu, Aug 05, 2010 at 01:29:24PM +1100, Emmanuel CHANSON wrote:
> Yeah, thanks Piotr,
>
> It seems better using 'nodetach', mbuni does not block anymore but retry to
> send MMS
> but I have an issue with routing to reach MMS-C, when pppd is established it
> should set the route in ip-up script:
Yeah, thanks Piotr,
It seems better using 'nodetach', mbuni does not block anymore but retry to
send MMS
but I have an issue with routing to reach MMS-C, when pppd is established it
should set the route in ip-up script: ip route to 192.168.39.201 dev ppp0 I
guess?
Can I use route add -host 192.168
Hi.
From what I see you miss the following options to pppd (unless they
are present in config file):
nodefaultroute
nodetach
"nodetach" is important here since it stops grps-on process from
quitting (pppd daemonizes) before it has a chance to set-up the
connection. Other way would be to provide
*Hello Piotr,
Still Mbuni does not want to wait after GPRS connection even with ip-up
script, do I miss something?
Following your advises I have configured:
in /etc/ppp/ip-up symlink to ip-up.sh:*
*#!/bin/sh
IFNAME="$1"
LOCAL_IP="$4"
REMOTE_IP="$5"
IPPARAM="$6"
MMS_PROXY="192.168.39.201"
ip ro
On Wed, Aug 04, 2010 at 07:14:52AM +0200, Emmanuel CHANSON wrote:
> Thanks Piotr for this,
>
> One more questions:
> Where and when do I call "ip-up.sh $1 $2 ..." and then call pppd ? All
> inside custom-settings "gprs-on= option" ?
it's enough if you symlink it to /etc/ppp/ip-up. From pppd manua
On Wed, Aug 04, 2010 at 04:01:22AM +0200, Emmanuel CHANSON wrote:
> Is it possible to get an example of the if-up/down script that deal with
> ppp0.pid symlink so that Mbuni start to send MMS only after the ppp0
> connection is established?
You may try something like:
ip-up.sh:
IFNAME="$1"
LOCAL_IP
Mbuni uses curl to connect() to proxy. This is issued just after
start-gprs pid is returned so on "normal" system it uses default
route, which is not good because of firewalling and most ops using
private addresses for mmsc's. From what I saw (maybe someone will
correct me here) mmsbox-mm1 does not
Is it possible to get an example of the if-up/down script that deal with
ppp0.pid symlink so that Mbuni start to send MMS only after the ppp0
connection is established?
I notice that routing is also missing after the GPRS connection is
established that is why maybe mbuni POST nothing.
I need to se
On Tue, Aug 03, 2010 at 05:44:30PM +1100, Emmanuel CHANSON wrote:
> One question:
>
> Does Mbuni will open and close GPRS connection each time it will have to
> send a MMS ? or does it keep the connection always open ?
It opens connection once there is something in queue and keeps it open
until p
One question:
Does Mbuni will open and close GPRS connection each time it will have to
send a MMS ? or does it keep the connection always open ?
Is it a good idea to keep the GPRS connection open in case a lot of MMS have
to be send through modem?
I will check about if-up script.
Others ideas ma
You could also do this with proper if-up script. Mbuni tries to
connect to MMS proxy when it sees pppd pid file. On other hand pid
file is created _before_ interface IP and routing is set up. I solved
this by symlinking ppp pid to some path in if-up after everything is
set-up and making mbuni to lo
Hello mbuni users and developers,
Mbuni CVS 20100702
Modem: Sagem My300x
Purpose: Try to send MMS through MM1 GPRS modem but failed.
I did not succeed to send a MMS through MM1 GPRS modem connection.
When sending a MMS through mmsbox interface I do see the pppd process
starting to connect to GPR
17 matches
Mail list logo