Re: how to login automatically into Bash after booting?
On 8/11/2005, phyrster [EMAIL PROTECTED] wrote: Is there a way to let bash automatically login a user after booting up? The sarge box is just for home use and there is no remote login or other remote control sort of things. For the convenience of a local user (non root), how to make bash login a user automatically? I have never actually done this, but as a tip for a starting point: Virtual console login is handled by getty via /bin/login getty invocation is configured in /etc/inittab from looking at the manpage of getty, you might be able to have it run /bin/bash instead of /bin/login This would be done by editing /etc/inittab to have a line like 1:2345:respawn:/sbin/getty -l /bin/bash -n 38400 tty1 instead of what you've already got on tty1 Please let me know if that works. -Mark -- Mark Roach
Re: samba server
chuchyyy wrote: is there a relation between my problem and a configuration of common-auth in /etc/pam.d/, or common-passwd? Cause i did all advices that u told me but it doesnt work... Nope. PAM is for authentication. NSS is like DNS for user IDs On 5/17/05, chuchyyy [EMAIL PROTECTED] wrote: here is my ldif file : dn: cn=admin,dc=netc,dc=net objectclass: sambaSamAccount cn: admin o: netc uid : 0 mail: [EMAIL PROTECTED] sn: Administrateur then ldapadd. Ahh. This is not a posixAccount. NSS is going to be looking for posixAccount objects. Here's an example of an account: dn: uid=Administrator,ou=People,dc=dev,dc=com cn: Administrator objectClass: inetOrgPerson objectClass: sambaSamAccount objectClass: posixAccount objectClass: shadowAccount gidNumber: 512 uid: Administrator uidNumber: 0 homeDirectory: /home/Administrator sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaHomeDrive: H: sambaPrimaryGroupSID: S-1-5-21-36851585-1427149615-4264512839-512 sambaSID: S-1-5-21-36851585-1427149615-4264512839-2996 loginShell: /bin/false gecos: Netbios Domain Administrator userPassword:: sn: System Administrator displayName: System admin sambaPwdCanChange: 2004901635 sambaPwdMustChange: 2147483647 sambaLMPassword: sambaNTPassword: sambaPasswordHistory: sambaPwdLastSet: 2004901635 sambaAcctFlags: [U ] Keep in mind, there is no need for your Admin account to be your main ldap admin account. I have never tried making that account into a posix/samba user. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: samba server
On Tue, 2005-05-17 at 11:26 -0400, chuchyyy wrote: i ve got a problem. Im running open LDAP with samba server. I have an LDAPadministrator which is referred to as admin. i added my computer windows 2K to LDAP with smbldap-useradd -w from smbldap-tools. Now i can't join the samba server with admin. it says that unknown user name or bad password. From the samba system, what does id admin give you? It should give something like this: ~# id Administrator uid=0(root) gid=512(Domain Admins) groups=0(root) Yup, you saw that right, uid=0. This is necessary unless you are using samba 3.0.11+ with privileges. if instead, it says no such user this means you need to install libnss-ldap, and modify /etc/nsswitch.conf to have the lines: passwd: compat ldap group: compat ldap -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: samba server
chuchyyy wrote: Hi Mark, thx for your response ! I tried id admin : no such user like u said. I had already install libnss-ldap, but i had files ldap for passwd and group. but id admin still doesnt work. id root says: uid=0(root) gid=0(root) groups=0(root) But the LDAP administrator is admin not root ... i dont understand why... OK, I think I know what the problem is. The admin account that you are logging in as is probably not a posixAccount. It's probably the one that debian sets up by default, cn=admin,dc=yourdomain,dc=com, right? That isn't a real system user. It sounds as though your ldap directory does not yet contain posix/samba user accounts... plugTry my app edsadmin (http://edsadmin.sf.net) to connect to your ldap server and create accounts./plug *You'll need to make sure your slapd.conf includes the samba.schema* -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Network scan
Alexandar Angelov wrote: Mark Roach wrote: On Sun, 2005-05-15 at 00:39 +0300, Alexandar Angelov wrote: Do you know any command(script) to scan range from 192.168.35.1 to 92.168.35.255 and return if port :80 , :21 and MAC Addr. nmap -Mark MAC? If you just want the MAC address of a host (not sure why you would), run 'arp hostname' -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Network scan
On Sun, 2005-05-15 at 00:39 +0300, Alexandar Angelov wrote: Do you know any command(script) to scan range from 192.168.35.1 to 92.168.35.255 and return if port :80 , :21 and MAC Addr. nmap -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ldap, kerberos and ssh-krb5
David Parutki wrote: I have a working installation with account information in ldap, workstations accessing account information via libnss-ldap and nscd. Further, a kerberos kdc with principals matcing users in ldap. All machines have a krb5.keytab. Home directories are currently served via nfs from one server to the workstations. [...] But with the centralized account handling described above I'm running out of options. Do I need to modify the /etc/pam.d/ssh file although I do not want to send any passwords over the network (even in a ssh-session)? The first thing I would try is running both sshd and ssh in debug mode. I usually start sshd like sshd -Deddd -p 3022 and ssh like ssh -vvv -p 3022 hostname Give that a shot, and it should hopefully explain in a pretty straightforward way what the problem is. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: apt-get --reinstall doesn't work
Marty wrote: I tried to replace the following missing files, /etc/hotplug/usb/libgphoto2 /etc/hotplug/blacklist.d/libsane using the following (correct) commands: apt-get --reinstall install libsane apt-get --reinstall install libgphoto2-2 The commands ran without evident error, but neither missing file was replaced. dpkg -P followed by apt-get install replaced the missing files. Either there is a bug somewhere (but where?) or I am missunderstanding something. Any help is appreciated. I haven't looked at those packages, so this is just a guess, but it's likely that those files are marked as conffiles in the packages, and are therefore not going to be installed more than once. You might want to try apt-get remove --purge packages and then do the reinstall. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: logout trouble with GDM and LDAP+Krb5+AFS
Marcio Scheibler wrote: Hi List, I'm using Gdm for login, libnss-ldap for general user accounts, libpam-krb5 for auth and libpam-openafs-session for getting AFS tokens. For while home dirs are local, not AFS. Networked (LDAP/krb5) accounts works well. GDM login gives me (through PAM) gives me kerberos tickets and AFS token. After that I log out and get GDM login screen just like it should be. However, if I log in using a classical local account (/etc/passwd entry, no Kerberos principal), when I try to logout, gnome seems to end session OK, but X Server just does not close and shows its traditional appearance (gray-pixmapped background and X-shapped mouse cursor) without any action available except mouse-cursor moving. At same time, GDM complains that vt7 is being locked by that X instance, and ask me to start another X server at vt8. Seems like a strange problem. What I would check is whether there are processes that are not dying which are preventing X from shutting down. If you recreate the problem, then ctrl+alt+f1 and log in as root, do a ps aux | grep username to see what processes (if any) are still hanging out there. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [debian] Re: Gnome File Association
On Fri, 2005-04-29 at 17:38 +1000, Keith Bates wrote: No, that just gives you option to open it with, but no permanent association. What I'm really tring to do is open a pdf file using the sylpheed email reader which is built on Gtk2. When you click on an attachment you get options to open or open with application. When I click on open nothing happens. I'm assuming this is an association problem somehwere in gnome. If you are using Gnome 2.8+ it does. You need to right-click and choose properties, the choose the Open With tab. It will say to pick a program to open foo.pdf and others of type .pdf Since you are using sylpheed though, I'm not sure whether it is using Gnome's file associations (or, if it is, whether it's using the new fd.o standard). You may need to pose it as a sylphed associations question. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Disabling minimize animation in GNOME
On Fri, 2005-01-07 at 21:35 +0700, David Garamond wrote: I'm using Sarge with GNOME 2.6 (haven't updated to 2.8). There's a 'shrinking box' animation when you minimize a window. How do I disable it? It gets pretty annoying after a while. You'll want to set /apps/metacity/general/reduced_resources to True using either Applications-System Tools-Configuration Editor or running gconftool-2 -t bool -s /apps/metacity/general/reduced_resources true -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: LDAP + Kerberos = Bloody Nightmare!
On Wed, 2004-12-22 at 22:27 -0800, Don Werve wrote: I'm setting up an authentication system backended by OpenLDAP and Kerberos, and want to stick with as much in the way of Debian-packaged software as possible. Getting LDAP and Kerberos to work hasn't been difficult, but getting LDAP to authenticate against Kerberos has proven to be all but impossible. Any takers? Hi, Don. You're right, it can be a real pain to wade through the configuration details. Myself and others are working to improve this situation. http://kis.alioth.debian.org/ has some good info to get started, and the beginnings of some configuration software. shameless plug My own EDSAdmin (http://edsadmin.sourceforge.net) is currently a nice, simple tool to manage an LDAP directory, and will be getting support for maintaining kerberos passwords alongside an LDAP directory in the next week or two (I just finished writing the kerberos admin interface). So, please check that out and give any feedback you might have. /shameless plug I will send you copies of my config files off list, feel free to ask any more questions. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: What's customized in Debian-based distros?
On Fri, 2004-12-17 at 08:39 -0500, Christian Convey wrote: I've heard people advocate the newbie-kindness of distros like Ubuntu and Mepis. If ultimately they use the same set of packages, then what's different at a technical level between these and plain old Debian? Do they differe merely in the set of initially installed packages and what they do under /etc ? This is probably more specificity than you wanted. But here is an exact list of what's different in ubunutu: http://patches.ubuntulinux.org/patches/ -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Python error causes reboot
On Fri, 2004-12-17 at 12:24 +1100, Brendan Simon wrote: I'm writing a Python application using the wxWidgets binding and calling the net-snmp command line utils via popen. Often when I make a simple mistake in the python code, something goes horribly wrong and the machine (PowerMac running testing and kernel-2.6.8.1) reboots. I'm running is user space so why does the whole machine die This is not really enough information. Can you give an example of code that causes this problem? Does the code cause your cpu to work too hard, possibly tripping a hardware shutdown? I've never had this happen myself and have been working with python and wxpython (and popen etc.) for about 4 years. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: LDAP Authentication issue.
On Thu, 2004-12-16 at 15:24 +, U n d e r a c h i e v e r wrote: My problem is that local logins for the new (ldap only) users don't work where password authentication is required:- access to attr=userpassword by dn=cn=Manager,dc=example,dc=com write by self write ... anonymous needs to be able to auth against userPassword access to attribute=userPassword by dn=cn=Manager,dc=example,dc=com write by anonymous auth by self write by * none That might help a bit. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnome file picker
On Thu, 2004-12-16 at 16:12 -0500, Matt Price wrote: hi folks, trying out a couple of gnome programs that seem to use the gnome file picker for file selection (i'm running the xfce desktop, not gnome). I find this incredibly frustrating to use, as it doesn't have a command line to type in doesn't show dotfiles. hidden files: right-click - show hidden files text entry: Ctrl + L -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Hardware hassles: Linux vs. Windows
On Wed, 2004-12-15 at 11:56 -0500, Christian Convey wrote: Hi guys, Recently I've spent a lot of time digging through udev / hotplug issues, getting to know modprobe, modules.conf, alsaconf, XF86Config-4 etc. This was all to get a digicam and a flashdrive to be useful, or to make sound/video work. [...] Do you guys have any reflections on why, for technical / social / market / whatever reasons, this difference exists between the two OS's exists? And are those differences necessary or accidental? Wow, lots of fanboying going on in this thread. The answer to this question is not (or should not be) a lot of handwaving. The facts are that some types of hardware work extremely well out of the box (pccards are the best supported, I would say) and others do not. For large groups of peripheral types, even ones where drivers for linux do actually exist, drivers are not self-installing. For the most part, there is no software stack to communicate between the kernel and the user. gnome-volume-manager is an excellent effort at tackling part of the problem (removable media), but more work needs to be done (probably also using udev+HAL)to autodetect drivers for printers, scanners, even mechanisms for drivers to be installed for unrecognized devices. For developers, these are technical issues. For some apologists in the community, these are somehow good things that *even the option* to have peripherals autodetected is not present. This, IMO, stems from being unwilling to admit flaws in a system that *is*, in many other ways, superior to the alternatives. That was my long answer. The short answer is, it's getting there. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: What happened to my menubar?
On Sun, 2004-12-12 at 15:02 -0400, Michael D. Crawford wrote: I updated last night to the current sarge. Since then, my x11 session has been missing the menu bar that used to be on the top of the screen, and the bar at the bottom that has an item for each open window. Nautilus is running, but the menus that had all my applications in it is gone. How can I restore it? You might try opening a terminal (right-click on desktop - open terminal) and running gnome-panel. If you have not rebooted completely since the upgrade, there may be some processes that haven't died (happens sometimes w/ bonobo especially). What I usually do is go to another tty (Ctrl + Alt + F1) and login as root and run: ps aux | grep MY_USERNAME | awk '{print $2}' | xargs kill -9 In english, this is: List all processes with username | show lines containing MY_USERNAME | print only the second column (the process ID) | pass all the PIDs as parameters to kill -9 Hope that helps. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Learning GTK+ proramming under Debian
On Wed, 2004-12-08 at 16:42 -0600, Michael Madden wrote: What resource(s) would you recommend to someone who's new to GUI programming and would like to learn GTK+ development under Debian Woody/Sarge? I've messed around with Motif and Xlib in the past on HP-UX and Solaris, but GTK+ or Qt seem more acceptable under Linux. Maybe there's a recommended book or online resource to learning GTK+? This is a recently released book about GTK+/Gnome software development. http://nostarch.com/gnome.htm This is a good overview of programming with GTK and Glade with examples in C, C++, python and perl http://www.gnome.org/~newren/tutorials/developing-with-gnome/ For just getting started, I would suggest glade + pygtk. The concepts are very easily transferred to C. Good luck, Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Remote X-Desktop
On Sat, 2004-12-04 at 17:53 +0100, Stefan Fredriksson wrote: Hi, I have a server without a monitor that I need to run X on. I will need to run X programs on the machine and I want to be able to log on to the server from my desktop mashine. When I log in I want to be able to start X programs and have them running when I log off. Nomachine's NX product should fit the bill. NX is built on top of X + ssh and gives bandwidth usage comparable to Citrix ICA. It is able to proxy vnc too. There is a free (GPL I believe) version available at http://www.kalyxo.org as .debs. and more info at http://nomachine.com -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[OT]: Re: data-entry GUIs python
On Fri, 2004-12-03 at 00:33 -0500, Matt Price wrote: Do you create forms for data-entry using python? I am looking for a database solution that integrates closely with OOo, but I find the form-creation tools in OOo to be a little bit clumsy. An ideal solution for me would be a great data-entry frontend, and python glue that takes the data and uses it to create or modify openoffice documents using the PyUNO bridge (have to use non-debian OOo packages to do that right now, but that should change sometime soon). I have done a couple of different things with python + OOo + databases, my typical approach to document generation is to create templates with OOo and use python to do very simple text substitution within the document. This is great for reports, forms, labels etc. If you unpack a .sxw file and take a look at the content.xml (run it through xmllint --format to browse it easily, and xmllint --noblanks afterward to appease OOo) it becomes apparent that you can do just about anything you want using text/xml processing tool of your choice. Sounds like a lot of work, but it's really not much more complicated than generating html. You can grab the (very simple) code at http://mrroach.okmaybe.com/software/oootemplate.py.txt As for the gui, I have used either wxGlade + wxPython (on windows) or glade + pygtk (on linux). I have also used PyUNO to do document rendering, I use the above method to create a document, then send it through a listening OOo process to generate a PDF which gets uploaded to a CUPS queue. I'll have to rummage through my files to find some examples. Email me off-list if you are interested. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: time and computer networks
On Thu, 2004-12-02 at 00:59 -0500, Matt Price wrote: puttingthe lecture together I realized I don'trelaly understand why it's important for computer networks to have fine-grain synchronization. So I thought I'd ask some geeks (as my sig says, I'm only a hemi-geek): why does a network need careful clock synchronization? Kerberos and Windows 2000+ domains (which are based on kerberos) require synchronized clocks so that tickets' timestamps can actually be honored. If your system's time is too far off from the kerberos ticket server, you cannot authenticate. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Microsoft Access
On Wed, 2004-12-01 at 19:07 -0500, Shawn McCuan wrote: Is there a good Linux counterpart to MS Access? There are a lot of different bits of software that do some of the things that access does. Some of them try to be a little more like Access than others. Rekall does not have a built-in database, but seems to be useful for building forms for mysql/postgres. It seems to have forked... the sources are: http://www.thekompany.com/products/rekall/ http://www.rekallrevealed.org/index.shtml Gambas has been making the rounds on the various news sites recently, and claims to be a VB-like environment. http://gambas.sourceforge.net/ OpenOffice has a lot of cool database features that you might not expect, and is programmable in StarBasic http://dba.openoffice.org is a useful, if cluttered resource http://www.unixodbc.org/doc/OOoMySQL.pdf is a helpful overview of the sorts of stuff you can accomplish. My personal preference is usually python + sqlite/postgres + gtk + glade. Could you explain a bit about what you're trying to accomplish? There might be a solution that fits best based on that. Good luck. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: NFS, Samba, something more obscure?
On Sat, 2004-08-07 at 17:28 -0400, Carl Fink wrote: I've never used NFS, but everything I read says it's highly insecure. OTOH, my network sits behind a Belkin router with only my own systems as nodes. NFS is very easy to set up, you do need to make sure your uids match between systems, but that's the only big caveat in terms of setup. The other obvious choice would be Samba, which would have advantages since I sometimes boot my laptop into Windows XP. I also hear it's more secure than NFS (?) but much harder to set up. It's really not that hard at all. On a debian system, to share out home directories with full read/write permissions: apt-get install samba edit /etc/samba/smb.conf and under the [homes] section, set writable = yes as root, run smbpasswd -a username for a user who should be able to access their home then from a client smbmount //server/username /mnt/point -o username=username pretty simple really, repeat the smbpasswd part as needed for each user. For all I know there are other filesystem-sharing methods I'm not familiar with at all. If you are using a desktop environment such as kde or gnome you can use ssh as a file transfer protocol. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [Rant] The Endless Search for a Mail Client That Doesn't Suck
On Thu, 2004-08-05 at 21:18 -0400, Joey Hess wrote: Brian Nelson wrote: [...] 7. It must not be dog slow. I have big folders and I don't want to wait 5 minutes to load them. Mutt suffers from 7, but it's not a big deal if you keep the number of messages in a folder under control. For this I use archivemail, a nice external program which can handle flagged and unread mail. I move read mail to the archive after three days which keeps mutt under control. Have you used the imap headercache patch for mutt? I have used this on some large (by my standards ~= 18k emails or so, YMMV) mailboxes with substantial performance improvements. It went from a good 5 minutes over my cable + vpn connection to about 30 seconds. I seem to recall having to massage the patch a bit for newer mutt versions, but it wasn't anything too tricky. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [Rant] The Endless Search for a Mail Client That Doesn't Suck
On Fri, 2004-08-06 at 11:25 -0400, Mark Roach wrote: Have you used the imap headercache patch for mutt? I have used this on I should really read the whole thread before posting noise... and probably shouldn't have sent this one at all... -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: What are the dangers of using packages from both stable and testing?
On Sat, 2004-07-31 at 18:02 -0400, Silvan wrote: On Saturday 31 July 2004 10:52 am, Carl Fink wrote: BTW, using information from http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html section 6.14, you can quite easily recompile a Sid package using the Woody libraries to run under Woody (unless the program requires actual features not available in the older libs). Which a vast heaping many of them probably do. Woody is 40,000 years old, and developers don't like to be constrained to features that were only available when mankind was first taming fire. Not when there's some new API call that This is nice speculation I suppose, but in practice, I have not run into any packages that can't be compiled on woody, and only a few that required a whole lot of supporting packages to be backported. The folks over at backports.org certainly seem to have been able to backport a good many packages. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Setting Gnome Mail Client
On Mon, 2004-08-02 at 14:13 +0100, Keith O'Connell wrote: Hi, I am using Gnome in testing, and am having a little trouble with setting the mail client. I use, as the whim takes me, either Sylpheed- [...] I am using the Preferred Applications setup app, and in Mail Reader: Custom Mail Reader, I put either; gnuclient --eval '(gnus-msg-mail %t %s)' sylpheed-claws --compose %t Which have worked for me in the past, but instead of %t and %s parsing the address and subject (where appropriate), %t an %s appear in the fields instead! Looks like you've got two different things going on: One is that %t is meaningless in this context, the other is that when you quote %s, it passes it through without performing the substitution. This seems like a bug, because escaping the quotes doesn't make it work either. It seems that it's only double-quotes that cause the non-substitution, try using only single quotes... -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: alternatives to NIS and NFS
On Tue, 2004-08-03 at 15:14 +1200, Paul William wrote: Samba's not a goer. Doesn't do Unix permissions. It's a Windows/OS/2 sharing scheme. what about http://uranus.it.swin.edu.au/~jn/linux/smbfs/ . smbfs with unix extentions? Recent versions of samba and linux support cifs and unix extensions which do all the normal unixy sorts of things WRT permissions as well as supporting acls and soft + hard links. You just mount the remote system with mount -t cifs //server/share /mount/point -o user=username -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: alternatives to NIS and NFS
On Mon, 2004-08-02 at 23:31 -0400, Mark Roach wrote: On Tue, 2004-08-03 at 15:14 +1200, Paul William wrote: Samba's not a goer. Doesn't do Unix permissions. It's a Windows/OS/2 sharing scheme. what about http://uranus.it.swin.edu.au/~jn/linux/smbfs/ . smbfs with unix extentions? Recent versions of samba and linux support cifs and unix extensions which do all the normal unixy sorts of things WRT permissions as well as supporting acls and soft + hard links. You just mount the remote system with mount -t cifs //server/share /mount/point -o user=username Hmmm, upon playing with this a little further... it seems that a share mounted with cifs *shows* the correct file permissions, but treats every user on the system as the person who mounted the share. for example: # mount.cifs //192.168.150.101/testfsmp /tmp/testfsmp/ -o user=mrroach # ls -ld /tmp/testfsmp/testdir/ drwxrwxr-x2 root root0 2004-08-06 02:38 /tmp/testfsmp/testdir/ # su guest $ touch /tmp/testfsmp/testdir/should_give_an_error $ ls -l /tmp/testfsmp/testdir/should_give_an_error -rw-r--r--1 mrroach mrroach 0 2004-08-03 00:07 /tmp/testfsmp/testdir/should_give_an_error Weird, huh? So, looks like that option is no good. That's a disappointment. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Ximian Connector for Debian Sid
On Fri, 2004-07-16 at 10:35 -0400, Andy Firman wrote: Running Sid on my laptop with Evolution 1.4.6-3 and I would like to connect to an Exchange server. There are some packages here: http://www.gnome.org/~jdub/debian/sid/ Or should one install evo1.5 from experimental? Will that screw things up for me in regards to library dependancies? I am using evo1.5 from experimental. It doesn't include the ximian connector. I installed evolution1.5-dev and pulled the cvs version of ximian conector (1_5_9_2 branch) and was able to compile and install it with a little fighting with makefiles but it seems pretty unstable. If you really want to get some work done stick with 1.4 and jdub's packages. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: document archiving w/ scanner
On Sat, 2004-07-10 at 01:14 +0200, martin f krafft wrote: also sprach William Ballard [EMAIL PROTECTED] [2004.07.10.0041 +0200]: Search the archives for my and other's discussions about project gutenbergs tests with gocr and other open source OCR programs. great pointer. I guess the conclusion here is that gocr and clara pretty much suck and for any serious work, I have to go with OmniPage or other commercial products. Damn. At my last employer, I used Ascent Capture (on windows) to scan images and index them against a postgresql+debian server and used a wxPython application I wrote to search and view them. We used indexing info (date, names, etc.) instead of the text of the documents, but Ascent Capture can do that too. Obviously there are non-free parts to that solution, but that was the best I was able to come up with. If you'd like some more info on that setup feel free to drop me a line off-list. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gnome UI stops responding
On Fri, 2004-06-25 at 14:59 -0500, Santiago de Ledesma wrote: Hi. I'm having this problem while using gnome 2.6 in my laptop with sarge unstable. The UI locks from time to time when using any gnome widget. [...] ignores me. If I restart X (and gdm) with Ctrl-Alt-Backspace and login again gnome never comes up. Hmm, my first guess would be that some process that all those programs depends on is failing, but stays running, preventing other copies of itself from starting up. Try doing a ps aux | grep username (as root) after you get a hang like this to see what processes, if any, are still running. That might give you an idea. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gnucash with Postgres backend.
On Fri, 2004-06-25 at 10:49 +0200, Berteun Damman wrote: [...] But, I'd really like to make use of the postgres backend (I did so until last week, when I switched from Gentoo back to Debian, without any serious problems). Is there some place where the postgres backend is provided? (I understand the risks involved with losing data, but I'm willing to take them). the easiest way is probably to rebuild the packages with something like apt-get source gnucash apt-get build-dep gnucash cd gnucash-{version} $EDITOR debian/rules # (here you should modify the line that runs ./ configure and add the appropriate switches) dpkg-buildpackage then install the resulting .deb file. Hope that helps. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fonts are ugly in some gtk apps
On Sat, 2004-06-12 at 22:55 +0200, LeVA wrote: 2004. jnius 12. 20:34, Mark Roach [EMAIL PROTECTED] - Debian-User [EMAIL PROTECTED]: On Sat, 2004-06-12 at 04:13, LeVA wrote: I noticed that after an upgrade from woody to sarge, some gtk apps turned to very ugly (their fonts). Ie.: xmms, easytag... But after I've compiled gtkfxp, its fonts are nice. what does 'echo $GTK_RC_FILES' give you? Are there any fonts specified in the .gtkrc files it lists? also, try installing gtk-theme-switch, use the button to the right of the theme drop-down to enable the font picker. Maybe that will help... Try installing libgdkxft0 and running I can't find that package, I'm using sarge. Ahhh, yup. looks like it was removed (buggy). -Mark
Re: XMX for Debian?
On Sun, 2004-06-13 at 14:38 +0300, Kalle Tuulos wrote: Hi! I am trying to make a similar system for X like the screen does for console, i.e. I would be able to use the same X screen both from work and home. It seems that XMX would be solution for this. VNC is another, already packaged solution. There is a lot of info on the web on setting up/using it. The rfb package is a good tool to combine with vnc, install it and run x0rfbserver from within your X session, then connect using the vnc client to access it. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gnome 2.6 and MAC OSX-like panel
On Sat, 2004-06-12 at 14:06, Elimar Riesebieter wrote: Hi all, I regognized some screenshots of Gnome 2.6 and MAC OSX-like panels. How to configure that? Is it with enlargement like in OS X as well? Check out gdesklets. That's probably what you've seen. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Can some one please help me.
On Sat, 2004-06-12 at 12:00, John Williams wrote: Hi, My name is Maxwell and a student. I have heard a lot about linux and I would like to switch from windows to linux. I have asked some question about it and and I have also read the tutorials at www.aboutdebian.com (I would want to practice all that). I have finally decided to switch. But I don't have any Debian CD set to install and learn. I was told I could download it for free, but due to the slowness of the internet connection in this country it will take me ages. I tried to but could not. I therefore wish to beg of any of you to, If he/she can, to send me a copy via mail. Hi. You should look here http://www.debian.org/CD/vendors/ for information on ordering debian CDs by mail. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Volume control broken after Gnome 2.6 Upgrade
On Sat, 2004-06-12 at 06:38, josh wrote: After upgrading to Gnome 2.6 in unstable, the volume control applet no longer works. if I click on the slider, it just jumps back to the original position. If I open the volume applet's preferences dialog, the text area supposedly containing the available audio channels is empty. Sounds like this bug. See if it helps you. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252435 -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fonts are ugly in some gtk apps
On Sat, 2004-06-12 at 04:13, LeVA wrote: I noticed that after an upgrade from woody to sarge, some gtk apps turned to very ugly (their fonts). Ie.: xmms, easytag... But after I've compiled gtkfxp, its fonts are nice. [...] Any ideas how to fix the fonts? hmm, they all look pretty bad to me :-) Try installing libgdkxft0 and running LD_PRELOAD=/usr/lib/libgdkxft.so xmms If that helps, you'll want to permanently export that LD_PRELOAD variable (how to do that depends on how you are starting X) -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cant ssh in from outside world
On Fri, 2004-06-11 at 17:25, Nick Smith wrote: i recently just ran into this problem when i moved my mail server from cable to dsl, (comcast to bellsouth). i didnt change any of the settings, that i know of. i can ftp, send/receive mail, but i cant ssh in. its very frustrating because that is how i fix anything thats gone wrong, check log files etc. is there some reason why i cant ssh from the outsite net? does anyone else use bellsouth.net fast access and have this problem? I've got several systems on bellsouth dsl using ssh without any problem. ssh: connect to address 68.214.***.blah port 22: Connection refused when i try it from an outside computer. no firewall is active, should be totally open, its the DMZ on the router as well, and just in case that didnt open it up enough i added a rule in the port forwarding to allow ssh port 21 to that specific local ip. (ssh is port 22) Try running nmap against your ip from the external system. If that port is being blocked, it should come up as filtered The other thing you can do is use a different, non-blocked port. Add an additional Port portnumber line to your /etc/ssh/sshd_config then restart ssh and try connecting from the remote machine by doing ssh -p portnumber [EMAIL PROTECTED] -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.6 unsupported wireless? That can't be true!
On Thu, 2004-05-27 at 02:08 -0400, Emma Jane Hogbin wrote: On Thu, May 27, 2004 at 07:46:21AM +0200, Martin Hermanowski wrote: smeagol:~ 00:40:19 $ iwconfig lono wireless extensions. eth0 no wireless extensions. eth1 IEEE 802.11-DS ESSID:Wavelan Network Nickname:smeagol Mode:Managed Frequency:2.457GHz Access Point: 44:44:44:44:44:44 ~ You are not connected to a wireless network. With all due respect...no shit. That's why I pasted the fact that I couldn't ping the router. I'm trying to figure out *WHY* I can't see the wireless router/access point. This was more than a little unnecessary. I think you missed the point. having the 802.11 connection is necessary *before* you can get an ip address. This is the equivalent to an unplugged ethernet cable. Your question started with why you couldn't get an address from DHCP. That you also manually set an ip address on an adapter that didn't have a link and listed ifconfig's output means that you _did_ need to be pointed in this direction (though a bit more verbosity may have been in order). -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: jabber
On Wed, 2004-05-26 at 13:14 -0300, Suporte Linux Solutions wrote: Hi all, I installed a jabber server and got the following error when try to connect. Anyone can help me? TIA,Suporte Linux Solutions You may want to 1) Give some information on how you installed it 2) Give some information on how you are trying to connect 3) use a real name so we can feel like we're helping a human ;-) -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: presenter view in OOo Impress
On Fri, 2004-05-21 at 16:43 -0500, Kent West wrote: Matt Price wrote: On Fri, May 21, 2004 at 10:30:12AM -0500, Kent West wrote: Matt Price wrote: Another idea might be to configure your laptop to use the projector as a second head, and configure X as a dual-head setup. so, question: Is it actually possible to run a different X session on the projector? Having never had a laptop I could experiment much with, I don't know. I came across something last week that led me to believe that a laptop essentially has a second video card which it uses for the external monitor, but I briefly experimented with an older laptop that led me to believe that was not the case at least with this laptop. Most newer laptops which use ATI radeon or nvidia chipsets have this dual head capability. X does not currently seem flexible enough to switch between single head and dual head on the fly though, so you either have to have dual head running all the time, or restart X with a different XF86Config file when you want to do this nifty sort of thing. If someone came up with a way to make the second head map directly to a virtual desktop, that would be massively sweet... -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: What's creating X-X-Sender header?
On Thu, 2004-05-06 at 20:07 -0400, Patrick Wiseman wrote: My emails from a 'testing' machine include the following header: X-X-Sender: [EMAIL PROTECTED] I'm 'pwiseman'; my machine's _local_ name is 'mycroft', but no-one in the outside world needs to know that. So what's telling them? Exim? How do I stop it? From /etc/exim/exim.conf: # If this option is set, then any process that is running as one of the # listed users may pass a message to Exim and specify the sender's # address using the -f command line option, without Exim's adding a # Sender header. trusted_users = mail : mrroach -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: wins? or what?
On Wed, 2004-05-05 at 22:40 -0400, David Clymer wrote: On Wed, 2004-05-05 at 19:31, Curtis Vaughan wrote: DNS server. However, a separate Linux server needs to know how to resolve the NetBios name of one such Windows client (let's say his NetBios name is ACCT). [...] What options are there for me to get this Linux server to resolve ACCT's ip address? Nothing short of modifying/rewriting the utility will let you use ping to ping a netbios name. This isn't true. NSS services let you do all sorts of non-hostfile name resolution- ldap, dns, nis, and also wins, using winbind. Check out the man page for nsswitch.conf -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Anyone used Backports.org to upgrade a woody to 2.6?
On Wed, 2004-04-14 at 14:36 -0700, Bill Moseley wrote: Anyone have success using those packages to update a Woody box? Working great for my main mail/web server, and a postgres server at work. Any notes? Did you add backports to source.list or download the .deb and use dpkg -i for the modules and kernel? I added the source. I have xfs file systems so I guess I'd need to use initrd since XFS is included as a module -- is there any additional setup required? Shouldn't be anything special needed. The stock kernels are initrd kernels. It should Just Work. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Re: Linux/Windows Universal Benchmark
On Thu, 2004-04-15 at 00:13 +0100, Andy Morris wrote: ... i made a simple program to count from 0 to a parameter x number of times, test data was to count 0-9 100 times. XP box did it in 3mins 10 secs, linux 5 mins 4 secs ( i did this numerous times and results were always v similar). Well, now you know that if you want to do something (pointless) like that as quickly as possible, then you should use windows :-) -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Cisco vpnclient with kernel 2.6.4
On Wed, 2004-04-07 at 16:19 +0800, Gokul Poduval wrote: Hello, I am using sid, and the cisco vpnclient works for me with 2.4.25. however with 2.6.4, the module is able to compile, and i can negotiate the connection succesfully. however, i cannot surf the web after that. has anybody managed to get vpnclient working with any 2.6 series kernel ( i could have tried vpnc, but the network has a group password, which i only have in scrambled form :( ) It didn't work for me for kernel versions past 2.6.1. It works fine on that version though. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to mount NFS system behind DSL routers
On Sat, 2004-04-03 at 22:49 +0100, Ral Alexis Betancort Santana wrote: Hi all, I have the folowing scenario. NET A Router A Router BNET B 192.168.0.x - DSL Router --- iNet --- DSL Router - 192.168.0.x I know, I know, the two networks are overlapped, but that's not a problem, they do not see each other. On Router A I have all port redirected to machineA inside Network A, and the same on Router B, I'm trying to mount a NFS directory from That sounds like a good way to get rooted. RPC systems are notoriously insecure. It is, of course, your choice though. machineB into machineA, but I'm getting error messages telling me Permission denied, permissions are ok, and on machineB syslog apears messages as invalid port 12481 ..., I have follow some docs I have found searching on google that show me how to setup all daemons to work on knows ports instead of radom ones given by portmaper. is 12481 the correct port? What does rpcinfo -p tell you? Any hint or suggestion? mounting a IPSec tunnel is not an option, or any other tunnel technologie, I have no full control over the systems, so I can not install new kernels with that functions enabled. You can probably use vtun, most kernels already have the tun module, or you can do PPP over ssh. -Mark
Re: Gnome battery applet don't work with normal user account
On Wed, 2004-03-24 at 18:34 +0100, Sascha Petranka wrote: ON my Notebook ASUS L8400B, I've installed Debian Sarge with Gnome 2.4 The Battery Applet works fine, when I'm logged in as root, but not with a normal user account. Then the following Error message appears: Can't access ACPI events in /var/run/acpid.socket! Make sure the ACPI subsystem is working and the acpid daemon is running. There is no acpid runnig (in both scenarios) and the doesn't exists in both situations. Why don't you just install acpid? -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Debian Slow?
On Fri, 2004-03-05 at 13:47 +1300, [EMAIL PROTECTED] wrote: [...] gains, It shouldn't make that much difference. Things like GNOME and Nautilus start somewhere in the order of 10 to 15 times faster than on my machine at home. gnome/nautilus startup speed is often affected by incorrect configuration of your hostname. check that the name returned by hostname is properly accounted for in /etc/hosts -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Please HELP ME
On Fri, 2004-03-05 at 16:23 +0100, Akkermans wrote: I have installed my Debian on a p2 system. But I am having trouble connecting my debian system to the internet. Is it possible to fill in (and try) new values of my proxyserver without installing my Debian system all over again? If so in which files on my Debian system are the proxyserver settings stored and can I alter these? Look in /etc/apt/ one of the files there should contain the proxy settings. Sorry I can't be more specific. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Mozilla proxy auth
On Thu, 2004-03-04 at 16:24 +, Eduardo Gargiulo wrote: Hi all, my linux box is hidden on a corporate intranet, where web access is through an ISA proxy server. I'm trying to browse the web from the linux box using Mozilla (1.2.1), but the proxy server shows me an error page saying that there are authentication problems. You probably need to get a version of Mozilla that supports NTLM authentication. IIRC 1.6 was the first version with that feature built- in. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: soundcard driver
On Sun, 2004-02-29 at 14:24 -0600, john wrote: I'm using Debian 2.2 and kernel 2.2.19 that came with it. That's a pretty old version, you might want to consider upgrading to 3.0 (released in July 2002) I've installed xmcd and it works just fine but I get no sound. I installed alsa-base and added 'alias sound-slot-0 via82cxxx_audio' to /etc/modutils/aliases but I still get no sound. All I want to do is play a CD. What else do I need to do? The first thing to note is that CD audio is not typically done through the sound system, there is typically a cable inside the PC that connects from the CD player to the sound card. IIRC The only thing that the sound card does WRT CD audio is manage the volume. alsa-base only contains some libraries used to communicate with, and scripts to configure the alsa drivers. If you want to use alsa, you will need to get the alsa modules installed (probably by compiling them yourself, along with a new kernel). The easiest thing to do is probably going to be to use the default oss drivers. I'm not sure which oss driver is the right one to use. If you'll post the output of lspci, someone can probably tell you (or you can search for yourself ;). -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: VT6105 LAN on motherboard working with Debian stable 3.0r2
On Sat, 2004-02-28 at 11:28 +, Chris Evans wrote: Motherboard is described at: http://www.viavpsd.com/product/epia_cl_spec.jsp?motherboardId=181 says: chipset is - VIA CLE266 North Bridge and - VIA VT8235 South Bridge and: - VIA VT6105 LOM - VT6103 10/100 Base -T 10/100 Fast Ethernet Controller. CPU is detected as Centaur VIA Nehemiah stepping 03 Installing the supplied rhine driver module at installation fails with an error message that I've not written down but it's clear it's not a compatible driver for the hardware. Which module is that? via-rhine? It would help if you could modprobe via-rhine and give the output of both modprobe and the relevant lines from dmesg. I have dragged down the LAN driver on the VIA site: http://www.viavpsd.com/product/2/2/Audio_Driver_rev3.40b.zip Are you sure that this is a LAN driver? Has someone succeeded in compiling a working module I could just use or can someone talk me through more of the problems? Or point me elsewhere? Or suggest a more appropriate list or board on which to ask? From briefly searching the web, that seems to be a card that works, at least under 2.4 kernels, using the via-rhine driver. This is a good place for this question. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
ppscsi on 2.6 kernels
I recently acquired a hand-me-down Microtek SlimScan C3 parallel port scanner. The man page for the sane-microtek2 backend indicates that I need to install the ppscsi module for this to work. Google turned up http://penguin-breeder.org/kernel/download/ which contains a patch that applies and compiles just fine against my 2.6.1 kernel, but when I try to insert the module I get: FATAL: Error inserting ppscsi (/lib/modules/2.6.1-mrr/kernel/drivers/ scsi/ppscsi.ko): Unknown symbol in module, or unknown parameter (see dmesg) dmesg gives this: ppscsi: Unknown symbol __udivdi3 Several sites turned up related info for other modules, it seems to be some sort of interaction between libgcc and libc that I can't even begin to understand, much less repair. I tried downloading the mandrake source rpm for 2.6.3 and snagging the ppscsi patch included there, but it was basically the same patch and gave exactly the same results. Any hints as to how I might resolve this? I am using gcc-3.3.3 and glibc 2.3.2 if that helps any. Thanks, Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Exporting running display ala Remote Desktop or VNC for windows
On Mon, 2004-03-01 at 19:30 +0200, Danie Roux wrote: Hi all, I want to continue working on a running GNOME desktop in my office from a remote location. I know it's possible to export the running display with KDE's remote desktop. But, that requires user interaction on the running display. There is a new project called vino which seems to be a gnomeified x0rfbserver replacement. It's not in the debian repo yet, (but it has been ITPed http://lists.debian.org/debian-wnpp/2004/debian-wnpp-200402/ msg00109.html) so you'll have to install from source. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Fax modem under 2.6.*
On Mon, 2004-02-23 at 13:24 +0100, David Baron wrote: Has anything changed here? Get i/o errors no matter how I try it. (I never actaully sent a fax under 2.4.22 but went through all the step to dialing the phone before cancelling out. Now I cannot get this far.) There is really not much to go on here. I would suggesting rewriting your message with some content. Look here for guidance: http://www.catb.org/~esr/faqs/smart-questions.html#beprecise -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Debian laptop and internet connection sharing
On Sun, 2004-02-22 at 03:18 -0500, nick wrote: Would it be possible for him to plug a crossover cable into my RJ45 jack and share my internet connection while I am connected to a WAP via my WiFi card? The easiest way, if all he needs is web access, is probably to install squid. edit /etc/squid.conf adding acl localnet src 192.168.0.0/255.255.255.0 (or whatever the subnet is that you'll be using) right under the acl all src 0.0.0.0/0.0.0.0 line, and then add http_access allow localnet right *above* the http_access deny all line run /etc/init.d/squid restart and have him put your IP w/ port 3128 as his proxy server. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT?] Re: PostScript - samba - PDF - email attachment
On Sat, 2004-02-21 at 23:26 -0800, Mike Fedyk wrote: Marc Wilson wrote: On Sat, Feb 21, 2004 at 07:59:58PM -0800, Mike Fedyk wrote: I'm more looking for a solution that uses cups/lprng/lpr to queue to ps2pdf then to a file that will be emailed to the user. You might also want to check this out: http://cups-mailto.sourceforge.net/ -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[OT?] Re: PostScript - samba - PDF - email attachment
On Sat, 2004-02-21 at 00:19 -0800, Mike Fedyk wrote: I'm going to setup PDF printing, instead of Adobe Acrobat Pro to generate PDFs for my users. I assume this means that your users are on Windows, right? If that is the case, you should check out redmon. That would almost certainly be easier than writing a new cups driver. See http://www.dominux.co.uk/ ghostscript.html for more info. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT? perl IDE
On Tue, 2004-02-17 at 12:42, David Turner wrote: I was wondering what people develop perl in using linux. I am running KDE 3.1 on 2.6.0, and have come from a windoze background, where I use open perl IDE. I like the ability to step through code a line at a time. IANAPHOEU (I am not a perl hacker or emacs user) but I just loaded a perl script in xemacs, it gave me a Perl menu which includes a Debugger item. After clicking it, I had to change the command line to perl -d /perl/filename.pl but once I did that I was able to press 's' to step through each line of code. It also automatically switched to a split pane view showing the debugger and the source file (with an arrow indicating which line in the code was being executed) I am hoping there is something similiar; that is relatively simple so i can concentrate on learning perl, rather than having to learn emacs or some other complicated text editor. Is there a generic linux IDE? This is for home use, so i wont be able to spend any money on a comercial package. (eg komodo) I am guessing that emacs/vim are the generic linux ide's. I personally use vim, and rarely do much programming that can't be debugged with psuedo-unit testing (when doing python) or testing + gdb (when doing C) so my ide is a collection of xterms. (though I'll confess that recent generations of gedit+syntax highlighting have been pulling me in more and more) One thing you might want to consider is that vi/emacs have been around for a looong time, so there is probably something there that's worth the learning curve... for more help though, you might want to specify which other features you're looking for. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to set mouse color?
On Wed, 2004-02-04 at 15:30, David Morse wrote: My mouse cursor is mighty hard to find. Does anyone know of a program which will make it red+white (instead of black+white)? I tried xsetroot, but that only affects the root window. I need red for all windows. You will probably need a newer version of X. I think X 4.3 is the first to support color mouse cursors. 4.3 is in experimental. You will need to add #experimental deb http://ftp.us.debian.org/debian ../project/experimental main contrib non-free to your sources.list and (I can't remember exactly) I think apt-get -t experimental x-window-system Then you can use any of the cursor themes here: http://kde-look.org/index.php?xcontentmode=36 Also, anyone know of a technique to get mouse-trails? I have nvidia hardware, and heard they had some way of doing that, but couldn't find any link. Not sure about this one. I am guessing that changing the cursor color will remove some of the need for that though, right? -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gnome terminal, switching profile w/o menu?
On Mon, 2004-02-09 at 06:57, Magnus Therning wrote: Is there a way of switching the profile of a running gnome-terminal, without using the menu? I am mostly interested of doing it from inside the terminal itself. The immediately obvious answer is ALT+t p. Also see gnome-terminal --help -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: is debian right for me?
On Thu, 2004-02-05 at 13:07, David T-G wrote: I need to be able to build and install the system in slice hda3 while running from hda2 and then I'll do a test boot and eventually set hda3 as my default slice in lilo. I'll eventually move back over to hda2 since it's next to the swap space, and I'll have the hda3 version as a spare. Can debian be installed in this manner, much like LFS is bootstrapped? How about maintenance of packages and things? Yes, this is similar to how I build all my remote servers, I have the remote MCSE boot off a knoppix disk and start ssh, then I use debootstrap to load the system. once you've bootstrapped the system, you can chroot it, and run base-config to set up your apt sources. Here's a nice howto on the subject http://trilldev.sourceforge.net/files/remotedeb.html The important things to remember are fstab of course, and network config (man interfaces). You'll find this list a valuable resource for any questions you might have. Good luck. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Scary df output
On Mon, 2004-02-02 at 07:45, Marius Amado Alves wrote: I assume comand df is the one to know free disk space. It gives me this information: [snip] How should I interpret this? Do I have space to install OpenOffice? df -h is much more readable, try that. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: please help - CUPS filter?
On Wed, 2004-01-21 at 20:20, lloyd wrote: i have a CUPS filter setup that works locally but not when i send a print job from a windows machine. i've created a filter named compressedtext as follows: - created the filter and put it in /usr/lib/cups/filters - put this in test.ppd: *cupsFilter: text/plain 0 compressedtext the filter works as expected when i send a print job like this: lp -d test testing.txt ...but it doesn't work if i then do this on a Windows 2000 machine: - create an LPR printer port pointed at the test queue - set up a generic text printer on that queue - print a text document to that printer according to error_log, in the first case, the document is correctly identified as text/plain. however, in the second case it's identified as application/vnd.cups-raw. now, just trying to get this to work, i put this in test.ppd: *cupsFilter: application/vnd.cups-raw 0 compressedtext but it still didn't work. it doesn't seem to call my filter at all. Hmm, I do something fairly similar, and it works just fine. My documents are coming to the lpd server from an AIX system though. You might want to check the command line that is run by inetd and use the same ones for testing from the command line. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: who calls PHP4?
On Mon, 2004-01-19 at 05:25, Wolfgang Lonien wrote: Hi all, my cacti (and rrdtool) show a nightly increase in system load on my local machine - and top tells me it's a php4 process eating up all these CPU cycles. Now where and how can I find out, which program starts that particular PHP4? The apache logs show nothing; the same for messages... Try looking in your /etc/cron.*/ directories -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: DVD-RAM disks
On Mon, 2004-01-19 at 15:30, schall wrote: Hi ya! Does anybody know if it is possible to use DVD-RAM disks as floppies in Debian Sarge??? Do I need a special package or program?? As floppies? No. It's not a floppy disk. Try http://www.esrf.fr/computing/cs/intro/dvd-ram.htm (Hint: found in 3 minutes with google) -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Linux compatability for IBM desktop machines
On Thu, 2004-01-15 at 14:38, Faheem Mitha wrote: Dear People, I am writing to ask whether anyone has any Linux experience with something similar to the two desktop machines described at [...] From the descriptions given, I'm not sure what to make of Integrated 10/100/1000 MB ENET or Integrated 10/100100 MB ENET. (I'm guessing the latter was a typo and should be the same as the former). Does anyone have any idea about this? Most of the onboard 10/100/1000 nics I've seen in desktop pc's are Broadcom chips. Debian's kernels do not come with that driver by default, but knoppix does. You might try using knoppix as your compatibility tester... -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Max connections in Samba?
On Tue, 2004-01-13 at 13:37, Ken Long wrote: On Mon, 2004-01-12 at 19:20, [EMAIL PROTECTED] wrote: what I do, and for the same reason, by the way. The process limit is per-machine though, just so you know... My question is about exactly what do you mean by the process limit being per-machine? The source file explains it better than I could: from samba/source/smbd/conn.c /* set these to define the limits of the server. NOTE These are on a per-client basis. Thus any one machine can't connect to more than MAX_CONNECTIONS services, but any number of machines may connect at one time. */ #define MAX_CONNECTIONS 768 I increase this number to 768 because I have terminal servers with 35-40 users on each, and want to make sure I never run out of connections. If you are unable to connect 128 client machines, I suspect you have some other issue going on. What I ran into was my one Linux server is running smbd (from inetd, rather than as daemons) and is acting as a PDC. I end up with all these IPC$ processes hanging out there forever, but we apparently have more than 128 different workstations that must connect to this server now, though. Hmm, I would point to inetd as a likely source of your problem, since it is the program that is managing all the processes. Try switching to daemon mode, and in addition to getting a substantial performance increase, you may see the problem disappear. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Linux slooow?!?
On Wed, 2004-01-14 at 12:43, Dennis Kaplan wrote: [...] The problem is the CPU load when idle it runs between 5-30 % As soon as I start an application it goes up to 100% and stays there till the application is done loading. Loading an application like Kmail takes about 2 to 3 minutes. Run top and press P to observe which process is using your cpu during idle time, and when running programs. That should give an idea of where to start. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Max connections in Samba?
On Mon, 2004-01-12 at 11:51, Ken Long wrote: So, the question is, is there an easy way to up that number without having to pull down the source package and recompile samba by hand? (I really prefer to have binary packages, just for ease of upgrading) You can't modify the binary (easily), but the easy way to do what you are asking is to apt-get source samba ; apt-get build-dep samba then, make the change and dpkg-buildpackage you might then want to put that package on hold with echo samba hold | dpkg --set-selections and then you'll have a semi-custom, package-managed version of samba. This is what I do, and for the same reason, by the way. The process limit is per-machine though, just so you know... -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Basing new file permissions on current dir perms
On Fri, 2004-01-09 at 14:05, Alex Malinovich wrote: On Fri, 2004-01-09 at 11:36, Monique Y. Herman wrote: On 2004-01-09, Rob Sims penned: [...] chmod g+s mydirectory Note that changing the directory's group will clear the sticky bit. -- Rob That will not force rw access to group, though, right? I think that was part of the question the OP was asking. Yes it was. :) This does indeed get the correct ownership on the files, but the files are still uneditable because they are made at 644 instead of 664 as I'd like. Any suggestions on this front? There are two options: 1) set umask to 002 in the appropriate place (/etc/login.defs, ~.profile, /etc/profile) 2) use acls and do a setfacl -md g:groupname:rwx dirname/ -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gnome 2 panel lossage
On Thu, 2004-01-08 at 23:32, Bill Wohler wrote: I've been waiting months but still haven't seen the asclock panel widget appear in Gnome 2. Will it never come? Almost certainly not, not in the default gnome anyway. More than one clock was deemed unnecessary. Perhaps someone has ported it to gnome2...? Is the Gnome menu editor ever going to reappear? I'd like to add my own menu items to the Gnome main menu for those applications not already present. Browse to applications:/// in nautilus and you can add/remove items just fine. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Is there any encrypted or secure NFS?
On Tue, 2004-01-06 at 02:24, Paul Smith wrote: %% Mark Roach [EMAIL PROTECTED] writes: mr Yup. Install a key-sniffer, wait for the victim to unwittingly mr type his password. Why would I type my password on your box? I would never do that, that's not how Kerberos works. Yes it is. It is not how something like RSA securids, or CryptoCards work, but kerberos does not automatically mean one of those will be in use. As I said, if you can root my box then you can gain my credentials and masquerade as me, although you can't do it without making some kind of potentially detectable change to my system. But that is certainly an order of magnitude more secure than basic NFS, which says that if you can root _ANY_ box on the network, including yours, you can masquerade as me, and further there is no way to detect it. You can install trojans, for starters. But at least you have to have root access on _their_ box mr incorrect, see above. Make sure you're familiar with Kerberos. Kerberos, like SSH, never sends passwords to the remote host, so there's no way to get my credentials unless you can install a trojan on MY box. Nothing you can do on YOUR box, even if you're root, can be used to hijack my identity. it doesn't send the password over the network, it does require the password to be typed. (I think you missed the original question. Having root on _your_ box is the given that we are assuming.) mr This is all a moot point though, the fact is that there is no way mr to secure the data going in and out of a machine such that root mr can't ever get at it. I guess we have to define what we mean by security; there are lots of forms of security. However, I don't agree with your comment above. It may be mostly true for the hosts at the origin and destination of the data, but it can obviously be secured for all intermediate systems. [...] I do agree that you can't secure the data from root on the client, This is what I meant, of course. Unfortunately, not handing out the root password is really not a viable situation, again IMO, with a desktop system in anything but the most basic environment (like kiosks and POS terminals, etc.) There are a number of things that even basic desktop users need to do with their systems that require root access, such as changing display resolutions and installing new software, not to mention basic troubleshooting like reading the system log files, restarting basic services, etc. Hmm, I don't even give my users the administrator password on their windows machines. I'm certainly not giving them root. ;-) -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: AA fonts in epiphany
On Tue, 2004-01-06 at 14:56, Rob Benton wrote: I grabbed epiphany-browser from sid but I can't seem to make the fonts anti-alias. Anyone know if epiphany(sid build) supports this? Did you install mozilla-xft? -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Is there any encrypted or secure NFS?
On Mon, 2004-01-05 at 07:49, Rohit Kumar Mehta wrote: Mark Roach wrote: Get it properly encrypted at a lower level with ipsec, and you can go about your business (whee, telnet's back). This might be encrypted, but hardly secure, for instance if user A has physical access to NFS client and user B has physical access to nfs client, what prevents user A from accessing user B's files through VPN? File permissions. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Is there any encrypted or secure NFS?
On Mon, 2004-01-05 at 21:25, Brett Carrington wrote: On Mon, Jan 05, 2004 at 09:14:27PM -0500, Mark Roach wrote: This might be encrypted, but hardly secure, for instance if user A has physical access to NFS client and user B has physical access to nfs client, what prevents user A from accessing user B's files through VPN? File permissions. Even so, you'd have this problem with or without an IPSec VPN. The VPN's job, in this case, is lower-layer encryption. File systems on your host/NFS Client are out of the spectrum of what a VPN can do. A VPN is only going to protect your data from snoopers of NFS packets. Right, which is why I pointed to file permissions instead of the VPN as the protecting factor here. I don't really know what Rohit was suggesting as an alternative, but if he thinks there is any security mechanism that can protect against all attacks regardless of whether the attacker has root, he is mistaken. rantAt some point there has to exist a status of trusted. Unless you want to lock your computer in a vault, set bios and lilo passwords, buy a van-eck cage, and carry your keyboard with you at all times, you are probably better off protecting yourself from the class of attackers who pose an actual (plausible) threat./rant -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Is there any encrypted or secure NFS?
On Mon, 2004-01-05 at 21:48, Alvin Oga wrote: On Mon, 5 Jan 2004, Brett Carrington wrote: On Mon, Jan 05, 2004 at 09:14:27PM -0500, Mark Roach wrote: This might be encrypted, but hardly secure, for instance if user A has physical access to NFS client and user B has physical access to nfs client, what prevents user A from accessing user B's files through VPN? File permissions. wont help ... the user has acces to their files on the other end OK, I'm obviously missing something here. Here's what I'm hearing NFS Server --- NFS Client (Home of User A and User B) The server is exporting /home which includes /home/userA and /home/userB. File permissions are set to 700 (or 770 with appropriate groups) on both home directories. The client has mounted the server's /home as /mnt/remote_homes User A wants to access user B's files that are under /mnt/remote_homes/userB. How are you suggesting that this is going to be possible? Note: if you tell me that he is going to boot off a knoppix CD and crack root on the box to su to userB, you must give me at least one example of an alternative that is not susceptible to an attack by a malicious local root Even so, you'd have this problem with or without an IPSec VPN. The VPN's job, in this case, is lower-layer encryption. File systems on your host/NFS Client are out of the spectrum of what a VPN can do. A VPN is only going to protect your data from snoopers of NFS packets. maybe [snip random security stuffs] - allowing nfs just makes all the snooping easier ... too many old holes - that may or may not be patched nfs -- Not For Security setting up and properly running a secure nfs is a whole other ballgame NFS definitely is not the right tool for every situation. There are some situations though, where it _is_ a good tool, and additional circumstances where the addition of IPSEC makes it a reasonable option when it otherwise wouldn't have been. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Is there any encrypted or secure NFS?
On Mon, 2004-01-05 at 23:30, Paul Smith wrote: %% Mark Roach [EMAIL PROTECTED] writes: mr Note: if you tell me that he is going to boot off a knoppix CD and mr crack root on the box to su to userB, you must give me at least mr one example of an alternative that is not susceptible to an attack mr by a malicious local root Any method that forces the client to authenticate himself by more than simple UID. It must be doable since Windows SMB does it: having Administrator privileges on your Windows box doesn't give you the ability to read anyone else's files on a remote SMB share. Two words, keystroke logger. Or, have a telnetd program set to autostart on that windows box on logon, log in to the telnet session, instant access. For example, there are versions of NFS that use Kerberos for authentication. In this scenario simply being root (which given physical access to the box is obviously trivial) won't get you access to someone else's files. I don't personally know of any site that uses this, but it's in the NFS standards. You may argue that if you have root access on your target's box you can snoop enough information to fake out Kerberos, and you're probably right. Yup. Install a key-sniffer, wait for the victim to unwittingly type his password. You can install trojans, for starters. But at least you have to have root access on _their_ box incorrect, see above. This is all a moot point though, the fact is that there is no way to secure the data going in and out of a machine such that root can't ever get at it. There are lot's of attempts at making it difficult (it's called DRM) but it is not something that is possible to completely attain. The sensible person will use the tool that makes the job difficult enough to dissuade the likely attackers based on the level of risk involved (this is assuming that security/complexity are tradeoffs, if there exists a more secure, less complex option, it's a no-brainer). I am not saying that nfs is super-secure here, so I hope nobody gets me wrong. (though I do think that in many cases it is good enough) My only point in all of this is that if you think other protocols have magic, not-even-root-can-catch-me-now-bwahahaha voodoo, you are mistaken. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Is there any encrypted or secure NFS?
On Sat, 2004-01-03 at 08:50, J.H.M. Dassen (Ray) wrote: On Sat, Jan 03, 2004 at 08:30:48 -0500, Antonio Rodriguez wrote: What would be the best route to establish an encrypted or secure nfs session? There are several approaches: - Establish a VPN connection (e.g. FreeS/WAN IPSec, or tinc) between the hosts and route your NFS traffic over it. This is probably the most straightforward and mature option. I would strongly encourage this method. Does it strike anyone else as strange that every single application protocol has to (or just _is_) writing their own security/encryption system? Get it properly encrypted at a lower level with ipsec, and you can go about your business (whee, telnet's back). -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Rdesktop users?
On Sun, 2004-01-04 at 16:50, Curtis Vaughan wrote: Basically, when I try to connect to a Terminal Server (whether I use 1.2.x or 1.3.0) I get the error that it cannot connect. As I recall it had something to do with forcing the Terminal Server to think the client had a built in license. There was a particular option one would I think that giving you the answer you want (how to fake a license) could be considered a violation of the DMCA ;-) The correct answer is: buy a license and set up a license server. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ipsec kernel patch 2.4.23
On Sun, 2003-12-21 at 19:27, Antony Gelberg wrote: Hi all, I'm trying to install freeswan on a woody box with 2.4.23 from backports.org. I apt-got kernel-patch-freeswan, did an export PATCH_THE_KERNEL=yes, and a make-kpkg. But the patch fails, see below. [...] ipsec_init.c:204: too few arguments to function `inet_del_protocol' you have to patch the patch to work with 2.4.2?. See the documentation for kernel-patch-freeswan for more info. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Woody with Gnome2.4 Backport or Sarge?
On Mon, 2003-12-22 at 08:50, M. Kirchhoff wrote: A friend of mine is interested in migrating from WinXP to Debian. I suggested that Woody is ideal for the most secure, stable environment, but he balked at the ugly Gnome1.x. My question is thus: is it better to install Woody and backports of Gnome2.4, Mozilla, Pan, and other of his assorted favorites, or simply go with Sarge? it depends Gnome2.x comprises such a large number of packages that I question the stability of its backport, not to mention the other additional backports. The gnome 2.4 backports have been pretty widely tested, gnoppix uses them (I think they helped create them) an I believe that the 80,000+ desktops in extramadura spain are using either the 2.2 or 2.4 backports. Give 'em a try. I think it will work just fine. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: router + laptop: naive question
On Mon, 2003-12-22 at 08:55, Jerome BENOIT wrote: formely I could connect from other computers to my laptop (scp), now I cannot: is there a way to configure my stuff in such a way that the other computers think that my router is in fact my laptop ? Yes, but it is completely dependent upon the router, so nothing really related to you computer. Check the router's documentation/manufacturer. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Filtering emails in ~/Maildir
On Sat, 2003-12-20 at 11:36, demslh wrote: I've jsut setup a Debian unstable box as an email server. It uses fetchmail to pull emails from several different pop3 accounts, which passes the emails to exim4, which dumps them in ~/Maildir I then pick up the emails using courier-imap server and an imap client. I would recommend using stable+backports for any internet-facing server, otherwise, keeping up-to-date and unbroken can be a PITA What i want to do now is filter the emails in the maildir into different folders. For instance: i want anything from [EMAIL PROTECTED] to go into inbox/debian-user anything from my local LUG, to go in the inbox/lug folder, and so on. I have a pretty similar setup. I use procmail to sort my messages, and use (among others) the following rules. ~/.procmailrc: MAILDIR=$HOME/Maildir/ DEFAULT=$MAILDIR :0 * ^X-Mailing-List: [EMAIL PROTECTED] .debian-user/ You shouldn't need to do anything other than install procmail and add those rules, exim should be setup by default to use procmail for any account with a .procmail file in the homedir. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnome sound server monopolizing alsa's audio
On Thu, 2003-12-18 at 09:37, Bijan Soleymani wrote: The only thing close to this is esd -terminate that kills the server after the last client exits. However that's not very useful for gnome, since it only plays a little sound every once in a while. It'd have to run the server each time it wants to play a sound. It would be better off just trying to grab /dev/dsp whenever it needs to. What I usually do is move /usr/bin/esd to /usr/bin/esd.real and create a new /usr/bin/esd containing: #!/bin/sh exec /usr/bin/esd.real -as 5 $* the other thing you should do is get the libesd-alsa0 instead of the oss version. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gnome sound server monopolizing alsa's audio
On Thu, 2003-12-18 at 10:04, Dobai-Pataky Balint wrote: On Thu, 2003-12-18 at 16:56, Mark Roach wrote: i have this(followed the man pages): cat /etc/esound/esd.conf [esd] auto_spawn=1 spawn_options=-terminate -nobeeps -as 5 spawn_wait_ms=100 That doesn't work when esd is not auto-spawned though, which is the case when it is launched by gnome. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: email client
On Tue, 2003-12-16 at 19:47, Paul Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://www.linuxmafia.com/~rick/faq/#offlist (You sent a private-mail reply to my attempt to help you on a mailing list, and failed to mention having done so.) No, I sent you a private message which you have rudely forwarded back to the list. Read your own link: http://www.linuxmafia.com/~rick/faq/#outmail -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xcdroast
On Tue, 2003-12-16 at 13:17, Gavin Seddon wrote: Hi, This is what I get. 1# uname -r 2.2.20-idepci Was this supposed to be meaningful to someone, or just for fun? ;-) -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to get a newer Mozilla (1.5) in Sarge
On Mon, 2003-12-15 at 12:23, Rich B wrote: Howdy, I'm running Sarge (Testing) and want to update Mozilla to 1.5. I've looked at apt-get.org and only see backports to Woody, not Sarge. Where can I find Mozilla .deb's for Sarge? Have you tried the ones from unstable? -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Copy all desktop settings for a new user
On Sat, 2003-12-13 at 04:41, Philipp Schulte wrote: Hello, lets say I have a few users (not all of them with prior GNU/Linux experiance) and I want to setup a common profile for their accounts. By profile I mean things like desktop-icons, desktop-theme, menues, MUA-settings, browser-settings, printer ... Hi, Phil. Here are some starters: desktop icons: kde and gnome(=2.4) both use ~/Desktop as the desktop. Drop the appropriate files in /etc/skel/Desktop to handle those icons Openoffice: the /usr/bin/openoffice scripts use the settings in /etc/openoffice/ to create new oo profiles. Not sure what you want to set there, but that's where you should start looking. GTK theme: create a /etc/skel/.gtkrc that contains the line include /usr/share/themes//gtk-2.0/gtkrc where =the theme you want to use gnome defaults: most gnome apps use gconf (duck, Karsten's reading this thread :-). You'll probably want to read the gnome admin guide for info on setting default gconf values, especially this part: http://www.gnome.org/learn/admin-guide/latest/gconf-7.html That's about all I can help you with specifically. You're likely to have to deal with each application (or set of applications) in its own special way. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT] C programming, variable size array
On Fri, 2003-12-12 at 16:00, Aryan Ameri wrote: [...] To the person who suggested the linked-list thing to me. Thanks very much. I don't know what they are yet, but it seems something really interesting. I'll go back to my cave now, to study them. Hi, another thing you might want to check out, (after you learn the basics) is glib. Especially http://developer.gnome.org/doc/API/2.0/glib/glib-Arrays.html glib provides lots of useful data types such as arrays, linked lists, doubly-linked lists and other nice things so you don't have to reinvent your own every time. It's extremely portable and comes by default with almost all flavors of linux. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: Voicemail/fax software
On Wed, 2003-12-10 at 18:59, Jamin W. Collins wrote: On Wed, Dec 10, 2003 at 05:36:50PM -0500, Mark Roach wrote: [...] Thanks for the tip, I'll check it out. Although I talked to one of the sales guys at digium, and he said that they had a fax solution, but it didn't work all the time... so that may be a bust too... I'll have to keep looking. Does it need to detect the fax or just route it? I've had it configured here in the past to pass calls on to a modem (connected as a station) running under hylafax. I'm not real familiar with either product, so all I can describe is our current solution... maybe you can make a suggestion based on that... What we have at the moment is an NEC phone switch with 8 analog lines running to our voicemail/fax server. When a call comes in and is not answered, the switch sends the call to the voicemail server which then presents the greeting for the appropriate mailbox and saves the message. For faxes, pretty much the same thing happens, except that it doesn't wait for a phone to stop ringing. Hylafax seems to want a separate phone line for each incoming fax number, what I need is to be able to do what I just described: i.e. any one of 30 fax numbers might be connected to any one of 8 incoming analog lines... Do you think that's a possibility? I guess at this point I should be taking this to the asterisk mailing list, or at least off list. I really appreciate your advice. Thanks -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Linux is not for consumers!
On Thu, 2003-12-11 at 06:26, David Baron wrote: Problems persist and have gotten nowhere! 1. Connecting ADSL -- edited everything including ppp_on_boot, dsl_provider, pap_secrets, all that stuff. No go. Running pon ppp_on_boot gives me a bad tdb and quits. The only tdb reference is from Openoffice so is irrelevant here. (All of the little utilities for adding connections assume dialups. Windows has a virtual VPN adapter to handle that--says it's dialing but it ain't.) Did you try running pppoeconf? That has worked for me on the 15+ different dsl connections I have set up under debian... 2. Running Java stuff--Open office works. I installed netbeans (a Java programming IDE) but cannot get it to run. That's not a very detailed error report... what exactly does cannot get it to run mean? (also, OpenOffice is not a Java app, it's written in c++) 3. The Adobe Acrobat reader looks gosh-awful. Like Windows 2! I have a version 5.08 linux distribution--maybe this will look better? Yes, it does look quite bad, Adobe's fault (motif, shudder). KDE and GNOME each have their own PDF viewers that look a whole lot nicer. Have you tried them? They don't have all the features of acroread, but I find I don't typically need them all... YMMV 4. Oldie-but-goody hardware which I really would like to use: [snip some random hardware] Davicom32 Fax modem -- ISA, detected. Fairly standard and NOT a win modem (these have never worked on this computer for whatever reason). Haven't the foggiest how to set up KFax or anything else to use this modem. IRQ5, I believe, sitting on COM3. Suppose I could try talking to it through KPPP. should work just fine... # dmesg | grep ttyS ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A That will tell you the device name. kfax appears to be a fax _viewer_ I believe you are going to want to check out hylafax. To do some simple hyperterminal-type testing, apt-get install minicom. I would like to go over to Linux for everything except music production (since there is no appropriate software yet). It might take some effort, Debian doesn't do much of the work for you, but once you have it figured out, it won't break on you either. Also, keep in mind that you are not an average consumer. (and keep the troll-like subject lines to a minimum please. We are all here because we like to help other people in our free time, no need to goad us) -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: jabber
On Thu, 2003-12-11 at 12:59, Ken Gilmour wrote: On Thu, 2003-12-11 at 16:25, Jamin W. Collins wrote: and followed the quick start steps from the documentation (http://jabberd.jabberstudio.org/1.4/doc/adminguide). I make it partially way through Checkpoint #2, my login dies on step 4 of CP#4. Is there a way to get Jabber server via apt does anyone know? I can't see it in apt-cache search jabber You must have something very wrong with your apt sources then (or be using something pre-woody) apt-get install jabber does the trick on my woody system. -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Can we tag [T]echnical posts?
On Thu, 2003-12-11 at 16:41, Nunya wrote: [1] I know you can read a sender tag, so there's no hiding here. I'd ask that you respect my wishes in the From line, just because. It's my own definition of freedom and it ain't hurting nobody. Huh? -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
OT: Voicemail/fax software
Hi, folks. I have an aging OS/2 machine running some (also aging) voicemail/fax software that I'd like to replace with a Free alternative. My needs aren't terribly complex, I need to be able to - connect it to my phone switch - have multiple voice and fax mailboxes - configure the voicemail over the handset and I would like to also be able to have faxes sent to an appropriate email recipient. I have googled around, but there doesn't appear to be many mature choices. The Bayonne project seems like it wants to be what I need at some point, but doesn't seem ready yet. Does anyone have any suggestions? (PS, If there is not a Free solution, a proprietary solution that works on GNU/Linux would be acceptable as an interim measure) Thanks -- Mark Roach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]