LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-26-2005, 04:57 AM   #1
Henningstrom
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
How to connect to the internet using ADSL?


Hi!

Recently i installed Slackware 10.1, and now I'm trying to connect to internet using a cable modem and a network card.

What is the first step?

I've belive that the kernel has found my network card, not sure though, what's the best way to ensure that?

How do i tell Linux that i wan't to use internet through ADSL?

I've used ppp several years ago, no prob whith that, but how do i get linux and ADSL to cooperate?

Best regards,

Henning, Sweden.
 
Old 02-26-2005, 06:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
Old 02-26-2005, 06:18 AM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
DSL Howto
 
Old 02-26-2005, 07:27 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Assuming that your DSL modem, DSL-side connection, intranet setup, etc. is all in order, and your LAN card is working in Linux, it is quite easy.

Make sure you have the IP address of the router / DSL modem.

Edit (on Rh9 at least) /etc/sysconfig/network and make sure it contains

NETWORKING=yes
HOSTNAME=YourHost
GATEWAY=196.252.255.114

substituting, of course the GATEWAY= adress with the IP address of your DSL modem / router.

Make sure the output of /sbin/route looks something like this:

196.252.255.0 * 255.255.255.0 U 0 0 0 eth0
196.252.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 169.252.255.114 0.0.0.0 UG 0 0 0 eth0

You must have "UG" line with the router's address to the left of it, two columns away. (If it is not there, try first doint the change to /etc/sysconfig/network, rebooting / restarting, and then doing /sbin/route. If there is no UG do man route to find the command that sets the default gateway. What you need is a route to your "default gateway" which should be the DSL modem.

Try to ping your router to insure that it is available and responding:

[root@YourHost root]# ping 196.254.255.1114
PING 196.252.255.100 (196.254.255.114) 56(84) bytes of data.
64 bytes from 196.254.255.114: icmp_seq=1 ttl=64 time=0.685 ms
64 bytes from 196.254.255.114: icmp_seq=2 ttl=64 time=0.690 ms

--- 169.254.255.100 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.685/0.687/0.690/0.026 ms
[root@SYourHost root]#

Edit /etc/resolv.conf and enter the nameservers of your ISP in there:

nameserver 196.9.141.135
nameserver 196.9.160.134

And if you open a browser you should be able to browse the internet.

Last edited by rylan76; 02-26-2005 at 07:29 AM.
 
Old 02-26-2005, 07:52 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
in future, please do not reply to threads already marked as double posts. there is another thread not marked as such, were your posts are better suited. (although i appreciate you may well have already been typing that long reply before i marked it as such)
 
Old 02-28-2005, 01:23 PM   #6
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Whoops, sorry.
 
  


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
Unable to connect to internet using ADSL sreejitj Linux - Networking 3 11-26-2005 05:48 AM
cannot connect to internet - ADSL via USB solar1951 Linux - Networking 2 05-29-2005 10:32 AM
I can't connect to the internet with adsl cokebola Linux - Hardware 3 09-10-2004 12:10 AM
Can't connect to internet via ADSL hawthorn2003 Mandriva 4 01-16-2004 07:30 AM
Connect to Internet via ADSL mikkol Linux - Newbie 4 04-16-2001 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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