LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2004, 01:39 AM   #1
psa
Member
 
Registered: Aug 2004
Posts: 83

Rep: Reputation: 15
How to setup LAN with Debian-Windows


hm.. i have debian on one computer & windows on the other.. the windows is the main computer as it has 2 NIC one connects to the network the other connects through the internet.. and the one with debian, i onlie have 1 NIC and it connects to the network... so how do i get internet for my debian computer?
 
Old 08-26-2004, 01:48 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You'll need to enable Internet connection sharing on the Windows machine and then configure the Linux box so that the internal interface of the Windows machine is its default gateway. Assuming the internal IP of the Windows box is 10.0.0.1 and you wanted to assign the Linux box IP 10.0.0.2 the commands would be:

ifconfig eth0 10.0.0.2 up
route add default gw 10.0.0.1

and you should be set. You could put those commands into your rc.local file so they get executed at every boot, or consult your distro's documentation for the correct networking startup script to modify.
 
Old 08-26-2004, 01:58 AM   #3
psa
Member
 
Registered: Aug 2004
Posts: 83

Original Poster
Rep: Reputation: 15
weird... like i did that.. didnt work.... i have zonealarmpro on my windows system,. which is the one i'm using... and its like this

+ 192.168.0.0 is under the trusted network
but
+ 192.168.0.1 returned when i type ipconfig in the windows DOS
 
  


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
how to setup my lan? kpachopoulos General 1 09-06-2005 02:41 AM
wiNeed help in setting up a LAN with windows XP and debian kwng Linux - Networking 0 08-04-2005 12:32 PM
about a LAN setup Rex_chaos Linux - Networking 4 08-05-2004 08:47 AM
LAN setup Melo Linux - Networking 5 09-04-2003 05:52 PM
Need help on lan setup. jsimone Linux - Software 1 04-05-2002 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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