看板 Broad_Band 關於我們 聯絡資訊
有一台路由器已改Gargoyle韌體,接在中華電信數據機後面 路由器設定wan pppoe, lan dhcp打開, 路由器接了兩台ap clint(不同廠牌)關閉dhcp並打開wifi上網, 起初一切正常,過了一兩天所有手機皆連不上兩台ap wifi, 手機卡在正在取得ip,很久後就顯示ip配置失敗 此時連接頭端路由器lan port的桌機,apple tv設備和ap clint端的lan port 皆能正常上網,有一台電腦使用wifi網卡也無法取得ip上網 非得要重新開機路由器Gargoyle,兩台ap wifi才能正常自動取得ip 可是又撐不了多久,最快1天,最慢3~4天wifi又連不上了 嘗試更新Gargoyle韌體新版舊版都試過了,還是一樣問題 將兩台ap clint強制設定靜態ip MAC位址也不行 連到路由器查看 network.lan.force_link='1' 已預設開啟 嘗試添加指令dhcp.lan.force='1'也不行 延長dhcp租約時間至1星期也不行 以下為路由器的設定,麻煩先進解惑,謝謝 root@Gargoyle:~# uci show network network.loopback=interface network.loopback.ifname='lo' network.loopback.proto='static' network.loopback.ipaddr='127.0.0.1' network.loopback.netmask='255.0.0.0' network.globals=globals network.globals.ula_prefix='fdf1:e071:45ab::/48' network.lan=interface network.lan.ifname='eth0' network.lan.force_link='1' network.lan.type='bridge' network.lan.proto='static' network.lan.ipaddr='192.168.1.1' network.lan.netmask='255.255.255.0' network.lan.ip6assign='60' network.lan.dns='192.168.1.1' network.wan=interface network.wan.ifname='eth1' network.wan.proto='pppoe' network.wan.username='[email protected]' network.wan.password='xxxx' network.wan.keepalive='3 5' network.wan.ipv6='0' network.wan6=interface network.wan6.ifname='eth1' network.wan6.proto='dhcpv6' network.@switch[0]=switch network.@switch[0].name='switch0' network.@switch[0].reset='1' network.@switch[0].enable_vlan='1' network.@switch_vlan[0]=switch_vlan network.@switch_vlan[0].device='switch0' network.@switch_vlan[0].vlan='1' network.@switch_vlan[0].ports='0 1 2 3 4' root@Gargoyle:~# ----------------------- root@Gargoyle:~# uci show dhcp dhcp.@dnsmasq[0]=dnsmasq dhcp.@dnsmasq[0].domainneeded='1' dhcp.@dnsmasq[0].boguspriv='1' dhcp.@dnsmasq[0].filterwin2k='0' dhcp.@dnsmasq[0].localise_queries='1' dhcp.@dnsmasq[0].rebind_protection='1' dhcp.@dnsmasq[0].rebind_localhost='1' dhcp.@dnsmasq[0].local='/lan/' dhcp.@dnsmasq[0].domain='lan' dhcp.@dnsmasq[0].expandhosts='1' dhcp.@dnsmasq[0].nonegcache='0' dhcp.@dnsmasq[0].authoritative='1' dhcp.@dnsmasq[0].readethers='1' dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases' dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto' dhcp.@dnsmasq[0].localservice='1' dhcp.@dnsmasq[0].server='/.bit/178.32.31.41' '/.bit/106.187.47.17' '/.bit/176.58.118.172' '/.glue/66.244.95.20' '/.glue/95.211.32.162' '/.glue/95.142.171.235' '/.parody/66.244.95.20' '/.parody/95.211.32.162' '/.parody/95.142.171.235' '/.dyn/66.244.95.20' '/.dyn/95.211.32.162' '/.dyn/95.142.171.235' '/.bbs/66.244.95.20' '/.bbs/95.211.32.162' '/.bbs/95.142.171.235' '/.free/66.244.95.20' '/.free/95.211.32.162' '/.free/95.142.171.235' '/.fur/66.244.95.20' '/.fur/95.211.32.162' '/.fur/95.142.171.235' '/.geek/66.244.95.20' '/.geek/95.211.32.162' '/.geek/95.142.171.235' '/.gopher/66.244.95.20' '/.gopher/95.211.32.162' '/.gopher/95.142.171.235' '/.indy/66.244.95.20' '/.indy/95.211.32.162' '/.indy/95.142.171.235' '/.ing/66.244.95.20' '/.ing/95.211.32.162' '/.ing/95.142.171.235' '/.null/66.244.95.20' '/.null/95.211.32.162' '/.null/95.142.171.235' '/.oss/66.244.95.20' '/.oss/95.211.32.162' '/.oss/95.142.171.235' '/.micro/66.244.95.20' '/.micro/95.211.32.162' '/.micro/95.142.171.235' dhcp.lan=dhcp dhcp.lan.interface='lan' dhcp.lan.start='100' dhcp.lan.limit='150' dhcp.lan.leasetime='12h' dhcp.lan.ignore='0' dhcp.wan=dhcp dhcp.wan.interface='wan' dhcp.wan.ignore='1' root@Gargoyle:~# -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.224.169.236 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Broad_Band/M.1614315109.A.B68.html
fonzae: 沒先重啟DHCP服務看看嗎? 02/26 18:47
fonzae: /etc/init.d/dhcpd restart 02/26 18:48
fonzae: 若是dhcp重啟就會好,那就看dhcp config 02/26 18:49
fonzae: 因為你是整台重開,不確定是哪個服務掛 02/26 18:49
fonzae: 不知道uci可不可以下 service httpd restart 02/26 18:49
stl833: 我是用reboot或是network restart指令重啟,沒試過dhcpd r 02/26 19:31
stl833: dhcpd restart,我再試試 02/26 19:32
stl833: 不能下指令root@Gargoyle:/etc/init.d# dhcpd restart 02/28 14:49
stl833: -ash: dhcpd: not found 02/28 14:50
stl833: 很奇怪,兩台wifi連不上後,下指令network restart無法執行 02/28 15:16
stl833: dnsmasq restart也無法執行,reboot指令重開後才能執行 02/28 15:21
stl833: dhcpd restart依舊找不到/etc/init.d/dhcpd: not found 02/28 15:23
fonzae: 試試這個服務名 02/28 21:04
stl833: 謝謝,我再試試 03/01 13:34
stl833: 這次wifi連不上後,重新reboot後network restart卻無法執行 03/01 13:55
stl833: dnsmasq restart也出現junk found in command line 03/01 14:00
stl833: FAILED to start up 03/01 14:00
stl833: https://i.imgur.com/AB5NZgn.jpg 03/01 14:07