Atheros-CSI-Tool-UserSpace-APP icon indicating copy to clipboard operation
Atheros-CSI-Tool-UserSpace-APP copied to clipboard

" Failed to open the device...: No such file or directory "

Open chinmoy009 opened this issue 6 years ago • 15 comments

My laptop has Atheros AR9565 . I have installed linux kernel according to the Atheros-CSI-Tool-User-Guide. And after checking my kernel version i get the following 4.4.0-66-generic

Now, i am not actually sure about whether my installation is successful or not because when i am running main.c for receiving CSI , it says that " Failed to open the device...: No such file or directory" . That means it is not finding "/dev/CSI_dev".

It would be helpful if you can tell where is the problem and what is the solution.

Thank you.

chinmoy009 avatar Apr 18 '18 15:04 chinmoy009

Hey,chinmoy009. Have you solved this problem? I also try to install Atheros-CSI-Tool in Ubuntu 18.04 with kernel 4.2.10. And my Network Controller is Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32). I meet the same problem with you, which is not finding "/dev/CSI_dev". I am not sure whether the problem is that my Wireless Network Adapter dosen't support Atheros-CSI-Tool nor I didn't install Atheros-CSI-Tool correctly. I really appreciate it if you can help me , thank you.

Dxploto avatar May 23 '18 05:05 Dxploto

Hi guys. I meet the problem too. Have you solved it?

yj1127 avatar May 30 '18 05:05 yj1127

I tried to create an empty file "CSI_dev". But it seems makes no sense.

Dxploto avatar May 30 '18 07:05 Dxploto

I guess so. My Network Controller is same with you. Are you create "CSI_dev" in "recvCSI" directory? I can't find "dev" directory

yj1127 avatar May 30 '18 10:05 yj1127

I create it in "/dev/CSI_dev". The recvCSI runs, but it seems dose not work correctly.

Dxploto avatar May 30 '18 10:05 Dxploto

Hi there,

Your problem is because of the wrong system kernel. Your kernel is 4.4.0 which is not the default one. Generally, when you have installed a higher kernel, 4.4 for example, the system will automatically select the higher kernel.

When you run your 4.4 kernel, our tool is not installed.

On Wed, Apr 18, 2018 at 11:31 PM, chinmoy009 [email protected] wrote:

My laptop has Atheros AR9565 . I have installed linux kernel according to the Atheros-CSI-Tool-User-Guide. And after checking my kernel version i get the following 4.4.0-66-generic

Now, i am not actually sure about whether my installation is successful or not because when i am running main.c for receiving CSI , it says that " Failed to open the device...: No such file or directory" . That means it is not finding "/dev/CSI_dev".

It would be helpful if you can tell where is the problem and what is the solution.

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xieyaxiongfly/Atheros-CSI-Tool-UserSpace-APP/issues/45, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-RQ4tNe9Tv2PMclOcdVQq5wsriSDphks5tp1xbgaJpZM4TaSjG .

--

*-- Yaxiong Xie / *谢亚雄

School of Computer Engineering

Nanyang Technological University, Singapore

xieyaxiongfly avatar Jun 11 '18 13:06 xieyaxiongfly

When you run kernel 4.2, our tool is not installed successfully. You can select the kernel when the system starts.

Also, our tool doesn't support 11ac Wi-Fi cards. And my coding are based on OpenWRT. I strongly recommend you to use our OpenWRT version.

On Wed, May 23, 2018 at 1:56 PM, Dxploto [email protected] wrote:

Hey,chinmoy009. Have you solved this problem? I also try to install Atheros-CSI-Tool in Ubuntu 18.04 with kernel 4.2.10. And my Network Controller is Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32). I meet the same problem with you, which is not finding "/dev/CSI_dev". I am not sure whether the problem is that my Wireless Network Adapter dosen't support Atheros-CSI-Tool nor I didn't install Atheros-CSI-Tool correctly. I really appreciate it if you can help me , thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xieyaxiongfly/Atheros-CSI-Tool-UserSpace-APP/issues/45#issuecomment-391229194, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-RQycilDwSPSwNHyW7CesfvqRGkZuCks5t1PoCgaJpZM4TaSjG .

