Mar 28th, 2024, 9:41am
Welcome, Guest. Please Login or Register.
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print
   Author  Topic: linux client error  (Read 8672 times)
everyonce
FabulaTech Forum Newbie
*



View Profile         
Posts: 1
linux client error
« on: Jan 24th, 2015, 8:48am »
Quote Quote  Modify Modify

I'm getting an error I don't understand -- when I do the ctl tool with a list, it doesn't show the devices being shared on the server:
 
root@mylinuxmachine:/opt/ftvusbnet/sbin# ./ftvusbnetd 10.1.0.15:33000 -v debug
main.c:107 FabulaTech USB over Network client started, version: 5.0.3
main.c:108 Build date: Apr 22 2014 08:59:50
 
hcd.c:31 open '/dev/ftlink': 0
ui.c:27 creating ui control socket at '/tmp/ftvusbsck'
ui.c:30 net_listen_unix: 4
main.c:118 connecting to server: 10.1.0.15:33000
net.c:105 net connect over tcp: 0
net.c:151 connected with status: 0
net.c:145 channel error: 104
 
IP Logged
Sergey_Jarovski
FabulaTech Forum Moderator
FabulaTech Forum God
*****



View Profile   WWW         
Gender: male Posts: 556
Re: linux client error
« Reply #1 on: Jan 26th, 2015, 7:00am »
Quote Quote  Modify Modify

Hi
Please do all steps according to /opt/ftvusbnet/doc/README file.
IP Logged

Sergey Jarovski

FabulaTech
===================
http://www.fabulatech.com
sreenitha
FabulaTech Forum Newbie
*



View Profile         
Posts: 2
Re: linux client error
« Reply #2 on: Jun 19th, 2015, 3:04am »
Quote Quote  Modify Modify

Faced a issue while trying to list the device
I am using windows as server and linux as client
 
 
xxxx@xxxxx:/opt/ftvusbnet/module/fthc$ /opt/ftvusbnet/bin/ftvusbnetctl list
Traceback (most recent call last):
  File "/opt/ftvusbnet/bin/ftvusbnetctl", line 40, in <module>
    d = list_devices()
  File "/opt/ftvusbnet/bin/ftvusbnetctl", line 15, in list_devices
    s.connect(SOCKET_NAME)
  File "/tools/python/rh6/2.7.6/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 2] No such file or directory
 
verified the SOCKET_NAME /tmp/ftvusbsck was not created there in /tmp
then debug using the below command and it show sthe below error
 
xxxx@xxx$:/opt/ftvusbnet$ sbin/ftvusbnetd 10.2.21.xxx:33000 -v debug
main.c:107 FabulaTech USB over Network client started, version: 5.0.3
main.c:108 Build date: Apr 22 2014 08:59:50
 
hcd.c:31 open '/dev/ftlink': -13
hcd.c:37 Failed to open FabulaTech Host Controller Link!
main.c:35 hcd_init: -1
 
Can any one help?
« Last Edit: Jun 19th, 2015, 3:14am by sreenitha » IP Logged
Sergey_Jarovski
FabulaTech Forum Moderator
FabulaTech Forum God
*****



View Profile   WWW         
Gender: male Posts: 556
Re: linux client error
« Reply #3 on: Jun 19th, 2015, 4:02am »
Quote Quote  Modify Modify

Hi
According to the /opt/ftvusbnet/doc/README first of all you must compile and load the kernel module fthc.ko:
   cd /opt/ftvusbnet/module
   # tar -zxf fthc-module.tar.gz
   # cd fthc
   # make
# insmod fthc.ko
You can run the ftvusbnetd daemon after that.
IP Logged

Sergey Jarovski

FabulaTech
===================
http://www.fabulatech.com
sreenitha
FabulaTech Forum Newbie
*



View Profile         
Posts: 2
Re: linux client error
« Reply #4 on: Jun 19th, 2015, 9:30am »
Quote Quote  Modify Modify

Thanks for the reply.
 
But I have already done the steps in the README and it doesn't shows any issues while executing those steps.
 
But couldn't list the devices.
 
« Last Edit: Jun 19th, 2015, 9:32am by sreenitha » IP Logged
Sergey_Jarovski
FabulaTech Forum Moderator
FabulaTech Forum God
*****



View Profile   WWW         
Gender: male Posts: 556
Re: linux client error
« Reply #5 on: Jun 22nd, 2015, 4:07am »
Quote Quote  Modify Modify

Hi !
Please send me (to support@fabulatech.com) the following:
- the output of the "uname -a" command;
- the screenshot of the execution of these three commands:
 make //from the /module/fthc folder
 insmod fthc.ko //from the /module/fthc folder
 ftvusbnetd 10.2.21.xxx:33000 -v debug //from the /opt/ftvusbnet/sbin folder
Thanks in advance.
« Last Edit: Jun 22nd, 2015, 4:08am by Sergey_Jarovski » IP Logged

Sergey Jarovski

FabulaTech
===================
http://www.fabulatech.com
junitas
FabulaTech Forum Newbie
*



View Profile         
Posts: 1
Re: linux client error
« Reply #6 on: Oct 5th, 2015, 12:26pm »
Quote Quote  Modify Modify

Hi I encountered this as well, it looks like in the actual client script (bin/ftvusbnetctl) they specify the port as 1024. It looks like yours is running on 33000, by opening that script in a text editor and changing all the values from 1024 to 33000 you should be able to get a list of devices.
IP Logged
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print

« Previous topic | Next topic »
Online Talk to our
support team or
sales department.