in-kernel pppoe issue with username/password length

Previous thread: This is what Linus Torvalds calls openBSD crowd by Siju George on Wednesday, July 16, 2008 - 1:33 pm. (51 messages)

Next thread: GPL version 4 by Morton Harrow on Wednesday, July 16, 2008 - 2:06 pm. (12 messages)
To: <misc@...>
Date: Wednesday, July 16, 2008 - 2:04 pm

First of all I would like to say you hello! I have some problems on setting up a OpenBSD box as gateway for pppoe connection. I'm using a DSL modem running in bridge mode / well, i try
to use it :) /. PPPOE username/password are 16 character in length and i believe this is a issue with in-kernel pppoe / only allow 9 character usernames/passwords /, otherwise generate error in setspppname/. My provider ain't gonna help me to change my user and pass lenght because it is illegal to change mode of DSL modem in first place! Using userland pppoe leads to another problems, this time with the not so unfamiliar - No Buffer space avalible. All this experience with buffer space is identical on two PCs - Intel Pentium 2 233mhz on i 440ex with 192MB and another Pentium 2@450mhz on i440bx. NIC's are also the same - one pair rtl8139 and one pair of 3com's 3C905B. No matter how i mix stuff i always
get overwhelmed
by the 12Mbps of my DSL.
Today i setup a Athlon@1400mhz and everything run almost fine,
one hour with no problems and then about 20
pings were lost due
buffer blah, blah. What powerfull router ei?! No thanks, i will try other alternatives. Question is how to solve problem with user/pass
in built-in pppoe and
test to see if there is any improvement.
Maybe in 4.4 length will be expanded, but on current changelog there is no such info.
Appreciate your help...
p.s. Sorry but my english is not so good.

To: asd asd <rosse@...>
Cc: <misc@...>
Date: Wednesday, July 16, 2008 - 2:21 pm

what makes you think that the pppoe(4) interface has a limit of 9 chars
for the username? There is no such limit, I am using a much longer
username in my /etc/hostname.pppoe0 file myself.

Previous thread: This is what Linus Torvalds calls openBSD crowd by Siju George on Wednesday, July 16, 2008 - 1:33 pm. (51 messages)

Next thread: GPL version 4 by Morton Harrow on Wednesday, July 16, 2008 - 2:06 pm. (12 messages)