LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-04-2005, 10:31 PM   #1
ravenslay3r
LQ Newbie
 
Registered: Jul 2005
Distribution: Suse
Posts: 7

Rep: Reputation: 0
Question Daisy-Chain eth0 via cross-over cable?


My Debian box is connected to the linksys LAN by a wireless card on eth0. It is also connected to my windows box using a second ethernet card and a cross-over cable.

How do I get Debian to pass the internet along to the windows box?

I did this about a month ago except with windows on the master computer and debian on slave and it worked fine. Then I had to switch the HDDS between the two boxes so XP could suck on the bigger processor.

Thanks,
Raven


ps.

Master:
Pentium III, Debian-mostly-stable (sarge?) w/ KDE 3.4.1
Kernel: 2.6.8-2-386

Slave:
Pentium IV, Win-XP Pro

Last edited by ravenslay3r; 08-04-2005 at 10:37 PM.
 
Old 08-05-2005, 03:06 AM   #2
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Do you have a firewall installed?

Technically, you do. The linux kernel has a built in firewall called iptables, but it doesn't do much (anything?) on it's own. It's designed to do the real work when a firewall front end gives it instructions. These other firewalls also deal with such things as bridging and masquerading (etc).

There is a simple way to make your computer forward trafic. The problem is, I don't remember what it is exactly. Don't quote me on this, but the command is something like:
cat "1" > /proc/sys/net/ipv4/ip_forward

The problem with this is that it only lasts until the system is rebooted. A better option would be to find a good firewall program that will do if for you each time you boot the system.
 
Old 08-05-2005, 03:07 AM   #3
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
If your lucky it should be as simple as telling your windows box that your linuxbox is the gateway to the internet. You might have to adjust firewalls to pass packets in different directions and on the linux box there is a switch in /proc that needs to be set. This should all be avilable thru the Kontrol Centre in KDE, I think

Pipped at the post by one minute
 
  


Reply


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
Setup PPPOE Server on Linux and let the client over a cross cable. Deepti_s Linux - Networking 4 07-12-2013 12:44 PM
when to use cross over or straight through cable. blackzone Linux - Networking 5 05-09-2006 02:56 AM
Connecting two linux boxes via cross cable ElPuello Linux - Networking 4 11-10-2004 10:55 AM
file transfer with cross-over cable (RH9.0 to XP) tig_grrrrr Linux - Networking 3 06-13-2004 09:42 AM
Help With eth0 And Cable Internet..... wzt29 Linux - Networking 1 02-16-2001 01:04 PM

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

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