Hello Scott
Comments inline 

> I'm trying out Bering for a remote office, mostly because I've been using (and 
> loving!) Tom Eastep's Shorewall.
> 
> This remote office has SBC Ameritech DSL, which uses PPPoE.  I used a 
> CoyoteLinux floppy, and everything worked fine.  Using Bering, though, I fail 
> to connect to the DSL.
I assume you use the pppoe like described in the installation guide
> I read this message in the archives:
> http://www.mail-archive.com/leaf-user@lists.sourceforge.net/msg07764.html
> which seems like my problem, as evidenced by these lines from the syslog:
The message "Couldn't increase MTU or MRU to 1500" has no 
effect on your ability to connect.
There seems to be a problem with the login sequence  
Comments inline 
> 
> Sep 20 16:57:41 firewall pppd[12169]: Plugin /usr/lib/pppd/pppoe.so loaded.
> Sep 20 16:57:41 firewall pppd[12169]: PPPoE Plugin Initialized
> Sep 20 16:57:41 firewall pppd[30223]: pppd 2.4.1 started by root, uid 0
OK
> Sep 20 16:57:42 firewall pppd[30223]: Serial connection established.
This is a rather strange message for me.  
try to comment out all pty *
> Sep 20 16:57:42 firewall pppd[30223]: Couldn't get channel number: 
> Input/output error
> Sep 20 16:57:42 firewall pppd[30223]: ioctl(PPPIOCGFLAGS): Bad file descriptor
> Sep 20 16:57:42 firewall pppd[30223]: Exit.
> Sep 20 16:57:43 firewall pppd[17649]: Connection terminated.
> Sep 20 16:57:43 firewall pppd[17649]: Doing disconnect

Now  your computer tries again.

> Sep 20 16:58:13 firewall pppd[17649]: Sending PADI
> Sep 20 16:58:13 firewall pppd[17649]: HOST_UNIQ successful match 

User name in options and pap-secrets match

> Sep 20 16:58:13 firewall pppd[17649]: HOST_UNIQ successful match 
> Sep 20 16:58:13 firewall pppd[17649]: Got connection: 1614
> Sep 20 16:58:13 firewall pppd[17649]: Connecting PPPoE socket: 
> 00:10:67:00:1c:25 1416 eth0 0x807c260
> Sep 20 16:58:13 firewall pppd[17649]: using channel 2
> Sep 20 16:58:13 firewall pppd[17649]: Using interface ppp0
> Sep 20 16:58:13 firewall pppd[17649]: Connect: ppp0 <--> eth0
> Sep 20 16:58:13 firewall pppd[17649]: Couldn't increase MTU to 1500.
> Sep 20 16:58:13 firewall pppd[17649]: Couldn't increase MRU to 1500
> Sep 20 16:58:13 firewall pppd[17649]: Couldn't increase MRU to 1500

Until here everything seems ok 

> Sep 20 16:58:13 firewall pppd[17649]: LCP terminated by peer

Now your provider cut the connection  .

> Sep 20 16:58:13 firewall pppd[17649]: Couldn't increase MTU to 1500.
> Sep 20 16:58:13 firewall pppd[17649]: Couldn't increase MRU to 1500
> Sep 20 16:58:16 firewall pppd[17649]: Connection terminated.
> Sep 20 16:58:16 firewall pppd[17649]: Doing disconnect
> 
> I tried using all three of the pre-configured options in dsl-provider:
> pty "pppoe -I eth0 -T 80 -m 1452"
> pty "pppoe -I eth0 -T 80"
> pty "pppoe -I eth0 -T 80 -m 1412"
> but none of these worked.
comment them all out. (it works here without all of them)
> Thanks in advance for any suggestions!

1. check your shorewall setting ppp0 is external interface ( not eth0)

add the line debug 7 in your dsl pppd options

now you will have additional messages: 
Like:  
The messages are shortened to stay readable
 
sent [LCP ConfReq id=0x1 <magic 0x32bxxxxx>]
 rcvd [LCP ConfReq id=0xb3 <mru 1492> <auth pap> <magic 
0xc04yyyyy>] 00 ...
 sent [LCP ConfAck id=0xb3 <mru 1492> <auth pap> <magic 
0xc04yyyyy>]
 rcvd [LCP ConfAck id=0x1 <magic 0x32bxxxxx>] 00 00 00 .....
 
 sent [LCP EchoReq id=0x0 magic=0x32xxxxx]

--------Now follows the authentication request 

 sent [PAP AuthReq id=0x1 
user="[EMAIL PROTECTED]"password=<hidden>]
 rcvd [LCP EchoRep id=0x0 magic=0xc04yyyyyy] 00 00 00 00 00 00 
00 00 00 00 00 00
 rcvd [PAP AuthAck id=0x1 ""] 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 0
 
--- OK your authentication is succesfull  notice the change of the 
protocoll
what follows now is the debate about what ip number you will get. 

sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
 rcvd [IPCP ConfReq id=0xf3 <addr 11.22.33.44>] 00 00 00 00 00 
00 00 00 00 00
 sent [IPCP ConfAck id=0xf3 <addr 11.22.33.44>

OK you take this IP ;) 
Now the same happens for the peers IP 
]

I hope this will help you to find the cause , 

Some frequent problems are:
1.  including special characters in name and or password and not 
putting the name and or password in  Quotes ("")

2. wrong external interface eth0  and not ppp0 as it should be

3. automatically dialing of pppd to serial with a file in /etc/ppp see 
manual.

Regards Eric Wolzak
member of the bering crew


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to