Default How-to configure a PPPoE Broadband Internet Connec

How-to configure a PPPoE Broadband Internet Connection in OpenSuSE 11.0

Hi everyone,
I have written a tutorial for BSNL and Airtel users in India to configure their PPPoE broadband connections in bridging mode (like you use a dial-up connection in Windows). This should work for users of other broadband providers in India and abroad who use the same protocol. If you are using an “unlimited” broadband internet plan this tutorial is not for you. You are better off configuring your internet directly from your router (routing mode) - router on internet on, router off internet off.

Now let’s get cracking…

  1. Press Alt and F2
    Type yast (yast2 for GNOME users) and press ENTER

http://img146.imageshack.us/img146/7006/pppoe1vt9.th.png](http://img146.imageshack.us/my.php?image=pppoe1vt9.png) http://img127.imageshack.us/img127/3585/g1cn6.th.png](http://img127.imageshack.us/my.php?image=g1cn6.png)

Key in your root password and press ENTER
You will then get the YaST2 control panel

http://img365.imageshack.us/img365/8913/pppoe2dc1.th.png](http://img365.imageshack.us/my.php?image=pppoe2dc1.png) http://img127.imageshack.us/img127/9492/g2kt5.th.png](http://img127.imageshack.us/my.php?image=g2kt5.png)

  1. Click on Network devices on the left

http://img134.imageshack.us/img134/811/pppoe20sm8.th.png](http://img134.imageshack.us/my.php?image=pppoe20sm8.png)

Click on Network Settings in the right pane. The Network Settings panel will open

http://img183.imageshack.us/img183/1461/pppoe21gi2.th.png](http://img183.imageshack.us/my.php?image=pppoe21gi2.png) http://img395.imageshack.us/img395/6786/g3oc6.th.png](http://img395.imageshack.us/my.php?image=g3oc6.png)

Normally you will have just one card which you can configure by selecting it, clicking edit and going to Step 3.

But if you have more than one like I do, three in my case, it becomes tricky. As you can see above, eth0 is configured with DHCP, and the others are not configured. So how do I know whether SuSE has detected the right card? I press Alt and F2, type konsole (or gnome-terminal in GNOME) and press ENTER, then type su and press ENTER, give my root password and become root as shown below

http://img183.imageshack.us/img183/9776/pppoe22nm7.th.png](http://img183.imageshack.us/my.php?image=pppoe22nm7.png) http://img134.imageshack.us/img134/8142/pppoe23yv0.th.png](http://img134.imageshack.us/my.php?image=pppoe23yv0.png)

Then at the # prompt type ifconfig and press ENTER
You will get an output like this

http://img183.imageshack.us/img183/6121/pppoe24ec6.th.png](http://img183.imageshack.us/my.php?image=pppoe24ec6.png) http://img127.imageshack.us/img127/4407/g4ad4.th.png](http://img127.imageshack.us/my.php?image=g4ad4.png)

Note that eth0 has got no ip address, where as eth1 (which is not configured according to yast above) has an ip 192.168.1.2
Also note the hardware address (HWAddr) of eth1 (or whichever it is in your pc)

  1. Now go to the Network Settings window and select the correct card matching the hardware address you noted above and click edit, and configure with dynamic ip->DHCP as shown below

http://img238.imageshack.us/img238/2671/pppoe25hf2.th.png](http://img238.imageshack.us/my.php?image=pppoe25hf2.png) http://img134.imageshack.us/img134/6595/pppoe26vl9.th.png](http://img134.imageshack.us/my.php?image=pppoe26vl9.png) http://img184.imageshack.us/img184/4121/g5or3.th.png](http://img184.imageshack.us/my.php?image=g5or3.png)

Click next and then click Finish

http://img183.imageshack.us/img183/2479/pppoe27hn9.th.png](http://img183.imageshack.us/my.php?image=pppoe27hn9.png) http://img134.imageshack.us/img134/3250/pppoe28kn6.th.png](http://img134.imageshack.us/my.php?image=pppoe28kn6.png) http://img127.imageshack.us/img127/93/g6et9.th.png](http://img127.imageshack.us/my.php?image=g6et9.png)

  1. Now in YaST, click on Network devices on the left

http://img238.imageshack.us/img238/6619/pppoe3gy9.th.png](http://img238.imageshack.us/my.php?image=pppoe3gy9.png) http://img127.imageshack.us/img127/9734/g7gl9.th.png](http://img127.imageshack.us/my.php?image=g7gl9.png)

