HOWTO: Wireless Data Cards
These instructions will walk you through the process, step-by-step, of configuring the EV-DO CDMA Wireless Data Card although i used this to configure my Merlin v620 card i am confident tha it would work for other similar models
works for Ubuntu Dapper 6.06 LTS with the GNOME Desktop and fiesty fawn which is wht i use
In most cases, activation of your wireless data card is either done by a representative of your wireless provider, or must be done using the included software on a Microsoft® Windows®-based operating system. Refer to the installation instructions included with your hardware for more information.
Once you have completed the activation of your product, you are ready to begin configuring the wireless card for use in Linux.
u must start the process of configuring your data card by first gathering some very important information that Ubuntu will need in order to utilize the hardware properly. Be sure that, at this point, you have the card removed from the PCMIA slot on your notebook before beginning.
Open a terminal window and execute the following command: Code:
cat /proc/bus/usb/devices > devices
Now insert your data card into the PCMIA slot and wait for a few seconds before continuing.
In the terminal window again, type the following and press ENTER: Code:
diff /proc/bus/usb/devices devices | grep Vendor
You should see some output that looks like the following: Code:
harbinger@endymion:~$ diff /proc/bus/usb/devices devices | grep Vendor
< P: Vendor=0000 ProdID=0000 Rev= 2.06
< P: Vendor=0000 ProdID=0000 Rev= 2.06
< P: Vendor=1410 ProdID=1110 Rev= 0.00
harbinger@endymion:~$
Inspecting the output, you will find two key pieces of information necessary for configuration of your data card: the Vendor and the ProdID.
Now, in the terminal, execute the following command: Code:
sudo modprobe usbserial vendor=0x1410 product=0x1110
Be sure to use your own Vendor and ProdID variables here.
Your wireless card should now be properly configured, and we can now move on to the next step of the process.
Configuration Script
Next, we need to edit the configuration script in order to get the data card communicating with the outside world.
Issue the following command and press ENTER: Code:
sudo gedit /etc/wvdial.conf
Copy and paste the following code into the file, replacing the existing contents: Code:
[Dialer Defaults]
Stupid Mode = on
Modem = /dev/ttyUSB0
Baud = 921600
Init = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone = #777
Username =
XXXXXXXXXX@provider.comPassword = XXXXXX
Init1 = ATZ
ISDN = 0
Modem Type = Analog Modem
Auto Reconnect = on
Carrier Check = no
[Dialer shh]
Init3 = ATM0
[Dialer pulse]
Dial Command = ATDP
In the above script, you will need to change a few pieces of information. First, you will need to replace "
XXXXXXXXXX@provider.com" with the 10-digit phone number and provider domain assigned to your data card. (For example:
5551234567@sprintpcs.com). Lastly, change the password to the one supplied to you by your provider. This password is normally referred to as an MTL or PIN number and is typically 6 digits long, but may vary depending on your provider. If you are unsure of what values to enter here, contact your service provider.
[edit]
Testing the Connection
The card has been configured, our script should be in order, and we should now be ready to test our connection to ensure that it is working properly.
In the terminal window, use the following command: Code:
wvdial
If the connection works, you will receive output in the terminal window similar to the following: Code:
arbinger@endymion:~$ wvdial
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Jul 18 04:13:36 2006
--> Pid of pppd: 5610
--> Using interface ppp0
--> pppd: (�[05][08]��[05][08]
--> pppd: (�[05][08]��[05][08]
--> pppd: (�[05][08]��[05][08]
--> local IP address XX.XX.XXX.XXX
--> pppd: (�[05][08]��[05][08]
--> remote IP address XX.XX.XXX.XXX
--> pppd: (�[05][08]��[05][08]
--> primary DNS address XX.XX.XXX.XXX
--> pppd: (�[05][08]��[05][08]
--> secondary DNS address XX.XX.XXX.XXX
--> pppd: (�[05][08]��[05][08]
Automatically Connecting at Startup
if it tells u that u don't have permission use the sudo before wvdial like this
sudo wvdial