Open GoogleCodeExporter opened 9 years ago
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
sysctl -w net.ipv6.conf.br-lan.forwarding=1
ip6tables -A INPUT -p icmpv6 -m mac --mac-source "00:17:59:80:74:10" -j DROP
radvd
ifconfig eth1.1 down
ifconfig eth1.1 up
#insmod /nat66/napt66_bcm63xx.ko wan_if=eth1.1
#udhcpc -i eth1.1
exit 0
Original comment by zxy...@gmail.com
on 20 Apr 2011 at 10:14
然后
root@OpenWrt:~# /etc/mentohust/mentohust -uabcdefg -pabcdefg -neth1.1 -t8 -e30
-r15 -a1 -d2 -b2 -v3.95 -l2 -i172.16.80.215 -m255.255.255.0 -g172.16.80.254
-s202.116.160.33 -f3_95.mpf -w
Welcome to MentoHUST Version: 0.3.1
Copyright (C) 2009-2010 HustMoon Studio
Bug report to http://code.google.com/p/mentohust/issues/list
>> 进入后台运行模式,使用参数-k可退出认证。
root@OpenWrt:~# ** Username: abcdefg
** Password: abcdefg
** Netcard: eth1.1
** Gateway: 172.16.80.254
** DNS地址: 202.116.160.33
** 认证超时: 8秒
** 响应间隔: 30秒
** 失败等待: 15秒
** 允许失败: 2次
** 组播地址: 锐捷
** DHCP type: 认证后
** DHCP Script: dhclient
>> Search server...
** 认证MAC: 00:1a:a9:4e:22:7b
>> 发送用户名...
>> 发送密码...
>> 认证成功!
$$ 系统提示:
4▒▒19▒գ▒▒▒ɽ▒▒▒▒һ▒▒ͣ▒▒(45▒▒48▒▒▒▒▒�
��)▒▒▒▒ʱ▒▒▒▒▒▒▒▒▒▒▒жϡ▒
$$ 计费提示:
>> 正在获取IP...
sh: dhclient: not found
>> 操作结束。
>> 发送心跳包以保持在线...
** 网关MAC: 00:1a:a9:08:7a:01
sh: arp: not found
root@OpenWrt:~# insmod /nat66/napt66_bcm63xx.ko wan_if=sit1
root@OpenWrt:~# udhcpc -i sit1
udhcpc (v1.15.3) started
Sending discover...
Sending discover...
Sending discover...
^C
root@OpenWrt:~# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
ping: sendto: Network is unreachable
root@OpenWrt:~# udhcpc -i eth1.1
udhcpc (v1.15.3) started
Sending discover...
Sending select for 172.16.80.190...
Lease of 172.16.80.190 obtained, lease time 3600
udhcpc: ifconfig eth1.1 172.16.80.190 netmask 255.255.255.0 broadcast +
udhcpc: setting default routers: 172.16.80.254
udhcpc: setting dns servers: 202.116.160.33
Unknown configuration statement on line 1 of /tmp/run/aiccu-cfg02ec04.conf:
"usernam"
Unknown configuration statement on line 2 of /tmp/run/aiccu-cfg02ec04.conf:
"passwor"
Unknown configuration statement on line 1 of /tmp/run/aiccu-cfg02ec04.conf:
"usernam"
Unknown configuration statement on line 2 of /tmp/run/aiccu-cfg02ec04.conf:
"passwor"
Unknown configuration statement on line 1 of /tmp/run/aiccu-cfg02ec04.conf:
"usernam"
Unknown configuration statement on line 2 of /tmp/run/aiccu-cfg02ec04.conf:
"passwor"
root@OpenWrt:~# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: seq=0 ttl=61 time=0.872 ms
64 bytes from 1.1.1.1: seq=1 ttl=61 time=0.599 ms
^C
--- 1.1.1.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.599/0.735/0.872 ms
Original comment by zxy...@gmail.com
on 20 Apr 2011 at 10:15
就是我不运行
udhcpc -i eth1.1
就连IPv4都上不了了···
但即使运行了···还是上不了ipv6···
路由也ping6不通ipv6的网址
Original comment by zxy...@gmail.com
on 20 Apr 2011 at 10:16
yeah!!!!!!!!!!!!!!!!!!!!!!
Original comment by zxy...@gmail.com
on 20 Apr 2011 at 11:05
Attachments:
Original issue reported on code.google.com by
zxy...@gmail.com
on 20 Apr 2011 at 10:13