Date: Mon, 11 Dec 1995 14:44:48 +0000 () From: Kai Xie ~{?-~} <kxie@user1.channel1.com> To: freebsd-questions@freebsd.org Subject: setup user PPP on freebsd 2.0.5 Message-ID: <Pine.BSF.3.91.951211142905.18589A-100000@user1.channel1.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951211142905.18589A-100000>