Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 1996 10:01:33 +0100
From:      Gianmarco Giovannelli <gmarco@masternet.it>
To:        questions@freebsd.com
Subject:   ppp questions :-)
Message-ID:  <2.2.32.19960220090133.0067d350@masternet.it>

next in thread | raw e-mail | index | archive | help
I tried to install a ppp connection using the ppp user how is described in
Handbook... Obviusly without no success till now, so I must ask for some
help again ...

Beware is a very long and boring message :-)

Ok, let's go ....

I have to set a dynamic PPP connection :

DNS     : 194.184.65.2
GATEWAY : 194.184.65.1
NETMASK : 255.255.255.0

Modem suprafax288 on com2  (it is defined in /etc/modems)


Here are some pieces of files I modified :

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

127.0.0.1		localhost
10.0.0.0		eclipse.org suzy

------------------------------------------
/etc/host.conf

# $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $
# Default is to use the nameserver first
bind
# If that doesn't work, then try the /etc/hosts file
hosts
# If you have YP/NIS configured, uncomment the next line
# nis
------------------------------------------

/etc/sysconfig

hostname=eclipse.org

defaultdomainname=NO

tcp_extensions=YES

network_interfaces="lo0 tun0"
ifconfig_lo0="inet localhost"
ifconfig_tun0="inet eclipse.org 194.184.65.1 netmask 0xffffff00"

static_routes="multicast loopback"
route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
route_loopback="${hostname} localhost"

defaultrouter=NO

#Handbook docet
routedflags="-s"

sendmail_flags="-bd -q30m"

namedflags="NO"
---------------------------------------------
/etc/resolv.conf

nameserver 194.184.65.2

---------------------------------------------
/etc/ppp/ppp.linkup

# If we are invked with an argument ``iij-demand'', then
# delete existing route entry and add peer as default gateway.
iij-demand:
 delete ALL
 add 0 0 HISADDR
#
# Otherwide, simply add peer as default gateway.
#
MYADDR:
 add 0 0 HISADDR

----------------------------------------------
/etc/ppp/ppp.conf

default:
 set device /dev/cuaa1
 set speed 57600
 disable lqr
 deny lqr
 set timeout 120
 set ifaddr 0 0	
 add 0 255.255.255.0 194.184.65.1



Then I usually do term and then Atdt31205, login and pwd are right, ppp
start packet mode.... a prompt returns. Now if I shell and do ping
194.184.65.(1|2) ping doesn't work... Traceroute idem...

After a while even if I don't start ppp it arrives me a message saying that
the route to tun0 is cancelled due to timeout ....


                        ...---... ...---... ...---...
 
I have another internet account, which provides static ip.
If it is simplier I can configure it, even if is a long call for me (the
other is in my city :-)



username: "gvnr04k1"
hostname: "193.207.71.17"

here is additional informations as they send to me: 


Dns = 193.43.2.1  (primario) 130.186.1.53  (secondario)
gateway = 0.0.0.0  (per il ppp va bene cosi')
netmask= 255.255.255.0
news server = news.nettuno.it        port nntp
pop account = qvnr04k1@nettuno.it
smtp server = nettuno.it


--------------------------------------------------------------------------

It will be possible to have the two account coexists ?

I was thinking at some modifications on /etc/ppp/ppp.conf

default:
 set device /dev/cuaa1
 set speed 57600
 disable lqr
 deny lqr
 set timeout 120
provider1:
 set phone 31205
 set ifaddr 0 0	
 add 0 255.255.255.0 194.184.65.1
provider2:
 set phone 0554244344
  
but then I realized I must change /etc/sysconfig, etc/ppp/ppp.linkup etc etc
and the thing begin to be very difficult...





Thanks for everyone that is arrived to read here, and to the others too :-)







Regards,
            __
         __/// Gianmarco
         \XX/

+------------------------------------+-----------------------+
| Internet:  gmarco@masternet.it     | +-------------------+ |
| Internet:  gmarco@nettuno.it       | | Hello! ,,,        | |
| BIX     :  ggiovannelli@bix.com    | |       (o o)       | |
| Fidonet :  2:332/113.0@fidonet.org | | ---ooO-(_)-Ooo--- | |
| Amiganet:  39:102/507@amiganet.ftn | +-------------------+ |
+------------------------------------+-----------------------+





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2.2.32.19960220090133.0067d350>