Click on DSL

http://img397.imageshack.us/img397/8359/pppoe4ec0.th.png](http://img397.imageshack.us/my.php?image=pppoe4ec0.png) http://img213.imageshack.us/img213/2120/g8th0.th.png](http://img213.imageshack.us/my.php?image=g8th0.png)

  1. Click on Add. If you already have something in that window, select it, click delete, and then click on Add

http://img261.imageshack.us/img261/1410/pppoe5vl5.th.png](http://img261.imageshack.us/my.php?image=pppoe5vl5.png) http://img395.imageshack.us/img395/8966/g9dh0.th.png](http://img395.imageshack.us/my.php?image=g9dh0.png)

You will see the DSL configuration window. Now both BSNL and Airtel use PPPoE, so select everyhting as shown in the picture below. Note that the PPP Mode-dependent settings are greyed out as they are already fed in your router/modem.

http://img516.imageshack.us/img516/7178/pppoe6wc3.th.png](http://img516.imageshack.us/my.php?image=pppoe6wc3.png) http://img184.imageshack.us/img184/2541/g10fd6.th.png](http://img184.imageshack.us/my.php?image=g10fd6.png)

Very important: Make sure that “Enable Device Control for Non-root User via KInternet” is checked as shown..

In case you have more than one lan card click on configure network cards and select the correct card
http://img365.imageshack.us/img365/3313/g11ut1.th.png](http://img365.imageshack.us/my.php?image=g11ut1.png)

Click Next

  1. You will now get an error message, dismiss this and click Custom Providers

http://img397.imageshack.us/img397/6333/pppoe7bd0.th.png](http://img397.imageshack.us/my.php?image=pppoe7bd0.png) http://img187.imageshack.us/img187/6107/g12ru3.th.png](http://img187.imageshack.us/my.php?image=g12ru3.png)

Type the Provider name as Airtel or BSNL (donkey or monkey will also do as long as you know it’s your ISP)
Type in the user name and password

http://img397.imageshack.us/img397/2198/pppoe8wv1.th.png](http://img397.imageshack.us/my.php?image=pppoe8wv1.png) http://img76.imageshack.us/img76/4199/pppoe9by0.th.png](http://img76.imageshack.us/my.php?image=pppoe9by0.png)

  1. Set Connection Parameters as shown below

http://img146.imageshack.us/img146/5050/pppoe10tg8.th.png](http://img146.imageshack.us/my.php?image=pppoe10tg8.png) http://img365.imageshack.us/img365/3381/g13pz0.th.png](http://img365.imageshack.us/my.php?image=g13pz0.png)

Now this is what you’ll finally get, click finish

http://img373.imageshack.us/img373/3494/pppoe11dc6.th.png](http://img373.imageshack.us/my.php?image=pppoe11dc6.png) http://img187.imageshack.us/img187/9695/g14rc3.th.png](http://img187.imageshack.us/my.php?image=g14rc3.png)

GNOME users will get this message

http://img511.imageshack.us/img511/6462/g15ao1.th.png](http://img511.imageshack.us/my.php?image=g15ao1.png)

Pop in your OpenSuSE 11.0 DVD and click ok and install kinternet via yast->software management, then go to the next step.

  1. Press Alt and F2
    Type kinternet and press ENTER

http://img373.imageshack.us/img373/9620/pppoe12kz0.th.png](http://img373.imageshack.us/my.php?image=pppoe12kz0.png)

You will see the following error message

http://img516.imageshack.us/img516/5044/pppoe13sp2.th.png](http://img516.imageshack.us/my.php?image=pppoe13sp2.png)

Click OK

  1. Now go to YaST as before, and Click on System (in the left pane) and System Services in the right pane; this is what you will get

http://img516.imageshack.us/img516/6369/pppoe14vu9.th.png](http://img516.imageshack.us/my.php?image=pppoe14vu9.png)

Look for and click on smpppd as shown. Observe that the enabled column will be marked as No. Click on the Enable button below. This is the message you should get

http://img373.imageshack.us/img373/5379/pppoe15wv5.th.png](http://img373.imageshack.us/my.php?image=pppoe15wv5.png)

Click OK and close all the panels.

  1. Now press Alt and F2, and type kinternet and press enter. You may get this message.

http://img516.imageshack.us/img516/8034/pppoe16ay1.th.png](http://img516.imageshack.us/my.php?image=pppoe16ay1.png)

