Cannot create ADSL connection

Asked by Robin Wingrove

I would like to thank those who aided me in using gedit last night. It appears that the line in question is not at fault as even if I comment it out the connection will not take place.

I have just loaded Ubuntu and attempted to create an ADSL login using the following procedure:
sudo ifconfig
sudo apt-get install pppoeconf
sudo pppoeconf
sudo pon dsl-provider
sudo ifconfig

At times, there is an error message stating that /dev/modem is unknown (incorrect?). At all times there is not a connection as I open up Firefox, type in a URL (eg www.google.com) and get a message stating that it cant find it as there is not connection.

Here is the full provider file from /etc/ppp/peers which this message is informing me about.

#############################################################################

# example configuration for a dialup connection authenticated with PAP or CHAP
#
# This is the default configuration used by pon(1) and poff(1).
# See the manual page pppd(8) for information on all the options.

# MUST CHANGE: replace myusername@realm with the PPP login name given to
# your by your provider.
# There should be a matching entry with the password in /etc/ppp/pap-secrets
# and/or /etc/ppp/chap-secrets.
user "<email address hidden>" #This has been edited for privacy, it does not appear like this in the actual file

# MUST CHANGE: replace ******** with the phone number of your provider.
# The /etc/chatscripts/pap chat script may be modified to change the
# modem initialization string.
 connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********"

# Serial device to which the modem is connected.
/dev/modem

# Speed of the serial line.
115200

# Assumes that your IP address is allocated dynamically by the ISP.
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
defaultroute

# Makes pppd "dial again" when the connection is lost.
persist

# Do not ask the remote to authenticate.
noauth

###################################################################################

I wonder why this error appears as the file above seems to point exclusively to a dial up connection which obviously mine is not.

Could someone please assist?

Many thanks

Robin Wingrove

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu pppoeconf Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nicolas DERIVE (kalon33) said :
#1

Is your ADSL modem an internal, an usb one or is it connected via ethernet or wifi ?

Revision history for this message
Robin Wingrove (rdwin) said :
#2

> Your support request #2797 on Ubuntu changed:
> https://launchpad.net/distros/ubuntu/+ticket/2797
>
> Status: Open => Needs information
>
> Nicolas DERIVE requested for more information:
> Is your ADSL modem an internal, an usb one or is it connected via
> ethernet or wifi ?
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://launchpad.net/distros/ubuntu/+ticket/2797
>
>
Thanks Nicolas for getting back so promptly.

My ADSL modem is external and doubles as a cable TV set top box as well.
It is linked via an ethernet card in my PC by Cat 5 cable.

Cheers

Robin

Revision history for this message
Spirit (mojster-team) said :
#3

Try this again; Go to the terminal and dont do anything else then enter: sudo pppoeconf it should ask you for a password just enter it don t press enter until you are done, when you are done with entering pass press enter you should see a blue screen follow the instructions their but watch your pressing of enter it should ask you for your ADSL connection pass and username.

If this doesn t work try turning your modem and compluter down and turning it up again (2x) then try the procedure again.

Revision history for this message
TomB (tom-t0mb) said :
#4

uhm, if you connect via an ethernet cable, then you want to probably use DHCP, as the set top box is probably connecting to the internet itself, and then you will just use that as a gateway, so your machine never needs to know about the modem itself, it will just appear to be on a normal LAN. You don't even need pppd, just try DHCP

Revision history for this message
David Jones (dj) said :
#5

  If you have a dsl modem it is only dsl from your isp to the modem then it is wired sonnection from there to yur pc try using wired connection
.

Thanks David In tn

Can you help with this problem?

Provide an answer of your own, or ask Robin Wingrove for more information if necessary.

To post a message you must log in.