Solved

Internet Conection Trought Linux Server

Posted on 1998-12-07
4
255 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now