how to install and configure ADSL Modem

Asked by VP Gautham on 2009-05-22

Sir,
    I am new to ubuntu and using ubuntu 9.04 Jaunty. I am using Nokia Siemens C2110 ADSL Modem to connect internet through USB. I don't have any problems in windows but in ubuntu i cant get installed it (PPPoE). I tried sudo pppoeconf in terminal but it did not detect my hardware.Do i need a driver .Please help me.

Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu pppoeconf Edit question
Assignee:
No assignee Edit question
Solved by:
VP Gautham
Solved:
2009-07-02
Last query:
2009-07-02
Last reply:
2009-06-28

This question was reopened

Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

VP Gautham (vpgautham) said : #2

please anyone help me

Wim (launchpad-xs4all) said : #3

VP Gautham,

i will try to help you,
can you please do this:

Shut down the PC,
connect the USB-ADSL-modem,
first put the modem on, wait for 2 minutes
then power ON the PC.

Log in to Ubuntu.
.1. Do you see a new icon on your Desktop (the modem?!?)

.2. IF there is a network-icon in your Application-bar,
    THEN put the mouse-cursor above that icon; left-click (Manually Network Configuration);
    ELSE (there is no network icon) select the menu-path
   <Applications>... , <System>..., <Network>...
(Perhaps the path is somewhat different in the Ubuntu-version you have...)

There will pop up a window (named probably: NetworkConfiguration / NetworkSettings)

