LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-26-2004, 03:46 AM   #1
Chu
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Slackware 9.1
Posts: 166

Rep: Reputation: 30
Connecting to an ADSL Network


Might just be Linux - General topic, but I use Slackware 9.1 so I put it here:

Currently my computer is on a network:
There are two computers connected to a switch (My computer, and my brother's computer).
My computer is running Linux, his Windows XP.
His computer is the gateway to the internet for my network (i.e. For me to connect to the net, I have to connect to his computer..)
This is annoying because his computer always has to be turned off..

Anyway basically, how to connect to an ADSL Network via Linux? And then how to make it so his computer can work online via my connection?
 
Old 01-26-2004, 04:31 AM   #2
darklogik_org
Member
 
Registered: Jan 2004
Distribution: freebsd 5.3, openbsd 3.6, slackware 10
Posts: 96

Rep: Reputation: 15
It would be a LOT easier if neither computer was used as the gateway. Is it possible for you to get hold of some crappy old hardware to be set up as a router? I used to use an old PII for packet forwarding under FreeBSD, but when that broke down I bought a hardware router from Draytek.

If you get your machine set up as a router (This will most likely involve a new kernel) it's as simple as changing the default gateway settings in XP to point to your ip address.

mark
 
Old 01-26-2004, 09:05 AM   #3
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Why would it be easier to get a 3rd computer to act as router?

I'm planning on having my computer act as server for my gf's Windows machine, so would like to know..
 
Old 01-26-2004, 09:20 AM   #4
darklogik_org
Member
 
Registered: Jan 2004
Distribution: freebsd 5.3, openbsd 3.6, slackware 10
Posts: 96

Rep: Reputation: 15
I come from the school of thought that prefers one machine per "job". I have my web server, my mail server and my backup sftp server all seperate. That way if a machine dies, you only lose the functionality of that machine rather than losing everything. Basically if you have a third machine doing packet routing, it's easier to secure and easier to maintain because you can have a customised kernel that just does NAT and not much else.

mark
 
Old 01-26-2004, 06:21 PM   #5
Chu
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Slackware 9.1
Posts: 166

Original Poster
Rep: Reputation: 30
I have a spare computer, well it's a server..
I have never really worked with it, I installed RedHat 6 on it a while ago with the intention of making it my gateway, but just never got around to it after installing RedHat (It wasn't pretty).
Maybe I will get back up, I spose I have a Slackware 9.0 CD somewhere around here I could get..

Although, heh, that still doesn't answer:
How do I connect to an ADSL Network?
Like is there a program, I heard there was something like 'adsl-setup' but I have not seen any evidence...
 
Old 01-26-2004, 06:26 PM   #6
darklogik_org
Member
 
Registered: Jan 2004
Distribution: freebsd 5.3, openbsd 3.6, slackware 10
Posts: 96

Rep: Reputation: 15
I previously used one of those ugly green 'frog' DSL modems. It had a hideous custom installer script and as such I never used a standard program to connect. Sorry about that!

mark
 
Old 01-27-2004, 02:42 AM   #7
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
I've got that exact 'frog' modem that plugs into a USB port. It was a free gift.

Would I be better off Ebaying it and getting an ethernet one instead..?

Last edited by oneandoneis2; 01-27-2004 at 04:35 AM.
 
Old 01-27-2004, 05:22 AM   #8
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Rep: Reputation: 30
your windows comp has to share its connection. you can get slack to use windows dhcp if you want, which is fairly simple. just use the wizards in win to make you win comp connect to the net and all other computers on your network to connect to the net through your win comp. the next thing is to configure your slack comp. i cant remember the command to configure your network card but you enable dhcp and give the ip or hostname(i cant remember) of your win comp. google for the command its out there somewhere. ive got one of those frog modems somewhere in my draw too.
 
Old 01-27-2004, 11:16 AM   #9
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
adsl client

http://www.roaringpenguin.com/produc...ppoe/index.php
 
Old 01-27-2004, 11:38 AM   #10
davidschob
Member
 
Registered: May 2003
Posts: 56

Rep: Reputation: 17
you'll need ppp installed plus the roaring penguin package. then just run as root adsl-setup... then adsl-start. to get everything going. to get it going at boot just put it into your rc.local script.

But if you're using your brother's computer as a gateway (again it would be easier with a linux gateway) you don't need to mess with dsl on your machine. You just need to set up your local network with your brother's machine's address as the gateway.

good luck.
 
Old 01-27-2004, 07:53 PM   #11
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Rep: Reputation: 30
heres how i done it and it was pretty simple.

windows-
run through the wizards to enable it as a gateway and share the internet connection

slack-
type netconfig as su
enable dhcp. input the ip of the gateway and your finished.
i found my old thread where david_ross was very helpful
http://www.linuxquestions.org/questi...threadid=57697
 
Old 01-29-2004, 03:58 PM   #12
silversky
LQ Newbie
 
Registered: Jan 2004
Location: I'm a hermit.
Distribution: Slackware 9.1
Posts: 29

Rep: Reputation: 15
Another option is to get a cheap (i.e. linksys) box to do the routing. I have used both a linksys and a netgear, and my experience with the both has been pretty good. I don't have to recompile the kernels, both work with the basic Westell modem, and both have built-in 4 port switches, so no extra boxes.

Out of one of those, my house runs my mom's wifi laptop, my wifi pda, my hp winxp machine, my dell laptop, my dad's laptop (same model as mine, Latitude XPi CD), my little compaq server, and any other computers that I bring home. Sure it doesn't run BIND, but I don't miss it. Anything with a default Slackware, redhat, win98+, etc. setup works with it out of the box. The netgear box never crashes, easily restarts itself after power outages, consumes very little power unlike your "old hardware," and looks sexy.

The Linksys box is currently serving 16 computers and a wifi network out of my elementary/middle school of 9 years and my parish's rectory.

I'm pretty sure the non-wifi models run about $50. You don't seem to have many portable computers, so I wouldn't worry about the wifi option. If you do get a laptop or pda, you can get an access point for as little as $53 including shipping and handling.

This is my experience in the field. I haven't had any problems, but I am sure somebody will be around shortly to say that everything I have said is a lie and that hardware routers are cheap pieces or crap. It happens and I generally expect that sort of thing.

Happy Networking!
 
  


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
Connecting to Internet using ADSL br_sriram Linux - Networking 1 04-01-2005 05:28 AM
connecting adsl and suse 9.1 tgpfx Linux - Networking 1 09-12-2004 09:29 AM
Connecting to ADSL at bootup chamal Linux - Networking 1 02-15-2004 02:27 PM
problems connecting to ADSL.... stephenmiller Linux - Newbie 0 10-01-2003 01:14 PM
Problem with connecting using ADSL chien Linux - Newbie 7 12-24-2002 04:26 AM

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

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