The following is the way to create a NOD.
mknod /dev/usb/ttyACM0 c 166 0
After this step a nod called ttyACM0 is available in /dev.
Now the next step is to identify where USB phone modem is connected to .
Connect the modem & boot the system,
look into the Device Manager and find the linux path:
for me it is /dev/bus/usb/001/002 to which my phone is connected.
So next step was to link it wwith ttyACM0..
The following are the steps:
ln -s /dev/usb/ttyACM0 /dev/ttyACM0
Now the next thing I did was to edit the wvdial.conf.
My copy of wvdial.conf is as follows.
[Modem0]
Modem=/dev/ttyACM0
Baud=115200
SetVolume=0
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1
FlowControl= Hardware (CRTSCTS)
[Dialer tata]
Username= internet
Password= internet
Phone=#777
Stupid Mode= 1
Inherits = Modem0
Now to configure the ppp0.
In the port section make an entry /dev/ttyACM0 instead of the given ttyS 's and /dev/modem.
Now enter #777 in the phone number side.
Now in the terminal type wvdial tata and there you have it
Happy browsing.
No comments:
Post a Comment
Always Appreciated