--

*-- Yaxiong Xie / *谢亚雄

School of Computer Engineering

Nanyang Technological University, Singapore

xieyaxiongfly avatar Jun 11 '18 13:06 xieyaxiongfly

Will it work on a 32 bit OS?? Did any of you install it on 32 bit OS?

To yj1127

How can i downgrade my kernel ? It will be very helpful if you can provide me with some proper resources.

On Mon, Jun 11, 2018 at 7:44 PM, Yaxiong Xie [email protected] wrote:

When you run kernel 4.2, our tool is not installed successfully. You can select the kernel when the system starts.

Also, our tool doesn't support 11ac Wi-Fi cards. And my coding are based on OpenWRT. I strongly recommend you to use our OpenWRT version.

On Wed, May 23, 2018 at 1:56 PM, Dxploto [email protected] wrote:

Hey,chinmoy009. Have you solved this problem? I also try to install Atheros-CSI-Tool in Ubuntu 18.04 with kernel 4.2.10. And my Network Controller is Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32). I meet the same problem with you, which is not finding "/dev/CSI_dev". I am not sure whether the problem is that my Wireless Network Adapter dosen't support Atheros-CSI-Tool nor I didn't install Atheros-CSI-Tool correctly. I really appreciate it if you can help me , thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <https://github.com/xieyaxiongfly/Atheros-CSI- Tool-UserSpace-APP/issues/45#issuecomment-391229194>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AF- RQycilDwSPSwNHyW7CesfvqRGkZuCks5t1PoCgaJpZM4TaSjG>

.

--

*-- Yaxiong Xie / *谢亚雄

School of Computer Engineering

Nanyang Technological University, Singapore

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xieyaxiongfly/Atheros-CSI-Tool-UserSpace-APP/issues/45#issuecomment-396248058, or mute the thread https://github.com/notifications/unsubscribe-auth/AY71X_glkolDIjQV7t7HLKofKELDeIMcks5t7nRBgaJpZM4TaSjG .

chinmoy009 avatar Jun 13 '18 06:06 chinmoy009

It is possible to select the Ubuntu kernel version when you start your PC. Can you try that first?

On Wed, Jun 13, 2018 at 2:45 PM, chinmoy009 [email protected] wrote:

Will it work on a 32 bit OS?? Did any of you install it on 32 bit OS?

To yj1127

How can i downgrade my kernel ? It will be very helpful if you can provide me with some proper resources.

On Mon, Jun 11, 2018 at 7:44 PM, Yaxiong Xie [email protected] wrote:

When you run kernel 4.2, our tool is not installed successfully. You can select the kernel when the system starts.

Also, our tool doesn't support 11ac Wi-Fi cards. And my coding are based on OpenWRT. I strongly recommend you to use our OpenWRT version.

On Wed, May 23, 2018 at 1:56 PM, Dxploto [email protected] wrote:

Hey,chinmoy009. Have you solved this problem? I also try to install Atheros-CSI-Tool in Ubuntu 18.04 with kernel 4.2.10. And my Network Controller is Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32). I meet the same problem with you, which is not finding "/dev/CSI_dev". I am not sure whether the problem is that my Wireless Network Adapter dosen't support Atheros-CSI-Tool nor I didn't install Atheros-CSI-Tool correctly. I really appreciate it if you can help me , thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <https://github.com/xieyaxiongfly/Atheros-CSI- Tool-UserSpace-APP/issues/45#issuecomment-391229194>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AF- RQycilDwSPSwNHyW7CesfvqRGkZuCks5t1PoCgaJpZM4TaSjG>

.

--

*-- Yaxiong Xie / *谢亚雄

School of Computer Engineering

Nanyang Technological University, Singapore

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/xieyaxiongfly/Atheros-CSI- Tool-UserSpace-APP/issues/45#issuecomment-396248058>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AY71X_ glkolDIjQV7t7HLKofKELDeIMcks5t7nRBgaJpZM4TaSjG> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xieyaxiongfly/Atheros-CSI-Tool-UserSpace-APP/issues/45#issuecomment-396831701, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-RQy_vBpDfE6A0rsmp8QJ0fVMCnFFDks5t8LUPgaJpZM4TaSjG .

--

*-- Yaxiong Xie / *谢亚雄

School of Computer Engineering

Nanyang Technological University, Singapore

xieyaxiongfly avatar Jun 13 '18 07:06 xieyaxiongfly

I don't have kernel 4.1.10 in my grub menu.

chinmoy009 avatar Jun 13 '18 07:06 chinmoy009

That's odd. After you successfully installed the tool, you should find 4.1.10 in the menu.

Here are several pieces of advice. 1, First of all, I strongly recommend you using our OpenWRT version. Check this link http://wands.sg/AtherosCSI/Hardware.html to check what kind of hardware to buy when you want to use OpenWRT version. I recommend WPJ558 or TP-Link 4300. I am currently working on OpenWRT version and a lot of new functionality are only supported in OpenWRT version. A few updates based on openWRT is under preparing. Installing openWRT on those devices is easy and there are huge amounts of tutorial about it.

2, If you still want to use Ubuntu version, you can install Ubuntu 14.04 and reinstall our tool on it.

Yaxiong

On Wed, Jun 13, 2018 at 3:14 PM, chinmoy009 [email protected] wrote:

I don't have kernel 4.1.10 in my grub menu.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xieyaxiongfly/Atheros-CSI-Tool-UserSpace-APP/issues/45#issuecomment-396838059, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-RQzUWUW7slvf9BIdbj2F6LmtdsXSTks5t8LvHgaJpZM4TaSjG .

--

*-- Yaxiong Xie / *谢亚雄

School of Computer Engineering

Nanyang Technological University, Singapore

xieyaxiongfly avatar Jun 13 '18 07:06 xieyaxiongfly

I will reinstall it . But the problem is I have 32 bit OS and in your documentation you recommend 64 bit OS . Moreover while running the command " make menuconfig " it suggests to choose 64 bit kernel ( as showed in attached image) . Is it possible to install on 32 bit OS ? image

chinmoy009 avatar Jun 13 '18 08:06 chinmoy009

I think it won't work with 32-bit. Sorry, I forget to answer your question.

On Wed, Jun 13, 2018 at 4:13 PM, chinmoy009 [email protected] wrote:

I will reinstall it . But the problem is I have 32 bit OS and in your documentation you recommend 64 bit OS . Moreover while running the command " make menuconfig " it suggests to choose 64 bit kernel ( as showed in attached image) . Is it possible to install on 32 bit OS ? [image: image] https://user-images.githubusercontent.com/26146143/41338422-f92a2d42-6f13-11e8-9a2f-6dd71778887c.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xieyaxiongfly/Atheros-CSI-Tool-UserSpace-APP/issues/45#issuecomment-396853589, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-RQ8LXwjcYH929fQxqKHf1PfoD6ioZks5t8MnDgaJpZM4TaSjG .

--

*-- Yaxiong Xie / *谢亚雄

School of Computer Engineering

Nanyang Technological University, Singapore

xieyaxiongfly avatar Jun 27 '18 04:06 xieyaxiongfly

Hi,

I am using Atheros9462 NIC on Ubuntu 14.04 (64-bit)

After installation, I can see the update kernel version 4.1.10+ but I had some "depmod warnings" on the network interface.

I could not find any CSI_dev inside /dev. Also when I run ./recvCSI filename it gives "Failed to open the device...: No such file or directory".

Can you tell me what might be the possible reason behind this?

sayaz avatar Aug 13 '18 20:08 sayaz

Hi all,

I am having the same problem ,I cant find CSI_dev under /dev folder.I am using 2 ubuntu (64- bit ) for transmitter and receiver ,In both the case i am not getting any CSI_dev ,although the kernel version is 4.1.10+ in both machines. Could anyone please help me out??

Parbin avatar Mar 01 '20 15:03 Parbin