Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Internet Conection Trought Linux Server

Posted on 1998-12-07
4
261 Views
Last Modified: 2010-08-05
How do a LAN with my Win98 and my Linux Server.. to connect
to Inet.. share files and printers... and all stuff abnout a Network..
??
0
Comment
Question by:freaki
4 Comments
 
LVL 2

Expert Comment

by:vx
ID: 1638749
What exactly do you want?

1. Setup a Windows network (Using TCP/IP?)
2. Setup a connection to the Internet using your Linux machine?

1. Install the Samba SMB server: http://www.samba.org
2. Install IP-Masquerading: it's included in the kernel; you may have to recompile it.

Both topics are covered very well in the documentation and HOWTO's (http://sunsite.unc.edu/ldp/ldp.html).
0
 
LVL 1

Accepted Solution

by:
adrianwatkins earned 100 total points
ID: 1638750
Share files -> Install Samba www.samba.org or http://metalab.unc.edu/pub/Linux/docs/HOWTO/SMB-HOWTO

Connect to the Internet -> pppd part of most packages in order to dial on demand you will need Diald  http://metalab.unc.edu/pub/Linux/docs/HOWTO/mini/Diald

Share several machines on 1 ip address IP Masquerading
http://metalab.unc.edu/pub/Linux/docs/HOWTO/mini/IP-Masquerade


Hope this answers the question -> lucky compiling
0
 

Expert Comment

by:hallstein
ID: 1638751
1. Using linuxmachine as a gateway - forwarder for the other machines:
Enable IP firewalling, IP forwarding and IP masquerading in your kernel.
in rc.modules /etc/rc.d/rc.modules type
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -am -b -S 192.168.x.0/24 -D 0.0.0.0/0

Thats for making your linux box as a gateway for the other computers for the internet (I assume your linux machine has ip: 192.168.x.1) x=whatyouwant

Then you wanna have samba installed - get back into your kernel and check for samba - and win95 bug workaround .

IP firewalling and masquerading is found under Network options in your kernel - and samba is found under filesystems.
To get samba to work in your system - you need to edit the smb.conf examplefile (pretty easy) and put it under /etc if its not already there :)
further help type man samba, man smbclient, man smbmount.
luck to ya
0
 

Expert Comment

by:thefantom
ID: 1638752
It would be an idea to also load the different masq modules so you will be able to use the different protocols. and also there is a new option in 2.0.36 maybe 2.0.35 kernels which will attempt to masq unknown protocols.

/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_quake


0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question