wvdial not finding wvdail.conf in arm platform

215 views
Skip to first unread message

Ram

unread,
Jun 20, 2009, 8:15:51 AM6/20/09
to WvStreams Mailing List
hi,

I have succesfully cross compiled wvdial for my arm platform
(AT91SAM9260) with arm926ej-s core with uclibc.

But the problem is when i type

wvdial at the command prompt.

it says

# wvdial
--> WvDial: Internet dialer version 1.60
--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

also when i type wvdialconf at the command prompt...it says
segmentation fault

# wvdialconf
Segmentation fault

so i manually designed the file wvdial.conf and placed it under /etc

here is that file.

[Dialer Defaults]
Modem = /dev/ttyUSB0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","airtelgprs.com"
Stupid mode = 1
Modem Type = Analog Modem
Phone = *99***1#
ISDN = 0
Username = a
Carrier Check = no
Password = b
Baud = 460800

This file works well with my fedora linux.

but unfortunately it didn't work for my arm platform.

It seems wvdial doesn't read this file at all.bcos when i delete this
file even then it gives the same output.
is there any other location the wvdial will read the configuration
from ?

i even created a symbolic link for /dev/modem

ln -n /dev/ttyUSB2 /dev/modem

but the output is

# wvdial
--> WvDial: Internet dialer version 1.60
--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Configuration does not specify a valid phone number.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.

but my wvdial.conf contains username and password.

It seems wvdial doesn't read this file at all.

am i missing some other files ?

I dont know where i am going wrong.


Please help me to solve the error.

Regards,
Rohit

david preetham

unread,
Dec 27, 2013, 4:26:01 AM12/27/13
to wvstrea...@googlegroups.com
Hi Ram did you find solution?

david preetham

unread,
Dec 27, 2013, 4:26:54 AM12/27/13
to wvstrea...@googlegroups.com
Since i am facing same problem i have compiled for mips based architecture.
if i changed source code directly its working.


On Saturday, 20 June 2009 17:45:51 UTC+5:30, Ram wrote:
Reply all
Reply to author
Forward
0 new messages