OK, FINALLY!!!!! Something we tried *actually* did something positive!
I was beginning to worry there!
For now, unless you're going to be setting up httpd to server something
immediately, you can go into DrakConf (if it actually installed on your
machine--I had to install mine manually) and shut off httpd in system
services. Until you actually have the ability to set it up, there's no need
to sit around waiting for it to start.
For pmfirewall... just so that everything is set correctly in its scripts,
re-run the install script giving it ppp0 as the external interface, DHCP,
autodetect the IP, and shut off any services you probably will not use
(most, if not all the defaults are fine here).
Then tell it eth0 is the internal interface, that it *will* be masquerading,
and to detect that IP range.
When it all finished, bring upthe modem, get connected, and run
/usr/local/pmfirewall/./pmfirewall restart
to check that it's been confgured correctly. You should see the correct IPs
for bothe networks.
On the windows box... all you need to do in the Network applet in control
panel, is edit the settings in network > protocols > TCP/IP [ethernet
adapter]. You want to add your internal IP for that machine. a subnet mask
that matches the one used on the NIC for the firewall (hopefully
255.255.255.0-'cause that would correct) and enter the default gateway as
the IP of the internal interface of the firewall. For the the DNS entries,
add the two DNS IP address found in /etc/resolve.conf on the firewall (or
two DNS servers you know will exist on the internet), close everything,
possibly restart as you're working in windows, and give it a try.
We should be good from here....
Then it's on to samba. (Oh god!) :-)
--Greg
> Success!!!
>
> I took out my servername and address in /etc/hosts and am now able to
> connect to internet.
> /sbin/ifup ppp0 dials modem and connects
> /sbin/ifconfig shows eth0.,lo,ppp0 with IP addressess
> on ppp0 it shows the address the ISP gives me upon connection.
> What is command to disconnect? Kppp will also work.
>
> On Boot though "http" fails and has to set the servername. Bootup takes
> forever. I will now enable network on box2 and try to figure out how to
> mount.
> What do I do next?
> Thanks Greg
> Bob
> ----- Original Message -----
> From: Greg Stewart <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 25, 2000 12:07 AM
> Subject: Re: [newbie] Kppp and Networking
>
>
> > > Internal eth0: 192.168.100.1/255.255.255.0
> > > External ppp0: 192.168.100.1/255.255.255.255
> >
> > OK, something is definitely wrong with this...Have you correctly
> configured
> > ppp0 for DHCP? 'Cause the system is encountering an IP conflict now.
> > 192.168.x.x is a reserved address (you may know this already) for
internal
> > LAN usage along with 10.x.x.x and , i believe, 172.something..x.x .You
> > definitely need to check to make sure there is no IP assignment for
ppp0,
> > only DHCP. Also, check /etc/hosts to make sure you only 127.0.0.1
> > localhost.localdomain as the entry...no other IPs until we can figure
out
> > why there's this new conflict.
> >
> > Um... yes, if you configure ppp0 to start at boot, it wiil attempt to
dial
> > up unless you have demand dial enabled...let's not get into that yet,
> > though.
> >
> > Disable the boot-time on ppp0 for now. You should be able to leave
> > pmfirewall the way you have it.
> >
> > After boot, type /sbin/ifup ppp0 and see what happens. I
negotiation
> > occurs, wait a few seconds and then type /sbinf/ifconfig and see if ppp0
> is
> > listed. if it is, check the IP info. If you get assigned a 192.168.x.x
> > number then we have to use a different range on the NIC (10.x.x.x
maybe).
> >
> > Geez...it's 1am--I have to get to sleep now... I'll think some more on
> this
> > tomorrow.
> >
> > --Greg
> >
> >
______________________________________________________________________________
Vous avez un site perso ?
2 millions de francs � gagner sur i(france) !
Webmasters : ZE CONCOURS ! http://www.ifrance.com/_reloc/concours.emailif