[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PPP and setting IP address's



I had the same problem.  Fortunately, I was given these instructions.  I would
give credit to them but I don't remember exactly who it was.  It did correct my
problem.  Anyway, this is what he gave me :

login is as root and change to /

-----------------------------
pico /etc/hosts.deny

ALL: ALL
-----------------------------

-----------------------------
pico /etc/hosts.allow

ALL: LOCAL
-----------------------------

-----------------------------
pico /etc/rc.d/rc.inet1

/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0
-----------------------------

-----------------------------
pico /etc/hosts

127.0.0.1 loopback localhost
0.0.0.0 <your login-id>.<your isp (i.e. = demon.co.uk)><your login-id>
-----------------------------

-----------------------------
pico /etc/resolv.conf

domain <your isp (i.e. = demon.co.uk)>
nameserver <dns nameserver ip)
nameserver <optional second dns namserver ip)
-----------------------------

-----------------------------
pico /etc/ppp/options

/dev/cua0 (replace cua0 with the com port your modem is on)

port-speed (replace with 28.800 or 33.600 or 56.600 etc)

debug

crtscts

modem
-----------------------------

-----------------------------
pico /usr/sbin/ppp-demon

pppd connect 'chat -v "" ATDT<phonenumber> CONNECT ""' \
defaultroute +ua /etc/ppp/ppp_auth

(Save this file then do a "chmod 777 /usr/sbin/ppp-demon"
-----------------------------

-----------------------------
pico /etc/ppp/ppp_auth

<your user-id>
<your password>
-----------------------------


To connect simply type "ppp-demon" as root

To test the connection give it a chance to dial and login etc then type
"ifconfig", you should see your IP information if you have logged in
succesfully.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]