LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-17-2006, 12:13 AM   #1
perry_mason_i
LQ Newbie
 
Registered: Nov 2006
Posts: 21

Rep: Reputation: 15
Linux and PPPoE


Ok, here goes..I have an internet connection which appently uses PPPoE as the protocol..and i have a stupid isp that doesnt have any support for linux.. So, i need someone to guide me in setting up my internet connection on SUSE 10.0..
I ll tell you what i do in windows to setup my connection.

1) Install my network interface which is onboard LAN.
2) Open MyNetworkPlaces->properties, inside this, i go to the properties section of the local area connection interface which is my network card.
3) Here, i choose Install->protocol->have disk. Then i install RASPPPOE on my machine which i guess is a pppoe dialer.
4) After this, i assign local ip addresses for my machine, the gateway, the subnet mask, the dns servers etc.. and then i go to the command prompt and type 'raspppoe'
5) Now i get this one pop up which has an option of querying available services..so i click on it and i get a list of connections, i choose the valid connection and click create new connection..
6) After doing this, i go to mynetworkplaces->properties again and i find this new connection created over there..i double click on it, and i enter the username and the encrypted password which i was able to sniff using ethereal..
7) I then click on dial and im connected to the internet.

Ok, so heres what ive done till now...on SUSE, ive assigned the local addresses and the DNS server addresses using the configuration utility in YAsT2. Now i have no idea what to do next i guess its quite simple, but im kind-of stuck..

I am completely new to the world of linux, and im just starting out, so i don know much about what i am supposed to do.

Any help will be highly appreciated.
 
Old 11-17-2006, 09:31 AM   #2
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
Is your nw card working?
You can find out with the ifconfig command.
type
Code:
ifconfig
if you see something like
Code:
eth0      Protokoll:Ethernet  Hardware Adresse 00:15:00:3E:2B:39
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1958 errors:0 dropped:250 overruns:0 frame:0
          TX packets:328 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:538111 (525.4 KiB)  TX bytes:113231 (110.5 KiB)
          Interrupt:217 Basisadresse:0xe000 Speicher:fe9ff000-fe9fffff

lo        Protokoll:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:9901 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9901 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:1933608 (1.8 MiB)  TX bytes:1933608 (1.8 MiB)
you're doing good.
Now type
Code:
man ifconfig
You can do everything you described in section 4 of your question with this command. Read the man page to learn how you do it. Read my signature to make life easier on yourself.
You won't have to install any PPPoE 'dialer' to get this working, because you probably want to connect to a router/modem which has all this stuff set up already. If not, please tell us how you are connected. Also, post which country you live in. I live in Germany and PPPoE is normally used for DSL here. With DSL, you don't have to dial anything, you just connect to a provider with a username/pword which is set up in a modem/router.
 
Old 11-17-2006, 12:33 PM   #3
perry_mason_i
LQ Newbie
 
Registered: Nov 2006
Posts: 21

Original Poster
Rep: Reputation: 15
My network card is proper..i do get the eth0 and lo thing..i checked out the man pages, im from india using SUSE 10.0, ive assigned the local ip address and the subnet mask and everything..okay, i checked out the configuration on my windows box, in the general settings of my connection, it has a box called "connect using" inside it, "ISDN channel-realtek rtl... family fast ethernet NIC" is chosen, the phone number that is supposed to be dialed is "sublime.net\pacenet" Apparently i suspect its using ISDN as well, over Ethernet ?? :S im really confused about this, is it pppoe or is it ppp over isdn ?? :S

That was the connection to my isp, i have a local area connection on lan which has the pppoe protocol installed..and here the ip addys n all are to be specified by me..whereas in the conn to my isp, its to be obtained automatically.
 
Old 11-17-2006, 02:26 PM   #4
perry_mason_i
LQ Newbie
 
Registered: Nov 2006
Posts: 21

Original Poster
Rep: Reputation: 15
okay ... i setup roaring penguin and i configured it, then i did pppoe -A and finally i got a list of all the available access controllers on my local area network, i did pppoe -S to set the service name and pppoe -C to set up the access controller name, i got few lines of garbage everytime i ran the commands, which i gaterh means that the conn was being made..now can you guide me as to how to connect through the newly made interface?
 
Old 11-18-2006, 06:01 PM   #5
perry_mason_i
LQ Newbie
 
Registered: Nov 2006
Posts: 21

