GENL kernel module not loaded

Questions related to general functionality
mvangent
Posts: 27
Joined: 11 Aug 2017, 22:06

GENL kernel module not loaded

Post by mvangent »

I am working on getting vlanmon to work with accel-ppp but it appears I am missing a kernel module that is a pre-req? I also do not seem to have the ip-change command available, which I will need for Radius COA. I am on Debian 9, with a freshly compiled accel-ppp as of a week ago.

Any help would be awesome!

Relevant Log Entries

Code: Select all

[2018-01-03 09:19:34]: error: genl: error talking to kernel
[2018-01-03 09:19:34]:  warn: vlan_mon: kernel module is not loaded
[2018-01-03 09:19:34]: error: pppd_compat: /etc/ppp/ip-change: No such file or directory
Relevant System Info

Code: Select all

root@accel-ppp-02:/var/log/accel-ppp# cat /etc/debian_version
9.3
root@accel-ppp-02:/var/log/accel-ppp# uname -a
Linux accel-ppp-02 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux
root@accel-ppp-02:/var/log/accel-ppp#
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: GENL kernel module not loaded

Post by dimka88 »

Hi, do you used -DBUILD_VLAN_MON_DRIVER=TRUE on compile

Code: Select all

cmake ..... -DBUILD_VLAN_MON_DRIVER=TRUE .... ..
cp ./drivers/vlan_mon/driver/vlan_mon.ko /lib/modules/`uname -r`/kernel/net
depmod -a
show

Code: Select all

modinfo vlan_mon
mvangent
Posts: 27
Joined: 11 Aug 2017, 22:06

Re: GENL kernel module not loaded

Post by mvangent »

I did not know i had to copy over the modules, i assumed make install should do that. I just added them to my /etc/modules file and am rebooting the server now so hopefully it works :)
mvangent
Posts: 27
Joined: 11 Aug 2017, 22:06

Re: GENL kernel module not loaded

Post by mvangent »

Well the modules are there now, but vlan monitor is not working, or my understanding of how it is supposed to work is wrong. My understanding is that it watches for vid's to pass padi packets, and then creates interfaces on the fly for them. It is seeing the padi packets but not creating interfaces. is this normal?

Code: Select all

[pppoe]
verbose=1
called-sid=mac
#tr101=1
#padi-limit=0
#ip-pool=pppoe
#sid-uppercase=0
vlan-mon=ens2f3,100-200
vlan-timeout=60
vlan-name=%I.%N

The vlans do not get created by vlanmon, but it found the vlan ids i am trying from.

Code: Select all

[2018-01-03 13:12:11]:  warn: pppoe: vlan ens2f3.100 not started
[2018-01-03 13:12:15]:  warn: pppoe: vlan ens2f3.107 not started
mvangent
Posts: 27
Joined: 11 Aug 2017, 22:06

Re: GENL kernel module not loaded

Post by mvangent »

I turned debug up to 4

Code: Select all

[2018-01-03 13:26:08]:  info: pppoe: create vlan ens2f3.107 parent ens2f3
[2018-01-03 13:26:08]:  warn: pppoe: vlan ens2f3.107 not started
[2018-01-03 13:26:10]:  info: pppoe: create vlan ens2f3.100 parent ens2f3
[2018-01-03 13:26:10]:  warn: pppoe: vlan ens2f3.100 not started
root@accel-ppp-02:/etc/ppp#
mvangent
Posts: 27
Joined: 11 Aug 2017, 22:06

Re: GENL kernel module not loaded

Post by mvangent »

And here is debug at 5

Code: Select all

[2018-01-03 13:27:14]: debug: vlan-mon: notify 7 107 8863 0
[2018-01-03 13:27:14]:  info: pppoe: create vlan ens2f3.107 parent ens2f3
[2018-01-03 13:27:14]:  warn: pppoe: vlan ens2f3.107 not started
[2018-01-03 13:27:16]: debug: vlan-mon: notify 7 100 8863 0
[2018-01-03 13:27:16]:  info: pppoe: create vlan ens2f3.100 parent ens2f3
[2018-01-03 13:27:16]:  warn: pppoe: vlan ens2f3.100 not started
root@accel-ppp-02:/etc/ppp#
mvangent
Posts: 27
Joined: 11 Aug 2017, 22:06

