PTCL DSL PPPoe

Discussion regarding the installation and configuration of Linux distributions.
bachajamuraa
Lance Naik
Posts: 37
Joined: Thu Sep 28, 2006 3:00 am

PTCL DSL PPPoe

Post by bachajamuraa »

salamz.....
i have ptcl dsl...and use red hat enterprise linux... with transprate proxy..
i want connect dsl with my linux server... but i don't know how to config pppoe in linux... can any one help me ..step by step how to config pppoe in linux...
Zaheer
Battalion Havaldaar Major
Posts: 286
Joined: Fri Oct 17, 2003 12:15 am
Location: Karachi
Contact:

Post by Zaheer »

Dont PTCL gave you a external DSL modem ?
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!

Registered Linux user #333501
bachajamuraa
Lance Naik
Posts: 37
Joined: Thu Sep 28, 2006 3:00 am

Post by bachajamuraa »

yes.. i got dsl modem.... but .. it's connet only pppoe.. and i don't know how to config pppoe in linux...
asaddotcom
Company Havaldaar Major
Posts: 195
Joined: Fri Feb 04, 2005 7:21 pm
Location: Lahore, PK
Contact:

Post by asaddotcom »

Sallamz,

Use PPP over Ethernet in DSL Modem "192.168.1.1" with user name and password, and direct connect DSL modem with your Linux.

For step by step configuration follow the instructions:

Web Login with your DSL modem write in internet explorer 192.168.1.1
give username and password "ZXDSL"
click on connection setting--->
delete all connection form there--->
click on "create a new connection"--->
chose "PPP over Ethernet"--->
click "goto next step"--->

Connection SETTING:-

vpi: 0
vcl: 103
Qos: UBR
ppp option:
Authentication: NONE
Username: 042-xxxxxxx
Password: 113xxxxxxxx
and finally click" create this new service"
after this click on Advance settings---->
then click on "security"---->
see the tag "Security Interfaces"
click on "add interface"
Name: ppp0
click on apply--->
click to "enable NAT to internal interfaces"

FINAL Proccess:

click on "Maintenance" left side menu
chose "Save" option and press the save button--->
again click on "Restart" and press restart button..

Note: don't check Reset to factory default settings!!!!

Now attach DSL modem with Linux--->ethernet and in /etc/resolv.conf
write:
nameserver 203.135.0.70
nameserver 203.135.1.117
save and exit

Enjoy!! PTCL Broadband Service

Best Regards:
Asad Ali (Network Admin)
DotCom Computers
Shop# B-4, Basement Regal Center, Regal Chowk, Hall Road Lahore
Tel: 042-7350810
Mob: 0321-9449320
Thanking You...

ครค๔
www.apnicollection.com | www.wikisoft.pk
kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Post by kbukhari »

use adsl-setup at linux root shell
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
bachajamuraa
Lance Naik
Posts: 37
Joined: Thu Sep 28, 2006 3:00 am

Post by bachajamuraa »

asaddotcom thankz.. for help... but i use your steps.. it's not working...
asaddotcom
Company Havaldaar Major
Posts: 195
Joined: Fri Feb 04, 2005 7:21 pm
Location: Lahore, PK
Contact:

Post by asaddotcom »

bachajamuraa wrote:asaddotcom thankz.. for help... but i use your steps.. it's not working...
Sallam,

do u gave manual ip address to your linux box eth0 which is given by PTCL ? like 192.168.1.2 ???
Thanking You...

ครค๔
www.apnicollection.com | www.wikisoft.pk
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

Dear bachajamuraa,

Here is what i did to my PTCL DSL...it is working..

Step 1 .
goto http://192.168.1.1
uid = admin
pass = admin

goto Home menu.
then goto WAN Settings.

PVC Number = PVC-0
Wan Type = PPP
Connection Type = PPPoE
VPI/VCI = 0 / 103
Encap. = LLC
Default Route = Enabled

User Name = xxxxxxx
Password = xxxxxxx
Use DNS = Enabled
Max Idle Time = Always On

Save these settings and restart your modem

Then goto DNS Settings in Home menu

DNS Status = Enabled
Primary DNS Address 202.125.128.204
Secondary DNS Address 202.125.148.204

Save thses settings and restart your modem


Step 2.

Goto Advanced Menu.
then goto ADSL Settings.
Name = Value
ADSL Modulation = Multimode
EC/FDM Mode = EC
BitSwap = Enable

Save your settings and restart your modem

Step 3.

now set you LAN Card as follows

IP ADDRESSES = 192.168.1.2
SUBNET = 255.255.255.0
GATEWAY = 192.168.1.1

Prefered DNS Server = 202.125.128.204
Alternate DNS Server = 202.125.148.204

restart Network Services.

Now edit /etc/resolve.conf as follows
add these entries

nameserver 202.125.128.204
nameserver 202.125.148.204

Thats it...

Hope this works for you....
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Post by nomankhn »

Dear,

How many network cards are required in that scenarios, i am talking about linux box

Whats ur suggestion about

eth0 192.168.1.1

eth1 192.168.2.1

Where Linux Machine is getting 202.x.x.x ip address.


How may DSL Providers are in Lahore and Karachi Support these types of settings.

Regards,
Noman Khanzada
kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Post by kbukhari »

mudasir wrote:Dear bachajamuraa,

Here is what i did to my PTCL DSL...it is working..

Step 1 .
goto http://192.168.1.1
uid = admin
pass = admin

goto Home menu.
then goto WAN Settings.

PVC Number = PVC-0
Wan Type = PPP
Connection Type = PPPoE
VPI/VCI = 0 / 103
Encap. = LLC
Default Route = Enabled

User Name = xxxxxxx
Password = xxxxxxx
Use DNS = Enabled
Max Idle Time = Always On

Save these settings and restart your modem

Then goto DNS Settings in Home menu

DNS Status = Enabled
Primary DNS Address 202.125.128.204
Secondary DNS Address 202.125.148.204

Save thses settings and restart your modem


Step 2.

Goto Advanced Menu.
then goto ADSL Settings.
Name = Value
ADSL Modulation = Multimode
EC/FDM Mode = EC
BitSwap = Enable

Save your settings and restart your modem

Step 3.

now set you LAN Card as follows

IP ADDRESSES = 192.168.1.2
SUBNET = 255.255.255.0
GATEWAY = 192.168.1.1

Prefered DNS Server = 202.125.128.204
Alternate DNS Server = 202.125.148.204

restart Network Services.

Now edit /etc/resolve.conf as follows
add these entries

nameserver 202.125.128.204
nameserver 202.125.148.204

Thats it...

Hope this works for you....
mudassar did u try adsl-setup command in rhel ?
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

Dear kbukhari,

I have not tried adsl-setup command, the method i have mentioned above works for me. However their might some other settings in LAHORE, so you have to call 1236 for guidance.

Hey 1 more thing, i called 1236 and asked is their any different configuration on LINUX or not and the guy told me that they dont know anything regarding LINUX .. lol :D

I think one of senior guys from this website should try their they might get high pay... this is just a thought.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

you couldn't pay me enough to deal with people who can't google.
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

Dear Lambda,

I am not telling that i will pay the guy, i am saying that PTCL "might" hire at high PAY...

I hope you understand....
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

you misread my comment. i meant the general "you", not you in particular.
nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Post by nomankhn »

Hi Mudasir,

I am waiting for my answer.


regards,
Noman Khanzada
Post Reply