Original Poster
Rep: Reputation: 15
well, pppoe-start and pppoe-stop dont seem to work...when i give the command pppoe, garbage appears on screen, but then it says...generic error-pppd terminating child process.. or soemthing equivalent..please help.
 
Old 11-19-2006, 06:10 AM   #6
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
obviously, you don't know which service you are using, DSL or ISDN.
you have a piece of paper from your provider, which has all the information in it. Is there a number to dial written on it? Does it contain IP-addresses, passwords, usernames?
Are you using a isdn card or a normal NW card? Type
Code:
lspci
and post the output.
Where does the cable fromn that card go?

btw: stuff like 'I get lines of garbage' won't get us anywhere...
 
Old 11-19-2006, 11:15 PM   #7
perry_mason_i
LQ Newbie
 
Registered: Nov 2006
Posts: 21

Original Poster
Rep: Reputation: 15
okay..i ll post the output when i get back to my linux box..will edit this post and post it..
 
Old 11-25-2006, 12:21 AM   #8
maverick_awp
Member
 
Registered: Oct 2006
Location: Mumbai, India
Posts: 46

Rep: Reputation: 15
Hi,
Are you using pacenet??? Can you check out www.raspppoe.com and figure out whether it will work with Wine on linux??

Last edited by maverick_awp; 11-25-2006 at 12:25 AM.
 
Old 11-26-2006, 12:05 AM   #9
perry_mason_i
LQ Newbie
 
Registered: Nov 2006
Posts: 21

Original Poster
Rep: Reputation: 15
okay, i forgot to post, i got my net connection to work on linux, yes im on pacenet...just download and install roaring penguin, at console type pppoe-setup, answer the questions, then login as root, open the pppoe.conf file, there u ll find two blank fields AC- and Service- put your local area provider as the AC and Pacenet as the service..u are done..type pppoe-start at the console, it shud connect, if u have ne probs, pm me, or mail me at perry_mason_i@yahoo.com.
 
Old 11-27-2006, 02:57 AM   #10
maverick_awp
Member
 
Registered: Oct 2006
Location: Mumbai, India
Posts: 46

Rep: Reputation: 15
Hi,
But how do i open pppoe.conf (etc\ppp\pppoe.conf)
Help will be much appreciated...

P.S:
 
Old 11-27-2006, 05:57 AM   #11
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
vi /etc/ppp/pppoe.conf
 
Old 11-28-2006, 05:04 AM   #12
maverick_awp
Member
 
Registered: Oct 2006
Location: Mumbai, India
Posts: 46

Rep: Reputation: 15
Ok..I edited the file and I got connected....But I am not able to ping ne sites nor browse...

Please Help
 
Old 11-29-2006, 12:55 AM   #13
perry_mason_i
LQ Newbie
 
Registered: Nov 2006
Posts: 21

Original Poster
Rep: Reputation: 15
It is mostly a problem with your DNS servers, ask your local area fellow for the dns servers, if u are on pacenet, as i take it..you may try these
primary : 203.115.81.38
sec: 203.115.71.66

Lemme know how it goes.
 
Old 12-03-2006, 02:01 AM   #14
maverick_awp
Member
 
Registered: Oct 2006
Location: Mumbai, India
Posts: 46

Rep: Reputation: 15
Hi,
Thanks man...U r God for me.....Its working fine...Spent two months trying to figure out how to setup pacenet on Linux...
Thanks again....
 
Old 12-04-2006, 05:07 AM   #15
perry_mason_i
LQ Newbie
 
Registered: Nov 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by maverick_awp
Hi,
Thanks man...U r God for me.....Its working fine...Spent two months trying to figure out how to setup pacenet on Linux...
Thanks again....
Haha, you flatter me man...well, im glad it all worked out for you..ive been through s**t trying to figure all this out as well..spread the knowledge, tc, cheers.
 
  


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
PPPOE/xDSL any alternatives for rp-pppoe package.. deepclutch Linux - Software 2 02-04-2006 09:59 PM
pppoe & pppoe-server warning (solved) ggalvan Slackware 0 02-04-2006 05:58 AM
PPPoE in Linux rabeea Linux - Networking 4 06-15-2005 03:21 AM
adsl-status can't read pppoe PID file with rp-pppoe program setup Smarvy Linux - Newbie 2 03-13-2004 11:35 PM
PPPoE on Linux... Grim Reaper Linux - Networking 21 02-03-2003 11:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:31 PM.

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