Thread
:
How do i map a windows shared drive
View Single Post
brendan
2007-04-14 , 17:16
Posts: 531 | Thanked: 79 times | Joined on Oct 2006 @ This side of insane, that side of genius
#
2
search this forum for "cifs.ko". there is a couple of threads about this.
as far as doing this automatically, it gets to be a pain-in-the-butt. the process requires root user to insert a kernel module (insmod), and perform the mount commands.
i am trying to work on a script where you could sudo <scriptname> and have it done, but the /etc/sudoers part is hanging me up a bit.
one could also write an init script to be put in /etc/init.d and soft linked to /etc/rc3.d (the default runlevel) to perform this.
as another option you could sudo gainroot and then run a script or issue commands to the following effect...
/sbin/insmod /path/to/cifs.ko
/bin/mount -t cifs //hostname[or ip.add.re.ss]/and/share/path/ /local/mount/point/ -o domain=domain.name,user=username,password=secret
__________________
Nokia n800
OS 2008
Pharos iGPS 360-BT
ElmScan 5 BlueTooth
BlackBerry Bold (9000)
AT&T Wireless
Quote & Reply
|
brendan
View Public Profile
Send a private message to brendan
Find all posts by brendan