Thanks to Piotr who help me with pppd BR
Emmanuel 2010/8/24 Michel TOKO <tokomic...@gmail.com> > Thanks Emmanuel will get back to you. > > > Merci! > > On 24 August 2010 09:45, Emmanuel CHANSON <emmanuelchan...@gmail.com>wrote: > >> Nokia 6230 config with Mbuni latest CVS: >> >> /etc/mbuni/mmsbox.conf: >> ------------------------------------- >> ... >> # Sample conf for MMSBox using a modem (MM1) >> group = mmsc >> #id = modem >> id = nokiaphone >> type = custom >> custom-settings = "gprs-on=pppd call mobile-auth;gprs-pid=cat >> /var/run/ppp0-mbuni.pid|head -1;port=3130;mmsc-url= >> http://xxx.xxxxxxx.xx/mmsc;proxy=192.168.39.201:3130;msisdn=100" >> mmsc-library = /usr/local/mbuni/lib/libmmsbox_mm1.so >> ... >> >> /etc/ppp/peers/mobile-auth: >> ---------------------------------------- >> file /etc/ppp/peers/options-mobile >> user "<your_login>" >> password "<your_password>" >> connect "/usr/sbin/chat -v -t15 -f /etc/ppp/chatscripts/mobile-modem.chat" >> >> >> /etc/ppp/peers/options-mobile: >> -------------------------------------------- >> ttyACM0 >> 115200 >> lock >> crtscts >> modem >> passive >> novj >> nodefaultroute >> nodetach >> noipdefault >> usepeerdns >> noauth >> hide-password >> persist >> holdoff 10 >> maxfail 0 >> debug >> >> /etc/ppp/chatscripts/mobile-modem.chat: >> ----------------------------------------------------------- >> ABORT 'BUSY' >> ABORT 'NO CARRIER' >> ABORT 'VOICE' >> ABORT 'NO DIALTONE' >> ABORT 'NO DIAL TONE' >> ABORT 'NO ANSWER' >> ABORT 'DELAYED' >> REPORT CONNECT >> TIMEOUT 6 >> '' 'ATQ0' >> 'OK-AT-OK' 'ATZ' >> TIMEOUT 3 >> 'OK' @/etc/ppp/chatscripts/pin.NONE >> 'OK-AT-OK' 'ATI' >> 'OK' 'ATZ' >> 'OK' @/etc/ppp/chatscripts/mode.NONE >> 'OK-AT-OK' @/etc/ppp/chatscripts/apn >> 'OK' 'ATDT*99***1#' >> TIMEOUT 30 >> CONNECT '' >> >> /etc/ppp/chatscripts/mode.NONE: >> ------------------------------------------------- >> AT >> >> /etc/ppp/chatscripts/pin.NONE: >> --------------------------------------------- >> AT >> >> /etc/ppp/chatscripts/apn: >> ------------------------------------ >> AT+CGDCONT=1,"IP","<your_mms_apn>" >> >> You need 2 additionnal scripts to be launched when modem got the >> connection: >> >> /etc/ppp/ip-up: >> -------------------- >> #!/bin/sh >> IFNAME="$1" >> LOCAL_IP="$4" >> REMOTE_IP="$5" >> IPPARAM="$6" >> MMS_PROXY="192.168.39.201" >> /sbin/ip route add to 192.168.39.201 dev ppp0 >> # routing has been set up, so: >> ln -sf /var/run/ppp0.pid /var/run/ppp0-mbuni.pid >> >> /etc/ppp/ip-down: >> ------------------------- >> # remove pid file >> rm -rf /var/run/ppp0-mbuni.pid >> >> >> Regards, >> >> Emmanuel >> >> >> 2010/8/24 patrick meye <patrick_m...@yahoo.fr> >> >>> Hi Emmanuel, >>> >>> I need config files using Nokia 6230,can you send it to me please?? >>> >>> Regards. >>> >>> Patrick >>> >>> ------------------------------ >>> *De :* Emmanuel CHANSON <emmanuelchan...@gmail.com> >>> *À :* users@mbuni.org >>> *Envoyé le :* Mar 24 août 2010, 0h 59min 12s >>> *Objet :* [Users] Mbuni & Huawei E220 >>> >>> Does anyone has already configured a Huawei E220 with Mbuni and pppd ? >>> >>> I am looking for any config with E220. >>> >>> Note: I use actually a Nokia 6230 that work well if anybody needs config >>> files. >>> >>> Regards, >>> >>> -- >>> Emmanuel >>> >>> >> _______________________________________________ >> Users mailing list >> Users@mbuni.org >> http://lists.mbuni.org/mailman/listinfo/users >> >> > _______________________________________________ > Users mailing list > Users@mbuni.org > http://lists.mbuni.org/mailman/listinfo/users > > -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
_______________________________________________ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users