ADSL cannot dial ("0.0.0.0/0 already exist)
fbsd_user
fbsd_user at a1poweruser.com
Wed Dec 3 07:09:04 PST 2003
I don't know where the last poster got his info, but it's all wrong.
User ppp is used for ADSL connection all the time. You yourself have
proved it works by what you have working all ready. User ppp will
automatically keep the last assigned ip address of the interface,
tun0, when it loses it's connection ifconfig will display your
interfaces. You should see more than one ip address on tun0. Add
this to your cncom section of ppp.conf.
disable iface-alias # Stop adding old IP addr as alias when ppp
# redials because line was lost. These old
ips
# showed using ifconfig -a on tun0.
iface clear # Remove all previous IP address
replace your add default 10.0.0.138 statement with this statement
add default HISADDR # Add a (sticky) default route (Mandatory)
try test again and if you still have problem then post
/var/log/ppp.log file
be sure to empty contents of log file before test so file only
contains msgs from just this test.
-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Alex de
Kruijff
Sent: Wednesday, December 03, 2003 9:16 AM
To: Zhang Weiwu
Cc: freebsd-questions at freebsd.org
Subject: Re: ADSL cannot dial ("0.0.0.0/0 already exist)
On Wed, Dec 03, 2003 at 06:46:49PM +0800, Zhang Weiwu wrote:
> Hello.
>
> I just brought an ADSL modem (Alcatel Homeplus 501). This modem is
> pre-configured
> I used FreeBSD several years, but this is the first time I use
ppp:
> .
> My /etc/ppp/ppp.conf is:
>
> ------
> default:
> set log Phase tun command # you can add more detailed logging if
you wish
> set ifaddr 10.0.0.1/0 10.0.0.138/0
>
> cncom:
> set device PPPoE:ed0
> set authname LOGINNAME
> set authkey PASSWORD
> set dial
> set login
> add default 10.0.0.138
> -------
>
> The modem is 10.0.0.138, it assigned me the address 10.0.0.1.
> Ping 10.0.0.138 has response.
>
> To dial with "ppp -ddial cncom" I get the error message:
> 0.0.0.0/0 already exist.
>
> So what should I do now?
>
> I'm running FreeBSD 4.9 RC3.
ppp is for calling in with a modum on a telefone network. It doesn't
work as a stand alone for a ADSL modum. There a couple of ports
avalible
for ADSL modums. (pptpclient is one) But is feel its better to have
something more independed. Can you modum be setup so it connects on
its
own?
I have a PPTP connection over my ADSL modum. I've configured my
modum so
that it builds the connection and routes the packets though on
regular
ip connection to my computer. It does take configuring of you
FreeBSD
box this way.
Its proberbly best to go for something in bewain first like setting
your
modum up to be a nat router.
--
Alex
Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list