Re: GENL kernel module not loaded

Post by mvangent »

Digging Deeper, /var/log/syslog shows

Code: Select all

Jan  3 13:27:14 accel-ppp-02 systemd[1]: Started accel-pppd.service.
Jan  3 13:27:14 accel-ppp-02 systemd-udevd[3312]: link_config: could not get ethtool features for ens2f3.107
Jan  3 13:27:14 accel-ppp-02 systemd-udevd[3312]: Could not set offload features of ens2f3.107: No such device
Jan  3 13:27:16 accel-ppp-02 systemd-udevd[3325]: link_config: could not get ethtool features for ens2f3.100
Jan  3 13:27:16 accel-ppp-02 systemd-udevd[3325]: Could not set offload features of ens2f3.100: No such device
root@accel-ppp-02:/var/log#
mvangent
Posts: 27
Joined: 11 Aug 2017, 22:06

Re: GENL kernel module not loaded

Post by mvangent »

So this appears to be a ethtool/kernel issue, rather than an issue with my config? I do have ethtool installed and it does work

Code: Select all

root@accel-ppp-02:/home/mvangent# ethtool ens2f3
Settings for ens2f3:
        Supported ports: [ FIBRE ]
        Supported link modes:   10000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: No
        Advertised link modes:  10000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: 10000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: off
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@accel-ppp-02:/home/mvangent#
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: GENL kernel module not loaded

Post by dimka88 »

So this appears to be a ethtool/kernel issue,
Check you systemd service script (full link) to ethtools...
Show dmesg or 50 lines of syslog and show lsmod
mvangent
Posts: 27
Joined: 11 Aug 2017, 22:06

Re: GENL kernel module not loaded

Post by mvangent »

Check you systemd service script (full link) to ethtools...
Show dmesg or 50 lines of syslog and show lsmod
I dont know how to check my systemd service script to ethtools.

logs below



lsmod

Code: Select all

root@accel-ppp-02:~# lsmod
Module                  Size  Used by
binfmt_misc            20480  1
pppoe                  20480  0
pppox                  16384  1 pppoe
ppp_generic            36864  2 pppox,pppoe
slhc                   16384  1 ppp_generic
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             192512  0
kvm                   589824  1 kvm_intel
amdkfd                139264  1
irqbypass              16384  1 kvm
radeon               1486848  1
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
joydev                 20480  0
intel_cstate           16384  0
hpwdt                  16384  0
sg                     32768  0
hpilo                  20480  0
evdev                  24576  1
intel_uncore          118784  0
ttm                    98304  1 radeon
drm_kms_helper        155648  1 radeon
drm                   360448  4 radeon,ttm,drm_kms_helper
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
lpc_ich                24576  0
i2c_algo_bit           16384  1 radeon
serio_raw              16384  0
shpchp                 36864  0
mfd_core               16384  1 lpc_ich
pcspkr                 16384  0
i7core_edac            24576  0
edac_core              57344  2 i7core_edac
acpi_power_meter       20480  0
ipmi_si                57344  0
ipmi_msghandler        49152  1 ipmi_si
button                 16384  0
pcc_cpufreq            16384  0
nf_nat_pptp            16384  0
nf_nat_proto_gre       16384  1 nf_nat_pptp
nf_conntrack_pptp      16384  1 nf_nat_pptp
nf_conntrack_proto_gre    16384  1 nf_conntrack_pptp
nf_nat                 24576  2 nf_nat_pptp,nf_nat_proto_gre
nf_conntrack          114688  4 nf_nat_pptp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_nat
ipoe                   36864  0
vlan_mon               20480  0
8021q                  32768  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    16384  1 garp
llc                    16384  2 garp,stp
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  585728  1
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
crc32c_generic         16384  0
fscrypto               28672  1 ext4
ecb                    16384  0
mbcache                16384  2 ext4
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
sd_mod                 45056  3
crc32c_intel           24576  2
ehci_pci               16384  0
uhci_hcd               45056  0
ehci_hcd               81920  1 ehci_pci
aesni_intel           167936  0
aes_x86_64             20480  1 aesni_intel
glue_helper            16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
bfa                   409600  0
ablk_helper            16384  1 aesni_intel
usbcore               249856  4 usbhid,ehci_hcd,uhci_hcd,ehci_pci
hpsa                   98304  2
cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
psmouse               135168  0
usb_common             16384  1 usbcore
scsi_transport_fc      61440  1 bfa
scsi_transport_sas     45056  1 hpsa
bnx2                   86016  0
bna                   131072  0
scsi_mod              225280  6 bfa,sd_mod,scsi_transport_sas,hpsa,sg,scsi_transport_fc
thermal                20480  0
root@accel-ppp-02:~#
syslog

