This is *too* coincidental. This is the *exact* setup I have with my
computers. Read on....
| Being win95 illiterate, which one sould I chose to work with linux?
| Since I don't plan to advertise my machines' presence on the internet,
| can I use any IP number I see fit, or are there some reserved
| for such a setup as mine (LAN only)?
For non-IP-connected machines, you should use the 192.168.x.x IP numbers.
These are reserved for local networks, and will never lead to confusion
with real IP numbers "out there".
| Both boxes can connect to the internet via dialup slip/ppp,
| which machine should make the connection? Why? :)
| We only have one ISP account and one telephone line,
| but would like to use web browsers at the same time.
You should have the Linux box connect to the internet. That way, you
can run the CERN httpd server in proxy mode so that it's still possible
to ftp/http out from the win95 box at the same time as the linux box.
| If someone has a similar setup working, please send me the
| '3 easy steps' for both machines, else please direct me to
| the source(s) of wisdom. Done the linux-net-faq already.
OK, here's my /etc/rc.d/rc.inet1 (the important bits):
-----------------------------------------------------------------------
IPADDR="192.168.10.30" # REPLACE with YOUR IP address!
NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
NETWORK="192.168.10.0" # REPLACE with YOUR network address!
BROADCAST="192.168.10.255" # REPLACE with YOUR broadcast address, if you
# have one. If not, leave blank and edit below.
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
/sbin/route add -net ${NETWORK} netmask ${NETMASK}
-----------------------------------------------------------------------
win95 setup stuff:
-----------------------------------------------------------------------
- make sure you're using the TCP/IP protocol, not the IPX/SPX protocol
- IP address 192.168.x.y
- subnet mask 255.255.255.0
- WINS disabled
- gateway: IP address (192.168.whatever) of the linux box
-----------------------------------------------------------------------
That'll get you most of the way there. If you want to get adventurous,
you can export your hard drives using the SMB protocol in both directions
using SAMBA (on the linux box) and "file and printer sharing for microsoft
networks" on the win95 machine. You can even set things up to transparently
print to the linux box's printer from win95.
The one thing I can suggest to you is get ONE thing working at a time.
Networks can be extremely infuriating to debug, especially if they go down
for no apparent reason. Get your routing tables set up properly, make sure
you can ping between the two machines, and then start adding stuff.
Let me know if you have any further questions.
-- Michel Goudeseune -- michelg@tilde.mlnet.com -- Vancouver, BC 1979 242dl, 341k km -- http://www.media-cafe.com/michelg/