Search found 866 matches

by dimka88
20 Dec 2022, 19:47
Forum: Radius
Topic: Custom radius attributes
Replies: 3
Views: 10643

Re: Custom radius attributes

I think you have to set [log]level=5 and check accel-ppp logs. Except accel-ppp.log also look in to core and emerge logs.
by dimka88
17 Dec 2022, 16:40
Forum: IPoE
Topic: IPOE Different Gateways Per Pool
Replies: 4
Views: 3466

Re: IPOE Different Gateways Per Pool

You can do this, but pay attention that that you have to define [ipoe]proxy-arp=1 and also set [ipoe]ifcfg=0 to not set gw ip addreses to ipoeX interfaces
by dimka88
16 Dec 2022, 09:46
Forum: IPoE
Topic: IPOE Different Gateways Per Pool
Replies: 4
Views: 3466

Re: IPOE Different Gateways Per Pool

Hello @Phyllo,
You have to define each gw with cidr for each IP pool in 2 sections.
As an example:

Code: Select all

[ipoe]
ip-pool=pool1
gw-ip-address=210.0.1.1/24
gw-ip-address=210.0.2.1/24

[ip-pool]
210.0.2.2/24,name=pool2
210.0.1.2/24,name=pool1,next=pool2
gw-ip-address=210.0.1.1/24
gw-ip-address=210.0.2.1/24
by dimka88
13 Dec 2022, 17:36
Forum: IPoE
Topic: IPOE Renewal Loop
Replies: 4
Views: 13676

Re: IPOE Renewal Loop

Hi, I think you have to use renew-time 1/2 from lease time, it can be calculated automatically if this param not defined. As for max-lease-time, it also should be great than lease time, you will not lose anything if you increase it to 1200 lease-time=600 renew-time=300 max-lease-time=1200 It will be...
by dimka88
02 Dec 2022, 17:20
Forum: Installation
Topic: Module verification failed on Rocky 9
Replies: 1
Views: 7737

Re: Module verification failed on Rocky 9

Hi marco. It should works with this warning message, bit more about this you can find by the following link https://www.kernel.org/doc/html/v4.15/a ... g-facility
Easy to find in the internet how to singning modules
by dimka88
22 Nov 2022, 08:26
Forum: Radius
Topic: Custom radius attributes
Replies: 3
Views: 10643

Re: Custom radius attributes

Hi @marc. accel-ppp store radius attributes in it own dictionaries files. Check path /usr/share/accel-ppp/radius/dictionary or /usr/local/share/accel-ppp/radius/dictionary
So add attribute to this files and use this attributes in accel-ppp.conf
by dimka88
01 Nov 2022, 12:56
Forum: IPoE
Topic: ipoe start=up mac
Replies: 4
Views: 5371

Re: ipoe start=up mac

Hi folks, as you know, these filds getting from DHCP packets headers. To get HWADDR from any packet try to use pkt:hwaddr() #!lua function if_mac(pkt) return pkt:hwaddr() end It is described here https://accel-ppp.readthedocs.io/en/latest/examples/lua_examples.html?highlight=lua#lua-examples hdr(nam...
by dimka88
01 Nov 2022, 12:52
Forum: Installation
Topic: Installation on Rocky 9
Replies: 1
Views: 2179

Re: Installation on Rocky 9

Hi marco, sure. As for new GCC version compilition warnig ,it is already fixed.
by dimka88
26 Oct 2022, 07:45
Forum: General
Topic: vlan mon for 2 interfaces
Replies: 3
Views: 4291

Re: vlan mon for 2 interfaces

Hi @hashbang, it should works. What can you see in logs?
Show you [pppoe] or [ipoe] config section
by dimka88
19 Sep 2022, 16:03
Forum: General
Topic: why thread-active is always 1 in stats
Replies: 1
Views: 2539

Re: why thread-active is always 1 in stats

Hi @hashbang. If Accel-PPP uses only 1 thread it is normal. It think that one core enough for this tasks. Try to check how match threads will be active on mass users connect.