PDA

Bekijk de volledige versie : Problem with Oleg's 1.69?



Anttu
04-06-2008, 04:43
Hi, I got a new 7.7Mbps version of Huawei E220 and it does not work in Oleg's 1.69. When I downgrade to 1.68a it suprisingly works OK.

In 1.69 it shows the CD-ROM and the good old "Jan 1 02:01:47 pppd[235]: In file /tmp/ppp/peers/gprs: unrecognized option '/dev/usb/tts/0'" log writing repeats in the end of system log.

What could be the problem and how can I tackle it?

newbiefan
06-06-2008, 20:51
enter your console and enter 'reboot'

If your modem connects after reboot just do the following:
I've posted in the german forum a solution (workaround) for such behaviour.
Add to your post-boot:
#!/bin/sh

# Enter your commands here
sleep 30
if [ -e /tmp/local/sbin/watch_once ] ; then
# Start watch_once
/tmp/local/sbin/watch_once &
fi


And the script watch_once, stored in folder /tmp/local/sbin

#!/bin/sh
#Script watch_once

#wait for Modem
sleep 30
if [ ! -d /dev/usb/tts ] ; then #if dir doesn't exist, modem is not ready
reboot #perform a reboot
fi


do a 'chmod 755 /tmp/local/sbin/watch_once'
and a 'chmod 755 /tmp/local/sbin/post-boot'
and the usual 'flashfs save && flashfs commit && flashfs enable && reboot'

It's a simple script which checks that the modem is recognized - if not a reboot is performed.

Consider, if no modem is recognized, any access to the router must be within approx. 60 seconds (reboot).

If a reboot doesn't help, try 'killall pppd' and wait a minute.


Hope it helps...