Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-13-2006, 10:53 PM
|
#1
|
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Rep:
|
Peer to peer networking with Slackware?
How do I do this? Can anyone point me to a guide if there's any? I only have 2 computers to setup so I don't want an extra hub for the network. The host has 2 nic while the guest has 1. The host is running Slackware 10.2 and the guest is running WinXP. I also want to share the internet connection with the guest computer. Will I still need Samba to share files between the two? I only want to access files on the guest computer using the host. I don't want the guest to have any privilege on the host system at all. Thanks everyone. =)
Last edited by Andriy; 07-13-2006 at 10:58 PM.
|
|
|
|
07-13-2006, 11:26 PM
|
#2
|
|
LQ Newbie
Registered: Jul 2006
Location: Pilipinas
Distribution: slackware-current
Posts: 16
Rep:
|
configure your windows box so that its gateway is the linux box, and you need a firewall script for that, searching in google is the easiest way to acquire one, if you have kde, you will be able to access all shared folders in your winxp box by using konqueror provided you have openldap package installed (im not quite sure about this one, experts correct me if im wrong), you dont have to configure samba if you dont have any plans accessing your files on your host system, hope this will help, goodluck.
|
|
|
|
07-14-2006, 02:15 AM
|
#3
|
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Original Poster
Rep:
|
ok. do i have to put both boxes on the same subnet? as for the firewall script, is it a special kind of script or do i just need to modify the entry of my iptables?
|
|
|
|
07-14-2006, 08:09 PM
|
#4
|
|
LQ Newbie
Registered: Sep 2004
Location: Brazil
Distribution: Slackware - Debian
Posts: 26
Rep:
|
Linking 2 computers
Quote:
|
Originally Posted by Andriy
ok. do i have to put both boxes on the same subnet? as for the firewall script, is it a special kind of script or do i just need to modify the entry of my iptables?
|
You'll need a RJ45 crossover cable to link the two nics that have to be in the same subnet, for instance:
host: 10.1.1.1 (second card)
guest: 10.1.1.2 (unique card)
subnet mask: 255.0.0.0
Don't use the 192.168.0.0/255.255.255.0 range for the two connected nics, because Windows, when sharing internet connections, will force you to use the 192.168.0.1 address on the card that is connected to your adsl/cable connection. If you choose Linux to do the sharing, I highly recommend SLACKFIRE. It will protected your internal network and will do NAT and IP forwarding for you.
|
|
|
|
07-14-2006, 08:25 PM
|
#5
|
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Original Poster
Rep:
|
Thanks for the insight. I'll try this later and give you a feedback of what I've achieved.
|
|
|
|
08-16-2006, 06:25 PM
|
#6
|
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Original Poster
Rep:
|
Hi! It has been a long time. I did it finally, but I was wondering if there is a difference in using the address that Slackware and Winxp assigns by default. See, I want to have the same address for both, the reason is that I want to have the same connectivity even if I switch OS. Can this be done?
|
|
|
|
08-16-2006, 08:34 PM
|
#7
|
|
LQ Newbie
Registered: Sep 2004
Location: Brazil
Distribution: Slackware - Debian
Posts: 26
Rep:
|
Same address
Quote:
|
Originally Posted by Andriy
Hi! It has been a long time. [...] Can this be done?
|
You can assign them the same IP, but I advise you to also designate both with the same name. I had run through some interesting problems (the way Windows handles shares, for instance) when trying to use different names.
|
|
|
|
08-16-2006, 10:28 PM
|
#8
|
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Original Poster
Rep:
|
I see what you mean, particularly when changing the name of the server since the host has to be reconfigured each time the server switches OS. It has to be done.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:18 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|