How do you plan to connect to the net? PPP, DSL, Cable?
I'm using a DSL modem (which is really a Cisco 675 router). Each of my PCs
(one running Linux and the other W98) has it's own NIC. I bought a little
four port hub, and using straight through cat5 cables I connected the router
and each NIC to a port on the hub.
Since the W98 box uses DHCP I set Linux up to use DHCP too (did this during
installation, but I *think* linuxconf will allow you to set this up too).
Then I put my DSN entries in the /etc/resolv.conf file. That's all there was
to it for me.
Not sure what your exact situation is, but this is what worked for me. Both
my PCs are using the same DSL connection to the net via a hub. The Cisco 675
has an inside IP 10.0.0.1 and an outside IP which is dynamically assigned by
my ISP (uswest in this case).
I hope that this helps.
Christopher Jordan
National DCS Support
[EMAIL PROTECTED]
'If you have the right attitude, interesting problems will find you.'
-----Original Message-----
From: Nauman ul-Haque [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 4:52 PM
To: [EMAIL PROTECTED]
Subject: squid,permissions
Hi,
I Have a number of questions, I hope some one can answer them.
1). I am going to connect a windowz machine with my linux machine.
i). I want to share the same internet connection with both machines.
ii). I want to share the same printer with both the machines.
Taking up (i).
I heard I can do that in two ways , either connect windowz machine with
internet or linux machine. If I connect the windows one then all I have to
do is setup a proxy like wingate and linux can access that. If I connect the
linux machine with internet then I will have to run Squid or ipmasq. I want
to know if I connect linux machine, then what should I use? Squid or ipmasq,
for any of them, is there any HOWTO or what documentation should i read?
Taking up (ii)
for printer sharing I guess I have to use samba? nothing else? any bright
opinions:)
2). Previously I asked a question about permissions for a user(I wanted to
setup some shell accounts and give them webspace). I was told that the least
permissions for a user's HOME should be 700 so that he can access his home.
For web access (public_html or www or anything like that) I have to set the
rights to that specific folder to be readable and executeable by everyone
i.e. 755 (please correct me if im wrong). Shouldnt that be enough? do I also
have to set the rights of the user's root (/home/USER) to be readable and
executeable for all others too 755?
Thank you,
Nauman
-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs