Re: Network/PPP Help
On Sun, 22 Mar 1998, Mike Acklin wrote:
> Thanks Bill,
>
> I think you are right. I went back over the Install doc and one thing it
> did say was to configure you network, even if you are not connected. THEN
> it says, if you are not connected to a network you only have to answer the
> first 2 questions which are 1) Your computer name 2) are you connected to a
> network.
>
> I answered yes to the second question and added all the Network info from
> my ISP. That is what is messing things up as you said. When I boot up it is
> looking for the network and of course it isn't there.
That shouldn't matter, if it isn't there, it does not worry.
> I really don't know what files to edit to correct this, so will probably
> reinstall as I really don't have anything on the system yet, other than
> minicom. But I have that where I can reinstall that also.
>
> Again thanks for all your help. I have already learned alot about debian
> and love it.
>
I would not jump in and reinstall so soon, the file you need to edit is
/etc/init.d/network. In there you can change things around to suit... mine
has this:
---------------------------------begin----------------------------------
#! /bin/sh
ifconfig lo 127.0.0.1
route add -host 127.0.0.1 lo
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
#GATEWAY=192.168.0.1
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} up
route add -net ${NETWORK} netmask ${NETMASK} eth0
#[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
------------------------------------end---------------------------------
But I am on a small home network, so you should probably only have:
---------------------------------begin----------------------------------
#! /bin/sh
ifconfig lo 127.0.0.1
route add -host 127.0.0.1 lo
IPADDR=192.168.0.1
route add -host ${IPADDR}
------------------------------------end---------------------------------
I dont have the faintest if that is the correct way to do it, but that
_should_ do it. It worked for me... then you must use defaultroute with
pppd, or do a "route add default ppp0" yourself.
Michael Beattie (mickyb@es.co.nz)
-------------------------------------------------------------------------------
Cat Game #1: Hah - made you look!
-------------------------------------------------------------------------------
Debian GNU/Linux.... Ooohh You are missing out!
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: