Configuring LEDE router with a PPPoE Modem/Router

Which device is the PC having DHCP / DNS issues plugged into? * It should be plugged into one of the LAN ports on the back of the LEDE router, or a hub / switch that has a patch cable plugged into one of the LAN ports on the back of the LEDE router.

You have the LEDE Router setup as a (Static IP), not (PPoE).

Did you set the ISP Modem (Dlink) to ( Bridged ) mode ?

re: DNS on WiFi restricted:

Network -> Interfaces -> WAN [ Edit ]

Advanced Settings tab:

Uncheck: Use DNS Servers advertised by Peer,

Use custom DNS servers: add: 8.8.8.8, 8.8.4.4

see if that helps ..

Yes I did, but I found a fix the DNS issue, I was using a 17.1 build based on an snapshot,and i just used a sysupgrade to 17.1.2 and reseted the settings(No idea if the part of sysupgrade did something),now i just have the DHCP issue.

Is that a way for me to set a static IP to my computer from the router?

No, that is telling the WAN interface ( the one between your ISP modem and LEDE router ) to NOT use the ISP-advertised DNS servers, and instead use Google's DNS servers ( 8.8.8.8, 8.8.4.4 ).

The PC issue is separate, and confusing.

How is the PC physically cabled to the LAN topology ?
What Operating System is the PC running ?

That info. would help.

Lan1 of the router( CAT5 at the moment,i didnt had a better cable in hands,could it be the problem?)

Windows 10,I tried to do ipconfig /renew , /release , /registerdns , and nothing.

To be honest,I dont mind if I have to do this,I currently can acess both,router and modem from here.

@moeller0

From every download and upload,the max i can get is 630kbytes down/70kbytes up (Today I got 740kbytes peak from youtube).
My router sync values are:
Line Rate - Downstream (Kbps): 5664
Line Rate - Upstream (Kbps): 572

P.S.: I just found the edit post option

From the Windows [Start Menu] Icon,
Settings ( Gearbox ),

Network and Internet,
[ Change Connection Properties ],

Make this PC discoverable = On
Metered connection = Off

Use arrow on top left to return to prior screen,

[ Network and Sharing Center ] on right,

Connections: [ Local Area Connection ]
[ Details ]

IPv4 Address: ( should equal the Static IP you entered )
IPv4 Subnet Mask: should equal 255.255.255.0

Gateway, DHCP, DNS Servers should equal 192.168.1.1

[Close]

[ Properties ]

This connection uses the following items:
select:

Internet Protocol Version 4 ( TCP/IPv4 )

[ Properties ]

Obtain an IP address automatically = checked
Obtain DNS server address automatically = checked

[Ok], [Close], [Close], [ X ] to exit Network and Sharing Center,

Windows Start -> [ Power Icon ] -> Restart

^ That's what I would do, if there.

1 Like

To be honest, I have no clue how to use this,everytime I open it,the @echo pass too fast, so, I visualized it with notepad++,
and still having no clue how to execute it!

@moeller0

cat /etc/config/sqm

config queue 'eth1'
option qdisc_advanced '0'
option interface 'pppoe-wan'
option debug_logging '0'
option verbosity '5'
option linklayer 'atm'
option download '5500'
option enabled '1'
option upload '450'
option qdisc 'cake'
option script 'piece_of_cake.qos'
option overhead '48'

tc -d qdisc

qdisc noqueue 0: dev lo root refcnt 2
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc mq 0: dev wlan0 root
qdisc fq_codel 0: dev wlan0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev wlan0 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev wlan0 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev wlan0 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc cake 8007: dev pppoe-wan root refcnt 2 bandwidth 450Kbit besteffort triple-isolate rtt 100.0ms raw
linklayer atm overhead 48 mtu 2047 tsize 512
qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
qdisc cake 8008: dev ifb4pppoe-wan root refcnt 2 bandwidth 5500Kbit besteffort triple-isolate wash rtt 100.0ms raw
linklayer atm overhead 48 mtu 2047 tsize 512
qdisc noqueue 0: dev wlan1 root refcnt 2

tc -s qdisc

qdisc noqueue 0: dev lo root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 2217327 bytes 17651 pkt (dropped 0, overlimits 0 requeues 1)
backlog 0b 0p requeues 1
maxpacket 83 drop_overlimit 0 new_flow_count 9 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 4392474 bytes 9277 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc mq 0: dev wlan0 root
Sent 11799511 bytes 10515 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev wlan0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 1964 bytes 14 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan0 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan0 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 11797547 bytes 10501 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan0 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc cake 8007: dev pppoe-wan root refcnt 2 bandwidth 450Kbit besteffort triple-isolate rtt 100.0ms raw
Sent 3150465 bytes 16003 pkt (dropped 73, overlimits 14891 requeues 0)
backlog 0b 0p requeues 0
memory used: 124800b of 4Mb
capacity estimate: 450Kbit
Tin 0
thresh 450Kbit
target 40.4ms
interval 135.4ms
pk_delay 20.2ms
av_delay 3.2ms
sp_delay 50us
pkts 16076
bytes 3186742
way_inds 1342
way_miss 1296
way_cols 0
drops 73
marks 0
sp_flows 1
bk_flows 1
un_flows 0
max_len 7049

qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
Sent 15839748 bytes 18404 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8008: dev ifb4pppoe-wan root refcnt 2 bandwidth 5500Kbit besteffort triple-isolate wash rtt 100.0ms raw
Sent 18915806 bytes 18386 pkt (dropped 18, overlimits 13330 requeues 0)
backlog 0b 0p requeues 0
memory used: 17856b of 4Mb
capacity estimate: 5500Kbit
Tin 0
thresh 5500Kbit
target 5.0ms
interval 100.0ms
pk_delay 1.6ms
av_delay 581us
sp_delay 19us
pkts 18404
bytes 18946334
way_inds 363
way_miss 1256
way_cols 0
drops 18
marks 0
sp_flows 0
bk_flows 1
un_flows 0
max_len 1749

qdisc noqueue 0: dev wlan1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0

tc class show dev pppoe-wan

class cake 8007:25a parent 8007:

tc class show dev ifb4pppoe-wan

class cake 8008:289 parent 8008:

Okay, based on your synchronization speeds you ca at best get around:
5664 * (48/53) * ((1500 - 8) / (32 * 48)) = 4982.72 Kbps or 4982.72/ 8 = 622.84 KByte
but that is on the ethernet frame level, as tcp/ipv4 goodput you can only get:
5664 * (48/53) * ((1500 - 8 - 20 -20) / (32 * 48)) = 4849.13 Kbps or 4849.13207547 / 8 = 606.14 KBytes
For the uplink we get:
572 * (48/53) * ((1500 - 8) / (32 * 48)) = 503.2 Kbps (503.2/8 = 62.9 KBytes)
572 * (48/53) * ((1500 - 8 - 20 -20) / (32 * 48)) = 489.71 Kbps (489.71/8 = 61.21 KBytes)

These calculations refelect what sqm needs to do to figure out the "true" bandwidth cost of each data packet....

Do you have SRA enabled on the ATM link, by any chance?

Open a command window (CMD.EXE) and execute ping_collector.bat from there, but read ping_collector.bat first as you might need to perform a few edits. Also you need to install hrping from https://www.cfos.de/en/ping/ping.htm first...

Best Regards

No... Should I enable it?[quote="moeller0, post:53, topic:5348"]
Also you need to install hrping
[/quote]

I also use cfosspeed, like, all the time!

I get this window

Am I suposed to replace TARGET=

with something like

Or like

I believe this is something your ISP would need to handle, so if it is not set, just leave it alone...

Quick note, for windows you need to use ping_collector.bat, and if I recall correctly you need to start the cmd.exe as administrator for it to work. Also you need to edit ping_collector.bat and change the "SET TARGET=8.8.8.8" line if you use a different target host. ping_collector.sh will only work for linux/macosx systems...

Hope that helps...

So, when I traceroute I get

traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets
1 201.10.xx.xxx 3x.000 ms
2 100.120.xx.xxx 5x.xxx ms
3 72.xx.xxx.xxx 6x.xxx ms
4 108.xxx.xxx.xxx 4x.xxx ms
5 216.xxx.xx.xx 8x.xxx ms
6 72.xx.xxx.xxx 8x.xxx ms
7 *
8 *
9 *
10 *
11 *
12 *
13 *
14 *
15 *
16 *
17 8.8.8.8 8x.xxx ms

1,2,3 and 4 responds to ping's,so I should use 4 on the target?Eg.: SET TARGET=108.xxx.xxx.xxx

I still getting the same window

Am I suposed to just...wait?

Any of these should be okay, as long as they do consistently respond to ICMP echo requests and actually return the requested size back...

Yes, the windows script is quite bare-bones but if you open an explorer window in the same directory as the script you will notice that the log file increases in size...

Let me know how it turns out in the end...

Best Regards

Excuse me for that kind of question,but where in the world is the log file?!
The Prompt Window just closed byt it self.