When first you insert the Worldcall Evdo USB device which is AnyDATA Corporation device appears as a USB CDROM/MMC.
( lsusb output )
Code: Select all
Bus 007 Device 004: ID 05c6:1000 Qualcomm, Inc.
Code: Select all
lrwxrwxrwx 1 root root 3 2009-07-04 21:42 /dev/cdrom -> sr0
Code: Select all
lrwxrwxrwx 1 root root 3 2009-07-04 16:44 /dev/cdrom -> sr1
I use simple "eject" to do the job by issuing one or two times
Code: Select all
[root@localhost ~]# eject /dev/cdrom
[root@localhost ~]# eject /dev/cdrom
( lsusb output )
Code: Select all
Bus 007 Device 003: ID 16d5:6502 AnyDATA Corporation
By using kppp or any dialup software of your choice you can connect to internet.
Code: Select all
Modem Device : /dev/ttyUSB0
UserName : wcall@worldcall.com
Password : wcall
Phone No : #777
DNS : 203.81.204.2
203.81.204.23
1) Default Gateway is not set and
2) No DNS Servers Entry in /etc/resolv.conf
For DNS Server, make the entry in /etc/resolv.conf file like
Code: Select all
nameserver 203.81.204.2
nameserver 203.81.204.23
Code: Select all
ppp0 Link encap:Point-to-Point Protocol
inet addr:115.186.67.233 P-t-P:192.168.2.10 Mask:255.255.255.255
Code: Select all
[root@localhost ~]# route add default gw 115.186.xxx.xxx
Happy Netting.
For device mode switch the following can be done
( I didnt tested any of the follwoing )
USB_ModeSwitch - Activating Switchable USB Devices on Linux
http://www.draisberghof.de/usb_modeswitch/
Or using "udev". Making a rule entry in /etc/udev/rules.d/ to automatically eject the device when inserted.
Code: Select all
ENV{ID_CDROM}=="?*",ENV{ID_SERIAL}=="XXXXXXXXXXX-99999999999-0:0",RUN+="/usr/bin/eject /dev/%k"