Code: Select all

Jan  3 13:40:26 accel-ppp-02 kernel: [    6.438243] [drm] Initialized radeon 2.49.0 20080528 for 0000:01:03.0 on minor 0
Jan  3 13:40:29 accel-ppp-02 kernel: [    8.566199] floppy0: no floppy controllers found
Jan  3 13:40:29 accel-ppp-02 kernel: [    8.566209] work still pending
Jan  3 13:40:29 accel-ppp-02 kernel: [    8.680925] IPv6: ADDRCONF(NETDEV_UP): ens2f2: link is not ready
Jan  3 13:40:29 accel-ppp-02 kernel: [    8.680927] 8021q: adding VLAN 0 to HW filter on device ens2f2
Jan  3 13:40:29 accel-ppp-02 kernel: [    8.695579] IPv6: ADDRCONF(NETDEV_UP): ens2f2.54: link is not ready
Jan  3 13:40:29 accel-ppp-02 kernel: [    8.728916] IPv6: ADDRCONF(NETDEV_UP): ens2f2.57: link is not ready
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Started Raise network interfaces.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Reached target Network.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Reached target Network is Online.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Starting accel-pppd.service...
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Starting Statistics collection and monitoring daemon...
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Starting Permit User Sessions...
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Starting OpenBSD Secure Shell server...
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Started Permit User Sessions.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Started Getty on tty1.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Reached target Login Prompts.
Jan  3 13:40:29 accel-ppp-02 accel-pppd[799]: Starting PPtP/L2TP/PPPoE server: accel-pppd.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Started accel-pppd.service.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "syslog" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "battery" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "cpu" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "df" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "disk" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "entropy" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "interface" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "irq" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "load" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "memory" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "processes" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Started OpenBSD Secure Shell server.
Jan  3 13:40:29 accel-ppp-02 kernel: [    8.885238] random: crng init done
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "rrdtool" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "swap" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[800]: plugin_load: plugin "users" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 kernel: [    8.985497] PPP generic driver version 2.4.2
Jan  3 13:40:29 accel-ppp-02 kernel: [    8.989572] NET: Registered protocol family 24
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "syslog" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "battery" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "cpu" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "df" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "disk" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "entropy" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "interface" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "irq" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "load" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "memory" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "processes" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "rrdtool" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "swap" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: plugin_load: plugin "users" successfully loaded.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: Systemd detected, trying to signal readyness.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Started Statistics collection and monitoring daemon.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Reached target Multi-User System.
Jan  3 13:40:29 accel-ppp-02 collectd[825]: Initialization complete, entering read-loop.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Reached target Graphical Interface.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Starting Update UTMP about System Runlevel Changes...
Jan  3 13:40:29 accel-ppp-02 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 834 (reader#0)
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Mounting Arbitrary Executable File Formats File System...
Jan  3 13:40:29 accel-ppp-02 collectd[825]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Started Update UTMP about System Runlevel Changes.
Jan  3 13:40:29 accel-ppp-02 kernel: [    9.063545] IPv6: ADDRCONF(NETDEV_UP): ens2f3: link is not ready
Jan  3 13:40:29 accel-ppp-02 kernel: [    9.063547] 8021q: adding VLAN 0 to HW filter on device ens2f3
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Mounted Arbitrary Executable File Formats File System.
Jan  3 13:40:29 accel-ppp-02 systemd[1]: Startup finished in 4.447s (kernel) + 4.566s (userspace) = 9.014s.
Jan  3 13:40:29 accel-ppp-02 kernel: [    9.199827] bna 0000:09:00.2 ens2f2: link up
Jan  3 13:40:29 accel-ppp-02 kernel: [    9.200000] IPv6: ADDRCONF(NETDEV_CHANGE): ens2f2: link becomes ready
Jan  3 13:40:29 accel-ppp-02 kernel: [    9.202254] IPv6: ADDRCONF(NETDEV_CHANGE): ens2f2.54: link becomes ready
Jan  3 13:40:29 accel-ppp-02 kernel: [    9.202317] IPv6: ADDRCONF(NETDEV_CHANGE): ens2f2.57: link becomes ready
Jan  3 13:40:30 accel-ppp-02 kernel: [    9.582445] bna 0000:09:00.3 ens2f3: link up
Jan  3 13:40:30 accel-ppp-02 kernel: [    9.582473] IPv6: ADDRCONF(NETDEV_CHANGE): ens2f3: link becomes ready
Jan  3 13:40:31 accel-ppp-02 systemd-udevd[869]: link_config: could not get ethtool features for ens2f3.107
Jan  3 13:40:31 accel-ppp-02 systemd-udevd[869]: Could not set offload features of ens2f3.107: No such device
Jan  3 13:40:34 accel-ppp-02 systemd-udevd[880]: link_config: could not get ethtool features for ens2f3.100
Jan  3 13:40:34 accel-ppp-02 systemd-udevd[880]: Could not set offload features of ens2f3.100: No such device
Jan  3 13:41:01 accel-ppp-02 systemd-timesyncd[628]: Synchronized to time server 216.229.4.69:123 (2.debian.pool.ntp.org).
Jan  3 13:41:59 accel-ppp-02 systemd[1]: Created slice User Slice of mvangent.
Jan  3 13:41:59 accel-ppp-02 systemd[1]: Starting User Manager for UID 1000...
Jan  3 13:41:59 accel-ppp-02 systemd[1]: Started Session 1 of user mvangent.
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Listening on GnuPG cryptographic agent and passphrase cache.
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Reached target Timers.
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Reached target Paths.
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Listening on GnuPG cryptographic agent (access for web browsers).
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Reached target Sockets.
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Reached target Basic System.
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Reached target Default.
Jan  3 13:41:59 accel-ppp-02 systemd[901]: Startup finished in 18ms.
Jan  3 13:41:59 accel-ppp-02 systemd[1]: Started User Manager for UID 1000.
Jan  3 13:55:26 accel-ppp-02 systemd[1]: Starting Cleanup of Temporary Directories...
Jan  3 13:55:26 accel-ppp-02 systemd[1]: Started Cleanup of Temporary Directories.
Jan  3 14:17:01 accel-ppp-02 CRON[1122]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jan  3 14:30:49 accel-ppp-02 systemd[1]: Created slice User Slice of root.
Jan  3 14:30:49 accel-ppp-02 systemd[1]: Starting User Manager for UID 0...
Jan  3 14:30:49 accel-ppp-02 systemd[1]: Started Session 4 of user root.
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Reached target Timers.
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Reached target Paths.
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Listening on GnuPG cryptographic agent (access for web browsers).
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Listening on GnuPG cryptographic agent and passphrase cache.
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Reached target Sockets.
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Reached target Basic System.
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Reached target Default.
Jan  3 14:30:49 accel-ppp-02 systemd[1198]: Startup finished in 10ms.
Jan  3 14:30:49 accel-ppp-02 systemd[1]: Started User Manager for UID 0.
root@accel-ppp-02:~#
dmesg

Code: Select all

root@accel-ppp-02:~# dmesg
[    5.639743] kfd kfd: Initialized module
[    5.640082] [drm] initializing kernel modesetting (RV100 0x1002:0x515E 0x103C:0x31FB 0x02).
[    5.640096] [drm] register mmio base: 0xF1CF0000
[    5.640097] [drm] register mmio size: 65536
[    5.640162] radeon 0000:01:03.0: VRAM: 128M 0x00000000E8000000 - 0x00000000EFFFFFFF (64M used)
[    5.640164] radeon 0000:01:03.0: GTT: 512M 0x00000000C8000000 - 0x00000000E7FFFFFF
[    5.640170] [drm] Detected VRAM RAM=128M, BAR=128M
[    5.640171] [drm] RAM width 16bits DDR
[    5.640211] [TTM] Zone  kernel: Available graphics memory: 16468928 kiB
[    5.640212] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[    5.640212] [TTM] Initializing pool allocator
[    5.640216] [TTM] Initializing DMA pool allocator
[    5.640234] [drm] radeon: 64M of VRAM memory ready
[    5.640235] [drm] radeon: 512M of GTT memory ready.
[    5.640248] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    5.660773] [drm] PCI GART of 512M enabled (table at 0x0000000036600000).
[    5.660805] radeon 0000:01:03.0: WB disabled
[    5.660808] radeon 0000:01:03.0: fence driver on ring 0 use gpu addr 0x00000000c8000000 and cpu addr 0xffff96f6b6427000
[    5.660809] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.660810] [drm] Driver supports precise vblank timestamp query.
[    5.660823] [drm] radeon: irq initialized.
[    5.660834] [drm] Loading R100 Microcode
[    5.662559] radeon 0000:01:03.0: firmware: direct-loading firmware radeon/R100_cp.bin
[    5.663000] [drm] radeon: ring at 0x00000000C8001000
[    5.663025] [drm] ring test succeeded in 1 usecs
[    5.680613] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround
[    5.719349] Adding 33543164k swap on /dev/sda5.  Priority:-1 extents:1 across:33543164k FS
[    5.762024] ipmi_si IPI0001:00: Found new BMC (man_id: 0x00000b, prod_id: 0x2000, dev_id: 0x13)
[    5.762036] ipmi_si IPI0001:00: IPMI kcs interface initialized
[    6.166323] [drm] ib test succeeded in 0 usecs
[    6.166586] [drm] No TV DAC info found in BIOS
[    6.166736] [drm] Radeon Display Connectors
[    6.166737] [drm] Connector 0:
[    6.166737] [drm]   VGA-1
[    6.166738] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[    6.166739] [drm]   Encoders:
[    6.166740] [drm]     CRT1: INTERNAL_DAC1
[    6.166740] [drm] Connector 1:
[    6.166741] [drm]   VGA-2
[    6.166742] [drm]   DDC: 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c
[    6.166742] [drm]   Encoders:
[    6.166743] [drm]     CRT2: INTERNAL_DAC2
[    6.241517] [drm] fb mappable at 0xE8040000
[    6.241518] [drm] vram apper at 0xE8000000
[    6.241519] [drm] size 1310720
[    6.241520] [drm] fb depth is 8
[    6.241521] [drm]    pitch is 1280
[    6.242062] fbcon: radeondrmfb (fb0) is primary device
[    6.408991] Console: switching to colour frame buffer device 160x64
[    6.421762] radeon 0000:01:03.0: fb0: radeondrmfb frame buffer device
[    6.438243] [drm] Initialized radeon 2.49.0 20080528 for 0000:01:03.0 on minor 0
[    8.566199] floppy0: no floppy controllers found
[    8.566209] work still pending
[    8.680925] IPv6: ADDRCONF(NETDEV_UP): ens2f2: link is not ready
[    8.680927] 8021q: adding VLAN 0 to HW filter on device ens2f2
[    8.695579] IPv6: ADDRCONF(NETDEV_UP): ens2f2.54: link is not ready
[    8.728916] IPv6: ADDRCONF(NETDEV_UP): ens2f2.57: link is not ready
[    8.885238] random: crng init done
[    8.985497] PPP generic driver version 2.4.2
[    8.989572] NET: Registered protocol family 24
[    9.063545] IPv6: ADDRCONF(NETDEV_UP): ens2f3: link is not ready
[    9.063547] 8021q: adding VLAN 0 to HW filter on device ens2f3
[    9.199827] bna 0000:09:00.2 ens2f2: link up
[    9.200000] IPv6: ADDRCONF(NETDEV_CHANGE): ens2f2: link becomes ready
[    9.202254] IPv6: ADDRCONF(NETDEV_CHANGE): ens2f2.54: link becomes ready
[    9.202317] IPv6: ADDRCONF(NETDEV_CHANGE): ens2f2.57: link becomes ready
[    9.582445] bna 0000:09:00.3 ens2f3: link up
[    9.582473] IPv6: ADDRCONF(NETDEV_CHANGE): ens2f3: link becomes ready
root@accel-ppp-02:~#
accel-ppp conf

