CDMA

Josef Hrabec hrabec at ramgate.cz
Sat Jul 9 15:00:55 CEST 2005


pred pulrokem jsem delal jedno pc s CDMA na FreeBSD 5.3, bohuzel ho jiz tady 
nemam, takze mohu poslouzit pouze konfiguraci, ktera mi tenkrat na tom bez 
problemu chodila:

v rc.conf pridano:

ppp_enable="YES"
ppp_profile="cdma"
ppp_mode="ddial"
ppp_nat="YES"
ppp_user="root"

v loader.conf pridano:

umodem_load="YES"
hw.usb.umodem.ibufsize=1024
hw.usb.umodem.obufsize=1024


v ppp.conf toto:

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/ucom0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 3600                       # 3 minute idle timer (the default)
 enable dns                             # request DNS info (for resolv.conf)

cdma:
 disable ipv6
 set speed 115200
 set device /dev/ucom0
 set phone "#777"
 set authname 601xxxxxx at etcz
 set authkey xxxxxxx
 add default HISADDR

a pro rychlost vyssi nez 256kbps jsem pouzil patch pro umodem.c, ktery 
napsal neologism:
hysteria.sk/~neologism/umodem.patch

Pepa.




> Zdravim,
> modem se mi detekuje pri startu diky tomuto navodu 
> http://www.freebsd.cz/listserv/archive/users-l/2004-August/010714.html, 
> viz dmesg.boot. Ale jakmile spustim #ppp, dial cdma, viz ppp.conf, nahlasi 
> Warning: deflink: Unable to set physical to speed 0, viz ppp.log. A to 
> stejne mi to nahlasi i kdyz spustim ppp v interaktivnim rezimu... set 
> device /dev/ucom0, set speed 921600, term, a nic.. nemuzu zadavat AT 
> prikazy a po chvilce to nahlasi taky Warning: deflink: Unable to set 
> physical to speed 0.
> Muzete nekdo poradit?
>




More information about the Users-l mailing list