-
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

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$169.99

RYZEN 7 9800X3D 8-Core, 16-Thread Desktop Processor
$440.00

Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU
$529.95

8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard
$377.77

Intel SRG13 Core i7-9700 3.00GHz Socket 1151 8 Core CPU Processor LGA1151
$77.99

MacBook Air 13 2020 M1 8-Core CPU 7-Core GPU 8GB RAM 256GB Storage Gold
$399.00

AMD Ryzen 7 9800X3D 8-Core AM5 CPU 4.7GHz 96MB L3 8MB L2 100MHz
$389.99

DELL LATITUDE 3500 15.6" Intel Core i5-8265U 1.60GHz 8GB RAM 128GB SSD Win 11
$85.95

Lenovo ThinkCentre M920S Sff Intel Core i5 8600 8GB 256GB SSD Windows 11 Pro
$94.99

CHUWI 15.6'' Laptop 8GB RAM 256G SSD Intel Celeron Quad-Core 2.80 GHz HD 1080P
$197.99