LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-21-2010, 04:59 AM   #1
tripleh
LQ Newbie
 
Registered: Apr 2010
Posts: 15

Rep: Reputation: 0
impossible to connect with adsl in debian


Hi;

i've installed debian lenny 5.0.4 in my hp laptop,using an officiel cd , i've installed ppp, pppoe, pppoeconf to configure an adsl connection (the dhcp is automatically configured on eth0)

the trouble is : that ifconfig works fine, but when i want to connect it is impossible , this is my interfaces file:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider


so please help me internet on my linux partition .

thanks.
 
Old 04-21-2010, 06:30 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
ADSL uses standard telephone lines, so pppoe is not the correct connection type.

Please describe the connections between your computer and the wall :

Is there a modem ? How do you connect to the modem - usb, ethernet cable ?

Is there a router ? This should be an ethernet cable.

More information needed.
 
Old 04-26-2010, 10:15 AM   #3
Anarion
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by smoker View Post
ADSL uses standard telephone lines, so pppoe is not the correct connection type.

Please describe the connections between your computer and the wall :

Is there a modem ? How do you connect to the modem - usb, ethernet cable ?

Is there a router ? This should be an ethernet cable.

More information needed.
I have ADSL with ethernet cable modem, and I use pppoe and it works.
 
Old 04-26-2010, 10:55 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Quote:
Originally Posted by Anarion View Post
I have ADSL with ethernet cable modem, and I use pppoe and it works.
Did the OP mention a modem ?
 
Old 04-27-2010, 12:41 AM   #5
Anarion
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by smoker View Post
Did the OP mention a modem ?
No sir, I was just stating about the pppoe stuff
 
Old 04-27-2010, 04:00 AM   #6
djcs
Member
 
Registered: Jun 2006
Posts: 43

Rep: Reputation: 15
Looks like its one of those real cheap dsl modems that are setup in bridged mode or only in bridged mode.
I have come across these before.
Get a real modem and have the user/pass setup in it and all your problems will be solved.
Just thought i would throw my 2 cents worth in.
 
1 members found this post helpful.
Old 04-27-2010, 05:45 AM   #7
tripleh
LQ Newbie
 
Registered: Apr 2010
Posts: 15

Original Poster
Rep: Reputation: 0
impossible to connect with adsl in debian

hi smoker , thanks for your response

i've a modem freebox with an ethernet cable, i've used it with my old machine pentium4 in linux debian4.0 so what do you think in this case?

line of telephone connected to the box and the ethernet cable rj45 with my laptop .

thank you
 
Old 04-27-2010, 09:07 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Is there any documentation on the "freebox" we can see online -- either from your service provider or from the freebox vendor? Do you have any more specific information on the "freebox" -- make, model, firmware?
 
Old 04-28-2010, 05:00 AM   #9
tripleh
LQ Newbie
 
Registered: Apr 2010
Posts: 15

Original Poster
Rep: Reputation: 0
impossible to connect with adsl in debian

Hi;
my freebox is adsl modem: zte zxdsl 831A by zte corporation : www.zte.com.cn, i've 2 network cards one of ethernet , and one for wireless , while configuration of network it detects: eth0, and eth1 .
with eth0 : success , with eth1 : failed .
with ifconfig i got: eth0, lo, and ppp adress but i can't ping
also iceweasel print an error message.
thanks.
 
Old 04-28-2010, 05:40 AM   #10
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
For those who prefer a direct link in English, the product page is here. I was not able to find the product manual on that site but it is available from BSNL here (thanks BSNL!).

It looks like a standard ADSL2+ modem/router with one Ethernet and one USB port for LAN connection.

@tripleh: the general idea with this type of device is:
  1. Connnect your computer and the 831A via the Ethernet ports.
  2. Configure your computer's eth0 to, say, 192.168.1.2 with a gateway of 192.168.1.1.
  3. Browse to http://192.168.1.1 and log in.
  4. In the system administration menus, configure the 831A according to information given by your ISP.
  5. Win!
Which ISP are you using?
 
