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