Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 10:14:00 -0500
From:      "Jack L. Stone" <jack@antennex.com>
To:        <freebsd-questions@freebsd.org>
Subject:   PPPoE DSL w/static IP from Dynamic IP
Message-ID:  <PIEEKLHHCJCODPMNMJNKEEDLDAAA.jack@antennex.com>

next in thread | raw e-mail | index | archive | help
SOS - SOS - SOS!!!
Please, anyone familiar with DSL static IP setup.... I need help, please!!!
I am dead in the water without DSL connection. BTW, I'm running FBSD
4.5-release

Yesterday, I upgraded my DSL basic (with dynamic IP) to enhanced DSL that
now has a static IP. Ever since the changeover, I cannot connect when before
it worked fine as dynamic basic DSL with dynamic IP.

I thought I knew what to change in the ppp.conf and the rc.conf files, but I
cannot connect and am dead in the water since 3:00pm yesterday. I have
checked with support (they don't support UNIX and don't have a clue) and
they at least confirm that the DSL is switched over and is live... they can
ping my modem.

I tried everything I can think of in the ppp.conf/rc.conf but nothing works.
The debug shows attempt to dial, then 5 seconds with 4 tries, then
disconnect... over & over....

I use the tun0 device which is launched when ppp is enabled. Here's the
interfaces, the tun0 is there at bottom but no IPs:
=================================================================
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:50:ba:ae:fd:01
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:40:33:5b:bb:5f
        media: Ethernet 10baseT/UTP
        status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
tun0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1500

Here is my PPP.conf file:
=======================================================================
PPP.CONF
default:
 set device PPPoE:rl1	# External NIC for modem
 set mtu 1492
 set mru 1492
 set speed sync
 set ctsrts off
 set log Phase tun Chat Connect Warning Error Alert
 #set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0	# was this for dynamic IP
 set ifaddr 65.71.135.137 65.71.135.142 255.255.255.248 #info for static IP
 add default HISADDR

myconnection:	# Profile set in rc.conf.file for auto
 set authname myusername
 set authkey mypasswd

NOTE: on the "ifaddr" line, the first IP is my new static (primary), the
second is the ISP's "default" and last is the netmask given.
==============================================================

...and here's the rc.conf stuff that applies:
RC.CONF
hostname="mydomain.com"
ifconfig_rl0="inet 192.168.0.1  netmask 0xffffff00"	# Internal to LAN
ifconfig_rl1="media 10baseT/UTP up"	# external connected to modem
## PPPoE for DSL
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="myconnection"
ppp_user="root"
=========================================================================

Again, someone, anyone.... please advise where I have messed up.... or if
need other info.... thanks for helping!!!

Best regards,
Jack L. Stone

... http://www.antennex.com

antenneX Online Magazine
EM: jack@antennex.com
VM: 361.855.0250


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?PIEEKLHHCJCODPMNMJNKEEDLDAAA.jack>