- 论坛徽章:
- 0
|
条件:
tp-link WR542Gv1
Linksys WRT54G/GL/GS DD-WRT v24 (05/24/08) micro - build 9526
1ap tp-link ip: 10.0.0.1 dhcp pool :10.0.0.5-254 ssid:hzjtp 不开设认证
2ap linksys ip: 192.168.1.1 dhcp pool :192.168.1.2-254 不开设认证
1 静态地址无密码方式:
a 在setup-Basic Setup-Wireless Setup-WAN Connection Type-WAN IP Address:10.0.0.4
Subnet Mask:255.255.255.0
Gateway:10.0.0.1
Static DNS 1: 以下都不改动任何设置
save
b 在Wireless-Basic Settings-Wireless Physical Interface wl0-Physical Interface wl0 - SSID [tphzj] HWAddr [00:40:77:BB:55:12]-
Wireless Mode:repeater (wds模式)
Wireless Network Name (SSID):hzjtp
其他不变,save
还在这儿下面:add Virtual Interfaces-Wireless Network Name (SSID):dd-wrt_vap (linksys的新的ssid) 其他不变,save后应用。
c linksys从启动以后用无线连接上dd-wrt_vap验证:
c1 先验证linksys的ip通不: ping 192.168.1.1 ok
c2 次验证linksys的wan口通不:ping 10.0.0.4 ok
c3 再验证tp-link的ip通不: ping 10.0.0.1 ok
c4 最后上网看行不: ping 61.139.2.69 ok
2 静态地址有密码方式:
a 在上面基础上修改tp-link 542g的密码:wep ascii 126位 123net2k.9!12
b Wireless-Wireless-Wireless Security-
--Wireless Security wl0-Physical Interface wl0 SSID [tphzj] HWAddr [00:40:77:BB:55:12]:
Security Mode: enable
Encryption: 128
Passphrase: (空,不填)
Key 1: 123net2k.9!12
--Virtual Interfaces wl0.1 SSID [dd-wrt_vap]:
Security Mode: disable
c Status-Wireless Nodes-Access Point & Clients(页面尾部)-Site_Survey(页面尾部,跳出新页面):
在新页面里列出tp-link的ap,在行尾有Join Site,点击john后调到Wireless-Basic Settings,在该页点取save即可,
(注意这里我点选appling settings反而出问题)。
断电重启验证:同1-c-c3(c4)
ping的结果:
C:\>ping 10.0.0.1 -t
Pinging 10.0.0.1 with 32 bytes of data:
Request timed out.
Request timed out.
Reply from 192.168.1.1: Destination net unreachable.
Reply from 10.0.0.4: Destination host unreachable.
.......
Reply from 10.0.0.4: Destination host unreachable.
Reply from 10.0.0.1: bytes=32 time=4ms TTL=63
......
Reply from 10.0.0.1: bytes=32 time=2ms TTL=63 这里等待时间较短,路由有2次变化
3 动态地址有密码方式:
在2的基础上修改:
Setup-Basic Setup-Wireless Setup-WAN Connection Type-Connection Type-automatic configuration-dhcp
然后再本页save, appling settings。
断电重启验证:同1-c-c3(c4)
ping的结果:
C:\>ping 10.0.0.1 -t
Pinging 10.0.0.1 with 32 bytes of data:
Reply from 10.0.0.1: bytes=32 time=2ms TTL=63
.......
Reply from 10.0.0.1: bytes=32 time=3ms TTL=63
Request timed out.
Request timed out.
Request timed out.
Reply from 192.168.1.1: Destination net unreachable.
........
Reply from 192.168.1.1: Destination net unreachable. 这里等待时间较长,路由无2次变化
Reply from 10.0.0.1: bytes=32 time=10ms TTL=63
Reply from 10.0.0.1: bytes=32 time=6ms TTL=63
Reply from 10.0.0.1: bytes=32 time=3ms TTL=63
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/14639/showart_1421254.html |
|