<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108991/wi-fi-shell-firmware-example-with-nrf7002</link><description>Hi There 
 I have implemented the nrf firmware example &amp;quot;Wi-Fi Shell&amp;quot; on the nrf7002 development kit. But I noticed a strange behaviour, after a while I cannot ping any server and it disconnects and reconnects from the access point. It always gives the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Mar 2024 06:58:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108991/wi-fi-shell-firmware-example-with-nrf7002" /><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/475530?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 06:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:726c1603-1775-4508-b9c2-76f7cf55195f</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Okey, best of luck on the development&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/475429?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 14:38:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dab898b-c369-4ec3-be63-2f350924595f</guid><dc:creator>BarnesToby</dc:creator><description>&lt;p&gt;Hi Runar&lt;br /&gt;&lt;br /&gt;Thanks for your reply.&lt;br /&gt;So the Samsung hotspot is an old mobile phone that I use as a hotspot access point for wifi.&lt;br /&gt;I have tried to get the same error on different types of access points, but to no avail.&lt;br /&gt;&lt;br /&gt;So you can close this case, I think the SDK update fixed most of the problems here.&lt;br /&gt;&lt;br /&gt;Regards, Toby&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/474209?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2024 08:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:639377c0-eb85-4555-866c-371236bbbe13</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;From the looks of it you get client expired. So the Ap does not hear anything from the device and disassociate it. It could also be the other way around, I&amp;#39;m not to sure.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It looks like the the device is connecting to a Samsung hotspot? Could you describe your AP and try to test with another one?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/474091?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2024 12:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3f6259c-a6a1-40c3-9760-c9299d24ebdf</guid><dc:creator>BarnesToby</dc:creator><description>&lt;p&gt;So finally I have captured it&lt;br /&gt;&lt;br /&gt;The deauthentication happens at Packet Number 47, and it reconnects at the Packet Number 314.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/capture_5F00_reason4_5F00_detail.pcapng"&gt;devzone.nordicsemi.com/.../capture_5F00_reason4_5F00_detail.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best Regards &lt;br /&gt;Toby&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/472855?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 07:52:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a39523c-c7b0-4689-b81b-56cc20594373</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;you could try the following:&lt;/p&gt;
&lt;p&gt;The very first thing to check is if your computer supports monitor mode.&lt;/p&gt;
&lt;p&gt;Windows:&lt;/p&gt;
&lt;p&gt;This is done by going to cmd prompt and entering &amp;quot;&lt;span&gt;&lt;span&gt;netsh wlan show wirelesscapabilities&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;If this prints &amp;quot;&lt;strong&gt;Network monitor mode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Not supported&lt;/strong&gt;&amp;quot; then it will not work.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;AX201 is confirmed not working in windows, but will work in linux.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;ol&gt;
&lt;li&gt;Install wireshark:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.wireshark.org/" rel="nofollow"&gt;https://www.wireshark.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Install npcap:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://npcap.com/" rel="nofollow"&gt;https://npcap.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Follow the guide from npcap to enable monitor mode (again; requires support in your chipset!):&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://npcap.com/guide/npcap-devguide.html#npcap-feature-dot11" rel="nofollow"&gt;https://npcap.com/guide/npcap-devguide.html#npcap-feature-dot11&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This is a bit hit or miss depending if your computer&amp;nbsp;&lt;/p&gt;
&lt;p&gt;linux:&lt;/p&gt;
&lt;p&gt;In Ubuntu, NetworkManager claims all network interfaces by default. This is problematic, as we want to change the wifi mode from &amp;quot;managed&amp;quot; to &amp;quot;monitor&amp;quot;.&lt;/p&gt;
&lt;p&gt;As a workaround, you can manually set the $DEVICE as unmanaged for your current session:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;sudo nmcli device set $DEVICE managed no&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;More detailed guide for always marking a device as unmanaged can be found here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-networkmanager-to-ignore-certain-devices_configuring-and-managing-networking" rel="nofollow"&gt;https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-networkmanager-to-ignore-certain-devices_configuring-and-managing-networking&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;$DEVICE here can be for instance &amp;quot;wlp2s0&amp;quot;.&lt;/p&gt;
&lt;p&gt;You can see this by issuing &amp;quot;iw dev&amp;quot; or &amp;quot;iwconfig&amp;quot;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open a terminal and install wireshark:&amp;nbsp;
&lt;p&gt;&lt;code&gt;sudo apt get install wireshark-qt -y&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
make sure your user has proper permissions to sniff using wireshark by adding your user to the wireshark group (reboot required afterwards):&amp;nbsp;
&lt;p&gt;&lt;code&gt;sudo usermod -a -G wireshark $USER&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Take your wireless device down:&amp;nbsp;
&lt;p&gt;&lt;code&gt;sudo ip link set dev $DEVICE down&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;set your chipset into monitor mode:&amp;nbsp;
&lt;p&gt;&lt;code&gt;sudo iw dev $DEVICE set type monitor&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Start up the wifi chipset again:&amp;nbsp;
&lt;p&gt;&lt;code&gt;sudo ip link set dev $DEVICE up&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Start Wireshark (you might need to start with&amp;nbsp;&lt;strong&gt;sudo&lt;/strong&gt;) and select your wlan device.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Here is a properly configured device, wlp2s0, set to monitor:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In Wireshark, to select the channel and bandwidth, you need to check &amp;quot;View → Wireless toolbar&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;in short, I will not say it is a quick way and if it will work depends on your HW and operating system. So i would suggest to try the wifi shell with optimize for debug to see if there is some more information to be had&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/472775?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 15:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b722c96a-de55-46e5-9bc8-ff54327baa8d</guid><dc:creator>BarnesToby</dc:creator><description>&lt;p&gt;Is there a quick way to connect Wireshark to the nrf board?&lt;br /&gt;Otherwise I will write again next week as I will have a wifi sniffer for it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/472752?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 14:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c15186b-84b6-46aa-8f78-5aeff053cfb1</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;There was a issue where Zephr&amp;nbsp;did not allow for zero payload packages for non IPv4/6 frames&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/54277"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/54277&lt;/a&gt;&amp;nbsp;So if you don&amp;#39;t send any &amp;quot;normal&amp;quot; packages the NWm will try to send keep alive to the access point, and since this was not allowed at the time it would disconnect the device. But then i would expect some error earlier in the log&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;There were also an issue at some point where memory allocation could lead to the same disconnect event. So it could be something related to either of them.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit: with the new update my reply is no longer valid.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would it be possible to get a log from wireshark? If not could you build your application with optimized for debug and run it again and post the log?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/472730?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 13:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aee42811-397d-435b-a727-204462f97bb3</guid><dc:creator>BarnesToby</dc:creator><description>&lt;p&gt;I would like to revise my statement, it just happened again with the new updated sdk, although much later.&lt;br /&gt;&lt;img style="max-height:125px;max-width:460px;" height="125" src="https://devzone.nordicsemi.com/resized-image/__size/920x250/__key/communityserver-discussions-components-files/4/pastedimage1709819462411v1.png" width="460" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/472728?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 13:42:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aa38b5c-eef9-44dc-9c1e-0cf06b6b77c1</guid><dc:creator>BarnesToby</dc:creator><description>&lt;p&gt;Thank you for your reply. .&lt;br /&gt;I have updated to nRF Connect SDK v2.5.2, which has successfully resolved the issue.&amp;nbsp;&amp;nbsp; &lt;br /&gt;It would still be interesting what the error meant. Do you have any insight into the meaning of the error?&lt;br /&gt;&lt;br /&gt;Regards&lt;/p&gt;
&lt;p&gt;Toby&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/472685?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 12:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66d19c9f-ab85-4bff-9c73-c7c00966315b</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Thanks for the quick reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would highly recommend to update to NCS 2.5.x (2.5.2 is the newest ) if possible to do the improvements for the&amp;nbsp;7002 done on the driver side.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will see if I can replicate the behavior on my side as I have not seen this error&amp;nbsp; with that sample before.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/472679?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 11:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8f56f4a-6b15-49fb-aa1d-fb55b674d9f2</guid><dc:creator>BarnesToby</dc:creator><description>&lt;p&gt;1) I am using nRF Connect SDK v2.4.1 version.&lt;br /&gt;2) I have the same problem with different types of access points (mobile hotspot, router, etc).&lt;br /&gt;3) It does not matter which address I want to ping, it always happens after about a minute of doing nothing on the console.&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;Toby&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi-Fi: Shell Firmware example with nrf7002</title><link>https://devzone.nordicsemi.com/thread/472677?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 11:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd4c8884-d1f5-4577-acf0-0ccbb703b93b</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just a few questions to get started&lt;/p&gt;
&lt;p&gt;1. Which version of the SDK are you running?&lt;/p&gt;
&lt;p&gt;2. Do the same issue happen if you connect to another network then a access point&lt;/p&gt;
&lt;p&gt;3. is the issue the same for all addresses you try to ping?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>