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
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
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
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
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
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 manual: