GateWay 값은 어떻게 변경 할수있나요?
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: GateWay 값은 어떻게 변경 할수있나요?
by wizdaniel ·
안녕하세요 leekheee님
GW를 변경하는 방법은 알고 계신대로 at+wnet이 맞습니다.
제가 테스트해 본 결과입니다. 테스트 결과 at+wnet이 제대로 입력되지 않아서 리셋 후에도 GW를 제대로 받지 못하는 것 같습니다.
테스트 결과가 좀 길지만, 보시면 이해하실거라고 생각합니다. 문제가 되는 부분은 <<<<로 표시해 두었습니다.
그래도 문제가 있다면 at+wnet=1(DHCP on)으로 테스트 해보시고 제대로 동작하는지 확인해주시면 감사하겠습니다.
[code]Connected to COM8.
at
[OK]
at+wleave
[OK]
at+wset=0,WizFiDemoAP
[OK]
at+wsec=0,WPA2,12345678
[OK]
at+wnet=0,192.168.1.222,255.255.0.0,192.168.0.1
[OK]
at+wjoin
Joining : WizFiDemoAP
Successfully joined : WizFiDemoAP
[Link-Up Event]
IP Addr : 192.168.1.222
Gateway : 192.168.0.1
[OK]
at+fwebs=1,a
[OK]
at+scon=s,tsn,5000,0
[OK]
at+wnet=?
0,192.168.1.222,255.255.0.0,192.168.0.1
[OK]
at+mprof=s
[OK]
at+mprof=vg
+WSET=0,WizFiDemoAP,0
+WSEC=0,WPA2,12345678
+WNET=0,192.168.1.222,255.255.0.0,192.168.0.1
+WREG=AU
+SCON=S,TSN,0.0.0.0,0,5000,0
+SFORM=111111111,7b,2c,7d,0d,0a
+MMSG=2
+MMAC=00:08:DC:1E:93:BD
+USET=115200,N,8,1,N
+MECHO=1
+FWEBS=1,A
+FGPIO={1,1,3,0},{1,5,3,0},{1,6,3,0},{1,7,3,0},{1,8,3,0}
[OK]
at+mreset
[OK]
[Link-Down Event]
WizFi250 Version 1.0.3.1 (WIZnet Co.Ltd)
Joining : WizFiDemoAP
Successfully joined : WizFiDemoAP
[Link-Up Event]
IP Addr : 192.168.1.222
Gateway : 192.168.0.1
at+mreset
[OK]
[DISCONNECT 0]
[Link-Down Event]
WizFi250 Version 1.0.3.1 (WIZnet Co.Ltd)
Joining : WizFiDemoAP
Successfully joined : WizFiDemoAP
[Link-Up Event]
IP Addr : 192.168.1.222
Gateway : 192.168.0.1
at+mprof=vg
+WSET=0,WizFiDemoAP,0
+WSEC=0,WPA2,12345678
+WNET=0,192.168.1.222,255.255.0.0,192.168.0.1
+WREG=AU
+SCON=S,TSN,0.0.0.0,0,5000,0
+SFORM=111111111,7b,2c,7d,0d,0a
+MMSG=2
+MMAC=00:08:DC:1E:93:BD
+USET=115200,N,8,1,N
+MECHO=1
+FWEBS=1,A
+FGPIO={1,1,3,0},{1,5,3,0},{1,6,3,0},{1,7,3,0},{1,8,3,0}
[OK]
at+wnet=0,192.168.1.222,255.255.255.0,192.168.0.1 <<<<<<<<<< S/N이 잘못 입력 되었을때
[OK]
at+wnet=?
0,192.168.1.222,255.255.255.0,192.168.0.1
[OK]
at+mprof=s
[OK]
at+mreset
[OK]
[DISCONNECT 0]
[Link-Down Event]
WizFi250 Version 1.0.3.1 (WIZnet Co.Ltd)
Joining : WizFiDemoAP
Successfully joined : WizFiDemoAP
[Link-Up Event]
IP Addr : 192.168.1.222
Gateway : 0.0.0.0 <<<<<< 0.0.0.0입니다.
at+wnet=0,192.168.1.222,255.255.0.0,192.168.0.1 <<<<<< SN을 수정했습니다.
[OK]
at+mprof=s
[OK]
at+mreset
[OK]
[DISCONNECT 0]
[Link-Down Event]
WizFi250 Version 1.0.3.1 (WIZnet Co.Ltd)
Joining : WizFiDemoAP
Successfully joined : WizFiDemoAP
[Link-Up Event]
IP Addr : 192.168.1.222
Gateway : 192.168.0.1 <<<<<< 정상적으로 GW를 받습니다.
at+wnet=0,192.198.1.222,255.255.0.0,192.168.0.1 <<<< 오타이겠지만, 글에 입력하신대로 IP대역과 GW대력이 다를 때입니다.(192.198~~)
[OK]
at+wjoin
Already Associated : Station Mode
[OK]
at+mprof=s
[OK]
at+mprof=vg
+WSET=0,WizFiDemoAP,0
+WSEC=0,WPA2,12345678
+WNET=0,192.198.1.222,255.255.0.0,192.168.0.1
+WREG=AU
+SCON=S,TSN,0.0.0.0,0,5000,0
+SFORM=111111111,7b,2c,7d,0d,0a
+MMSG=2
+MMAC=00:08:DC:1E:93:BD
+USET=115200,N,8,1,N
+MECHO=1
+FWEBS=1,A
+FGPIO={1,1,3,0},{1,5,3,0},{1,6,3,0},{1,7,3,0},{1,8,3,0}
[OK]
at+mreset
[OK]
[DISCONNECT 0]
[Link-Down Event]
WizFi250 Version 1.0.3.1 (WIZnet Co.Ltd)
Joining : WizFiDemoAP
Successfully joined : WizFiDemoAP
[Link-Up Event]
IP Addr : 192.198.1.222
Gateway : 0.0.0.0 <<<<<< IP와 GW대역이 다를때 GW를 제대로 받지 못합니다.
[/code]