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


Closed Thread
  Search this Thread
Old 02-25-2007, 06:48 AM   #1
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Rep: Reputation: 16
Running Internet On Slackware 11.0 using PPPOE


hi i want to run internet on Slackware 11.0 using pppoe(i live in India and use BSNL dataone Connection)My router is SmartAX MT841.
Here are the steps i followed:
1)Bought a Dlink DFE-520 tx ethernet card(USB wont work i guess) and installed it in pci slot.
Slackware recognises it(and i guess it installed it also) and when i use the command lsmod i get the followeing output:



root@darkstar:~# lsmod
Module Size Used by Not tainted
ipt_LOG 3384 3 (autoclean)
iptable_filter 1644 1 (autoclean)
ip_tables 12096 2 [ipt_LOG iptable_filter]
bsd_comp 4120 0 (autoclean)
ppp_synctty 5064 0 (unused)
ppp_async 6656 1
ppp_generic 19460 3 [bsd_comp ppp_synctty ppp_async]
slhc 4496 0 [ppp_generic]
snd-seq-oss 23104 0 (unused)
snd-seq-midi-event 3208 0 [snd-seq-oss]
snd-seq 33552 2 [snd-seq-oss snd-seq-midi-event]
snd-seq-device 3716 0 [snd-seq-oss snd-seq]
snd-pcm-oss 28928 0 (unused)
snd-mixer-oss 11928 0 [snd-pcm-oss]
snd-hda-intel 7964 0
snd-hda-codec 108752 0 [snd-hda-intel]
snd-pcm 52804 0 [snd-pcm-oss snd-hda-intel snd-hda-codec]
snd-timer 13168 0 [snd-seq snd-pcm]
snd 34304 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-mixer-oss snd-hda-intel snd-hda-codec snd-pcm snd-timer]
soundcore 3300 6 [snd]
snd-page-alloc 4980 0 [snd-seq-oss snd-seq snd-seq-device snd-mixer-oss snd-hda-intel snd-pcm snd-timer snd]
pciehp 64340 0 (unused)
pci_hotplug 15204 1 [pciehp]
uhci 23804 0 (unused)
ehci-hcd 17644 0 (unused)
usbcore 56812 1 [uhci ehci-hcd]
via-rhine 11824 1
mii 2304 0 [via-rhine]
crc32 2880 0 [via-rhine]
pcmcia_core 39492 0
ide-scsi 9392 0
agpgart 45092 7
root@darkstar:~#

via rhine is the module here.
NoW i did the following
root@darkstar:~# pppoe-setup
Welcome to the Roaring Penguin PPPoE client setup. First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

Looks good! Now, please enter some information:

USER NAME

>>> Enter your PPPoE user name (default my.username):

INTERFACE

>>> Enter the Ethernet interface connected to the DSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default eth0):

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default no):

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: 61.1.96.69
and second dns as
61.1.96.71

PASSWORD

>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:

FIREWALLING

Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
>>> Choose a type of firewall (0-2): 1

** Summary of what you entered **

Ethernet Interface: eth0
User name: my.username
Activate-on-demand: No
DNS addresses: 61.1.96.69
Firewalling: STANDALONE

>>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
(But first backing it up to /etc/ppp/pap-secrets-bak)
(But first backing it up to /etc/ppp/chap-secrets-bak)



Congratulations, it should be all set up!

Type 'pppoe-start' to bring up your PPPoE link and 'pppoe-stop' to bring
it down. Type 'pppoe-status' to see the link status.
root@darkstar:~# pppoe-start
. Connected!
root@darkstar:~# ping www.google.com
ping: unknown host www.google.com
root@darkstar:~# pppoe-status
pppoe-status: Link is up and running on interface ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:86.127.30.194 P-t-P:212.93.137.170 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:213 (213.0 b) TX bytes:69 (69.0 b)

The real problem is if i use the command
ifconfig eth0 192.168.1.1
and the use pppoe-start
i can use internet
but when i restrat and agaun use ppoe-start without changing the ip of ethernet it connects but doent ping any site
i mean everytime i start ,i have to change the ip of eth0 from the previous one ,then only internet runs.

I am very frustrated plzzzzzzzzz help ME
 
Old 02-25-2007, 09:39 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Please continue here:
http://www.linuxquestions.org/questi...d.php?t=532202
 
  


Closed Thread



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
Running internet on Slackware using PPPOE lali.p Slackware 2 02-25-2007 11:00 AM
internet connection on pppoe viksd2kin Linux - Networking 3 09-17-2006 04:56 AM
internet with pppoe behind a router mdk2k Linux - Hardware 1 04-25-2004 09:55 PM
PPPoE: Can't connect to the internet chord1000 Fedora 10 12-02-2003 09:38 PM
running PPPoE in redhat 7.2 tontod Linux - Networking 0 05-06-2002 06:29 PM

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

All times are GMT -5. The time now is 01:46 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