[ Internet drops connection when I try to connect my laptop to a wired connection]
DHCP server is active on the pihole. I have done a few clean install a few days ago but same thing happens. I guess it's a mistake on my part.
I would appreciate if someone could help me with this...
Debug Token:
[cpitw1e8cd]
EDIT: The problem was my router with DD-WRT firmware!!
Some DD-WRT and Openwrt firmware have this problem on some TP-Link and Netgear routers. Especially the older routers that aren't officially maintained.
Here's what I didi (from dd-wrt forum):
OK, problem solved!
log in to your router IP. "192.168.1.---"
on DD-WRT GUI, select ADMINISTRATION
enter password
select COMMANDS
in commands box enter the following on each line
code:
swconfig dev eth0 set enable_vlan 1
swconfig dev eth0 set apply
below the box click RUN COMMAND
If this runs without error, then lastly click SAVE TO STARTUP.
YOUR LAN PORT WILL NOW WORK EVERYTIME
I hope this thread will be helpful for someone with similar problem as I was having.
Try setting the gateway address to that of the DD-WRT router, your wireless clients may be getting the correct information, but wired clients are getting the wrong router/gateway address.
What Operating Systems are on your clients? (We can check and see what addresses your clients are getting for all of their configurations.)
Do you mean check the client isolation box? I only have the option to check the box, no place to point to an ip/gateway. The gateway of the WAN or LAN connection (192.168.1.1)?
In my network I have Windows 10 and android devices.
pi@raspberrypi:~ $ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:f0:52:62 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.144/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::987a:631a:e86f:ed0/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether b8:27:eb:a5:07:37 brd ff:ff:ff:ff:ff:ff
inet6 fe80::76f5:febd:b5de:c6e7/64 scope link tentative
valid_lft forever preferred_lft forever
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100
link/none
inet 10.8.0.1/24 brd 10.8.0.255 scope global tun0
valid_lft forever preferred_lft forever
pi@raspberrypi:~ $ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether b8:27:eb:f0:52:62 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DORMANT group default qlen 1000
link/ether b8:27:eb:a5:07:37 brd ff:ff:ff:ff:ff:ff
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 100
link/none
pi@raspberrypi:~ $ ip route
default via 192.168.1.1 dev eth0 metric 202
10.8.0.0/24 dev tun0 proto kernel scope link src 10.8.0.1
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.144 metric 202
I'll try to connect to the wired connection again.
Edit: I ran the network diagnostic and got 'Ethernet doesn't have a valid ip configuration' message.
Edit2: I Manually changed the IP for the ethernet and I can access websites but pihole's admin page.