Code: Select all

root@accel-ppp-02:~# cat /etc/accel-ppp.conf.dist
[modules]
log_file
#log_syslog
log_tcp
#log_pgsql

#pptp
#l2tp
pppoe
#ipoe

auth_mschap_v2
auth_mschap_v1
auth_chap_md5
auth_pap

radius
#chap-secrets

ippool

pppd_compat

shaper
#net-snmp
#logwtmp
#connlimit

#ipv6_nd
#ipv6_dhcp
#ipv6pool

#net-accel-dp

[core]
log-error=/var/log/accel-ppp/core.log
thread-count=20

[common]
#single-session=replace
#sid-case=upper
#sid-source=seq
#max-sessions=1000


[ppp]
verbose=1
min-mtu=1452
mtu=1500
mru=1500
#accomp=deny
##pcomp=deny
##ccp=0
##check-ip=0
##mppe=require
#ipv4=require
#ipv6=deny
#ipv6-intf-id=0:0:0:1
#ipv6-peer-intf-id=0:0:0:2
#ipv6-accept-peer-intf-id=1
#lcp-echo-interval=20
##lcp-echo-failure=3
#lcp-echo-timeout=120
#unit-cache=1
##unit-preallocate=1



[auth]
any-login=0
noauth=0


[pppoe]
verbose=1
called-sid=mac
#tr101=1
#padi-limit=0
#ip-pool=pppoe
#sid-uppercase=0
vlan-mon=ens2f3,100-200
vlan-timeout=60
vlan-name=%I.%N



