LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-14-2004, 09:48 AM   #1
Disketnik
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Rep: Reputation: 0
Linux-windows network


How can i set network connection beetween windows xp and linux suse 9.2 pro?
please help
regards
 
Old 11-14-2004, 12:23 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
through a hub, with some ethernet cables.

what are you trying to do? share files? look into samba
 
Old 11-15-2004, 11:44 AM   #3
oily_rags
Member
 
Registered: Sep 2004
Posts: 128

Rep: Reputation: 15
internet sharing

Can you make a suse 9.1 system share it's internet connection with a windows xp system?
 
Old 11-15-2004, 02:29 PM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
with 2 NICs you can make it a firewall, or gateway, it can take some configging to get what you want...
 
Old 11-15-2004, 11:27 PM   #5
electronique
Member
 
Registered: Mar 2004
Location: Menomonie, WI
Distribution: SuSE 9.2, Slackware Current, Arch Linux 0.7
Posts: 119

Rep: Reputation: 15
Survey Says... Samba!!!

Well I assume you know how to connect 2PCs together, if I am assuming too much let me know... but I will try to give you a quick how-to on setting up Samba using YaST.

Samba is, as you may or may not know, an implementation of the Server Message Block protocol (smb, hence samba, get it!) Since you want your other computers to be able to access you Linux Box your going to want to enable the Samba Server, not just the client. Fortunately this is very easy for us in SuSE. Under YaST in the Network Services section should be a spot for samba. There are 2 options in the network services panel, you are going to want to click on Samba Server. Click Enable Samba Server and change the name of the workgroup to the one that your Windows PCs are currently on then click next.

In the next window that pops up make sure that both share homes (this shares your /home/(your username) directory) and Share Printers are checked. It is possible to share more of your PC if you click on the advanced button, however I suggest you have a strong sense of how samba configuration files work before doing this, documentation can be found on the Samba Website. If you have a question about how to share a specific directory on you computer I might be able to help you with that too.

You also need to set up the Samba Client, it's right next to the server setup section. There is only one configuration option, so it's pretty easy... just click on it and set it to the correct workgroup setting for your windows network.

So there you go, your Linux PC should now be able to 'talk' to your Windows PC's and vice versa, Simple, no?

Last edited by electronique; 11-15-2004 at 11:33 PM.
 
Old 11-16-2004, 08:29 AM   #6
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
yes yes... samba shares files, but how does that help with:

Quote:
Can you make a suse 9.1 system share it's internet connection with a windows xp system?
???
 
Old 11-16-2004, 12:38 PM   #7
electronique
Member
 
Registered: Mar 2004
Location: Menomonie, WI
Distribution: SuSE 9.2, Slackware Current, Arch Linux 0.7
Posts: 119

Rep: Reputation: 15
it doesn't, I was posting a reply to the original question posed in this thread, which had nothign to do with internet sharing

Quote:
How can i set network connection beetween windows xp and linux suse 9.2 pro?
please help
regards
 
Old 11-16-2004, 02:44 PM   #8
slacker9876
Member
 
Registered: Apr 2004
Location: Colorado
Distribution: Ubuntu 6.10, SLED 10
Posts: 119

Rep: Reputation: 16
In any IP-based network any host can provide Internet connectivity, providing that it, itself is connected to the Internet. As electronique guided you, you will need to configure your 9.2 box as a gateway (i.e., 192.168.0.10) and configure the firewall to allow traffic from your Windows PC through.

There is a better / easier method. Go to Best Buy and get a $45 Netgear Internet Router, or Linksys whatever. Then plug your Internet connection to the router (which is bullet proof for security) and you can connect up to 252 client machines to share the gateway. I personally use the Netgear RP614 and I have had ZERO intrusions.

This is a hardware based solution, rather than the software based one provided by SuSe. It also give you an option of going Wired or Wireless.

Last edited by slacker9876; 11-16-2004 at 02:45 PM.
 
Old 11-17-2004, 06:45 AM   #9
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Rep: Reputation: 15
there are SOME benefits of the SuSE software router over a hardware based linksys type device. You get a bit more flexibility. So, if you want to get a second NIC for your SuSE box, you should look into iptables (http://www.netfilter.org/ . Be warned, there is a lot of reading ahead of you.
 
Old 11-17-2004, 08:33 AM   #10
dscott1644
LQ Newbie
 
Registered: Jun 2004
Location: Colorado, USA
Distribution: SuSE 9.1, RH8.0, ...
Posts: 7

Rep: Reputation: 0
I moved from using my Linux system as my gateway to using a Linksys router. My home SuSE machine(s) is not a server class machine and is not intended to be active 100% of the time, it's also not a low-end machine either. If you use Linux as your gateway as well as other functions, you might happen to be married or have children that are using the internet when you want to mess with Linux. So, if you are just starting to learn the ins and outs of Linux (which implies messing things up and fixing them) you might want to shy away from Linux as your gateway.

So, the Linksys/Netgear router , still put IPTABLES on you SuSE, and run XP SP2 with the firewall feature. Like the previous post said, it's not really as good a solution because you lack flexibility in your security and I don't think the Linksys and Netgear are quite as secure as IPTABLES.

If you want to use the SuSE machine as a learning tool for building the firewall, then I'd still head out and get a Linksys or Netgear but connect them directly to one of your ethernet ports. This solution will provide a lot more security then having your Linux machine connected directly to the Internet.
 
Old 11-17-2004, 06:20 PM   #11
electronique
Member
 
Registered: Mar 2004
Location: Menomonie, WI
Distribution: SuSE 9.2, Slackware Current, Arch Linux 0.7
Posts: 119

Rep: Reputation: 15
obviously the originator of this thread hasn't included enough information for us to even help him (linux-windows network...? pretty vague) On top of the he also hasn't replied... so instead of us posting 50 tips when we don't even know what he needs help with.. why don't we just close the thread and forget about it.
 
Old 11-17-2004, 06:24 PM   #12
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
i forgot about it long ago, thanx for the bump
 
  


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
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker SUSE / openSUSE 8 08-29-2006 05:10 PM
Integrating Linux Network into a Windows Network Crash64 Linux - General 3 04-30-2005 08:42 PM
linux machine does not connect to the network in windows network Bzuco Linux - Networking 2 07-19-2004 04:44 AM
windows nt network and linux newbe200615 Linux - Networking 4 06-25-2003 02:16 AM
accessing a windows network from a linux network and vise vesra uche okorie Linux - Networking 0 12-16-2001 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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