Novatel Wireless, Merlin UMTS Modem, U630 on Fedora4

MacNabs

Senior Member
Joined
Sep 8, 2005
Messages
694
Reaction score
2
Location
New Zealand
Hi guys

I have setup a Merlin 3G Vodafone card on Fedora 4 using the wvdia.conf file supplied by Tazz_Tux, thanks tazz. It works perfectly. I have also managed to configure it using kppp.

My question is, has anybody been able to configure the card using basic pppd and not wvdial or kppp?

These are my config files
#/etc/ppp/vodafone-chat
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
OK "ATZ"
# Setup APN
OK 'AT+CGDCONT=1,"IP","internet"'
SAY "Calling Vodafone GPRSn"
OK "ATDT*99***1#"
CONNECT

#/etc/ppp/peers/
debug
noipdefault
connect "/usr/sbin/chat -V -f /etc/ppp/vodafone-chat"
defaultroute
/dev/ttyS1
38400
novj

I get the following error in /var/log/messages when executing:

pppd call vodafone

Sep 8 15:40:58 ovisprobecte04 pppd[5385]: Exit.
Sep 8 15:41:08 ovisprobecte04 pppd[5399]: pppd 2.4.2 started by root, uid 0
Sep 8 15:41:54 ovisprobecte04 pppd[5399]: Connect script failed
Sep 8 15:41:55 ovisprobecte04 pppd[5399]: Exit.

Regards

Don[/SIZE]
 
Doni

May be a silly question but have you disabled the PIN request on your card?
If not, you are missing the AT+CPIN=1234 in your chat script (see Tazz's wvdial.conf for the AT command

Regards
Warren
 
Hey Doni,

No problem on the info ! - Like warreng said, did you disable the pin ?

Try this as well to shed some more light on it :

in /etc/syslog.conf add a line at the bottom like this:

*.* /var/log/all.log

restart sysklogd

In /etc/ppp/options add the following two line

debug
kdebug 4

then run tail -f /var/log/all.log while trying to make the connection - be prepared to read a snot load of data :D

If it doesn't help, post some here and lets have a look

Laterz !!!

doni said:
Hi guys

I have setup a Merlin 3G Vodafone card on Fedora 4 using the wvdia.conf file supplied by Tazz_Tux, thanks tazz. It works perfectly. I have also managed to configure it using kppp.

My question is, has anybody been able to configure the card using basic pppd and not wvdial or kppp?

These are my config files
#/etc/ppp/vodafone-chat
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
OK "ATZ"
# Setup APN
OK 'AT+CGDCONT=1,"IP","internet"'
SAY "Calling Vodafone GPRSn"
OK "ATDT*99***1#"
CONNECT

#/etc/ppp/peers/
debug
noipdefault
connect "/usr/sbin/chat -V -f /etc/ppp/vodafone-chat"
defaultroute
/dev/ttyS1
38400
novj

I get the following error in /var/log/messages when executing:

pppd call vodafone

Sep 8 15:40:58 ovisprobecte04 pppd[5385]: Exit.
Sep 8 15:41:08 ovisprobecte04 pppd[5399]: pppd 2.4.2 started by root, uid 0
Sep 8 15:41:54 ovisprobecte04 pppd[5399]: Connect script failed
Sep 8 15:41:55 ovisprobecte04 pppd[5399]: Exit.

Regards

Don[/SIZE]
 
pppd now working.

Hi guys, thanks for the great response. I have no password set on the card.

I have managed to now get the pppd connection working by modifying the files as follows:

#/etc/ppp/vodafone-chat
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 120
"" "AT&F"
OK "ATZ"
OK "ATE0V1&D2&C1S0=0+IFC=2,2"
OK "ATE1"
#OK "AT_OPSYS=3"
# Setup APN
OK 'AT+CGDCONT=1,"IP","internet"'
OK 'AT+CGEQMIN=1,4,64,384,64,384'
OK 'AT+CGEQREQ=1,4,64,384,64,384'
TIMEOUT 60
OK "ATDT*99***1#"
CONNECT c[/SIZE][/SIZE]

#/etc/ppp/peers/vodafone
lock
debug
persist
connect "/usr/sbin/chat -V -f /etc/ppp/vodafone-chat"
defaultroute
/dev/ttyS1
460800
crtscts
modem
usepeerdns
novj

The card sometimes does not seem to initialise, this causes pppd to not be able to dial up. If I remove the card and reinsert it, the dialup works fine. (I never have this problem with wvdial?) If i issue cardctl reset, eject and insert, before executing pppd the connection works. I have tried adding these commands to /etc/ppp/ip-up.local but they only seem to be executed once communication with the card has been established.
:confused:
Another question, does anybody know the AT commands for the merlin card for the "GPRS only", "3G only" and "3G preffered" connections.

Many thanks

Don
 
AT+COPS=0,0,"Vodacom-SA",0 <-- GPRS Only
AT+COPS=0,0,"Vodacom-SA",2 <-- 3G Only

,1 <-- GPRS Prefered - I think
,3 <-- 3G Prefered - I think :)

Laterz !!!
 
Top
Sign up to the MyBroadband newsletter
X