-
Mounting SMBFS under Knoppix 2 cheat code
How come mounting a windows share under text mode does not work but the default xwindows cheat code works fine?
sample command:
mount -t smbfs //10.1.1.3/share /mnt/win
I have IP address, permissions and /mnt/win made already.
Does it have to do the rc.X startup scripts?
I get after putting in the password:
437: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
-
Senior Member
registered user
put a "-o username=knoppix" at the end of that command without quotes, and create the user knoppix on the windows machine with the same password as user knoppix on the knoppix machine, and rights to access the share. Have to create a samba user also that uses that password I think. At least that's how I got samba mounting work.
I hardcoded overclockix to share its home and its whole filesystem, but that only works if you hdd-install it. For mounting windows partitions I made a sheel script called mountnetdrive.
Useage of it is:
sudo mountnetdrive [unique character] [host] [share] knoppix
then enter knoppix's password
The unique character is appended to the default mount point. Ie if you used "1", then the share would be mounted to /mnt/netdrive1
-
I figured it out
I was accessing the Windows box with a local account, so Samba (hardcoded my domain in the remastering of the www.damnsmalllinux.org CD, installing smbfs) was thinking it was in my domain which it wasn't and i was getting the permision error.
so
mount -t smbfs //windowspcipaddresshere/share /mnt/win -o username=myusername,domain=mydomain
get asked for pass and it works.
-
remove the domain part
,domain=mydomain
Similar Threads
-
By alxdotnet in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 02-12-2004, 05:51 PM
-
By dng88 in forum General Support
Replies: 5
Last Post: 12-04-2003, 11:37 PM
-
By hankster in forum General Support
Replies: 1
Last Post: 04-04-2003, 09:37 AM
-
By bassbrnr in forum General Support
Replies: 3
Last Post: 03-10-2003, 03:21 AM
-
Replies: 2
Last Post: 02-20-2003, 09:03 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

HPE ProLiant MicroServer Gen10 Plus 32GB RAM Xeon E-2224 3.40Ghz No HDD No AC
$750.00

HP ProLiant MicroServer Gen8 Tower Server Xeon E3-1220 v2 2.3GHz 16GB RAM
$289.99

HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD
$249.99

POGO ATLAS 1102 Server 32 Gb RAM 4TB Storage 2x2TB HDD’s (Tested-Working) No OS
$179.85

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server
$689.00

Supermicro Super Server 1029U-TN10RT Dual Xeon Silver 4210 - 10-Bay NVMe Rack
$500.00

Supermicro SuperServer E300-15 - SYS-e300-9C - 16GB RAM 240GB Samsung SSD
$199.99

ASRock Rack ROMED8-2T/BCM Server Motherboard For Parts/Repair
$365.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99