So you have ubuntu and photon + in your hand but you don't know how to connect internet using them. I am giving you simple steps to do this task assuming that your beginner for linux.
Step 1. You need to download wvdial packages. If you are not connected with internet download them using other machine having internet. Download and install them in same sequence as given :
1. http:// packages. debian. org/lenny/ i386/libxplc0. 3.13/download
2. http:// packages. debian. org/lenny/ i386/libwvstrea ms4.4-base/ download
3. http:// packages. debian. org/lenny/ i386/libwvstrea ms4.4-extras/ download
4. http:// packages. debian. org/lenny/ i386/libuniconf 4.4/download
5. http:// packages. debian. org/lenny/ i386/wvdial/ download
2. http://
3. http://
4. http://
5. http://
Step 2. After downloading , open Applications --> Accessories --> Terminal
Step 3. Type : sudo gedit /etc/wvdial.conf
paste and save the following code into wvdial.conf file :
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
[Dialer netconnect]
Username = internet
Password = internet
Phone = #777
Stupid Mode = 1
Inherits = Modem0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
[Dialer netconnect]
Username = internet
Password = internet
Phone = #777
Stupid Mode = 1
Inherits = Modem0
Step 4. Type lsusb , find out string next to ID , It is something like xxxx:yyyy . Here xxxx is used for vendor and yyyy is for product. You don't need to go in detail just remember to connect your photon to computer before using this command. If you are confuse that which ID is for your Device then you can use these tricks, most probably the device which I am talking about has ffff as value for its product or you can disconnect your device from machine and use same command , value which is missing is your device id.
Step5. In terminal type : sudo modprobe usbserial vendor= 0x19d2 product=0xffff ( in my case , type your xxxx and yyyy values) Please note here x is not multiply sign(*)
Step6. Type : sudo wvdial
Step7. Don't close terminal window and open firefox and enjoy your internet.
Step8. For disconnecting , open your terminal window and press ctrl + c .
I tried to make this tutorial as simple as possible but if you find any difficulty in setting up your device, feel free to leave comment and ask about it.
I hope it helps!
i wish i cud have the vdo tutorial...
ReplyDeleteI will upload video tutorial soon.
ReplyDelete