View previous topic :: View next topic |
Author |
Message |
mvbv-linux n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Dec 2003 Posts: 50 Location: Belgium
|
Posted: Tue Jan 27, 2004 12:24 pm Post subject: mount -t smbfs |
|
|
Hi,
When I try to mount windows shares from my gentoo box with mount -t smbfs, I always get the following error : wrong fs type or bad superblock...
I've compiled the kernel with the smbfs support. I haven't done an emerge of samba yet.
Do I absolutely need to have samba installed on it or does this nothing have to do with the problem ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
savage Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 01 Jan 2003 Posts: 161
|
Posted: Tue Jan 27, 2004 12:36 pm Post subject: I am pretty sure that you need samba to mount a winders shar |
|
|
once again - repeat of the title
I am pretty sure that you need samba to mount a winders share. Also, if you have samba emerged, and still can't mount it, you can use smbclient to troubleshoot.
savage |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nielchiano Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Tue Jan 27, 2004 12:38 pm Post subject: |
|
|
I'm not sure, but I think it is indeed needed to have samba installed...
what is the full command you give to mount? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vdboor Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1838866253fd58d8b00e53.gif)
Joined: 03 Dec 2003 Posts: 592 Location: The Netherlands
|
Posted: Tue Jan 27, 2004 12:38 pm Post subject: |
|
|
yes.
The samba suite contains some useful tools. You've enabled the kernel support only. To mount a smb share, the mount command calls mount.smbfs somewhere... and this doesn't exist until you install samba.
You try to communicate with a Windows-host, but as long as your computer can't be accessed with SMB-networking you can't communicate with other SMB hosts.. (meaning, it has a netbios-name in your windows networking, is part of a workgroup, etc..) If you configured samba correctly, a new computer icon should show up in your network neighbourhood, just like every other Windows system does.
samba can be configured in /etc/samba/smb.conf _________________ The best way to accelerate a windows server is by 9.81M/S²
Linux user #311670 and Yet Another Perl Programmer
[ screenies | Coding on KMess ] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mvbv-linux n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Dec 2003 Posts: 50 Location: Belgium
|
Posted: Tue Jan 27, 2004 12:47 pm Post subject: |
|
|
ok, thanks for the answer...I was ready to launch the emerge command yesterday, but finally didn't have enough time...that would have made this post useless...but as I have to wait until this evening , I couldn't let my question without an answer I hope it'll work... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
savage Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 01 Jan 2003 Posts: 161
|
Posted: Tue Jan 27, 2004 10:57 pm Post subject: mount command |
|
|
from memory - been a while since we have run Winders here....
mount -t smbfs //computer/share /tmp/noWindowsHere
I think you can use -o username=foo,password=bar also thus,
mount -t smbfs -o username=foo,password=bar //computer/share /tmp/noWindowsHere
ymmv.
savage |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vdboor Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1838866253fd58d8b00e53.gif)
Joined: 03 Dec 2003 Posts: 592 Location: The Netherlands
|
Posted: Wed Jan 28, 2004 1:02 pm Post subject: |
|
|
something like smb4k can be very useful in you run KDE. It's a gui to mount your shares. LinNeightbourhood (I don't recall how it's spelled, because everyone seams to spell it different) is a gtk program which does basically the same.
From your file manager (nautilus/konqueror) you can browse shares without mounting them. I think that both filemanagers just call smbclient internally. (smbclient is a ftp like program to browse shares)
Quote: | I was ready to launch the emerge command yesterday, but finally didn't have enough time...that would have made this post useless...
but as I have to wait until this evening |
I have a few suggestions for you: ssh, screen and halt. If you start the sshd service, you can access your machine remotely over a secure connection with an ssh-client. (PuTTY for Windows). Run a 'screen'. a screen can be used to keep commands running when you logout.
When you're logged in, run these commands:
- screen
- emerge samba -pv (check the flags, and remove -p when you're satisfied)
- run "emerge samba; halt" to automatically shut down your computer if the emerge command completes
- Ctrl+A+D ...this detaches the screen
- logout from your session. You can use "ps auxf", and notice that the screen is running
Login again, and
- use 'screen -r' to resume the screen. _________________ The best way to accelerate a windows server is by 9.81M/S²
Linux user #311670 and Yet Another Perl Programmer
[ screenies | Coding on KMess ] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mvbv-linux n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Dec 2003 Posts: 50 Location: Belgium
|
Posted: Wed Jan 28, 2004 6:40 pm Post subject: |
|
|
Thanks for these tips...they'll be useful soon ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|