PTT推薦

[問題] Gargoyle石像鬼_wifi ap clint無法取得ip

看板Broad_Band標題[問題] Gargoyle石像鬼_wifi ap clint無法取得ip作者
stl833
(stl833)
時間推噓 推:0 噓:0 →:19

有一台路由器已改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星期也不行

以下為路由器的設定,麻煩先進解惑,謝謝

[email protected]:~# 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'
[email protected][0]=switch
[email protected][0].name='switch0'
[email protected][0].reset='1'
[email protected][0].enable_vlan='1'
[email protected]_vlan[0]=switch_vlan
[email protected]_vlan[0].device='switch0'
[email protected]_vlan[0].vlan='1'
[email protected]_vlan[0].ports='0 1 2 3 4'
[email protected]:~#

-----------------------

[email protected]:~# uci show dhcp
[email protected][0]=dnsmasq
[email protected][0].domainneeded='1'
[email protected][0].boguspriv='1'
[email protected][0].filterwin2k='0'
[email protected][0].localise_queries='1'
[email protected][0].rebind_protection='1'
[email protected][0].rebind_localhost='1'
[email protected][0].local='/lan/'
[email protected][0].domain='lan'
[email protected][0].expandhosts='1'
[email protected][0].nonegcache='0'
[email protected][0].authoritative='1'
[email protected][0].readethers='1'
[email protected][0].leasefile='/tmp/dhcp.leases'
[email protected][0].resolvfile='/tmp/resolv.conf.auto'
[email protected][0].localservice='1'
[email protected][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'
[email protected]:~#

--

※ PTT留言評論
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.224.169.236 (臺灣)
PTT 網址

fonzae02/26 18:47沒先重啟DHCP服務看看嗎?

fonzae02/26 18:48/etc/init.d/dhcpd restart

fonzae02/26 18:49若是dhcp重啟就會好,那就看dhcp config

fonzae02/26 18:49因為你是整台重開,不確定是哪個服務掛

fonzae02/26 18:49不知道uci可不可以下 service httpd restart

stl83302/26 19:31我是用reboot或是network restart指令重啟,沒試過dhcpd r

stl83302/26 19:32dhcpd restart,我再試試

stl83302/28 14:49不能下指令[email protected]:/etc/init.d# dhcpd restart

stl83302/28 14:50-ash: dhcpd: not found

stl83302/28 15:16很奇怪,兩台wifi連不上後,下指令network restart無法執行

stl83302/28 15:21dnsmasq restart也無法執行,reboot指令重開後才能執行

stl83302/28 15:23dhcpd restart依舊找不到/etc/init.d/dhcpd: not found

fonzae02/28 21:04試試這個服務名

stl83303/01 13:34謝謝,我再試試

stl83303/01 13:55這次wifi連不上後,重新reboot後network restart卻無法執行

stl83303/01 14:00dnsmasq restart也出現junk found in command line

stl83303/01 14:00FAILED to start up

stl83303/01 14:07https://i.imgur.com/AB5NZgn.jpg

圖 Gargoyle石像鬼_wifi ap clint無法取得ip