Freitag, 22. Februar 2008

CIFS/SMB mount problem on Debian

Situation:
//10.0.0.1/share /mnt/sharemount cifs rw,noexec,nosuid,password=,username=someusername,nodev
in my /etc/fstab for mounting a CIFS network share.

Problem When trying to mount (with mount command)
Command lines output:
mount: wrong fs type, bad option, bad superblock on //10.0.0.1/share,

missing codepage or helper program, or other error

(for several filesystems (e.g. nfs, cifs) you might

need a /sbin/mount. helper program)

In some cases useful info is found in syslog - try

dmesg | tail or so


dmesg output:
CIFS VFS: cifs_mount failed w/return code = -22


Reason:Seems like its missing the mount.cifs script/binary or somethine else that comes with the smbfs package.

Solution:
aptitude install smbfs

This installs mount.cifs and probably more. It resolved it in my case.

Montag, 11. Februar 2008

appletviewer does nothing / exits immediately

Problem: When calling appletviewer file.html it exits immediately, does nothing, outputs nothing

Solution: Use verbose applet tag format:
< applet param=value > < /applet>
instead of
< applet param=value />
.

Furthermore this format doesn't even work with XHTML.

Samstag, 2. Februar 2008

LaTeX tabular

Problem:
! Missing # inserted in alignment preamble.
during LaTeX document compilation.

Reason: Missing alignment fields in a tabular environment:
before: \begin{tabular}{|||}
after: \begin{tabular}{|c|c|}