[l2tp]
verbose=1
#dictionary=/usr/local/share/accel-ppp/l2tp/dictionary
#hello-interval=60
#timeout=60
#rtimeout=1
#rtimeout-cap=16
#retransmit=5
#recv-window=16
#host-name=accel-ppp
#dir300_quirk=0
#secret=
#dataseq=allow
#reorder-timeout=0
#ip-pool=l2tp

[ipoe]
verbose=1
username=ifname
#password=username
lease-time=600
renew-time=600
max-lease-time=3600
#unit-cache=1000
#l4-redirect-table=4
#l4-redirect-ipset=l4
#l4-redirect-on-reject=300
#l4-redirect-ip-pool=pool1
shared=0
ifcfg=1
mode=L2
start=dhcpv4
#start=UP
#ip-unnumbered=1
#proxy-arp=0
#nat=0
#proto=100
#relay=10.10.10.10
#vendor=Custom
#attr-dhcp-client-ip=DHCP-Client-IP-Address
#attr-dhcp-router-ip=DHCP-Router-IP-Address
#attr-dhcp-mask=DHCP-Mask
#attr-dhcp-lease-time=DHCP-Lease-Time
#attr-dhcp-opt82=DHCP-Option82
#attr-dhcp-opt82-remote-id=DHCP-Agent-Remote-Id
#attr-dhcp-opt82-circuit-id=DHCP-Agent-Circuit-Id
#attr-l4-redirect=L4-Redirect
#attr-l4-redirect-table=4
#attr-l4-redirect-ipset=l4-redirect
#lua-file=/etc/accel-ppp.lua
#offer-delay=0,100:100,200:200,-1:1000
#vlan-mon=eth0,10-200
#vlan-timeout=60
#vlan-name=%I.%N
#ip-pool=ipoe
#idle-timeout=0
#session-timeout=0
#soft-terminate=0
#check-mac-change=1
#calling-sid=mac
#local-net=192.168.0.0/16