Click OK, right click on kinternet near the clock and quit. Then press Alt and F2, type kinternet and press enter. You will see it in your system tray again. Right click on it and select dial-in

http://img261.imageshack.us/img261/8499/pppoe19jd1.th.png](http://img261.imageshack.us/my.php?image=pppoe19jd1.png)

Enjoy your broadband internet !!! To disconnect, right click on the kinternet icon in your system try and select hang-up

http://img341.imageshack.us/img341/6697/pppoe18sy7.th.png](http://img341.imageshack.us/my.php?image=pppoe18sy7.png)

your method doesn’t work for me on gnome or kde 4, kinternet has only ever worked for me in kde 3 :frowning:

I remember in gnome before after creating a dsl connection u could click on their network manager icons and choose to dial into the connection, the new netwrok manager doesn’t have that :frowning:

any ideas on what to do?

Actually I tested this method on KDE4 and Gnome (you can make out from the screenshots). What exactly is the nature of the error your are getting? Is everyhting fine in any other OS you use?

Hello doctorjohn2,
Thank you very very very much ;)…
I’ve follove with careful your step and then I’ve been successful.
Thank you one more time.

Hi,
I have installed Gnome Suse 11. I couldn’t install KInternet b’cos I dont have and cant’t download the 4+ GB of Open Suse 11. Is there any other way to install KInternet, or any other work around for KInternet.

Thanks!
Shiva

Hmmm I did not think of that. You must have used the Gnome live CD to install :stuck_out_tongue: Anyway, download this package (18.6 MB)

Kinternet.zip

Extract the contents to a folder, say kinternet, in your home directory

Press Alt and F2, type konsole, and press enter

type
cd kinternet
and press ENTER to go to that folder

Type
su
and press ENTER
key in your root password
and press ENTER

Now type
rpm -ihv *
and press ENTER

KInternet will be installed to your system. If you get any errors let me know

Hi. Got these errors/messages.

First I gave
rpm -ihv *

I got the error

error : failed to stat /home/admin/.gvfs: permission denied

package wsstreams-4.4.1-32.1 is already installed
package wvdial-1.60-31.1 is already installed
package smpppd-1.59-SVN16-10.1 is already installed

So I renamed those rpm’s which are already installed to “.txt” and then executed

rpm -ihv *.rpm

I got the following messages


error : failed to stat /home/admin/.gvfs: permission denied

preparing… ############################# [100%]
1:qt3 ############################# [14%]
2:Ilmbase ############################# [29%]
3:OpenEXR ############################# [43%]
4:kdelibs3-default-style ######################### [57%]
5:libdns_sd ############################# [71%]
6:kdelibs3 ############################# [86%]

Starting SuSE config. The SuSE Configuration tool…
Running the module permissions only
Reading /etc/sysconfig and updating the system…
Executing /sbin/conf.d/SuSEconfig.permission…
Checking permissions and ownerships - using the permissions files…
/etc/permissions
/etc/permissions.easy
/etc/permissions.d/mail-server
/etc/permissions.d/postfix
/etc/permissions.local
Setting /opt/kde3/bin/kpac_dhcp_helper to root:root 4755 (wrong permissions 0755)

Finished.
7: KInternet ################################ [100%]


[FONT=“Arial”]
Please note

  1. U r right, I Installed Suse Destop using Live CD.
  2. I don’t have other dvt packages like gcc, cc etc
  3. I executed whatever u said this using root login(“su”).
  4. If i try to execute “kinternet” from gnome-terminal, it says command not recognized. If it is properly installed where will the “kinternet” script or executable file be?

Thanks a lot for your patience & kindness.

Thanks again!

Shiva

Hi doc,
I think KInternet is installed successfully. But when I try to start it, it is giving this error

kinternet: error while loading shared libraries: libkdeinit_kinternet.so: cannot open shared object file: No such file or directory

Please help.

Thanks!
Shiva

Hi
I have uploaded the dependencies again. Looks like there were a lot more :smiley: this time it’s 100 % working.
Download here
g_internet.zip
(48.7 MB) md5sum ebb7ac4d6467b1e7dc0685002803d31c

Extract all the contents to a folder named, let’s say ginternet, in your home folder.

Browse to that folder in gnome-terminal
cd ginternet

Type su and press ENTER, key in password,
and press ENTER

Type rpm -ihv *

Restart your PC and then continue with the next step of this tutorial above.