Did you ever try connecting your mobile device via NetworkManager? I always failed to get connected with connection terminated error message as shown below:
pppd: Modem hangup
pppd: Connect time 0.1 minutes.
pppd: Sent 53 bytes, received 128 bytes.
kernel: [ 396.968140] usb 5-1: USB disconnect, address 3
kernel: [ 396.970792] option 5-1:1.0: device disconnected
kernel: [ 396.971327] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
kernel: [ 396.973079] option 5-1:1.1: device disconnected
kernel: [ 396.973448] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
kernel: [ 396.973471] option 5-1:1.2: device disconnected
pppd: Connection terminated.
Today I thought of giving it an another try and succeeded to fix the issue.. Here is what I have done with the Mobile Broadband connection.
1) Right click on NetworkManager and select “Edit connections” to get following dialouge box. Once you’re there click on “Mobile Broadband” tab
2)If you’ve already configured the connection, Choose the connection name, click on Edit. Otherwise, setup a new connection (When ever you connect your mobile devices automatically Ubuntu detects such devices and prepares itself to create a connection).
3) Now, time to apply the trick.. In PPP settings tab, disable “Use Point-Point Encryption (MPPE)” as follows.
4) Click on apply
5) Now close the windows, click on Network button on the screen, ensure that you’r mobile device is connected, select the Mobile broadband connection to get connected.
Neat isn’t it?
No more wvdial and terminal on desktop while browsing net.I have tried this with Reliance Broadband+. Same thing should work with other mobile devices also. Give it a try.
At last I’m successfully connected to net via my Motorola Motoming A1200 using Airtel GPRS connection on Ubuntu (I’m using Ubuntu Jaunty Jackalope ie 9.04 Alpha).
Here is a quick run through for setting up GPRS connection on Ubuntu:
First configure pppd default ip address to which you want the GPRS connection to be binded. This can be done by editing /etc/ppp/options file. Add the following line to it via vi or other file editing tool.
Now, make the required changes to /etc/wvdial.conf as mentioned below.
PS: You can get this file generated by connecting the phone via usb and then running sudo wvdialconf /etc/wvdial.conf on console. Ensure that USB mode is set to “Modem”
Lucky me to be able to work with my BSNL broad band connection without any issues today. Hopefully they have fixed this persisting connection issue permanently. Otherwise I will have to think about playing around with my Airtel GPRS and Ubuntu to get going online. (It’s on To-Do at the moment)