for internet sharing you want to search this site (or google) for ip masquerading / NAT configuration.
for filesharing you want to search for ssh and samba.
i have 2 comps connected, linux one with eth0 and directly connected to the net and the other as a client , i have no idea on how to share files and internet connection.
thanks
for internet sharing you want to search this site (or google) for ip masquerading / NAT configuration.
for filesharing you want to search for ssh and samba.
yes i want both nat and smb file sharing, but i have no idea, i know the command
but theres no rc.local to include itCode:-t nat -A POSTROUTING -o eth0 -j MASQUERADE
Do yourself (and the rest of the Internet) a big favor and buy yourself a cheap router. Thay are often under $10 after rebate in the US, since they are not made here I expect that you can find similar prices if you shop around a bit. You avoid problems fighting with Windows (which really doesn't like Linux and seems to go out of it's way not to work with it), as well as having a true NAT firewall to keep hackers out of your windows system. And all the time you spend rebooting the windows box will not affect the Linux system when you use a router.

Vintage Apple iMac G3 “Sorry, no beige.” Wristwatch – Two Original Bands
$249.95
Apple IIe Vintage Home Computer Model A2S2064 w/ Power Cord
$120.02
Apple Vintage Joystick for Apple IIe IIc Computer Controller A2M2002
$72.50
Vintage 1980s PC XT Clone Motherboard 8088 CPU 8-Bit ISA Slots Untested
$69.77
Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot
$316.95
Vintage Adobe Dimensions 1.0 Macintosh 1992 3D Design Software Boxed w/Disks
$49.99
VINTAGE AOPEN MODEL SPI-200 200W AT POWER SUPPLY WITH SWITCH DS-PS-8
$34.95
Retro Vintage 1988 Paradise PVGA1A ISA VGA Video Graphics Card 8-Bit PC XT AT
$99.95
Vintage Toshiba Satellite 2590 CDT Intel Celeron 98 No Power Cords included
$150.00
Vintage Radius Pivot II Display NuBus Video Card 632-0030
$149.00