With all the help I've gotten here on this subject, plus the many
HOWTO's on this and related subjects, I had hoped to get this figured
out long ago. I suspended attempts for several days in order to start
from scratch with my RHL 6.2 install on machine st21s, spending some
time doing a custom install in order to get the right combination of
packages installed and dependencies met in order to do little more than
operate as my internet connection. Actually my ulterior motive was to
scrap Gnome in favor of KDE. Anyway, two birds with one stone. Now, back
where I left off.

My /etc/rc.d/rc.local ends with:

        #rc.firewall script - Start IPMASQ and the firewall
           /etc/rc.d/rc.firewall
   
        #This probably belongs somewhere else
           /usr/bin/smbmount //td91w/c /share/td91w/c

and /etc/rc.d/rc.firewall currently contains only the following:
        #rc.firewall - firewall startup commands

        echo 1 > /proc/sys/net/ipv4/ip_forward
        /sbin/ipchains -P forward DENY
        /sbin/ipchains -A forward -s 192.168.0.0/16 -j MASQ

This is currently providing a shared internet connection for to my other
three machines (except when one of them is booted to Mandrake 7.1, but
fixing that's reserved as next project. ifconfig looks good, but no
ping).

Besides improving on the basic security that is mostly missing from the
current setup (IP-Masquerade-HOWTO.html is open in Netscape right now),
I have the following problems:

1-When I first boot, the last startup message prior to the initial login
prompt used to be 'linuxconf'. Now that I've created
/etc/rc.d/rc.firewall to replace the previous ipchains entries in
/etc/rc.d/rc.local, the last message prior to the initial login prompt
is a password prompt. I've been able to find nothing to explain what
about those three little startup lines might cause this.

2-I want to login to st21s via telnet from OS/2 and start and stop the
ppp connection at will. I don't want a demand setup, as I have Netscape
querying for new mail every nine minutes in order to maintain a
connection that might otherwise be dropped by my ISP for lack of
activity. Wvdial appears to require that the telnet session be kept
open, and that it be a root access login. I want to dial as an ordinary
user. The scripts in /etc/sysconfig/network-scripts, supplied here, on
Usenet, and in the HOWTO's all manage in one way or another to not work.
Maybe I'm trying too hard and reading too many HOWTO's. Ideally, I could
set up OS/2 with some sort of non-root scripted telnet login that does
no more either establish or terminate a connection and then exit.

3-(not that important right now) I'd like to know why I follow what seem
to be simple enough Samba directions and still can't see any shared
Linux resources on either OS/2 or windoze. To get anything to pass from
Linux, I had to create RW access on a windoze directory and put the
desired files there with Linux.

All help much appreciated.
-- 
A fool gives full vent to his anger, but a wise man keeps himself under
control.                Proverbs 29:11 NKJV

Felix Miata  ***  http://mrmazda.members.atlantic.net/


Reply via email to