Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Internet And Printer Sharing, Hyprid Network
Death_in_Fire
post Mar 6 2004, 12:13 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 6-March 04
From: Austria
Member No.: 2,527



Hello,

i'm connecting to the internet over a cable modem. my dad, whos pc runs WinXP, wants to go over my pc to the internet/ wants to print. how can i share my internet-connection/ printer on SuSE 9.0 (or any other distro)???
plz help! if he cant access the internet he wont pay for it anymore.... that would be a slow and painfull death for me!
Go to the top of the page
 
+Quote Post
hughesjr
post Mar 6 2004, 12:40 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



You can share your internet connection with iptables and IP masquerade:

It requires that you have a second network card in the SUSE machine, a crossover cable (make it, buy it), and a NIC in the Windows XP machine.

Once you have the second NIC installed in the SUSE machine assign the new card an IP address of 192.168.0.1, follow the instructions here to share your internet connection.

Assign an IP address of 192.168.0.2 to the Windows XP machine, and put the same IP address in for DNS on the XP machine as you have in the file /etc/resolv.conf on the SUSE machine ... and you should be in business...
-------------------------
To share the printer, you would need to set up samba after the network is connected.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
linuxwolf069
post Mar 6 2004, 04:28 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 6-March 04
Member No.: 2,528



Since dad is shelling out the money for the connection, why not do this the easy way?


Get a router/switch combo (4 ports should be fine)

Configure the router and then setup a local network in your home.

Don't hog the connection, and don't make him pass through your system (I personally don't like sharing my network badwith, and this would suck up yours through your internet nic).

As far as the printer, you have a couple of options there...

Spend another $50 or so and buy a printserver that runs on the network to share with both, or setup a samba share on your laptop, or his pc.
Go to the top of the page
 
+Quote Post
Death_in_Fire
post Mar 7 2004, 06:58 AM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 6-March 04
From: Austria
Member No.: 2,527



Thanks for your help!
Ive got a second network card in my pc, a network card in the windows xp machine (which is hopefully the "NIC") and one of these cables.
thanks again!!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 11th December 2017 - 05:34 PM