Weblogs for e5z8652
#5
Posted by e5z8652 on Tue 24 Jun 2008 at 05:57
Recently had an issue where Samba was malfunctioning, specifically winbind. wbinfo -u and wbinfo -g failed, and log.winbindd had "Could not receive trustdoms" errors when winbindd was started.
This entry has been truncated read the full entry.
#4
Posted by e5z8652 on Mon 9 Jun 2008 at 19:06
I am used to mail acting like the standard mail reader and a bare-bones text only user agent, and mailx acting like a more fully featured system, with the single killer feature that you can attach arbitrary files to it with with 'mailx -a foo'.
On Debian systems, mail and mailx are just symlinks to the same binary, and by default you get the basic version with mailutils. With the mailutils version the -a flag appends headers to the message, which I rarely have any need to do.
If you want the appropriate mailx behavior on Lenny, install the heirloom-mailx package. On Etch, install nail.
On Debian systems, mail and mailx are just symlinks to the same binary, and by default you get the basic version with mailutils. With the mailutils version the -a flag appends headers to the message, which I rarely have any need to do.
If you want the appropriate mailx behavior on Lenny, install the heirloom-mailx package. On Etch, install nail.
#3
Posted by e5z8652 on Mon 9 Jun 2008 at 02:54
For some reason, ntfs-config hasn't been packaged for Debian. I think there is a wishlist item for it, but no ITP bug filed.
Really, if I knew more about packaging, I would do it. Ubuntu has had this packaged for some time.
In any case if you need to mount NTFS formatted drives automagically while in KDE and you have ntfs-3g installed, but you are tired of seeing a bunch of hal refused UID xxxx errors if you plug in an NTFS formatted external drive (or you want to mount your XP partition for dual boot) the solution is ntfs-config. (A workaround is to log into X as root, but I don't like that.)
Grab the source here: http://flomertens.free.fr/ntfs-config/download.htm
Unpack the source wherever you keep your packages. If you do a simple ./configure, make, make install you will find ntfs-config in /usr/local/bin, which is good enough for me. If you're working with more than one machine check into making debian packages from the source -- checkconfig is easy, but at the time of writing it's not available for Lenny.
It is an X based tool, so: su-to-root -X -c ntfs-config
To avoid the hal errors, enable read/write access for the device class. Classes are either internal or external, for non hot-plug or hot-pluggable devices respectively.
On my dual boot laptop, I chose read-write access for both internal and external drives. That lets me access my XP MCE drive just by clicking on the desktop icon. I can also access USB drives that have NTFS formatting. (And yes, sometimes I need to do this without having the ability to reformat to ext3.)
On my Etch desktop, I chose read-write access for only external drives.
ntfs-config doesn't do much in the way of magic. All it does is drop some XML hal policy files into key directories. If you have ntfs-3g installed and want error free access to NTFS USB hard drives all you need to do is paste the following XML into a file in /usr/share/hal/fdi/policy/10osvendor, on my system the file is titled 20-ntfs-config-write-policy.fdi:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<!-- file created by ntfs-config -->
<!-- mount ntfs volume with the ntfs-3g driver to enable write support -->
<device>
<match key="volume.fstype" string="ntfs">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
</match>
</match>
</device>
Anyway. Hopefully before too much longer, it will be as easy as `apt-get install ntfs-config`
Really, if I knew more about packaging, I would do it. Ubuntu has had this packaged for some time.
In any case if you need to mount NTFS formatted drives automagically while in KDE and you have ntfs-3g installed, but you are tired of seeing a bunch of hal refused UID xxxx errors if you plug in an NTFS formatted external drive (or you want to mount your XP partition for dual boot) the solution is ntfs-config. (A workaround is to log into X as root, but I don't like that.)
Grab the source here: http://flomertens.free.fr/ntfs-config/download.htm
Unpack the source wherever you keep your packages. If you do a simple ./configure, make, make install you will find ntfs-config in /usr/local/bin, which is good enough for me. If you're working with more than one machine check into making debian packages from the source -- checkconfig is easy, but at the time of writing it's not available for Lenny.
It is an X based tool, so: su-to-root -X -c ntfs-config
To avoid the hal errors, enable read/write access for the device class. Classes are either internal or external, for non hot-plug or hot-pluggable devices respectively.
On my dual boot laptop, I chose read-write access for both internal and external drives. That lets me access my XP MCE drive just by clicking on the desktop icon. I can also access USB drives that have NTFS formatting. (And yes, sometimes I need to do this without having the ability to reformat to ext3.)
On my Etch desktop, I chose read-write access for only external drives.
ntfs-config doesn't do much in the way of magic. All it does is drop some XML hal policy files into key directories. If you have ntfs-3g installed and want error free access to NTFS USB hard drives all you need to do is paste the following XML into a file in /usr/share/hal/fdi/policy/10osvendor, on my system the file is titled 20-ntfs-config-write-policy.fdi:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<!-- file created by ntfs-config -->
<!-- mount ntfs volume with the ntfs-3g driver to enable write support -->
<device>
<match key="volume.fstype" string="ntfs">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
</match>
</match>
</device>
Anyway. Hopefully before too much longer, it will be as easy as `apt-get install ntfs-config`
[0 Comments
| Add Comment
|
]
#2
Posted by e5z8652 on Fri 27 Oct 2006 at 06:08
I am more used to the fairly rational world of servers. A few config files that have global impact. Want Postfix to act differently? Edit /etc/postfix/main.cf and reload. Want to add a virtual host to Apache? Edit /etc/apache/httpd.conf and you're good.
I also use a desktop (KDE) and I like my multimedia. The desktop environment is a very different world than a server environment though.
I also use a desktop (KDE) and I like my multimedia. The desktop environment is a very different world than a server environment though.
This entry has been truncated read the full entry.
[0 Comments
| Add Comment
|
]
#1
Posted by e5z8652 on Wed 4 Oct 2006 at 04:18
So jhabib's weblog about ssl-explorer has me thinking.
Currently I'm looking at alternatives to hardware VPN appliances - they're expensive and I don't like waiting for firmware upgrades after something is posted to bugtraq. And sometimes it's just too difficult to get them to talk to *nix boxes - setting up Microsoft mppe on a Debian box just seems pointless when there are so many better alternatives.
Currently I'm looking at alternatives to hardware VPN appliances - they're expensive and I don't like waiting for firmware upgrades after something is posted to bugtraq. And sometimes it's just too difficult to get them to talk to *nix boxes - setting up Microsoft mppe on a Debian box just seems pointless when there are so many better alternatives.
This entry has been truncated read the full entry.