PDA

View Full Version : [lubuntu] create pppoe client with servicename



skynoc
November 25th, 2010, 01:35 PM
hello ,

i m new to ubuntu i want to create a pppoe client with a service name
i used to create it with pppoeconf but it is not asking me for the service name
i went to /etc/ppp/peers then i typed gedit dsl-provider

i opened the file


# Minimalistic default options file for DSL/PPPoE connections
noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#persist
#maxfail 0
#holdoff 20
plugin rp-pppoe.so
usepeerdns
nic-wlan0
user "fadib"



i put in the bottom servicename="ROG"

when i pon dsl-provider it said unrecognized option servicename

i put in the header of the file this line :

pty "/usr/sbin/pppoe -I wlan0 -T 80 -m 1452 -S ROG"

nothing changed i still cant connect

any idea will be helpful

dineshs
November 27th, 2010, 08:15 AM
Use Network manager DSL tab
http://ubuntuforums.org/showpost.php?p=9611450&postcount=2

sagarthegreat1
December 16th, 2010, 05:30 AM
1. Install rp-pppoe http://www.roaringpenguin.com/products/pppoe
2.After install,run pppoe-setup in terminal.it will ask some questions, answer them appropriately.
3.run sudo pppoe-start.if it connects, good enough.stop and enjoy.
4.otherwise open /etc/ppp/pppoe.conf
5. Find field ACNAME and attach your service name to it.
6.save and go to step 3

skynoc
January 15th, 2011, 08:33 AM
hello

the Kde Network Manager applet works only with wired connection , it doesnt work with wireless .
- winxp is very simple to change the service name for each pppoe you create ,why ubuntu is not ?

please help

na12
January 18th, 2011, 09:21 AM
Try this app,there is a servicename option

http://gtk-apps.org/content/show.php/SetPPPoE?content=137542

skynoc
January 21st, 2011, 11:19 PM
thanks for the app but seems that the field service name is not working fine , because i have 3 different service names on the network and when i put the service name of the second pppoe-server it only connects to the first pppoe-server

skynoc
January 29th, 2011, 11:28 AM
it was very easy in windows xp to add for each pppoe connection a different service name but in ubuntu it is so difficult to do it , turning around the earth 3 times is easier than creating a pppoe connection with different service name in ubuntu.

dineshs
January 29th, 2011, 02:35 PM
I dont think service name has role in authentication. But If you want 3 seperate pppoe diallers(say with seperate username and password) try this
Run sudo pppoeconf,follow instructions and create a connection,rename it to say connection1

sudo mv /etc/ppp/peers/dsl-provider /etc/ppp/peers/connection1
Run sudo pppoeconf again and create another connection .rename it

sudo mv /etc/ppp/peers/dsl-provider /etc/ppp/peers/connection2
repeat the procedure and create connection3
Now to connect the first one use
sudo pon connection1and to disconnect use
sudo poff connection1similarly to connect second one use
sudo pon connection2and so on...

skynoc
January 31st, 2011, 07:49 AM
well i tried this before and even i tried to put servicename="ROG" in the dsl-provider file but didnt work

# Minimalistic default options file for DSL/PPPoE connections

noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#persist
#maxfail 0
#holdoff 20
plugin rp-pppoe.so
nic-wlan0
usepeerdns
nic-wlan0
user "ism1001"
servicename="ROG"

skynoc
January 31st, 2011, 07:53 AM
the dsl tab in network manager is only for wired connection , how can i make it dial through wlan0 ?

dineshs
April 14th, 2011, 04:01 AM
Instead of running sudo pppoeconf do
sudo pppoeconf wlan0and proceed as explained here (http://ubuntuforums.org/showpost.php?p=10664067&postcount=15)
Any progress?

redalertrox
October 13th, 2012, 10:04 AM
Heres the thing i found while google'ing

set ur username : john@IBM
so this way IBM= service name.

Try it.

wildmanne39
October 13th, 2012, 07:03 PM
Thanks for sharing and please do not post in threads that have not had activity for a year or longer, since this is an old thread it has been closed.