Old 04-29-2010, 01:57 AM   #11
tripleh
LQ Newbie
 
Registered: Apr 2010
Posts: 15

Original Poster
Rep: Reputation: 0
impossible to connect with adsl in debian

Hi ;

my isp is: algerie telecom because i'm located now in algeria
thanks.
 
Old 04-29-2010, 03:09 AM   #12
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Are you OK with following the procedure in my last post, using information from algerie telecom in step 4?

Step 1 assumes that eth0 is the wired Ethernet port.

In step 2 you also have to set a netmask of 255.255.255.0.

Tell us how far you got. If you get stuck it would be useful to see the output of
Code:
ifconfig
route -n
It would also be very helpful to know the algerie telecom instructions (not your username and password); are they available on the Internet?
 
Old 04-30-2010, 09:23 AM   #13
tripleh
LQ Newbie
 
Registered: Apr 2010
Posts: 15

Original Poster
Rep: Reputation: 0
impossible to connect with adsl in debian

Hi catkin;
thank you ; i've execute your procedure but still i can't connect to internet ,
here are the result of command lines and my usr/sbin/pppd which is encoded?!

i also find an error message while booting system:

usr/sbin/pppd : none of the availible password let the ip adress set : something like this ?

http://192.168.1.1 it can't be used : i enter password and my user name given by my isp? yes, i've the same message log in log in if i click cancel i got: 401 error?
192.168.1.2 : it works!
thanks advance
Attached Thumbnails
Click image for larger version

Name:	Capture-Propriétés de ppp0.png
Views:	11
Size:	24.7 KB
ID:	3477   Click image for larger version

Name:	Capture.png
Views:	13
Size:	141.2 KB
ID:	3478   Click image for larger version

Name:	nana.png
Views:	11
Size:	62.3 KB
ID:	3479  
 
Old 04-30-2010, 12:36 PM   #14
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
In the manual, on page 10, it says this modem can be used in three modes -- PPPoE, PPPoA and bridged. In bridged mode your computer is directly connected to the Internet so it is less secure than the other modes. It is also harder to set up for more than one computer.

Do you have a special reason for using bridged mode? Perhaps you have another computer or another OS on this computer that is already using bridged mode.

Is your Algerie Telecom the FAWRI one? If so and you have no special reason for using bridged mode, we can set up the modem as a standalone PPPoE device (FAWRI use PPPoE, not PPPoA as described here and in the link below).

Regards "http://192.168.1.1 it can't be used : i enter password and my user name given by my isp? yes, i've the same message log in log in if i click cancel i got: 401 error?", you should use the modem username and password, not the ADSL connection ones. Try username admin and password admin or password ZXDSL. There's a great guide for setting up this modem for Algerie Telecom here but it is better not do as suggested on page 10 and give the whole 192.168.1.2-254 address range to DHCP.

EDIT:

Regards you thumbnails, if you are OK with not using bridged mode you don't need ppo0 and pppd. /usr/sbin/pppd is a "binary" so what you see is normal -- but no use!

Last edited by catkin; 04-30-2010 at 12:40 PM.
 
Old 05-01-2010, 02:04 AM   #15
tripleh
LQ Newbie
 
Registered: Apr 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Smile impossible to connect with adsl in debian

Hi, catkin ;
it is so kind to give all this explanation to me, i didn't search a lot for this, i thaught that my isp may resolve me this trouble but ?
so i 'll execute your procedure and i 'll tell you the result
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mumble 1.2 on Debian 5.0 impossible? phantom_cyph Debian 10 02-07-2010 05:21 AM
Debian etch: I can NOT re-connect to the Internet (PPPoE/ADSL) Avatar Linux - Networking 2 08-08-2008 02:21 PM
Impossible to connect? jdknshld Linux - Wireless Networking 1 06-25-2006 03:07 AM
Cannot connect ADSL Debian chestnut Linux - Networking 0 07-07-2004 06:11 PM
Impossible to ADSL connect trough Ericsson hm220dp (not USB) on Mandrake 10 c0de Mandriva 1 05-25-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration