Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old April 22nd, 2008   #1
pedrosal
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 5
Anydata CDMA modem

Hi to all,
I have an Anydata CDMA 3G modem model ADU-BAT-100. I have a new Vaio SZ laptop.

In Angola we use these modems commonly as they provide the most reliable internet access.

But I cannot manage to configure this. Anydata sent me a Linux driver, but I cannot get this to work. I can post it if need be.

The Windows utility has an interface on which you press a dial button and in a few seconds the connection is running.

Is it possible to have a similar setup under Ubuntu? Without having to put in passwords, dialling numbers etc? Just a simple interface which can take me direct to my network?

I understand little about software, and have become determined to run Ubuntu to replace the Windows OS in my company. But this is one fnction I need to get to work easily.

In placing answers, I would like to request that you understand that I am really in the dark here.

Thank you, Pedro
pedrosal is offline   Reply With Quote
Old May 29th, 2008   #2
alexandremrj
A Carafe of Ubuntu
 
alexandremrj's Avatar
 
Join Date: Apr 2008
Location: Portugal
Beans: 96
Ubuntu 9.04 Jaunty Jackalope
Re: Anydata CDMA modem

Hello,

I'm running hardy and my installation had a few problems and only worked with sudo. The instructions here are for the normal user (in the bottom of the post i will place the commands i used with my installation). I use the modem ADU-BAT-100 from AnyData and the Internet provider is Zapp from Portugal.

1. The first thing i did was install the package gnome-ppp (you can search for it in synaptic or do: sudo apt-get install gnome-ppp ).

2. In the network manager on the notification area choose manual configuration and choose point to point connection and in the "General" tab uncheck the option "Enable this connection" (so that option will be blank). - In my configuration not disabling this point gave that the modem didn't work.

3. Connect your modem to the PC

4. In the terminal run: gnome-ppp

5. A window will appear so press Setup and in the "Modem" tab press Detect. It will detect your modem in the USB port, probaly with the type Analog Modem, so in the Type choose USB Modem. Speed you can leave the detected one. In the dial prefix place #
In the "networking" tab see that "Dynamic IP adress" and "Automatic DNS" are the options selected.
In the "options" tab choose "Dock in notification area" if you want.
Close the window

6. Place your username in the box and the password. If you want choose "Remember password" so that it will stay in memory for further sessions. In "Phone number" place 777 (if this is the option of your service provider, and it usually is).

7. Press connect. It will give you a small window. If that doesn't disappear then you can press "log" and see what is the problem. If you can't see the problem copy and paste in the foruns the error message.

8. Create a shortcut in your panel with "Add to panel" --> "Custom application launcher". Choose Type "Application" and in command place: gnome-ppp Press "Close"

9. When pressing this shortcut you will enter a window with everything from your connection and all you have to do is press connect.

P.S: If you can't connect to the internet because the log gives permission errors then you can:
In point 4 run the command: sudo gnome-ppp
Then in point 8 the command becomes gksu gnome-ppp
__________________
Sometimes, when I'm home alone, I google myself
alexandremrj is offline   Reply With Quote
Old June 2nd, 2008   #3
pedrosal
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 5
Re: Anydata CDMA modem

Alô Alexandre.

It works but not fully.

It works, and I'm ecstatic, in that I am able, finally, to connect to my service provider after having to guess the password and with no support from them. But...it only connects to the service provider, and I cannot, thereafter, use the internet.

I had to use the command sudo gnome-ppp.
It connects perfectly.
But the connection manager isn't coming right. Even after connection I cannot use the connection to connect to the internet. I have disabled as per instructions in the 'general' tab of the point to point connection. And I also tried the alternative of enabling it and using the relevant information regarding such as account name, service provider etc.

In short, I am ALMOST there. It is working but I'm still unable to access the internet through the connection.

Below is the terminal info:

