LinuxQuestions.org
Help answer threads with 0 replies.
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


Reply
  Search this Thread
Old 08-05-2008, 07:56 PM   #1
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Rep: Reputation: 33
Smile Can someone please help me set up my DSL and nat in Debian?


Hi folks.

I am trying to set up a single boot computer with Debian linux. I don't know what version of Debian it is, but the kernel is 2.6.25-1 (I had to recompile it twice, so it's not the original kernel).

The computer is an old IBM NetVista about 2000 vintage (it originally had Windows ME on it). It has 256 MB of RAM, 20GB hard drive and two D-Link network cards. I am hoping to eventually set it up as a squid proxy server and squidGuard web filter for my work.

I was able to get online at work on my LAN, with a hardware router doing the DHCP and DNS. I was not able to connect to the Internet on another computer going through that one (i.e. eth0 and eth1 were not talking to each other.) so with that in mind I brought the computer home to work on it.

At home I have a DSL modem (NOT a modem/router), a hub, and some ethernet cables. I have connected eth0 to the DSL modem and eth1 to the hub.

Problem. I can't seem to get DSL working on the Linux machine. when I look in the menus, there is no option to set up the Internet connection, only a Network option that allows me to specify the properties of each card (static or dynamic IP, hostname, subnet mask, etc).

I have another Ubuntu computer that uses the pon program. This computer does not seem to have it.

So I need help on two things.

1. Get the DSL working on this thing
2. Figure out how to get eth1 and eth0 talking, so I can connect to the Internet from another computer through the Debian box. I know it has to do with iptables, but I've set everything to accept and set the nat and forwarding and it still didn't work.
 
Old 08-06-2008, 02:11 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
which desktop is used?
 
Old 08-06-2008, 11:33 AM   #3
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33
Sorry, Gnome is the desktop. It is the one that came with the Debian installation.
 
Old 08-06-2008, 03:21 PM   #4
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33
Firuged out the first part. I didn't have the packages ppp, pppoe and pppoeconf installed. I had to get them from http://packages.debian.org. I figured out I have Debian Etch by doing apt-get on my system (which of course, failed, becauase I wasn't connected to the Internet) and that told me which dependencies I needed to install. I was able to download them from a Windows machine onto a memory stick and install them that way.

I'm just looking for a good howto for newbies on how to get my LAN and the Internet talking to each other.
 
  


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
Can't figure out how to set up NAT/iptables is confusing rcx11 Linux - Networking 5 05-05-2007 05:37 PM
NFS via NAT (DSL) Router?? h00chman Linux - Networking 4 06-02-2004 11:58 AM
Pointer to Howto DSL/Nat/IP Accounting webwiznz Linux - Networking 10 05-30-2004 08:18 AM
Debian Nat Client via Dlink DSL-502T Router sherifff Linux - Networking 0 05-05-2004 12:23 PM
dsl router + NAT + ssh = problem valleyman Linux - Networking 5 12-10-2003 09:19 AM

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

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