Opened 3 years ago
Closed 3 years ago
#1730 closed (fixed)
enhencement: chose pppoe-server interface
| Reported by: | Sash | Owned by: | |
|---|---|---|---|
| Keywords: | Cc: |
Description
plz add a dropdown to chose the interface the pppoe-server runs on.
Change History (5)
comment:1 Changed 3 years ago by Eko
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 3 years ago by Sash
- Resolution fixed deleted
- Status changed from closed to reopened
we also have to be sure that the pppoe-server ip is correct. the "-L" option must be set to the interface ip
-L ip
Sets the local IP address. This is passed to spawned pppd processes. If not specified, the default is 10.0.0.1.
also we're currently limited to 64 concurrent users cause we dont set "-N". i dont know if we should set it to a fixed value which is enough (eg 1000 - "your system will require about 2 Mbytes of memory and 2 Mhz of CPU per active termination") or to have a gui option.
-N num
Allows at most num concurrent PPPoE sessions. If not specified, the default is 64.
comment:3 Changed 3 years ago by Sash
on the shell the correct code to get the current address for -L would be something like. i cant do C anymore so i cant correct it atm. the only problem is that the br0 var in nvram is called lan_ipaddr so thats why there is that if clause.
if [ `nvram get pppoeserver_interface` == br0 ] then echo `nvram get lan_ipaddr` else echo `nvram get ``nvram get pppoeserver_interface`_ipaddr`` fi
comment:4 Changed 3 years ago by Sash
"-N" fixed in http://svn.dd-wrt.com:8000/dd-wrt/changeset/15266 set from 64 to 999 for now
comment:5 Changed 3 years ago by Sash
- Resolution set to fixed
- Status changed from reopened to closed

done