Subject: NetBSD pppoe lost connection and cannot get it working again.
To: None <netbsd-help@netbsd.org>
From: Mine Sakiyama <msakiyam@yahoo.com>
List: netbsd-help
Date: 08/22/2003 12:54:41
Hello,
Today I was doing some cleaning,, and had to disconnect NetBSD/NAT Router that uses PPPOE for DSL
connection,, after reboot I cannot get it connected to the Internet.. Nothing was changed except I
reboot the machine and DSL router,, If I try manually as below.. I get the following, Could
someone help me get back on the DSL? I am writing this via slow dial-up modem,,
Thanks in advance..
[12:40pm][root@alex][~]> ifconfig pppoe0 down
[12:40pm][root@alex][~]> ifconfig pppoe0 up
[12:40pm][root@alex][~]> pppoectl -d pppoe0
pppoe0: state = PADR sent
Session ID: 0x0
PADI retries: 4
PADR retries: 1
[12:40pm][root@alex][~]> ifconfig pppoe0
pppoe0: flags=8855<UP,DEBUG,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
inet 0.0.0.0 -> 0.0.0.1 netmask 0xff000000
[12:40pm][root@alex][~]> Aug 22 12:40:54 alex /netbsd: pppoe0: could not establish connection
Aug 22 12:40:54 alex /netbsd: pppoe0: lcp illegal down in state starting
[12:49pm][root@alex][/etc]> cat ifconfig.pppoe0
create
!/sbin/ifconfig rtk0 up
!/sbin/pppoectl -e rtk0 $int
!/sbin/pppoectl $int myauthproto=pap 'myauthname=msakiyam@sbcglobal.net\'
'myauthsecret=Emsoei0427' hisauthproto=none
0.0.0.0 0.0.0.1 up
[12:49pm][root@alex][/etc]> cat ifconfig.pppoe0
create
!/sbin/ifconfig rtk0 up
!/sbin/pppoectl -e rtk0 $int
!/sbin/pppoectl $int myauthproto=pap 'myauthname=XXXXXXX' 'myauthsecret=XXXXXXX' hisauthproto=none
0.0.0.0 0.0.0.1 up
[12:49pm][root@alex][/etc]> ifconfig -a
hme0: flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
address: 08:00:20:a6:a6:ed
media: Ethernet autoselect (10baseT)
status: active
inet 192.168.0.1 netmask 0xffff0000 broadcast 192.168.255.255
rtk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:05:5d:34:ba:b2
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33184
inet 127.0.0.1 netmask 0xff000000
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
strip0: flags=0<> mtu 1100
pppoe0: flags=8814<DEBUG,POINTOPOINT,SIMPLEX,MULTICAST> mtu 1492
inet 0.0.0.0 -> 0.0.0.1 netmask 0xff000000
[12:49pm][root@alex][/etc]>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com