Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

Rep: Reputation: 31
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
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,561

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

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

Original Poster
Rep: Reputation: 31
Firuged out the first part. I didn't have the packages ppp, pppoe and pppoeconf installed. I had to get them from 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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration