User(s) browsing this thread: 1 Guest(s)
|
[200] Auto_Mount v0.4 - Script to Mount USB Drive with the Label - C200/A200
|
|
01-06-2010, 08:15 PM
|
|||
|
|||
|
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
Hi, Type "/bin/sh" first, then type the required commands after. When finished type 'exit'.
Oversight: Jukebox | FeedTime: Automatic nzbs |
|||
|
01-06-2010, 08:22 PM
|
|||
|
|||
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
(01-06-2010 08:15 PM)lordy Wrote: Hi, Type "/bin/sh" first, then type the required commands after. When finished type 'exit'. Thank you for your advice, but here is the result : D:\CAPTURE\Netcat>nc 192.168.1.18 2222 Enter command to run: /bin/sh Cmd is '/bin/sh' Spawning. sh-3.00# ps |grep auto_mount /bin/sh: line 1: sh-3.00#: command not found I think the program did not strart. Do you know how I could start the program ? The program is in Apps/auto_mount/auto_mount I do not know how to use netcat to change directories, or how to launch a program. Could you please help me ? Thank you, Adrian. C-200 - DVICO M-6500 A - USB NTFS HDD Windows 7 64bit PC - 10/100 LAN Harman Kardon AVR 132 Optical Connection TV Composite - Projector Acer 720p HDMI |
|||
|
01-07-2010, 04:19 AM
|
|||
|
|||
|
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
I just gave my screen shot for reference. Do't type sh-3.00# which is a shell prompt.
Do the following steps d:\Capture\Netcat>nc 192.168.1.18 2222 Enter command to run: sh Spawning. sh -i (then you will get the prompt like below) sh-3.00# then type ps|grep auto_mount Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
01-07-2010, 07:47 AM
|
|||
|
|||
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
(01-07-2010 04:19 AM)vaidyasr Wrote: I just gave my screen shot for reference. Do't type sh-3.00# which is a shell prompt. I am sorry vaidyasr, but I know 0 in netcat. Here is the result : D:\CAPTURE\Netcat>nc 192.168.1.18 2222 Enter command to run: sh Cmd is 'sh' Spawning. sh -i sh-3.00# ps|grep auto_mount 760 root 3344 S /bin/sh /share/Apps/auto_mount/auto_mount 29328 root 2912 R grep auto_mount sh-3.00# Is this good? What should I do now ? Thank you, Adrian. C-200 - DVICO M-6500 A - USB NTFS HDD Windows 7 64bit PC - 10/100 LAN Harman Kardon AVR 132 Optical Connection TV Composite - Projector Acer 720p HDMI |
|||
|
01-07-2010, 09:25 AM
(This post was last modified: 01-07-2010 10:02 AM by vaidyasr.)
|
|||
|
|||
|
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
Yes, it seems the script is running fine. It is strange. I am just using the same copy in my C200. I have reviewed the script also. I haven't used any other commands apart from busybox which is already packaged. can you please let me know the contents of /etc/samba/lib/smb.conf from your C200 after you switched on the USB drive?
Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
01-07-2010, 09:41 AM
(This post was last modified: 01-07-2010 10:35 AM by agabrean.)
|
|||
|
|||
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
(01-07-2010 09:25 AM)vaidyasr Wrote: Yes, it seems the script is running fine. It is strange. I am just using the same copy in my C200. I have reviewed the script also. I haven't used any other commands apart from busybox which is already packaged. can you please let me know the contents of /etc/samba/lib/smb.conf from your C200 after you switched on the USB drive? Hi, I'll do that tonight when I get back home from work. Maybe it's because my USB HDD's are NTFS ? It might have something to do with the fact that they are read-only for the moment ? Anyway, I just want you to know how much I appreciate your effort in helping me. Thank you, Adrian. (01-07-2010 09:25 AM)vaidyasr Wrote: Yes, it seems the script is running fine. It is strange. I am just using the same copy in my C200. I have reviewed the script also. I haven't used any other commands apart from busybox which is already packaged. can you please let me know the contents of /etc/samba/lib/smb.conf from your C200 after you switched on the USB drive? Hi again, I just thought that I do not know how to get to /etc/samba/lib/smb.conf This folder /etc/ is in my Share ? Can I access it via my windows explorer ? Or do I have to see the content of smb.conf via netcat ? If I have to use netcat, could you please tell me the commands to use in order to get it ? Thank you, Adrian. C-200 - DVICO M-6500 A - USB NTFS HDD Windows 7 64bit PC - 10/100 LAN Harman Kardon AVR 132 Optical Connection TV Composite - Projector Acer 720p HDMI |
|||
|
01-07-2010, 07:35 PM
|
|||
|
|||
|
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
Hi,
I'm at home, and I have no ideea how to get to /etc/samba/lib/smb.conf Could you please tell me how I could do that ? Thank you, Adrian. C-200 - DVICO M-6500 A - USB NTFS HDD Windows 7 64bit PC - 10/100 LAN Harman Kardon AVR 132 Optical Connection TV Composite - Projector Acer 720p HDMI |
|||
|
01-07-2010, 08:24 PM
|
|||
|
|||
|
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
very interesting to me.
I installed it, but we must do something eg to make it work? configure some file? thanks |
|||
|
01-08-2010, 03:29 AM
|
|||
|
|||
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
(01-07-2010 07:35 PM)agabrean Wrote: Hi, Using the same steps you do for type the command ps|grep auto_mount do the following steps. nc IP 2222 (netcat from your pc to C200) Spawning sh sh -i sh-3.00# cp /etc/samba/lib/smb.conf /share exit exit Then do the ftp to you C200 and get the file smb.conf from /share directory and view in notepad and paste in forum. Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
01-08-2010, 07:40 AM
(This post was last modified: 01-08-2010 07:55 AM by agabrean.)
|
|||
|
|||
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
(01-08-2010 03:29 AM)vaidyasr Wrote: Using the same steps you do for type the command ps|grep auto_mount do the following steps. Here it is : Code: [global]Would it be possible to manually edit this smb.conf file and replace it on PCH? I mean, until we find a solution as to why your script does not work, I could just manually edit this smb.conf file from my PC everytime I disconnect or reconnect an USB ? If it's possible to do it manually, could you please tell me how to replace the file on the pch? Thank you, Adrian. C-200 - DVICO M-6500 A - USB NTFS HDD Windows 7 64bit PC - 10/100 LAN Harman Kardon AVR 132 Optical Connection TV Composite - Projector Acer 720p HDMI |
|||
|
01-08-2010, 08:59 AM
|
|||
|
|||
|
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
Edit smb.conf is possible, but will be auto edited by system, once you remove the USB drive from C200.
One final information from you is required. Once you have connected any of your USB drive to C200, please list the content from / drive. You can wait for 10-20 seconds and then you can list the contents as below. After you typed sh -i you will get the prompt sh-3.00# then type cd / then type ls -l >/share/files.txt then get the file files.txt from your C200 using ftp and post it here. Please make sure your any one of your USB drive is switched on and wait for 10-20 seconds after you switched on. Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
01-08-2010, 09:23 AM
|
|||
|
|||
|
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
it's too hard for me.....
![]()
|
|||
|
01-08-2010, 09:38 AM
|
|||
|
|||
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
(01-08-2010 09:23 AM)duramadre Wrote: it's too hard for me..... It is working fine for me which is released in CSI. So, I just want to check what's going on in his C200, so that it can be fixed. Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
01-08-2010, 10:06 AM
|
|||
|
|||
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
(01-08-2010 09:38 AM)vaidyasr Wrote: It is working fine for me which is released in CSI. So, I just want to check what's going on in his C200, so that it can be fixed. Hi vaidyasr, I'll post the info you requested tonight when I get home. Thank you, Adrian. C-200 - DVICO M-6500 A - USB NTFS HDD Windows 7 64bit PC - 10/100 LAN Harman Kardon AVR 132 Optical Connection TV Composite - Projector Acer 720p HDMI |
|||
|
01-08-2010, 11:23 AM
|
|||
|
|||
|
RE: Auto_Mount v0.1 - Script to Rename USB drives with DRIVE_NAME
but theoretically just install automount via CSI and should work without you have to do?
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
[19. June 2013] Soundcloud® available now






![[+]](images/collapse_collapsed.gif)




