Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi, I've used linux for basic things in the past but I'm afraid I need to recompile a kernel and I don't even know where to get started. There's so much information on google and I'm not familiar with the terminology to even know how to effectively search for what I'm looking for.
Basically, I'm loading Ophcrack via TFTP/PXE, but I want to be able to mount one of the shares on my samba server instead of it looking for a /tables/ folder on the current device. I already know how to modify the launch.sh script to get it to do what I want, however I'm stuck on how to mount a samba share through CIFS.
returns that the module is not loaded or is not found. Is there a way to add mount.cifs?
mkdir -p /mnt/tables/
mount -t cifs //10.10.2.3/pxeboot/ophcrack/tables/XP/ /mnt/tables/
As you can see from the above, mount.cifs is a command, not a loadable kernel module. Once you load the cifs module, you should have access to the mount.cifs command.If you google around you can probably find some examples to get you on the right track.
Samba is not a kernel module, so it has not to be loaded into the kernel. There are to possibilities why the is no kernelmodule "cifs" in your system:
1. Your kernel was built with the "cifs"-functionality built right into kernel, so there is no need to load a module.
2. Your kernel was built with the complete lack of the "cifs"-functionality. In this case you have to build a new kernel.
Looking at you mount-command (and the failure of it) from the first post I wonder if your share's name is really pxeboot/ophcrack/tables/XP/ ?
Please post your smb.conf and the full output of your mount-command from the first post.
If it helps, here's my xterm so you can see what I'm doing...
root@slitaz:~# mkdir -p /mnt/tables
root@slitaz:~# mount.cifs //10.10.2.3/pxeboot/ohpcrack/tables/XP /mnt/tables
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I did look at the manual, but it has no information relating to my specific problem.
Also, # find / smb.conf returned No such file or directory. Where would this be located?
Last edited by nevermind04; 10-04-2010 at 03:39 PM.
Yes, smbfs was loaded as one of the dependencies of samba. I force reinstalled it, but it still does not work.
I do not have access to the actual samba machine or smb.conf, but I can access it in debian with smb://10.10.2.3/pxeboot/ohpcrack/tables/XP/ and in windows with \\10.10.2.3\pxeboot\ophcrack\tables\XP\ so I do know that it is functioning.
Which version of slitaz is ophcrack using? According to their website the modprobe cifs command should work and the smbfs module should be installed to mount samba-shares. I don't know why it is not functioning.
I have no idea how to check which version of SliTaz I'm running.
Spider Menu->System tools->System Information
Doesn't seem to be working. I scoured google trying to find a command to get a version number out of this thing, but I found nothing.
There seems to be an ophcrack-package in the slitaz-repositories, maybe it is the easiest way to build your own ophcrack version from scratch with a current slitaz-kernel.
Sorry I can't give you more help.
Man, I have absolutely no idea how to do that. I have only a basic understanding of linux systems, so rebuilding a kernel sounds terrifying. Thank you for all of your help, I believe we have made at least a little progress...