FS#25011 - [wvdial] is unable to connect to internet(BSNL) through gprs

Attached to Project: Community Packages
Opened by Amitav (amitavmohanty01) - Monday, 04 July 2011, 08:07 GMT
Last edited by Florian Pritz (bluewind) - Saturday, 26 November 2011, 13:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I have set /etc/wvdial.conf Defaults dialer according to my network provider(BSNL) and phone specifications. My phone is Nokia XpressMusic 5130-classic. About a year ago, with the same configuration, it was working fine. The phone works fine on a Windows 7 system and a Gentoo system with the same configuration file. On Archlinux, however, I get the following when I give the command wvdial:

--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyACM0: Device or resource busy
--> Cannot open /dev/ttyACM0: Device or resource busy
--> Cannot open /dev/ttyACM0: Device or resource busy

The output of lsusb is as follows:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0421:0208 Nokia Mobile Phones

Additional info:
* package version(s)
kernel-2.6.39

* config and/or log files etc.
/etc/wvdial.conf is as follows:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","bsnlnet"
Password = <password>
Check Def Route = 1
Phone = *99***1#
New PPPD = 1
Modem Type = USB Modem
Stupid Mode = 1
Baud = 460800
Auto DNS = 1
Dial Command = ATD
Modem = /dev/ttyACM0
ISDN = 0
Username = <username>
Closed by  Florian Pritz (bluewind)
Saturday, 26 November 2011, 13:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in pacman 4
Comment by Amitav (amitavmohanty01) - Wednesday, 13 July 2011, 19:36 GMT
Creating /var/lock directory solves the issue and I can connect as I used to earlier.
Comment by Jelle van der Waa (jelly) - Thursday, 14 July 2011, 16:21 GMT
what version of filesystem do you have?
Comment by Amitav (amitavmohanty01) - Thursday, 14 July 2011, 18:09 GMT
Its interesting to see that the task was unassigned as well as unconfirmed until I had figured the workaround that solved it.

Well the version of my filesystem is 2011.04-1.
Comment by Jelle van der Waa (jelly) - Thursday, 14 July 2011, 18:32 GMT
You're workaround isn't a workaround, /var/lock should exists
Comment by Amitav (amitavmohanty01) - Thursday, 14 July 2011, 19:44 GMT
I don't know why /var/lock did not exist. I actually got the clue from another bug report about wvdial.

Loading...