PyHumod 0.02-beta with Event Handling out!

New PyHumod 0.02-beta with improved support for MacOS X and event handling is out and up for grabs at:


Blogger Unknown said...

Cute so far. Would be nice to have a feature that
allows retrieval of prepaid balance from the ISP.

One problem:
m = humod.Modem()
goes through with no error message, ppp0 shows on
ifconfig, but I can't see any IP addresses. Tried
adding the line
to /etc/ppp/peers/humod, but no success. Am posting
this having connected the modem via wvdial.
My wvdial.conf:

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
Phone = *99***1#
Username = blah
Password = blah
New PPPD = yes
ISDN = 0
Modem Type = Analogue Modem
Carrier Check = No
Init1 = AT
Init2 = AT^SYSCFG=14,2,3FFFFFFF,2,4
Init3 = AT+CSQ
Init4 = AT+CGDCONT=1,"ip","internet"

July 31, 2009 at 3:18 PM  
Blogger Unknown said...

This morning, no problems connecting in full, so I suppose the problem was bad signal. PyHumod connects much quicker than wvdial or vodafone-mobile-connect. Great software! And understandable too!

August 1, 2009 at 1:24 AM  
Blogger oozie said...

Hi Dirk,

Thanks very much for kind words. I will look into the prepaid balance report when I'll get a chance.

BTW: usepeerdns is already passed to pppd as one of the default options. You can see the list of pppd parameters if you enter
>>> m.pppd_params
in the interpreter. From there you can change them by modifying the list so e.g. m.pppd_params.remove('usepeerdns') etc.

Take care!

August 1, 2009 at 6:39 PM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home