SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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...
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!
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.