Please describe what you see here,
i assume something like:
   [ Wired Connection
   [ USB-Connection
   [ Point-to-Point Connection

With your answer we can continue the search for a solution.

VP Gautham (vpgautham) said : #4

Sir,

Thank you for your response

but i did not see any icon on desktop
in System-->Adminstration-->Network i saw

   [Wired Connection(pan0)
   [Wired Connection(eth0)
   [Point-to-Point Connection

What i have to do next?
pls help me menting

Wim (launchpad-xs4all) said : #5

VP Gautham,

In Windows, you can find the settings of your USB-modem; write them down...
Start Ubuntu, go to the menu
<System>,... <Administration>,... <Network>,...
In that screen you can <Unlock> the situation using your password.

Select the line Wired_Connection(pan0), and then <Properties>
Now fill in the blanks using the information you wrote down.

Somewhere in the menu you can choose to set the default network connection to PAN0; i assume that this was set to ETH0; so your PC was trying to connect to the internet using a wired-connection.

Please let us know if this was the problem...

VP Gautham (vpgautham) said : #6

Sir,
I didn't find that Wired_Connection(pan0). i got a cable to connect the router through lan card. can you help me to connect it through lan card.

Please help me

Wim (launchpad-xs4all) said : #7

VP Gautham,

Excuse i did not answered sooner... and
sorry if i did not understand you correct the first time...
To connect the PC with a wired connection, act thus:

1. shut down the PC
2. connect the PC with the router
3. check that the router is ON
4. boot the PC ; on the router the connection-light with the corresponding port is going ON
5. select <System>,... <Administration>,... <Network>,...
   in that screen choose the <Unlock>-button and enter your password
6. from the connections shown there, select the correct one (in this case the ETH0...)
7. press the <Properties>-button and fill in the blanks there
   Often the setting DHCP is working, so try that one first.
If you have a paper saying what settings to use, you can set the type connection to "Static IP-address" and fill in the blanks conform the paper.

Can you reach the InterNet now ?!?

VP Gautham (vpgautham) said : #8

thank you menting i can connect internet with linux through lan card

thank you veru much

VP Gautham (vpgautham) said : #9

sir,

I connected internet only one time when i restarted my computer i cant connect.

When i connected internet there was a network icon and a bubble showed that 'auto eth0 connection established'.I clicked on that icon and clicked on dsl connection from the menu appeard(dsl connection which i configured before). the internet connection established.
but when i restarted computer the icon changed to 'some bars and a cross mark'. when i clicked on it a menu appeard and said 'device not managed'.

What to do sir ?
pls help..

VP Gautham (vpgautham) said : #10

Sir,
Now I connect internet through terminal by entering

'sudo pppoeconf'

and

'pon dsl-provider'

and disconnect by entering

'poff dsl-provider'

Can I do it in graphical way if i can pls tell me how to

pls help me

Wim (launchpad-xs4all) said : #11

VP Gautham,

there is a trick to do this:
you are going to create 2 unix-scripts: one for connecting and one for disconnecting.

Start a terminal window (i assume you know how to do this...)
enter these commands (all between brackets is my comment and explanation, so do not enter this...)

   cd ~/Desktop (the prompt will be Name@PC:~/Desktop$ )

   /usr/bin/nano ./OpenInternet.sh (is Dot-Slash-OpenINTernet-dot-sh)
            (you are working in the editor NANO ...)
            (the editor-commands are below)
            (Ctrl-o is SAVE)
            (Ctrl-x is QUIT/exit)
            (now enter this text carefully, and save it)

   #!/bin/sh
   # script used to start and open the internet connection

   /usr/bin/sudo /usr/sbin/pppoeconf

   /usr/bin/pon dsl-provider

            (Ctrl-o and Ctrl-X will save it and exit NANO)
            (your prompt is back to Name@PC:~/Desktop$ )
            (now you must be able to run the script)

   /bin/chmod u+x ./OpenInternet.sh

            (the same must be done for disconnecting)
            (so now without my comment:)

   /usr/bin/nano ./CloseInternet.sh

   #!/bin/sh
   # script used to start and open the internet connection

   /usr/bin/poff dsl-provider

            (Ctrl-o and Ctrl-X will save it and exit NANO)
            (your prompt is back to Name@PC:~/Desktop$ )

On your desktop there are 2 new icons visible:
OpenInternet and CloseInternet; try them.

VP Gautham (vpgautham) said : #12

Sir,

 I tried it and two icons appeared.
Openinternet.sh And Closeinternet.sh
But when i double clicked on Closeinternet.sh a gedit window appeared and displayed what i entered in terminal

Openinternet.sh opened a dialougue box with options run in terminal and display . I clicked run in terminal but it opened the configuration window.

What is next?

Anyway thank you very much Sir

VP Gautham (vpgautham) said : #13

What to do

Wim (launchpad-xs4all) said : #14

If you start a terminal, and enter the command:

   /bin/cat ~/Desktop/OpenInternet.sh

then this text must appear on your screen:

   #!/bin/sh
   # script used to start and open the internet connection

   /usr/bin/sudo /usr/sbin/pppoeconf

   /usr/bin/pon dsl-provider

and after this text the prompt again, something like Gautham@MyPc$
if you enter the command:

   /bin/cat ~/Desktop/CloseInternet.sh

then this text must appear on your screen:

   #!/bin/sh
   # script used to start and open the internet connection

   /usr/bin/poff dsl-provider

and after this text the prompt again, something like Gautham@MyPc$

Please can you verify this... Thank you.

The command (the second thing on the line is Minus-L)

   /bin/ls -l ~/Desktop/*Internet.sh

must give 2 lines like:

-rwxr-xr-x 1 Username Groupname Number 2009-06-27 .......

Please verify the third character on the line is an x, in -rwxr-...
Thank you for your answer.

VP Gautham (vpgautham) said : #15

Sir,

Thank you. My problem solved.

A line was missing. i copied it and paste

That solved my problem.

Thank you very much sir

avikar (avikar) said : #16

this is all for the users using wired connection that is usb or a ethernet cable but what abour configuring the pppoe connection using a wireless network.......
somebody please help i am in such university which is using wireless internet we have to connect with wireless then a dial up to connect to internet....
how can i make a broadband dial up using wireless connection???????????

avikar (avikar) said : #17

this is all for the users using wired connection that is usb or a ethernet cable but what abour configuring the pppoe connection using a wireless network.......
somebody please help i am in such university which is using wireless internet we have to connect with wireless then a dial up to connect to internet....
how can i make a broadband dial up using wireless connection???????????