Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-23-2003, 07:45 PM
|
#1
|
Member
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371
Rep:
|
Linux sharing connection with windows
Hey ok im a newbie to networking so i have no clue on what i have to do here so plz take some time to help a newbie plz
Ok this is what im going to i have a linux machine running Mandrake 8.2 which yes i know sucks but anyways i wnat it to share a connection to windows running windows 98 im going to get a router or a hub which would be the best?? and is ther a way that i can do it so linux wont have to be one incase something happens??? another questions is what software do i need under linux?? thats basicly it for now i was reading a few webpages on google.ca/linux and i just got even more confused
any post will be thankfull
matt3333
|
|
|
04-23-2003, 07:46 PM
|
#2
|
Member
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371
Original Poster
Rep:
|
and oh just in case this counts for anything i have a apache webserver running thnx
matt3333
|
|
|
04-24-2003, 09:06 PM
|
#3
|
Member
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371
Original Poster
Rep:
|
someone plz respond basicly what im asking is inorder to share a connection with say a router do i use samba??? or something else?? and if i were to get a hub would i still use samba if yous suppose to use samba??????
this is what i figure is with a hub its basicly like buying a new modem cuz of different ips and with a router its just like spliting the connection cuz with the router u keep the same ip am i right about this???? and if i get a router most of them have a firewall??? will it block off port 80 for my webserver????? plz HELP ME
Matt3333
|
|
|
04-24-2003, 09:20 PM
|
#4
|
Member
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444
Rep:
|
I am not sure what you want to do on your network.
Do you want to do internet connection sharing or do you want to set up a network so that Windows and Linux can share resources?
|
|
|
04-25-2003, 02:56 PM
|
#5
|
Member
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371
Original Poster
Rep:
|
just connection but if theres away to do that how would i????? thanx for responding!!
Matt3333
|
|
|
04-25-2003, 03:43 PM
|
#6
|
Member
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110
Rep:
|
if you have only 2 boxen, you can use an inexpensive crossover cable to connect them. you don't have to have a router or a hub.
are your machines already connected? if so, how? and we can start from there.
|
|
|
04-25-2003, 08:38 PM
|
#7
|
Member
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371
Original Poster
Rep:
|
ok no there not connected at all. My dad called up our isp and there coming in to put in a router or a hub and we get another ip address for free so and yes i only got 2 boxes which would be the best bet a router or a hub?? and if i were to get these what would i have to use (software wise) so they could share connections maybe files?????
Thnx
matt3333
|
|
|
04-26-2003, 02:20 AM
|
#8
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
Connecting to the open internet you'd be better off using a router - it'll keep your LAN nicely separated from the rest of the Internet and provide a firewall function too. However the router will take up one of the two IP addresses - isn't a problem though you just get the router to act as a DHCP server for your computers instead which will give them their own internal IP addresses.
If you use the hub you will be able to use the two IP addresses provided by your ISP but then you'll have to do some more jiggery pokery to make sure the two computers can access each other plus configure firewall settings and all that carry on.
If you are definitely getting one or the other a router would be the better option.
Samba for file sharing on linux,
And for internet connection sharing you shouldn't need any thing else if
a: you have two IP addresses from your ISP and are using a hub
or
b: you are using a router
Last edited by Looking_Lost; 04-26-2003 at 02:23 AM.
|
|
|
04-27-2003, 01:18 AM
|
#9
|
Member
Registered: Nov 2002
Posts: 31
Rep:
|
Webmin
I'm new to Linux too, and I have to say that the easiest way to get anything done in Linux, is through Webmin..
Get that installed, it comes bundled with Mandrake,
then get a cheapie firewall plugin from their site, I use turtlefirewall.
Configure turtle firewall and named and you are pretty much set.
Webmin has helped me accomplish much including setting up apache, mysql, samba sharing, users, etc etc.
I'd be lost without it 
|
|
|
04-27-2003, 09:59 PM
|
#10
|
Member
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371
Original Poster
Rep:
|
So i should get a router? ok but im running a apache webserver wont this block port 80?? and what if i wanna ssh or ftp is it hard to take down this firewall so to speak??? thats y i was going to get a hub i should ask my ISP for a dhcp router so i can get different ip that would be alot better cuz what if someone tired to ssh me wont the get the other comp???? with out another ip??? Thanx for ur time
Matt3333
|
|
|
04-28-2003, 01:35 AM
|
#11
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
FTP and SSH will only be getting directed to the Linux one I assume -
all you do is set up static IP addresses behind the router 192.168.x.x
for each computer. Open the port on the router 21,80 etc and tell the router to forward it to the appropriate internal IP address. The router should be capable of all this. File sharing setup between the computers will be easier.
The easiest way to get them both online though is to use the hub and the two IP addresses.
|
|
|
All times are GMT -5. The time now is 03:47 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
|
|