wvdial is a PPP Dialer, which you can use for dialing your dial-up modems
- Connect your gsm modem to your pc via usb
- Now check whether your modem has connected or not
issue this command on the terminallsusb
- Now run
wvdialconf
, which will automatically create thewvdial.conf
files with the necessary data about your gsm device - Now you need to edit the
wvdial.conf
file vim /etc/wvdial.conf
- add this line
Init3 = AT+CGDCONT=1,"IP","here write your access point"
- Remove ; infront of
Phone
,Username
andPassword
- Add your username and password after deleting
<your username="username">
and<your password="password">
- Add the number to dial after
Phone=
Eg:Phone=*99#
- Now save the file by issuing the command
:wq
in command mode of the vim - Now to Connect to Internet using your gsm modem, issue this command on the terminal
sudo wvdial
sudo
before each command or switch user with sudo su
command first
Comments
Post a Comment