[dns]
dns1=<REDACTED>
dns2=<REDACTED>

[wins]
#wins1=172.16.0.1
#wins2=172.16.1.1

[radius]
dictionary=/usr/local/accel-ppp/share/accel-ppp/radius/dictionary
nas-identifier=c<REDACTED>
nas-ip-address=<REDACTED>
gw-ip-address=<REDACTED>
server=<REDACTED>,auth-port=1812,acct-port=1813,req-limit=0,fail-timeout=0,max-fail=10,weight=1
verbose=1
#timeout=3
#max-try=3
#acct-timeout=120
#acct-delay-time=0
#acct-on=0
#attr-tunnel-type=My-Tunnel-Type

[client-ip-range]
disable

[ip-pool]
gw-ip-address=<REDACTED>
#vendor=Cisco
#attr=Cisco-AVPair
attr=Framed-Pool
<REDACTED>

[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
#log-debug=/dev/stdout
#syslog=accel-pppd,daemon
#log-tcp=127.0.0.1:3000
copy=1
#color=1
#per-user-dir=per_user
#per-session-dir=per_session
#per-session=1
level=5

[log-pgsql]
conninfo=user=log
log-table=log

[pppd-compat]
#ip-pre-up=/etc/ppp/ip-pre-up
ip-up=/etc/ppp/ip-up
ip-down=/etc/ppp/ip-down
#ip-change=/etc/ppp/ip-change
radattr-prefix=/var/run/radattr
verbose=1

[chap-secrets]
gw-ip-address=192.168.10.3
#chap-secrets=/etc/ppp/chap-secrets
#encrypted=0
#username-hash=md5

[shaper]
#attr=Filter-Id
attr-up=Ascend-Xmit-Rate
attr-down=Ascend-Data-Rate
down-burst-factor=0.5
up-burst-factor=0.5
#latency=50
#mpu=0
#mtu=0
#r2q=10
#quantum=1500
#moderate-quantum=1
#cburst=1534
#ifb=ifb0
up-limiter=police
down-limiter=tbf
#leaf-qdisc=sfq perturb 10
#leaf-qdisc=fq_codel [limit PACKETS] [flows NUMBER] [target TIME] [interval TIME] [quantum BYTES] [[no]ecn]
rate-multiplier=1000
#fwmark=1
verbose=1

[cli]
verbose=1
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
#password=123

[snmp]
master=0
agent-name=accel-ppp

[connlimit]
limit=10/min
burst=3
timeout=60


[accel-dp]
socket=/var/run/accel-dp.so
root@accel-ppp-02:~#
Network interfaces file

Code: Select all

root@accel-ppp-02:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback
# Vlan 54
allow-hotplug ens2f2
auto ens2f2.54
iface ens2f2.54 inet static
        address <REDACTED>
        netmask 255.255.252.0

#VLAN 57
auto ens2f2.57
iface ens2f2.57 inet static
        address <REDACTED>
        netmask 255.255.255.0
        gateway <REDACTED>
        nameserver <REDACTED>
        nameserver <REDACTED>
        mtu 1500
allow-hotplug ens2f3
Post Reply