Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Проблемы с pppd + Motorola Rokr E1 + usb [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
egge
n00b
n00b


Joined: 29 Oct 2006
Posts: 3

PostPosted: Mon Oct 30, 2006 11:22 am    Post subject: Проблемы с pppd + Motorola Rokr E1 + usb [SOLVED] Reply with quote

При подключении через gprs скорость слишком маленькая + теряются пакеты ( по сравнении с виндой ). Подскажите что я сделал не так?
Вот мой скрипт подключения
Code:
#!/bin/sh
DIALTIMEOUT=1
MODEM=ttyACM0
SPEED=115200
MODEM_INIT='AT+CGDCONT=1,\"IP\",\"internet\" OK'
IH_IP=" ipcp-accept-local ipcp-accept-remote noipdefault debug usepeerdns mtu 576 novj nobsdcomp novjccomp nopcomp noaccomp"
LOGSCRIPT="CONNECT"
PHONE="*99#"
DR=`route -n | egrep '^0.0.0.0'| grep -v ppp | sed 's/^[^ ]* *\([^ ]*\) .*/default gw \1/'` ;
 if [ -n "$DR" ] ; then
  trap "echo route add $DR ; route add $DR ; exit" 2 3 9 15
  route delete $DR
  echo route delete $DR
 fi
while true ; do
 pppd connect 'chat -v ABORT "NO DIALTONE" ABORT "NO CARRIER" ABORT BUSY "" '"$MODEM_INIT"' ATDP'$PHONE' '"$LOGSCRIPT"' ;' noauth crtscts defaultroute modem -detach mru 576  $NASH_IP:$IH_IP /dev/$MODEM $SPEED
 cat /etc/ppp/resolv.conf > /etc/resolv.conf
 sleep $DIALTIMEOUT
done


Last edited by egge on Wed Nov 01, 2006 9:31 am; edited 1 time in total
Back to top
View user's profile Send private message
egge
n00b
n00b


Joined: 29 Oct 2006
Posts: 3

PostPosted: Tue Oct 31, 2006 11:52 pm    Post subject: Re: Проблемы с pppd + Motorola Rokr E1 + usb Reply with quote

Тут я кое-чо нашел
Quote:
# dmesg |tail
usb 2-2: new full speed USB device using ohci_hcd and address 41
usb 2-2: configuration #1 chosen from 1 choice
cdc_acm 2-2:1.0: ttyACM0: USB ACM device
usb 2-2: USB disconnect, address 41
ohci_hcd 0000:00:02.0: wakeup
usb 2-2: new full speed USB device using ohci_hcd and address 42
usb 2-2: device descriptor read/64, error -110
usb 2-2: configuration #1 chosen from 1 choice
cdc_acm 2-2:1.0: ttyACM0: USB ACM device
PPP BSD Compression module registered

Подскажите что мне делать? Че за ошибка?
Back to top
View user's profile Send private message
egge
n00b
n00b


Joined: 29 Oct 2006
Posts: 3

PostPosted: Wed Nov 01, 2006 1:42 am    Post subject: Reply with quote

Я исправил записав в свой /etc/modprobe.conf вот это
Code:

options usbcore old_scheme_first=1

После этого все стало ок :D
Тема закрыта.
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Wed Nov 01, 2006 6:38 am    Post subject: Reply with quote

Заголовок темы измени, добавь SOLVED (первый пост отредактируй).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum