Author Topic: Automatically run smbmount?  (Read 2475 times)

Ansel_Tk1

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Automatically run smbmount?
« on: September 03, 2004, 11:42:09 am »
Hope someone will point me in the right direction

I mainly use my C860 (Cacko 1.21) to play MP3s shared on my windows machine. On starting up my Z, I go to Konsole, and log in as SU and put in the password. I then have to type the smbmount command to mount the windows share on to /mnt/card/mp3 so I can access the files in music player.

Is there a way to script/automatically do all this when the Z starts up each time?

On another topic, does anyone know of a way to share MP3s and create a library on my local webserver so I can access them on my Z? It takes a long time to bring up the directory list on the Z through the windows share.

Thanks for your help!

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
Automatically run smbmount?
« Reply #1 on: September 07, 2004, 06:33:19 pm »
The hotplug mechanism is probably what you're after.  Assuming you want the script to fire off whenever you put the Z in its cradle, see my comments in this thread:
https://www.oesf.org/forums/inde...?showtopic=4793

If you're looking to do this wirelessly instead, you'll have to tie it to that port, instead of the usb port.  

Or, if you really do want this to fire off whenever the Z is started, add the commands to the appropriate script below /home/etc/rc.d.