From owner-freebsd-questions Mon Dec 11 06:17:30 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA09241 for questions-outgoing; Mon, 11 Dec 1995 06:17:30 -0800 (PST) Received: from user1.channel1.com (user1.channel1.com [199.1.13.9]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA09236 for ; Mon, 11 Dec 1995 06:17:28 -0800 (PST) Received: from user1.channel1.com (user1.channel1.com [199.1.13.9]) by user1.channel1.com (8.6.11/8.6.9) with SMTP id JAA18897 for ; Mon, 11 Dec 1995 09:44:48 -0500 Date: Mon, 11 Dec 1995 14:44:48 +0000 () From: Kai Xie ~{?-~} To: freebsd-questions@freebsd.org Subject: setup user PPP on freebsd 2.0.5 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk I am trying to set up user PPP on my freebsd computer. I have my isp IP address as 199.1.13.9 gateway as 199.1.13.45 netmask 255.255.255.224 I edited sysconfig file, and put it hostname=user1.channel1.com (which is my isp name server) network_interfaces="lo0 tun0" ifconfig_tun0="inet user1.channel1.com 199.1.13.45 netmask 0xffffff00" what's the hexadecimal value for 255.255.255.224? the vaule I put in is 255.255.255.0 then I chaged routedflags=-s and I wrote the ppp.conf default: set device /dev/cuaa1 (my modem is on com2) set speed 57600 (my modem is 28,800) disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" provider: set phone ******* set login "TIMEOUT 10 gin:-BREAK-gin: **** work: *******" set timeout 300 set ifaddr 0 199.1.13.45 because my isp assign dynamic IP address and fixed gateway. what should I put in for ppp.linkup file??? when I restart the computer my computer's ip address became user1.channel1.com, why?? I am not on any local network. and when I run ppp, it dials ok, connects ok. and I type it "add 0 199.1.13.45 HISADDR" but then I try to telnet to somewhere, is doesn't work, tells me that hostname lookup failed. _________ Kai Xie