luanda@luanda-laptop:~$ sudo gnome-ppp
WVCONF: /root/.wvdial.conf
GNOME PPP: Connecting...
GNOME PPP: STDERR: --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
GNOME PPP: STDERR: --> WvDial: Internet dialer version 1.60
GNOME PPP: STDERR: --> Cannot get information for serial port.
GNOME PPP: STDERR: --> Initializing modem.
GNOME PPP: STDERR: --> Sending: ATZ
GNOME PPP: STDERR: ATZ
GNOME PPP: STDERR: OK
GNOME PPP: STDERR: --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
GNOME PPP: STDERR: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
GNOME PPP: STDERR: OK
GNOME PPP: STDERR: --> Modem initialized.
GNOME PPP: STDERR: --> Sending: ATM1L3DT#777
GNOME PPP: STDERR: --> Waiting for carrier.
GNOME PPP: STDERR: ATM1L3DT#777
GNOME PPP: STDERR: CONNECT
GNOME PPP: STDERR: --> Carrier detected. Waiting for prompt.
GNOME PPP: STDERR: ~[7f]}#@!}!}!} }9}"}&} } } } }#}%B#}%}%}&_r$(}'}"}(}"[15][14]~
GNOME PPP: STDERR: --> PPP negotiation detected.
GNOME PPP: STDERR: --> Starting pppd at Mon Jun 2 17:23:30 2008
GNOME PPP: STDERR: --> Pid of pppd: 23095
GNOME PPP: STDERR: --> Using interface ppp0
GNOME PPP: STDERR: --> local IP address 41.210.199.172
GNOME PPP: STDERR: --> remote IP address 10.0.255.30
GNOME PPP: STDERR: --> primary DNS address 217.168.127.15
GNOME PPP: STDERR: --> secondary DNS address 217.168.127.14
GNOME PPP: STDERR: Caught signal 2: Attempting to exit gracefully...
GNOME PPP: STDERR: --> Terminating on signal 15
GNOME PPP: STDERR: --> Connect time 1.1 minutes.
GNOME PPP: STDERR: --> Disconnecting at Mon Jun 2 17:24:38 2008
pedrosal is offline   Reply With Quote
Old June 2nd, 2008   #4
pedrosal
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 5
Re: Anydata CDMA modem

Sorry!!!! It works!

This is fantastic. Sorry, I had been looking at the network manager icon for an indication that there was a connection. There is no indication. And because the internet is sloooooooow I though I had no connection.

But it works.

Some more info...I have been given a linux driver by AnyDATA. Are you interested in me sending it? I have been unable to make it work. But maybe it could be used for Ubuntu by someone who understands better.

Thanks,

Pedro
pedrosal is offline   Reply With Quote
Old June 2nd, 2008   #5
lswb
Dark Roasted Ubuntu
 
Join Date: Dec 2006
Beans: 1,029
Ubuntu 9.04 Jaunty Jackalope
Re: Anydata CDMA modem

Hi,

I have some issues with NetworkManager and ppp also and thought you'd be interested. NetworkManager does NOT recognize when a ppp session is active and this can cause firefox and evolution to start in "offline mode." If you set up evolution to automatically send/receive your email, it won't work without manually setting it to "online" mode. Likewise with firefox, before you can load any web sites, you must manually set it to online also. There are other applications that are also affected, most of them are the ones that are integrated into gnome to some degree. I've heard that these shortcoming will be addressed in a newer version of NM, but I don't know when that will be or if it will be part of a Hardy update

If you uninstall NetworkManager and use wicd or some other solution instead you will not have this problem.
lswb is offline   Reply With Quote
Old June 2nd, 2008   #6
pedrosal
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 5
Re: Anydata CDMA modem

Thanks for the advice. I'll uninstall NM and use another solution. Yes, this had caused me some confusion, but I'd just realised it caused things to start in 'offline' mode.
pedrosal is offline   Reply With Quote

Bookmarks

Tags
cdma anydada modem gui

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:17 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry