LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-28-2005, 07:57 PM   #1
den15
Member
 
Registered: Oct 2005
Distribution: zenwalk
Posts: 88

Rep: Reputation: 15
adsl setup


hi all!

i'v tried to setup adsl to my friend. distro is slackware 10.2 with default kernel. i did 'pppoe-setup' and ewerything seem to be fine. i get ip address and supose for that connection with dns server should already work fine? but when i start firefox, for example... nothing. also when i ping dns server... nothing.

what could/should i do now?
 
Old 12-28-2005, 08:13 PM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Are you running through a router? or is the computer connected directly to the modem? Also make sure that your DSL is actually PPPOE as opposed to dynamic or static IP.
 
Old 12-29-2005, 02:03 AM   #3
cooldave
LQ Newbie
 
Registered: Oct 2004
Location: Colorado
Distribution: Slackware64-current and 15.0
Posts: 24

Rep: Reputation: 0
Hi,
I did this one just yesterday, my phone company would not test for my complaint of DSL speed until I removed the dsl/router, and connected to just ONE computer...
(my provider gives me a dynamic address and the connection is pppoe)
I removed the cable to my dsl modem, and connected directly to my linux box.
I can't even find the pppoe disk they sent me for windows a few years ago...

As root:
ifconfig eth0 down
ifconfig eth0 0.0.0.0 (this removed the ip settings, normally a static address on my internal LAN)
ifconfig eth0 up
pppoe-setup (entered eth0 as interface, the two dns server addresses, username and password)
pppoe-start (after about 15 or 20 seconds I had the ability to ping the internet, addresses or hostnames)

This worked for me, and to get everything back to normal, I just put the cabling back to normal and restarted the linux box.

I am using Slackware 10.2 and the pppoe stuff was installed by default.
Hope this helps.

-CD-
 
Old 12-29-2005, 02:04 PM   #4
den15
Member
 
Registered: Oct 2005
Distribution: zenwalk
Posts: 88

Original Poster
Rep: Reputation: 15
Penguin of Wonder:

Are you running through a router? or is the computer connected directly to the modem? Also make sure that your DSL is actually PPPOE as opposed to dynamic or static IP.

den15

yes it runs through micronet usb router. and there is acctualy no modem, just router and NIC. first mistake was that i forgot to load a NIC module. now i can ping a DNS server but internet still doesn't work.

i have no idea which option should i choose in netconfig, dhcp or static? ip address which i get is always different. i supose that is dhcp then?

this is what i did, after i ran pppoe-start:

. Connected!
root@amel:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:11:3B:00:F6:EE
inet addr:10.0.0.3 Bcast:255.255.255.255 Mask:255.0.0.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2122 (2.0 Kb) TX bytes:2284 (2.2 Kb)
Interrupt:11 Base address:0xdf00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:85.92.245.203 P-t-P:85.92.240.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3

root@amel:~# ifconfig eth0 down
root@amel:~# ifconfig eth0 0.0.0.0
root@amel:~# ifconfig eth0 up
root@amel:~# ping 195.222.32.10
PING 195.222.32.10 (195.222.32.10) 56(84) bytes of data.
64 bytes from 195.222.32.10: icmp_seq=1 ttl=253 time=22.2 ms
64 bytes from 195.222.32.10: icmp_seq=2 ttl=253 time=26.7 ms
64 bytes from 195.222.32.10: icmp_seq=3 ttl=253 time=26.6 ms
64 bytes from 195.222.32.10: icmp_seq=4 ttl=253 time=21.1 ms
64 bytes from 195.222.32.10: icmp_seq=5 ttl=253 time=24.4 ms
64 bytes from 195.222.32.10: icmp_seq=6 ttl=253 time=21.6 ms


--- 195.222.32.10 ping statistics ---
19 packets transmitted, 19 received, 0% packet loss, time 18174ms
rtt min/avg/max/mdev = 18.426/24.254/35.764/4.496 ms
root@amel:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:11:3B:00:F6:EE
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:177 errors:0 dropped:0 overruns:0 frame:0
TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16587 (16.1 Kb) TX bytes:15572 (15.2 Kb)
Interrupt:11 Base address:0xdf00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3808 (3.7 Kb) TX bytes:3808 (3.7 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:85.92.240.2 P-t-P:85.92.240.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:3725 (3.6 Kb) TX bytes:3411 (3.3 Kb)


cooldave, if i'v understood you, you suggest thet i remove a cable from router... no actualy you sad that you have disconnected your modem (does it work, i mean, can you have internet directly over your NIC without modem???), and connected it directly to your linux maschine? then you have configured pppoe and put cable back in modem... or what?

if i sad something wrong now or even before... don't kill me.
 
  


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
adsl-setup or adsl-start not found as user! bnchakraborty Linux - Newbie 2 01-18-2008 10:23 PM
how to setup adsl? ice99 Linux - Networking 1 08-26-2005 11:47 PM
prblms with ADSL setup. no luck after adsl-setup and netconfig Blue_muppet Slackware 2 07-18-2004 01:20 AM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
ADSL setup smurf Linux - Networking 1 04-15-2001 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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