Ok nevertheless I put you my files I've found
I did the following on my alix board with voyage-0.5.2:
/etc/ppp/peers/3g_telecom
/etc/chatscripts/3g_telecom
which was for an E160 modem and
/etc/ppp/peers/3g_movistar
/etc/chatscripts/3g_movistar
/etc/usb_modeswitch.d/19d2:2000
which I think was the ZTE MF110
and generall stuff
/etc/ppp/ip-up.d/setup_3g
(/etc/ppp/ip-down.d/clean_3g not provided)
The modem ZTE MF110 (I think it was this model...) I started
usb_modeswitch -c /etc/usb_modeswitch.d/19d2:2000
/sbin/modprobe usbserial vendor=0x19d2 product=0x0031
pon 3g_movistar
at least found a note about that
An entry in /etc/network/interface like
###################################
auto 3g_telecom
iface 3g_telecom inet ppp
provider 3g_telecom
address 200.200.200.123
netmask 255.255.255.0
# please do not modify the following line
pre-up /sbin/ifconfig eth0 up
###################################
will start modem automatically at startup, where address is not imported
because received and set from pppd
This was for the E160. I cannot test anymore because have not anymore
access for this devices ...
Maybe it helps
Greetings
Beat
On 05/29/2011 10:45 AM, Konstantinos Birkos wrote:
Yes, I managed to connect. Actually I needed to install usb-modeswitch
and write two scripts: one with the connections parameters and another
one handling connection establishment. For some reason I cannot
understand, although I can connect, receive updates, use ftp etc., I
cannot ping other computers and neither can other computers ping me
(plus that the green light on the stick keeps flashing on and off
continuously).
Thanks for your feedback.
Regards,
Kostas
O/H Beat Meier έγραψε:
Have you solved your problem?
I had such a modem working (ZTE MF110) on voyage-0.5 some time ago
but have to search how I did.
If you still have the problem send a note and I will search my old cf
flash with the installation!
Greetings
Beat
On 05/22/2011 08:11 PM, Konstantinos Birkos wrote:
I am trying to get a 3G USB modem working in an ALIX.3d3 board with
Voyage Linux MPD 0.7. The modem is a ZTE MF110 and works perfectly
in common Linux distributions.
What steps should I follow? Until now I have found partial
instructions, instructions that involve a GUI or solutions to
specific problems but not a concrete set of instructions. Just to
mention that when I plug the modem it is recognized as a scsi usb
storage device and a scsi CD-ROM drive but no ttyUSB0 or ttyUSB1
appears as a device. Any point to start with?
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux
ABORT BUSY ABORT 'NO CARRIER'
ABORT VOICE ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE' ABORT 'NO ANSWER'
ABORT DELAYED
'' ATZ
OK ATQ0\sV1\sE1\sS0=0\s&C1\s&D2\s+FCLASS=0
OK AT+CGDCONT=1,"IP","internet"
OK-AT-OK ATX3DT*99#
CONNECT \d\c
lock
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/3g_movistar"
/dev/ttyUSB2
460800
defaultroute
noipdefault
user "internet"
mtu 1492
ipparam movistar
########################################################
# ZTE devices
DefaultVendor= 0x19d2
DefaultProduct= 0x2000
TargetVendor= 0x19d2
TargetProductList="0001,0002,0015,0016,0017,0031,0037,0052,0055,0063,0064,0108,0128"
MessageContent="5553424312345678000000000000061e000000000000000000000000000000"
MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"
MessageContent3="55534243123456702000000080000c85010101180101010101000000000000"
NeedResponse=1
CheckSuccess=20
ABORT BUSY
ABORT ERROR
ABORT 'NO ANSWER'
REPORT CONNECT
TIMEOUT 30
"" ATZ
OK 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0'
OK 'ATDT*99***1#'
TIMEOUT 30
CONNECT \d\c
lock
connect "/usr/sbin/chat -v -f /etc/chatscripts/3g_telecom"
/dev/ttyUSB0
hide-password
noauth
#debug
460800
defaultroute
#usepeerdns
user ' '
password ' '
modem
crtscts
nodeflate
nobsdcomp
### pppd should not exit if connection is droped and should try endless !!!
persist
maxfail 0
#!/bin/bash
###
### $1: PPP_IFACE
### $2: PPP_TTY
### $3: PPP_SPEED
### $4: PPP_LOCAL
### $5: PPP_REMOTE
### $6: PPP_IPPARAM
(
echo
echo "`date` $1 started"
INT="$PPP_IFACE"
/usr/local/sbin/remountrw
echo "1:$1 2:$2 3:$2 4:$4 5:$5"
if [ "$2" = "/dev/ttyUSB0" ]; then
echo "ip-up for 3g. Will configure 3g stuff"
else
echo "ip-up for other interface was started but this is 3g stuff. Will do
nothing"
exit 1
fi
### Do all the needed stuff like
### Add port forward from this interface etc...
### Restart daemons which listen at local ip addresses
/etc/init.d/ntp restart
/etc/init.d/pdnsd restart
### Log infos
/usr/local/bin/log_new_ip_address $4 $5 &
) 2>&1 >> /var/log/ppp_up_stuff.log
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux