At 06:58 PM 6/4/00 -0500, Brent Turan wrote:
...

>I have a Pentium 166 IBM computer. Configured for PPP and LAN. My server's
>ip number is 192.168.1.10 and the other two win98 workstations that I have
>are .1 and .2. I can ping them, they can ping me. I can make a PPP connection
>to my ISP and I can ping my dynamic IP address from the workstations. However,
>I cannot browse or ping anyone else on these two workstations.

This sounds like you have the Linux host's LAN IP address as the default
gateway of the Win98 hosts, but you don't have thr routing or Masq'ing stuff
set up right on the Linux host.

>I am a newbie, so I dont know much about how to compile the kernel. 
>I am assuming the version of Redhat (6.2 Standart) has already compiled with 
>IP Masq modules. Thats question number one. 

Not actually a question, but perhaps a question in the form of an answer? Or
do I watch too much Jeopardy?

Oh well ... distributions vary a lot in what they put into default kernels,
and I wouldn't bet on the masq stuff being in any kernel I didn't compile
myself. You can add ip_masq.o and any of the ip_masq_*.o modules you need by
modprobing, though. I think RH does this in
/wherever_RH_puts_init_scripts/rc.local .

>Second is, no matter how many times
>I edit this ip_forward file (or something similar) to be 1 it defaults to 0
>everytime it boots up. 

It's not a real file; it's sort of a hidden door to part of the kernel (all
of the /proc filesystem is this, really). You change it automatically by
putting into an appropriate init script this line:

        echo "1" >/proc/sys/net/ipv4/ip_forward

>Third question is, how to set DNS? am I even supposed to
>set it? WHich name server workstations are going to be looking at? Linux or
>ISP? 

If you have the routing set up right, you can do it either way. Either put
your ISP's nameservers in the DNS entries on the Windows hosts, or run a
caching nameserver (named, in the "bind" package) on the Linux host and let
it use the ISP's nameservers as forwarders. The second approach will reduce
PPP dialups.

>Fourth and the last question is how can I found out if I need to compile
>my kernel (version 2.2.14-5) I go to /usr/src/ there is no linux directory
there
>like they say in the docs. Am I supposed to create it?

/usr/src/linux  is normally a symlink to /usr/src/kernel-source-2.x.y (where
x and y are suitable numbers for a kernel version). Your RH install may not
have done this. If it didn't, just add the .rpm, then make the symlink.


------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
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

Reply via email to