Date: Thu, 24 Jun 1999 14:37:00 -0700 From: "Rami Soudah" <rsodah@index.com.jo> To: freebsd-questions@FreeBSD.org Subject: dial ISP Message-ID: <3772A4FC.BC1545A5@index.com.jo>
next in thread | raw e-mail | index | archive | help
Greetings,
i made my home network with 2 pc 's one win98 other bsd3.0,
both PC's can see eachothers. :)
i am trying use bsd box to connect to my isp (dyn.ip) via user ppp
and on the same time from win box through bsd.
internet ---modem---bsd------win98
When i try to use ppp to connect my ISP, i got
earth# ppp
Working in interactive mode <- this msg it comes after 35sec.
Using interface: tun0
ppp ON earth> dial ISP
Warning: Add route failed: 0.0.0.0 already exists
ppp ON earth>
ppp ON earth> Warning: Chat script failed
ppp ON earth>
my ext. modem start dialling, but cant connect to the ISP
What could be wrong? How can i debug the dialup-message?
/etc/ppp/ppp.linkup
MYADDR:
delete ALL
add 0 0 HISADDR
!bg /usr/X11R6/bin/auplay /etc/ppp/linkup.au
/etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cuaa0
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK
ATE1Q0 OK \\dATDT\\T TIMEOUT 40
CONNECT"
ISP:
set phone 5515123
set login "ABORT NO\\sCARRIER TIMEOUT 5 Username: mylogin Password:
mypasswd"
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
delete ALL
add 0 0 HISADDR
earth# netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif
Expire
default 139.130.237.117 UGSc 2 0 ed1
127.0.0.1 127.0.0.1 UH 0 1 lo0
139.130.237/24 link#1 UC 0 0 ed1
139.130.237.117 0:c0:df:e6:7b:51 UHLW 3 11776 lo0
139.130.237.133 0:0:e8:61:2:39 UHLW 2 3570 ed1
1192
earth#
------------------------------------------------
earth# ifconfig -a
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 139.130.237.117 netmask 0xffffff00 broadcast
139.130.237.255
ether 00:c0:df:e6:7b:51
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
earth#
---------------------------------------
/etc/resolv.conf
nameserver index.com.jo
nameserver 212.38.128.2
nameserver 212.38.128.3
------------------
earth# netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif
Expire
default 139.130.237.117 UGSc 2 0 ed1
--------------
/etc/rc.conf
hostname="earth.home.net" # Set this!
network_interfaces="lo0 ed1" # List of network interfaces (lo0 is
loopback).
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
ifconfig_ed1="inet 139.130.237.117 netmask 255.255.255.0"
defaultrouter="139.130.237.117" # Set to default gateway (or
NO).
static_routes="" # Set to static route list (or leave
empty).
gateway_enable="YES" # Set to YES if this host will be a
gateway.
router_enable="NO" # Set to YES to enable a routing daemon.
Thanks in advance.
-pons
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3772A4FC.BC1545A5>
