Hello all.
I've got a Sphairon NT1+web ISDN modem with USB interface. It works well in Windows, but I cant make it work in Linux.
when I plug it to Linux machine, I see this in /var/log/messages:
Code:
Aug 13 12:42:20 cruter kernel: hub.c: new USB device 00:02.0-1, assigned address 5
Aug 13 12:42:20 cruter kernel: ttyACM0: USB ACM device
Aug 13 12:42:24 cruter /etc/hotplug/usb.agent: Setup acm for USB product 114b/22/1
Aug 13 12:42:24 cruter /etc/hotplug/usb.agent: Setup acm for USB product 114b/22/1
So I made new device node /dev/ttyACM0 by command
Code:
# mknod /dev/ttyACM0 c 166 0
, symbolic link /dev/modem to it and installed wvdial, my /etc/wvdial.config is:
Code:
[Dialer Defaults]
Modem = /dev/modem
Baud = 230800
Init1 = AT
Init2 = AT&F&D2&C1V1E0S0=0
Init3 = ATS30=0
Init4 = ATS0=0
Dial Command = ATD
Phone = 633333
Username = ***
Password = ***
When modem is not plugged, wvdial causes this
Code:
# wvdial
--> WvDial: Internet dialer version 1.53
--> Cannot open /dev/modem: Invalid argument
--> Cannot open /dev/modem: Invalid argument
--> Cannot open /dev/modem: Invalid argument
But when modem is plugged correctly, it does not respond:
Code:
# wvdial
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: AT
--> Sending: ATQ0
--> Re-Sending: AT
--> Modem not responding.
wvdialconf does not detect it too.
It seems that /dev/modem is working correctly, but initialization string is not correct. My problem also is that I cant check modem by sending AT-commands through terminal - modem does not respond on any command even in Windows Hyper Terminal, but works fine. Those strings in my wvdial.conf I copied from COM3 log dump after successful Windows connection session (modem has answered "OK" to every initialization string in this dump).
Please give me some advices.
Sorry for my bad English.