mounting windows sharesForum: Networking Topic: mounting windows shares started by: SP250 Posted by SP250 on Oct. 27 2005,23:12
Hi All,Newbie question here. I'm running DSL ver2RC1 but I'm not sure if it's an RC question I've tried mounting a windows share with the following procedure in a root shell mkdir remote mount -t smbfs -o username=administrator,password=topsecret //102.32.0.129/temp remote this returns mount:wrong fs type, bad option, bad superblock on //102.32.0.129/temp, or too many mounted file systems Do I need to do anything to the NTbox apart from sharing the dir ? Posted by Your Fuzzy God on Oct. 28 2005,14:11
As long as the folder is shared on the NT box you should be okay. From the error, it looks like Samba is not installed. Download the Samba.dsl file and try mounting the share again.
Posted by AwPhuch on Oct. 28 2005,15:26
Using the Samba Linneighborhood gui is alot easier as wellWhen you burn your cd, just hotload the samba.dsl in the root of the cd and it will autoload and be ready to go! P.S. This is the method I use to rescue a virused or crashed out M$ OS..just boot with samba.dsl...mount the hda1, mount the shared M$ dir on another network machine with enuff HD space to store the data...and offload all the data to the network share...wipe the infected drive, re-install and then I have ALL the data from the old machine saved Brian AwPhuch Posted by cbagger01 on Oct. 30 2005,05:36
Of course, all this help depends on the assumption that you have already visited the myDSL repository and installed the "samba.dsl" extension for your computer system.Sometimes I like to point out the obvious in case it was over-looked. Posted by dentonio69 on Oct. 31 2005,03:23
I've downloaded the Samba GUI and I can see the computers but it won't let me mount them...any suggestions?
Posted by Your Fuzzy God on Oct. 31 2005,16:31
right click on the comp name-->scan as user and enter username and password of someone who has permission to access the comp.
Posted by AwPhuch on Oct. 31 2005,17:45
In the gui you have to specify which username/password it will mount it as... Brian AwPhuch Posted by AwPhuch on Oct. 31 2005,17:49
I use the program called < WinISO > to open the downloaded .iso of DSL and put the samba.dsl on it (the unregistered "shareware" version will only support 100Megs or smaller, so it still will work!) (but for $30 its the most useful program I have purchaced) Any/all new cd's I burn have samba.dsl built in from the start...this way I have network file share capability from the getgo! Brian AwPhuch Posted by clivesay on Oct. 31 2005,17:59
If you don't mind a little command line action I like to do
To open the ISO in the directory /mnt/test. I do this for frugal upgrades but there is nothing stopping you from going to that dir, adding dsl files and doing
Basically the same thing as using the mkmydsl script in the menu. No MB limitations Chris Posted by dreamcarrior on Nov. 28 2005,22:59
I have successfully mount the windows share folders with LinNeighborhood. However, the samba server doesn't seem to mount after the 4th level of the windows share. Any help?
Posted by dreamcarrior on Nov. 29 2005,19:27
I figured myself. I tried to load the network mount automatically during each startup using daemon on top of /mnt/hda3/mnt. This means that I would have to mount /dev/hda3 before I could mount the network mounts. Since I was using daemon, and the daemon did not check the mount point, I ended up with mounting nothing.So I mount the network shares with LinNeighborhood, and export the mountscript. Then I modified the mountscript so that the mountpoints will be restored before network mounting. The mountscript looks like the following, #! /bin/sh # SMB mount script # created by LinNeighborhood mkdir /home/dsl/mnt mkdir /home/dsl/mnt/MODELINGCENTER mkdir /home/dsl/mnt/RELAXATION mkdir /home/dsl/mnt/MODELINGCENTER/Data160G mkdir /home/dsl/mnt/MODELINGCENTER/Data80G mkdir /home/dsl/mnt/RELAXATION/F mkdir /home/dsl/mnt/RELAXATION/Incoming smbmount //MODELINGCENTER/Data160G /home/dsl/mnt/MODELINGCENTER/Data160G/ -o username=username%password,fmask=666,dmask=777,uid=1001,gid=50,ip=192.168.0.102,debug=0,workgroup=WORKGROUP smbmount //MODELINGCENTER/Data80G /home/dsl/mnt/MODELINGCENTER/Data80G/ -o username=username%password,fmask=666,dmask=777,uid=1001,gid=50,ip=192.168.0.102,debug=0,workgroup=WORKGROUP smbmount //RELAXATION/F /home/dsl/mnt/RELAXATION/F/ -o username=username%password,fmask=666,dmask=777,uid=1001,gid=50,ip=192.168.0.100,debug=0,workgroup=WORKGROUP smbmount //RELAXATION/Incoming /home/dsl/mnt/RELAXATION/Incoming/ -o username=username%password,fmask=666,dmask=777,uid=1001,gid=50,ip=192.168.0.100,debug=0,workgroup=WORKGROUP Then I add the mountscript in /opt/bootlocal.sh to mount the network share during boot. |