exim-tls and exim
webdev:/etc/exim# dpkg --list| grep exim rc exim 3.35-1 An MTA (Mail Transport Agent) ii exim-tls 3.35-3 Exim Mailer - with TLS (SSL) support I just remove my exim app using dselect and installed the exim-tls app. I tried on outlook to add ssl support when sending but it gives me error that my exim dont have ssl support, what is the best way to test and configure it? -- Thank you, Louie Miranda ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: packages removed by Release Manager just reveal older versions
On Mon, 28 Jul 2003 00:10:06 +0200, Joey Hess wrote: > > aptitude or even dselect will display packages that are not in the > archive as "obsolete" or "local", making it easy to tell when you have > something outdated. ... This tool (pan) hasn't done such a hot job of quoting, but I have two questions. Does aptitude upgrade pull in recommends packages? What is the best way to create a log of installation actions with aptitude? My perception that I can't make a record has been a major reason I stick with apt-get. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DISK BOOT FAILURE
On Sun, 2003-07-27 at 18:11, Debian User wrote: > bios still sees both drives ... i think the hardware is still working. > > i re-lilo-ed without success. I still have to boot from the floopy. > You finally mention the reason for your OP (original post): your computer had a power failure. I think that the backup drives is hosed and that if your remove the drive and change the main drive to 'single' or 'single/master' mode you will see the problem fixed. That would be my best guess. > what is IIRC? If I Recall Correctly Other common email abreviations: OTOH on the other hand IMHO in my humble opinion IANAL i am not a lawyer LOL laugh out loud > > At 26 July 2003, Kevin Mark <[EMAIL PROTECTED]> wrote: > Welcome to the wonder world of debian! -Kev -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Intel Hyper Threading on Linux..
On Mon, 2003-07-28 at 02:00, Louie Miranda wrote: > > But yes Linux in general does support it. If your specific kernel does > > not take a look at the previous message I wrote about how to compile and > > install your own Debian Kernel... Makes it a snap. > > Hi, where does your howto located? Can i have a copy of it? > Actually, I posted a note to the Debian User List not more than 1 hour before my reply to yours. BUT here are the two URL that *I* always refer to: http://subwiki.honeypot.net/cgi-bin/view/Main/DebianKernelBuilding http://newbiedoc.sourceforge.net/system/kernel-pkg.html If those two HOWTOs don't work... I'll be glad to help you out in any way. BTW, it is good to always reply ON list. For future Reference. -- greg, [EMAIL PROTECTED] REMEMBER ED CURRY! http://www.iwethey.org/ed_curry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sandisk sddr-75 CF/SM usb reader problems
Neal accidentally sent this message to me instead of to the list... ,[ Neil Lippman's message ] | On Sun, 2003-07-27 at 18:23, Florian Ernst wrote: | > Hello Michael! | > | > At Sunday 27 July 2003 22:50 Michael Waters wrote: | > > I can't get this usb reader to work at all with a smartmedia card | > > (i don't have a compact flash card to test) although searching on | > > the web suggests that the sddr-75 is a standard USB Mass Storage | > > device and there are reports that it works in linux. | > > | > > [...] | > > | > > `mount -t vfat /dev/sd[a,b] /mnt/flash/` gives: | > > mount: /dev/sd[a,b] is not a valid block device | > > | > > [...] | > > | > > I bought the reader because I was having similar problems with my | > > camera. It's an Olympus D-510. I didn't use it for a while but I | > > had it working fine in linux last year with an earlier 2.4 | > > kernel. | > | > Did you try to mount a specific partition on the cam and the reader | > instead of the whole device, ie. 'mount /dev/sda1 /mnt/flash/'? | | A good point, which I missed in your original posting - you need to | include the partition on the drive, which is (as far as I can tell) | always partition 1 - so you need to access /dev/sda1 or /dev/sdb1. | However, sg_map should show you which sd[ab] each of sg[123] maps to | if the devices are being correctly recognized by usb-storage...so | something still seems amiss. | | nl | ` -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
initscripts
Still no responses to my apm question ( http://lists.debian.org/debian-user/2003/debian-user-200307/msg03355.html ), so I've started investigating a bit, to see if I can figure this out for myself. I have found the following page that describes, amoung other things, the initscripts that are run when changing runlevels: http://www.debian.org/doc/debian-policy/ch-opersys.html and I think I am in the right area. Trouble is, this seems to be more aimed at package maintainers, so that packages that add initscripts do so in "the right way" for debian. Still, what I have come up with is the following: 1) I need to write a script that when it receives the argument "stop" will do a "modprobe apm power_off=1". 2) The script needs to live in /etc/rc0.d, or somewhere else but be symlinked there. 3) The script needs to be called Sxxloadapm, where xx is a suitably high number so that gdm has already been stopped (I chose this, as in rc0.d, "S" scripts are still run after "K" ones, but with the parameter "stop", so it seems safer). I'm afraid that's as good as I can do by myself, so would anyone be so kind as to do the final polishing for me (that includes suggestions as to the script itself - I've never written one of these before, and I find the existing ones hard to follow). I would also like to make sure that this is done in the nicest way, i.e. not too hacky. The whole thing is a bit of a hack, I know, but I can't see any other way to make this work. Thanks in advance. -- Cheers, .~. /V\ // \\ /( )\ ^`~´^ < hugge > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Help needed tracking possible hardware related crash
I don't have any hopes a quick solution but would appreciate tips on how to track down the problem described below. I suspect it is a hardware problem but I don't seem to find any logs telling me what is going on at the crash moment. The symptoms are: 1. About once per week all networking services but ping stop working requiring us to ask our ISP for a reboot. 2. The Java Virtual Machine (Sun 1.4.2) we use crashes while doing a networking operation in native code. This would be a bug in the JVM but we don't have this problem on other Linux systems. Another strange thing is that the process becomes defunct in such a way that sometimes not even root using -9 option can kill it. Any help greatly appreciated. /calin signature.asc Description: This is a digitally signed message part
Re: Mutt: "/home/adam/Maildir/ is not a mailbox"
Hmmm... I've read (& shamelessly borrowed) your configs and commented/uncommented everything in favour of Maildir in .procmailrc & .muttrc and when, as user, I try mutt I get "---Mutt: (no mailbox) [Msgs:0]---(threads/date)-(all)---/home/adam/Maildir/ is not a mailbox." The only thing I can think of is that I had created /home/adam/Maildir but when I deleted it because it was empty, mutt told me "/home/adam/Maildir does not exist, shall I create it ?" - I said 'yes'. However, this is not the same as "home/adam/Maildir/ is not a mailbox". I'm confused & tired & need an early night. Any constructive insights will be appreciated. Adam Bogacki, [EMAIL PROTECTED] Jeff Waugh wrote: is there a conflict between the 'Maildir' paragraph and the following 'Mail/IN*' below [.muttrc] ? Yes. They have nothing to do with each other. If you're switching to Maildir, your mail is in ~/Maildir. None of your mailboxes lines are relevant. Read my configs again, and comment/uncomment the right bits. :-) - Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Thoughts about my mail setup
Hi everybody. Yesterday, I tried to read mail from my IMAP account via modem. This was horribly slw. So I thought about my mail setup again. I know that I could store my IMAP mails locally (fetch them once only) with "offlineimap". At the moment I am using kmail for my three mail-accounts: Two POP3-accounts on gmx.de and one IMAP account on web.de. I have read the man page of "offlineimap" and saw the remark that it does not work together with kmail, but it can be used together with a locally running imap server (courier). So, what do you think about such a setup: [EMAIL PROTECTED] -> fetched by kmail, sent through smtp.gmx.de [EMAIL PROTECTED] -> fetched by kmail, sent through smtp.gmx.de [EMAIL PROTECTED] -> fetched by offlineimap -> fetched from local imap by kmail, sent to local imap folder, synchronized by offlineimap Does this make sense? And no, baloo, I do NOT want to use mutt/exim.. thanks joerg -- Gib GATES keine Chance! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Thoughts about my mail setup
on Mon, Jul 28, 2003 at 11:14:59AM +0200, Joerg Johannes wrote: > Hi everybody. > > Yesterday, I tried to read mail from my IMAP account via modem. This was > horribly slw. So I thought about my mail setup again. I know that I > could store my IMAP mails locally (fetch them once only) with > "offlineimap". At the moment I am using kmail for my three > mail-accounts: Two POP3-accounts on gmx.de and one IMAP account on > web.de. > I have read the man page of "offlineimap" and saw the remark that it > does not work together with kmail, but it can be used together with a > locally running imap server (courier). So, what do you think about such > a setup: > > [EMAIL PROTECTED] -> fetched by kmail, sent through smtp.gmx.de > [EMAIL PROTECTED] -> fetched by kmail, sent through smtp.gmx.de > [EMAIL PROTECTED] -> fetched by offlineimap -> fetched from local imap by > kmail, sent to local imap folder, synchronized by offlineimap > > Does this make sense? And no, baloo, I do NOT want to use mutt/exim.. > > thanks > > joerg Cyrus imap/exim on a local machine & whichever Mail User Agent I feel like on whatever machine I am sat at works a treat for me I use Mutt, pegasus(MS), & evolution on various machines for various reasond & they all work. Imap restricts your use of MUA abit but as you are using imap remotly already you'll know that. The only issue I have is that evolution ( & some others I beleive) store a local cache of emails which is a bit of a waste, can get in the way, & doesn't speed anything up on my network. I haven't tried very hard to stop this, it may be possible. Steve -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Random.h
Hello! I'm trying to #include because I've read somewhere that if I need very good random numbers in linux thats the way to go. But when I include it and try to compile I get: $gcc -lgmp prim_med_gmp.c /tmp/ccgB8Uh9.o(.text+0x15b): In function `main': : odefined reference to "get_random_bytes" collect2: ld returned 1 exit status I think there is some library I should include but I have no idea which. How do I fix this? /nisse -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cannot Connect to some website on linux
On Mon, July 28 at 1:04 AM EDT Greg Folkert <[EMAIL PROTECTED]> wrote: >On Mon, 2003-07-28 at 00:43, Ron Johnson wrote: ><---SNIP---> >> # cat /proc/sys/net/ipv4/tcp_ecn >> 1 >> >> When /proc/sys/net/ipv4/tcp_ecn had the value "1", I couldn't get >> to thatpetplace either. However, I could, after I did this, and >> then restarted Mozilla: >> # echo "0" > /proc/sys/net/ipv4/tcp_ecn >> # cat /proc/sys/net/ipv4/tcp_ecn >> 0 >> >> Make sure to reenable tcp_ecn when you're finished! >> >> # echo "1" > /proc/sys/net/ipv4/tcp_ecn >> # cat /proc/sys/net/ipv4/tcp_ecn >> 1 > >Ron, as of this writing, 12:55AM EDT, I will have to disagree with you >about turning tcp_ecn back on. For about the next 2 years at least. > ... <--SNIPPED--> ... >Well, overall ECN is a great way to make the Internet "self-regulate" >and of course the biggest obstacle is M$ products. But for quite a >while yet, defaulting it to OFF is a good thing. Could one of you briefly describe ECN and/or point me to a link? I have never heard of it. Shawn Lamson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
php4-4.3.2 for sid - experimental deb's
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have created some deb's for php-4.3.2 which i would like to share. I am relativly new to debian packaging, so these deb's will probably contain lots of errors and problems. They are based on Adam Conrad's php-4.2.3 packages and will hopefully provide a clean upgrade. Files are here: deb http://www.cs.uni-magdeburg.de/~aschultz/debian/sid/ ./ deb-src http://www.cs.uni-magdeburg.de/~aschultz/debian/sid/ ./ Have fun Andreas -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/JPiy9wB/4yf/y7cRArv0AJ4wxOaXiwYB0v0mwN8ck+xiDY231QCfdC6t wm/V6iSVEbo/s7FTfpfV8SQ= =hTEt -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: abcde is failing me. SOLVED
On Mon, 28 Jul 2003 03:29:01 -0300 Stephen Cormier <[EMAIL PROTECTED]> wrote: > On July 26, 2003 09:57 am, Antonio Rodr wrote: > > > Solution: > > > > 1. chown g+rw /dev/sg* > > 2. chgrp cdrom /dev/sg* > > > > These two steps have been enogh to make abcde work as user (user > > that belongs to cdrom group). > > I was having similar problems with Grip and your post lead to the > solution however I had to use: > > 1. chmod g+rw /dev/sg* > 2. chgrp cdrom /dev/sg* > > Using chown produced this error: > > HappyTux:/home/stephen# chown g+rw /dev/sg* > chown: `g+rw': invalid user > > Thanks for posting your solution as it lead to mine I am now happily > ripping my cd's as my own user now. > > > -- > May the source be with you! Thank you for the correction. That is what I meant. My mistake writting it. Thanks from all to all. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Random.h
On Mon, Jul 28, 2003 at 11:59:37AM +0200, Nils-Erik Svang?rd wrote: > I'm trying to > #include > because I've read somewhere that if I need very good random numbers in ^ Where? > linux thats the way to go. > But when I include it and try to compile I get: > $gcc -lgmp prim_med_gmp.c > /tmp/ccgB8Uh9.o(.text+0x15b): In function `main': > : odefined reference to "get_random_bytes" > collect2: ld returned 1 exit status You're not supposed to include kernel headers like from userspace code. Have you tried just using the libc's rand() function? If that's too pseudo-random for you, you could read from /dev/random instead. See the random(4) man page. Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cannot Connect to some website on linux
On Monday 28 July 2003 12:13, Shawn Lamson wrote: > Could one of you briefly describe ECN and/or point me to a link? I > have never heard of it. It's described in RFC 3168: http://www.rfc-editor.org/rfc/rfc3168.txt (also in 2418 which is replaced by 3168 but has a short summary that is IMO a bit easier to understand.) In short, it's a mechanism to actively signal network congestion instead of implicitly signalling by dropping packets. -- Got Backup? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
how to set up NIC
I am attempting to install debian on a Thinkpad570 (Woody from CDs, using bf24). I have plugged in a PCMCIA network interface. How do I configure it? I've configured /etc/hosts and /etc/pcmcia/network.opts (well, I think I have - they look fairly self-explanatory), and I've written an /etc/resolv.conf (nothing was provided by the default install, to my surprise). I think I have to write some stuff in /etc/network/interfaces, but I have no idea what. And what else will I need to configure to get the ethernet connection, so that I can install the rest of woody by ftp? Any help gratefully recieved! -- richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cannot Connect to some website on linux
On Mon, July 28 at 1:20 PM EDT Nicos Gollan <[EMAIL PROTECTED]> wrote: >On Monday 28 July 2003 12:13, Shawn Lamson wrote: >> Could one of you briefly describe ECN and/or point me to a link? I >> have never heard of it. > >It's described in RFC 3168: > >http://www.rfc-editor.org/rfc/rfc3168.txt > >(also in 2418 which is replaced by 3168 but has a short summary that is >IMO a bit easier to understand.) > >In short, it's a mechanism to actively signal network congestion >instead of implicitly signalling by dropping packets. Thanks Nicos. Shawn Lamson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cannot Connect to some website on linux
At 11:48 PM 7/27/2003 -0400, ThanhVu Nguyen wrote: I use Debian Woody, with cable modem connected to the computer via eth0 , it get the ip via dhcp during bootup. The problem I have is that I cannot connect to the site www.thatpetplace.com , it just timed out. I've tried it on various browsers and same result. wget returns this wget www.thatpetplace.com --23:44:35-- http://www.thatpetplace.com/ => `index.html' Resolving www.thatpetplace.com... done. Connecting to www.thatpetplace.com[208.30.147.3]:80... failed: Connection timed out. I ran into a similar problem some time back. I used Firestarter to build a firewall and it (mistakenly) listed some now-public IP addresses as "non-routable" ones. Simple check, assuming you're running a iptables/ipchains firewall on this machine, is to disable it temporarily. Or, check the rules for the firewall to see if any 208.x.x.x addresses are listed anywhere. Hall -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Procmail partially working
I have setup fetchmail to get my mail from my two pop3 accounts and to be then processed by procmail. Mail is then processed by Spamassassin, messages that were found to be spam "should" be moved to oblivion (/dev/null), but nothing happens. I can still marked spam in my inbox. What should I do? Is there a permission issue with /dev/null? Here's my .procmailrc file: #Take to SA :0fw | /usr/bin/spamassassin #Move flagged spam into the bottomless Unix pit. :0: * ^X-Spam-Flag: YES /dev/null :0: * ^X-Spam-Status: Yes /dev/null Thanks for any advice. Jernej -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mutt: "/home/adam/Maildir/ is not a mailbox"
Quoting Adam Bogacki <[EMAIL PROTECTED]>: > Hmmm... I've read (& shamelessly borrowed) your configs and > commented/uncommented > everything in favour of Maildir in .procmailrc & .muttrc and when, as > user, I try mutt I get > > >"---Mutt: (no mailbox) > >[Msgs:0]---(threads/date)-(all)---/home/adam/Maildir/ > >is not a mailbox." > Maildir should be a directory with new, cur, and tmp sub-directories in it. I can duplicate the error message is I delete the subdirectories. Are you sure you created them? Jeffrey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Procmail partially working
On Mon, Jul 28, 2003 at 02:56:38PM +0200, J. Zidar wrote: > I have setup fetchmail to get my mail from my two pop3 accounts and to > be then processed by procmail. Mail is then processed by Spamassassin, > messages that were found to be spam "should" be moved to oblivion > (/dev/null), but nothing happens. I can still marked spam in my inbox. > > What should I do? Is there a permission issue with /dev/null? > > Here's my .procmailrc file: > #Take to SA > :0fw > | /usr/bin/spamassassin > > #Move flagged spam into the bottomless Unix pit. > :0: > * ^X-Spam-Flag: YES > /dev/null :0: says to use a locallockfile, which by default is the destination filename with $LOCKEXT appended, and you won't be able to write to /dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead. Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cannot Connect to some website on linux
> At 11:48 PM 7/27/2003 -0400, ThanhVu Nguyen wrote: > >I use Debian Woody, with cable modem connected to the computer via eth0 > >, it get the ip via dhcp during bootup. The problem I have is that I > >cannot connect to the site www.thatpetplace.com , it just timed out. > >I've tried it on various browsers and same result. wget returns this > > > >wget www.thatpetplace.com > >--23:44:35-- http://www.thatpetplace.com/ > >=> `index.html' > >Resolving www.thatpetplace.com... done. > >Connecting to www.thatpetplace.com[208.30.147.3]:80... failed: > >Connection timed out. > I had this happen to me 2 weeks ago. Very annoying. For future reference, the easiest way to check for whether ECN is causing it is to use "tcptraceroute". Just use tcptraceroute , then try tcptraceroute -E . The second call with the -E switches on ECN. if the first gets to the destination, and the second doesn't, it's an ECN problem. You can either remove ECN support from the kernel, or: check the file: /proc/sys/net/ipv4/tcp_ecn If ECN is on, the file will contain a 1. Simply edit the file and change the 1 to a 0. FYI, the site I was trying was ananova.com Cheers, Andy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
2.2.3 to 2.2.8a Upgrade Gotchas??
I'll be upgrading our Samba server from the 2.2.3a in Debian stable to 2.2.8a from www.perrier.eu.org. Is there anything I should watch out for when making this upgrade jump? The reason for the upgrade is a problem we ran into when using Dfs, ACLs and Windows 9x clients; the 9x clients are having problems creating directories when accessing a share through Dfs. When they access it through their normal share, everything works fine. Note that their permissions are granted through an ACL, and not through the standard Unix permissions. Thanks, Ken McCord -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Apache Problems (please help)!
On Sun, 2003-07-27 at 17:54, Francisco Castellon wrote: SNIP > So I couldn't start Apache through the Webmin module (the samething also > happens when I reboot the server and it tries to start the apache > service, it will hang in that part of the boot up process until I enter > in the passphrase then it will continue booting), so then I went to the > command line and again I got the part that says "Enter pass phrase:" and > I did, and apache started. However, when I try to access apache through > https://localhost or https://host-ip-address or https://host.domain.com > it doesn't work it just gives me the page cannot be displayed error. It > only works if I access the server through regular "http://"; and not > through "https://"; so my two big questions are: > > 1. How can I make it so that it doesn't ask me the pass phrase every > time I start apache? And if I do disable the pass phrase feature does > that mean that SSL is not started? There's a faq for this: http://www.modssl.org/docs/2.8/ssl_faq.html#ToC31 > > 2. Why are the references to any https:// address to the web server work > even after I start apache in the command line and enter in the pass > phrase as I am prompted to do so? How come only the http:// references > work? > Not sure I follow this one. Only thing I can think of off hand is that the module hasn't been loaded before your configuration parameters are parsed. Make sure any AddModule/LoadModule directives in httpd.conf come before your IfModule directives. Other than that, tail error logs, see if apache is listening on the correct port, etc. -- Mental ([EMAIL PROTECTED]) CARPE NOCTEM, QUAM MINIMUM CREDULA POSTERO. GPG public key: http://www.neverlight.com/pas/Mental.asc signature.asc Description: This is a digitally signed message part
Q on NYT article on the cost of Spam
If you go here: http://www.nytimes.com/2003/07/28/technology/28SPAM.html?hp=&pagewanted=print&position= it tells you about the cost of spam. Mozilla's antispammer does the job fine for me. The question nobody(?) seems to answer is why spam at all: it has to be that doing it gets you money. Can anybody answer that side of it? The article only addresses the "bad" side but there's got to be (10)1000's that answer spam and order whatever they are selling... Thanks. Hugo. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to set up NIC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jul 28, 2003 at 01:38:08PM +0100, Richard Lyons wrote: > I am attempting to install debian on a Thinkpad570 (Woody from CDs, > using bf24). I have plugged in a PCMCIA network interface. How do I > configure it? This might be of some help... http://ursine.ca/doc/HOWTO/en-html/Laptop-HOWTO.html http://ursine.ca/doc/HOWTO/en-html/PCMCIA-HOWTO.html http://ursine.ca/doc/HOWTO/en-html/Net-HOWTO/index.html - -- .''`. Paul Johnson <[EMAIL PROTECTED]> : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than fix a system -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/JTB6J5vLSqVpK2kRAiFzAKCTb8W7dqgAHQe4DstngwV9E0D/egCgno6B /oldyi9gFKegpMcA1ET2Cwg= =lfsv -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Identify dhcp client to server using hostname
I am trying to allocate ip-addresses on my local network using dhcp3-server. I want a couple of systems to have a fixed address, while other system should get any ip that is still available. I have created a range of dynamic ip-numbers and have tried to find a way to identify those hosts that need a fixed address using host statements. When I add a "hardware ethernet HWADDR"-statement to a host definition, everything works as expected. However I don't want to use MAC-addresses, since sometimes I boot a live-cd or another operating system in which case I'd like to use an ip from the dynamic range. I have tried changing the "send host-name" option in dhclient.conf, but this seems to get happily ignored. These are the relevant parts from dhcpd.conf on the server: -- option domain-name "mydomain.net"; option domain-name-servers 10.0.0.138; option routers 192.168.1.3; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.11 192.168.1.19; } host myhost { # hardware ethernet 00:10:A7:10:83:B8; fixed-address 192.168.1.7; } -- The only uncommented line in dhclient.conf on the client: -- send host-name "myhost"; -- When I uncomment the hardware statement, I get 192.168.1.7, otherwise I get something from the 11-19 range. Is it possible to use a different identifier (ideally the host name) and if so what statements are needed in the different config-files? Thanks, Bob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ~/.Xdefaults misbehaviour ?!?!
There is *no* difference in output of appres while scrolling works and after is stops working. Please, any ideas? Also sprach Michael D. Schleif (Sun 27 Jul 02003 at 10:32:46AM -0500): ># cat ~/.Xdefaults >*charClass:33:48,37:48,45-47:48,64:48 >xterm*font:9x15 >*background: white >*foreground: black >*scrollKey:true >*scrollTtyOutput: false >Scrollbar.JumpCursor: true >*visualBell: true >XTerm*reverseWrap: true >XTerm*saveLines: >XTerm*scrollBar: true >XTerm.VT100.titeInhibit: true >XTerm.VT100*dynamicColors: on >mutt.vt100.translations: #override \n\ > None: string(<<) \n\ > None: string(>>) \n >mutt*font: 9x15 >mutt*geometry: 150x65+50+50 >mutt*scrollBar:false > > ># grep ^bind ~/.muttrc >bind pager < previous-line >bind pager > next-line > > ># sudo dpkg -l '*xfree*' | grep ^i >ii xfree86-common 4.2.1-9X Window System (XFree86) infrastructure >ii xserver-xfree8 4.2.1-9the XFree86 X server > > > When I first login, and open mutt, the background is _black_ and > foreground is _white_ ;< Nor does mutt scroll wheel work . . . > > When I goto an xterm, and invoke > >xrdb -load ~/.Xdefaults > > then, restart mutt, colors are good and scroll wheel in pager works as > expected. > > I leave mutt sessions _open_ for hours and days. After several hours, > the scroll wheel behaviour changes. First, scrolling affects the whole > terminal session, no longer confined to the pager subset of the > terminal. > > Later, the scroll wheel has *no* affect at all in the mutt sessions. > > Closing these mutt sessions, and starting new session[s] does *not* > correct the problem. > > Logoff/logon *does* correct the problem ;< > > What am I missing? -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- pgp0.pgp Description: PGP signature
apache-ssl or libapache-mod-ssl?
hi list, i'm running a webserver for a client who wants to add an online payment system to his webshop so i have to deploy a ssl-enabled webserver on the same machine. the question is now if i would upgrade the already running apache with mod-ssl or rather install an independent ssl-enabled apache. i would feel slightliy better with the two-independent-packages approach but i could be missing something. could anyone experienced with this tell me about some pros and cons i might have forgot to consider? thanks in advance. alexander -- Alexander Meyer Key ID: FA4FC80C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cannot Connect to some website on linux
On Mon, 2003-07-28 at 06:13, Shawn Lamson wrote: > ><---SNIP---> > >> # cat /proc/sys/net/ipv4/tcp_ecn > >> 1 > > > >Ron, as of this writing, 12:55AM EDT, I will have to disagree with you > >about turning tcp_ecn back on. For about the next 2 years at least. > > > ... > <--SNIPPED--> > ... > >Well, overall ECN is a great way to make the Internet "self-regulate" > >and of course the biggest obstacle is M$ products. But for quite a > >while yet, defaulting it to OFF is a good thing. > > Could one of you briefly describe ECN and/or point me to a link? I > have never heard of it. Sure, the best one I have seen yet is Sally Floyd's page about it: http://www.icir.org/floyd/ecn.html It's one of her research projects. -- greg, [EMAIL PROTECTED] REMEMBER ED CURRY! http://www.iwethey.org/ed_curry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Upgrading firewall
Hi, I'm using 3 boxs of debian sid. One is the firewall. I'm using squid. I have this rule: iptables -t nat -A PREROUTING -p TCP --dport 80 -j REDIRECT --to-port 3128 Since this rule is for ethx traffic, how can i put apt-get using the squid? The problem is the firewall box, the others are working fine with squid. Thanks in advance. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Messages from Cron Daemon
On Sun, Jul 27, 2003 at 05:01:42PM +0200, J. Zidar wrote: | How can one lower the frequency of messages (mails) from Cron Daemon? | The text of the mail: | fetchmail: background fetchmail at 11547 awakened. | | I have fetchmail running as a daemon but as I am not connected to the internet | all the time, that's why cron complains. cron complains because the program it ran produced output. Programs run from cron are not supposed to produce output unless an error occurs. That's why cron mails you the output (it must have been an error). For fetchmail, add '--silent' to the command line options to suppress informative output like that. -D -- If your company is not involved in something called "ISO 9000" you probably have no idea what it is. If your company _is_ involved in ISO 9000 then you definitely have no idea what it is. (Scott Adams - The Dilbert principle) http://dman13.dyndns.org/~dman/ pgp0.pgp Description: PGP signature
Re: Procmail partially working
Monday 28 of July 2003 15:14 je &F pisal: >On Mon, Jul 28, 2003 at 02:56:38PM +0200, J. Zidar wrote: >> I have setup fetchmail to get my mail from my two pop3 accounts and to >> be then processed by procmail. Mail is then processed by Spamassassin, >> messages that were found to be spam "should" be moved to oblivion >> (/dev/null), but nothing happens. I can still marked spam in my inbox. >> >> What should I do? Is there a permission issue with /dev/null? >> >> Here's my .procmailrc file: >> #Take to SA >> >> :0fw >> : >> | /usr/bin/spamassassin >> >> #Move flagged spam into the bottomless Unix pit. >> >> :0: >> >> * ^X-Spam-Flag: YES >> /dev/null >> >:0: says to use a locallockfile, which by default is the destination > >filename with $LOCKEXT appended, and you won't be able to write to >/dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead. > >Cheers, > >-- >Colin Watson [EMAIL PROTECTED] I've done as your suggested an now no spam is seen in my inbox. cute. Thank you a million, Jernej Zidar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Messages from Cron Daemon
Monday 28 of July 2003 17:28 je &F pisal: >On Sun, Jul 27, 2003 at 05:01:42PM +0200, J. Zidar wrote: >| How can one lower the frequency of messages (mails) from Cron Daemon? >| The text of the mail: >| fetchmail: background fetchmail at 11547 awakened. >| >| I have fetchmail running as a daemon but as I am not connected to the >| internet all the time, that's why cron complains. > >cron complains because the program it ran produced output. Programs >run from cron are not supposed to produce output unless an error >occurs. That's why cron mails you the output (it must have been an >error). > >For fetchmail, add '--silent' to the command line options to suppress >informative output like that. > >-D I realized that the messages were cause by Cron running a fetchmail job, which was not neccessary since fetchmail was already runnin the daemon mode. Thank anyway. J.Zidar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mutt: "/home/adam/Maildir/ is not a mailbox"
Jeffrey L. Taylor wrote: Quoting Adam Bogacki <[EMAIL PROTECTED]>: Hmmm... I've read (& shamelessly borrowed) your configs and commented/uncommented everything in favour of Maildir in .procmailrc & .muttrc and when, as user, I try mutt I get "---Mutt: (no mailbox) [Msgs:0]---(threads/date)-(all)---/home/adam/Maildir/ is not a mailbox." Maildir should be a directory with new, cur, and tmp sub-directories in it. I can duplicate the error message is I delete the subdirectories. Are you sure you created them? The best way to create a maildir is $ maildirmake Maildir which creates the necessary subdirectories and sets the permissions reasonably. maildirmake is in packages courier-base and maildrop Randy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Procmail partially working
Colin Watson wrote: > > #Move flagged spam into the bottomless Unix pit. > > :0: > > * ^X-Spam-Flag: YES > > /dev/null > > :0: says to use a locallockfile, which by default is the destination > filename with $LOCKEXT appended, and you won't be able to write to > /dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead. Better yet don't lock it at all, /dev/null really does not care if two processes write to it at once. -- see shy jo pgp0.pgp Description: PGP signature
Re: initscripts
On Mon, 28 Jul 2003 10:38:14 +0200 Peter Hugosson-Miller <[EMAIL PROTECTED]> wrote: > Still no responses to my apm question ( > http://lists.debian.org/debian-user/2003/debian-user-200307/msg03355.html > ), so I've started investigating a bit, to see if I can figure this > out for myself. > > I have found the following page that describes, amoung other things, > the initscripts that are run when changing runlevels: > http://www.debian.org/doc/debian-policy/ch-opersys.html and I think I > am in the right area. Trouble is, this seems to be more aimed at > package maintainers, so that packages that add initscripts do so in > "the right way" for debian. > > Still, what I have come up with is the following: > > 1) I need to write a script that when it receives the argument "stop" > will do a "modprobe apm power_off=1". > 2) The script needs to live in /etc/rc0.d, or somewhere else but be > symlinked there. > 3) The script needs to be called Sxxloadapm, where xx is a suitably > high number so that gdm has already been stopped (I chose this, as in > rc0.d, "S" scripts are still run after "K" ones, but with the > parameter "stop", so it seems safer). > > I'm afraid that's as good as I can do by myself, so would anyone be so > kind as to do the final polishing for me (that includes suggestions as > to the script itself - I've never written one of these before, and I > find the existing ones hard to follow). > > I would also like to make sure that this is done in the nicest way, > i.e. not too hacky. The whole thing is a bit of a hack, I know, but I > can't see any other way to make this work. > > Thanks in advance. > I can't really help, but if apm is causing you problems, and you have a fairly new motherboard, you might wanna check out if it supports acpi. I switched to acpi resently and it works like a charm (much better than apm ever did). mvg, Wim -- Only two things are infinite: human stupidity and the universe, and I'm not sure about the latter. -- Albert Einstein -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Intel Hyper Threading on Linux..
On Mon, 2003-07-28 at 00:44, Bob Proulx wrote: > Louie Miranda wrote: > > Does Debian/Kernel? Support HT? > > Works fine for me. One of the systems here is a dual processor with > hyperthreading enabled. It was an accident that HT was enabled but we > decided to leave it that way and run some benchmarks on it. It is a > dual cpu and so it shows up as four processors with the HT enabled. > It has so far been quite stable with no trouble at all. Currently > running the kernel-image-2.4.20-2-686-smp from woody-proposed-updates. > > As to whether it has benefits the jury is still out. Since it is > already a dual processor machine I don't think it adds anything > significant to turn HT on and in some cases I believe can actually > slow things down. But no conclusive data yet one way or the other. >From what I've read, you can sometimes see speedups from HT if your app is threaded, but if you run mostly non-threaded apps, you'll see a slowdown because of pseudo-MP overhead on 1 CPU. > > Just curious.. And how come redhat and suse are always on ads, well > > commercialzed linux. > > They are commercial ventures out to make money. Their marketing model > is to try to convince people that the water which comes out of the tap > is not safe to drink and that you should buy bottled water from them. Bad analogy: The tap water where I come from is safe, but but has a definite chemical smell/taste. Thus, we buy bottled water... -- +-+ | Ron Johnson, Jr.Home: [EMAIL PROTECTED] | | Jefferson, LA USA | | | | "I'm not a vegetarian because I love animals, I'm a vegetarian | | because I hate vegetables!"| |unknown | +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: initscripts
Wim De Smet wrote: I can't really help, but if apm is causing you problems, and you have a fairly new motherboard, you might wanna check out if it supports acpi. I switched to acpi resently and it works like a charm (much better than apm ever did). mvg, Wim My guess is it wouldn't work, as my mobo is from October 1998, but thanks for the thought. Anyway, apm works for me (kind of), just got to figure out how to get it loaded so it doesn't crash everything. I know this is pretty advanced stuff, but I've made a good try and almost got the answer, so please could someone with the knowledge turn their hand at this to finish the job off? Thanks! -- Cheers, .~. /V\ // \\ /( )\ ^`~´^ < hugge > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to set up NIC
On Monday 28 July 2003 15:17, Paul Johnson wrote: > On Mon, Jul 28, 2003 at 01:38:08PM +0100, Richard Lyons wrote: > > I am attempting to install debian on a Thinkpad570 (Woody from > > CDs, using bf24). I have plugged in a PCMCIA network interface. > > How do I configure it? > > This might be of some help... > > http://ursine.ca/doc/HOWTO/en-html/Laptop-HOWTO.html > http://ursine.ca/doc/HOWTO/en-html/PCMCIA-HOWTO.html > http://ursine.ca/doc/HOWTO/en-html/Net-HOWTO/index.html Useful links, thanks. I had, in fact meanwhile found the Net-HOWTO, and am trying to use its guidance. It tells me that, for Debian, I need to put the Interface Config/Routing commands in /etc/init.d/network and the Server Initialization in /etc/rc2.d/*. It does not tell me what to write in those locations. I have tried starting the network manually thus: # ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up but I get error messages: SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device SIOCSIFNETMASK: No such device eth0: ERROR while getting interface flags: No such device which suggests there is not much point in continuing with trying to write the configuration files from scratch. However, inserting the card shows immediately: cs: cb_alloc(bus 7): vendor 0x10ec, device 0x8139 so I suppose the device is identified, and lsmod shows (inter alia): ds 6624 2 i82365 22416 2 pcmcia_core 41408 0 [ds i82365] which may or may not be what it should say, but at least these are the modules I am told to expect. I now do not know how to proceed. Perhaps it is not possible to connect this laptop to the LAN for some reason that I know nothing of. Perhaps I need to install the Debian base system differently. Perhaps I need to configure something that is already installed. I don't even understand how to identify where the problem lies. Any ideas out there? -- richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: kernel compilation question
Title: RE: kernel compilation question > Now that I'm fully moved over to Debian :-), I'm looking at start > tinkering with kernel compilation. > > I would "assume" I'd need the kernel-source package of my > choice? But it > are there any other package(s) I'd need to download to get started? > also take a look at: http://www.debianuniverse.com/ there is a step-by-step on building a kernel. i haven't had time to check it, but it should help. Preston
Scripts on connect
Where should be put the scripts that must run when a dialup connection is estabilshed? Thanks in advance. Jernej Zidar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Procmail partially working
On Mon, Jul 28, 2003 at 11:46:11AM -0400, Joey Hess wrote: > Colin Watson wrote: [somebody broke attributions] > > > #Move flagged spam into the bottomless Unix pit. > > > :0: > > > * ^X-Spam-Flag: YES > > > /dev/null > > > > :0: says to use a locallockfile, which by default is the destination > > filename with $LOCKEXT appended, and you won't be able to write to > > /dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead. > > Better yet don't lock it at all, /dev/null really does not care if two > processes write to it at once. Obviously I need more coffee :-) -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: WM theme install probs.
On Mon, 28 Jul 2003 17:34:31 +1000 Adam Bogacki <[EMAIL PROTECTED]> wrote: > Rodney D. Myers wrote: > > >After genmenu runs, you cannot edit it manually, it has to be done > >through wmakerconf. > > > >BTW, why are you running as root? Not a good idea, too many bad > >things can happen, If you run as a "normal' user, the worse that can > >happen, is just screwing up one account, your way is to mess the > >whole system. > > > >If it does not find your program(s), then from the shell type "which > >application(s)", and note the path. From within wmakerconf, find the > >"folder" you want your application(s) to be stored in, and click add, > >then copy/paste your application(s) there. A custom windowmaker menu. > > > > > Thanks Rodney, I've been playing around with wmakerconf and easily > managed to install the default debian menu which is at least a step > forward in usability. However I still cannot install my downloaded > themes. Why not manually install then, either in your ~/GNUstep or "sudo cp" them to the system default. I install all new themes in my ~/GNUstep/Library/WindowMaker/Themes/ directory. wmakerconf then finds them there. > One problem with the above is that copy/pasting only works between > similar (in my case Gnome) terminals and wmakerconf > does not use standard terminals. The path is > //home/adam/GNUstep/Library/WindowMaker/Themes > /and the themes are > > > [EMAIL PROTECTED]:~/GNUstep/Library/WindowMaker/Themes$ ls > > 0kmeleon.themed BlueSunI.themedRousseau-dream.themed > > 10 Jahre.themed Hiatum.themed alinghi > > 1000yearsafter.themed Jelly.themed ansel.themed > > A Feeling of Rain.themed Korean_Art.themed evolution-white.themed > > A Splash of Gold.themed Maoist.themed stress.themed > > Ancient City.themed NGC4414.themed > > Anghiari.themed Passion.themed > > ... which do not show up on the WM themes menu. In a previous install > they popped up automagically. > > I'll keep bashing away - and hopefully do something productive - but > any ideas will be appreciated. > > Adam Bogacki :-\ > [EMAIL PROTECTED] Good luck -- Rodney D. Myers <[EMAIL PROTECTED]> Registered Linux User #96112 ICQ#: AIM#: YAHOO: 18002350 mailman452 mailman42_5 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. Ben Franklin - 1759 pgp0.pgp Description: PGP signature
Re: Scripts on connect
Jernej Zidar writes: > Where should be put the scripts that must run when a dialup connection is > estabilshed? /etc/ppp/ip-up.d Scripts to be run when ppp comes down go in /etc/ppp/ip-down . Look at the scripts already there for examples. What exactly are you trying to do? Most Debian packages that need to do things when ppp goes up and down already supply scripts. -- John Hasler [EMAIL PROTECTED] Dancing Horse Hill Elmwood, Wisconsin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Top - Mem: 119212k used
> From [EMAIL PROTECTED] Mon Jul 28 09:19:38 2003 > > > On Sun, 2003-07-27 at 10:39, Alan Connor wrote: Thanks to all. I've got 3.0 down to 15 megs of RAM with no X up and screen running, and just two TTYs available, which is plenty. Next step is to rebuild my kernel and remove a LOT of drivers I don't use at all. Alan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: packages removed by Release Manager just reveal older versions
On Mon, 28 Jul 2003 00:10:06 +0200, Joey Hess wrote: > (This question is appropriate for the debian-user mailing list, > redirecting.) Maybe, maybe not. >> I guess I'm hoping for a warning that a package is 'out of fashion' >> when I try to apt-get install it. > > The problem is that you are using a demonstration frontend for the apt > library, instead of a real package manager. > > aptitude or even dselect will display packages that are not in the > archive as "obsolete" or "local", making it easy to tell when you have > something outdated. No, the problem is that Dan has outdated CD-ROM sources in his APT configuration (sources.list). AFAICT, aptitude lists any installed package that it cannot find a download source for in the "obsolete/local" section. If a package is in a local repository or on CD-ROM, aptitude won't notice that the package is no longer supported by Debian. That's the same trap apt-cache fell in. Dan seems to want a technical solution, i.e. a change in the APT software. I don't think this would be justified. Keeping the /etc/apt/sources.list in a reasonable state is something that Debian can't help the admin with. -- Best Regards, | Hi! I'm a .signature virus. Copy me into Sebastian | your ~/.signature to help me spread! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Switching stable kernels dhcp confusion
I obtained debian through the idepci distribution. After a "devlopers" installation, kernel version 2.2.0 was up and running. I then downloaded the source for version 2.4.18 and, then, configured and compiled this version. Both versions boot up just fine. I'm looking to work within the most recent stable version - at least until I have the kernel the way I want it. I used the idepci disketts to download my installation through an ethernet connection to the internet that uses DHCP. And here are my questions: The 2.2.20-idepci kernel image connects sets up routing tables just fine even though dhcp doesn't seem to be installed. How is that?l The 2.4.18 image that I compiled doesn't set up routing tables even though would seem to be running with the same configuration files Why is that? Could I have neglected a configuration option I needed? How do I look for that option? J Adrian Zimmer www.ossm.edu/~azimmer [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Mozilla 1.3.1
I want to go back to mozilla 1.3.1 -- but stupidly I cleaned the cache. Can this version (which used to be in unstable) still be found somewhere? Regards, Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Procmail partially working
> From [EMAIL PROTECTED] Mon Jul 28 09:51:49 2003 > > > On Mon, Jul 28, 2003 at 11:46:11AM -0400, Joey Hess wrote: > > Colin Watson wrote: > [somebody broke attributions] > > > > #Move flagged spam into the bottomless Unix pit. > > > > :0: > > > > * ^X-Spam-Flag: YES > > > > /dev/null > > > > > > :0: says to use a locallockfile, which by default is the destination > > > filename with $LOCKEXT appended, and you won't be able to write to > > > /dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead. > > > > Better yet don't lock it at all, /dev/null really does not care if two > > processes write to it at once. > > Obviously I need more coffee :-) > > -- > Colin Watson [EMAIL PROTECTED] > I have heard that it is a bad idea to use lockfiles with /dev/null in procmail. The source was more than credible but couldn't remember why Alan -- For Linux/Bash users: Eliminate spam from your life with the Mailbox-Sentry-Program. See the thread MSP on comp.mail.misc for the latest version. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mozilla 1.3.1
On Monday 28 July 2003 18:39, Jan Willem Stumpel wrote: > I want to go back to mozilla 1.3.1 -- but stupidly I cleaned the > cache. Can this version (which used to be in unstable) still be > found somewhere? > > Regards, Jan I have this version in my /var/cache/apt/archives: mozilla_2%3a1.3.1-3_i386.deb mozilla-browser_2%3a1.3.1-3_i386.deb mozilla-mailnews_2%3a1.3.1-3_i386.deb mozilla-psm_2%3a1.3.1-3_i386.deb mozilla-xft_2%3a1.3.1-3_i386.deb I can send you a download link, just contact me privately. joerg -- Gib GATES keine Chance! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Upon boot, many strange and useless modules are loaded
Darin Strait said on Sat, Jul 26, 2003 at 10:21:28AM -0500: > I had left the machine running for a few weeks, when I needed to shut it down. > After rebooting, my USB mouse is frozen upon reaching the KDM login screen. > > After a little poking around, I found that all sorts of oddball modules (for > which I don't have the hardware. serverworks?) had been loaded. After > manually rmmod-ing them, my mouse unfroze and all was happy. Bizarre. The funky little modules are due to the IDE rework that was merged into 2.4.21. The advantage is much better IDE support, but a side effect is that the IDE code got broken up into a ton of chipset specific modules. I think the Debian kernel maintainer just loads all of them for backwards compatibility purposes, since before they were all "loaded" in the monolithic IDE driver anyway. > My recurring problem is that all of the modules that I rmmod-ed re-appear > upon a reboot. I haven't had time to troubleshoot this all week, so I've been > limping along by running this script, which will result in my being able to > use my mouse. > > # begin included file > rmmod via82cxxx > rmmod trm290 > rmmod triflex > rmmod slc90e66 > rmmod sis5513 > rmmod siimage > rmmod serverworks > rmmod sc1200 > rmmod rz1000 > rmmod pdc202xx_old > rmmod opti621 > rmmod ns87415 > rmmod hpt366 > rmmod hpt34x > rmmod cy82c693 > rmmod cs5530 > rmmod cmd64x > rmmod cmd640 > rmmod amd74xx > rmmod alim15x3 > rmmod aec62xx > rmmod adma100 > rmmod pdc202xx_new > # end of file > > > Help? You should try and see if you can narrow down the problem; ie, if you can only unload _one_ module and your mouse starts working, that would probably be a useful bit to submit to the kernel maintaner as a bug. M pgp0.pgp Description: PGP signature
Re: kernel compilation question
Thanks to all that answered. More than enough info to get me started, and completed. -- Rodney D. Myers <[EMAIL PROTECTED]> Registered Linux User #96112 ICQ#: AIM#: YAHOO: 18002350 mailman452 mailman42_5 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. Ben Franklin - 1759 pgp0.pgp Description: PGP signature
Re: Mozilla 1.3.1
On Mon, Jul 28, 2003 at 06:39:12PM +0200, Jan Willem Stumpel wrote: > I want to go back to mozilla 1.3.1 -- but stupidly I cleaned the > cache. Can this version (which used to be in unstable) still be > found somewhere? snapshot.debian.net will have it. Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apache-ssl or libapache-mod-ssl?
On Mon, Jul 28, 2003 at 05:12:13PM +0200, Alexander Meyer wrote: > hi list, > > i'm running a webserver for a client who wants to add an online payment > system to his webshop so i have to deploy a ssl-enabled webserver on the > same machine. the question is now if i would upgrade the already running > apache with mod-ssl or rather install an independent ssl-enabled apache. > i would feel slightliy better with the two-independent-packages approach > but i could be missing something. could anyone experienced with this > tell me about some pros and cons i might have forgot to consider? I asked very much the same question a few weeks ago, and ended up going with the two-independent-servers approach because somebody on this list indicated it was simpler to set up. I have no experience with mod-ssl whatsoever, but I *did* find that adding an independent apache-ssl server worked pretty nearly "straight out of the box". I guess the main drawback of this method would be increased resource overhead. HTH -- ,-. > -ScruLoose- |If I had a dog as daft as you, I'd shoot him.< > Please do not | - Scottish Proverb < >reply off-list.| < `-' pgp0.pgp Description: PGP signature
Re: Q on NYT article on the cost of Spam
On Mon, Jul 28, 2003 at 06:53:45AM -0700, Hugo Vanwoerkom wrote: > If you go here: > http://www.nytimes.com/2003/07/28/technology/28SPAM.html?hp=&pagewanted=print&position= > it tells you about the cost of spam. > Mozilla's antispammer does the job fine for me. > The question nobody(?) seems to answer is why spam at > all: it has to be that doing it gets you money. > Can anybody answer that side of it? > The article only addresses the "bad" side but there's > got to be (10)1000's that answer spam and order > whatever they are selling... I think the reasoning is fairly straightforward, although it ain't easy to get exact numbers: The spammer's cost-per-recipient of sending a message is extremely low. As such, it takes very few sales to make that mailing pay for itself. Paul Graham mentions the figure of 15 in a million in this essay: http://www.paulgraham.com/wfks.html I have no idea how meaningful the actual number is, but it highlights the point that it does *not* take very many responses before the spammer turns a profit. Cheers! -- ,-. > -ScruLoose- | Do not meddle in the affairs of wizards < >Please do not|for you are crunchy and taste good with ketchup. < > reply off-list. | < `-' pgp0.pgp Description: PGP signature
local user halt
hello, is there a method for allowing (besides root) local users (ordinary users sitting at the keyboard of the computer) the ability to use the shutdown command? i dont want those logged in via ssh or other remote method having this capability. thanks, matt zagrabelny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: local user halt
On Mon, 28 Jul 2003, matt zagrabelny wrote: > is there a method for allowing (besides root) local users (ordinary > users sitting at the keyboard of the computer) the ability to use the > shutdown command? i dont want those logged in via ssh or other remote > method having this capability. CTRL-ALT-DEL see /etc/inittab -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
pam authentication (Re: setting up an openafs server on Debian)
Hi, Thanks for your helpful reply. On Thu, 24 Jul 2003, Todd Pytel wrote: > On Thu, 24 Jul 2003 16:06:37 -0400 (EDT) > Faheem Mitha <[EMAIL PROTECTED]> wrote: > > Does a tutorial for AFS server installation on Debian exist anywhere? > > My impression is no. > > There's a decent write-up in the docs for one of the AFS packages - I > don't remember which one specifically. Those docs assume that you'll > be setting AFS with MIT Kerb 5, which is recommended these days, so > they won't quite apply to your university network. But in any case, AFS > isn't something that you'll just pick up in a day, especially if you're > not familiar with Kerberos already. If you have the machines to spare, > I would strongly recommend setting up a private Kerberos realm before > you get into AFS. That is a good suggestion. I'll try setting up Kerberos first before doing anything else. In any case, there is another, hopefully bite-sized task which has been on my todo list for awhile. This is, to enable integrated afs token fetching and login onto my Linux machines. My users don't like typing klog, and they can't remember it... :-) I took a look at the Openafs quick start Unix guide and it says the following. *** Place the AFS entry below any entries that impose conditions under which you want the service to fail for a user who does not meet the entry's requirements. Mark these entries required. Place the AFS entry above any entries that need to execute only if AFS authentication fails. Insert the following AFS entry if using the Red Hat distribution: auth sufficient /lib/security/pam_afs.so try_first_pass ignore_root * The /etc/pam.d/login file for my test machine (Debian) follows. This is pretty much the default file; I've hardly modified it at all. I am not sure where exactly to place this line. I get the general idea but am afraid that if I put it in the wrong place I will not be able to log in. It would be extremely nice if someone using openafs Debian would tell me what line(s) they are using and where they put it. Then I too could use it with confidence that it will work. I hope it will not involve rearranging the entries, though. I basically want the login to behave as follows (if possible). If it cannot contact the afs server it should still log me into the local machine without a long delay (a few seconds should be Ok). Otherwise I want everything to behave as normal. The fetching token behaviour should be like klog. The Debian package I'm using is libpam-openafs-kaserver, which I think it the correct one. At any rate, it contains the file /lib/security/pam_afs.so. Thanks in advance. Faheem. * # # The PAM configuration file for the Shadow `login' service # # NOTE: If you use a session module (such as kerberos or NIS+) # that retains persistent credentials (like key caches, etc), you # need to enable the `CLOSE_SESSIONS' option in /etc/login.defs # in order for login to stay around until after logout to call # pam_close_session() and cleanup. # # Outputs an issue file prior to each login prompt (Replaces the # ISSUE_FILE option from login.defs). Uncomment for use # auth required pam_issue.so issue=/etc/issue # Disallows root logins except on tty's listed in /etc/securetty # (Replaces the `CONSOLE' setting from login.defs) auth requisite pam_securetty.so # Disallows other than root logins when /etc/nologin exists # (Replaces the `NOLOGINS_FILE' option from login.defs) auth requisite pam_nologin.so # This module parses /etc/environment (the standard for setting # environ vars) and also allows you to use an extended config # file /etc/security/pam_env.conf. # (Replaces the `ENVIRON_FILE' setting from login.defs) auth required pam_env.so # Standard Un*x authentication. The "nullok" line allows passwordless # accounts. auth required pam_unix.so nullok # This allows certain extra groups to be granted to a user # based on things like time of day, tty, service, and user. # Please uncomment and edit /etc/security/group.conf if you # wish to use this. # (Replaces the `CONSOLE_GROUPS' option in login.defs) # auth optional pam_group.so # Uncomment and edit /etc/security/time.conf if you need to set # time restrainst on logins. # (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs # as well as /etc/porttime) # accountrequisite pam_time.so # Uncomment and edit /etc/security/access.conf if you need to # set access limits. # (Replaces /etc/login.access file) # account required pam_access.so # Standard Un*x account and session accountrequired pam_unix.so sessionrequired pam_unix.so # Sets up user limits, please uncomment and read /etc/security/limits.conf # to enable this functiona
Re: Mozilla 1.3.1
Joerg Johannes wrote: I can send you a download link, just contact me privately. Colin Watson wrote: snapshot.debian.net will have it. Thanks to both. Did not know about the snapshot site. It worked.. and Mozilla 1.3 does not have the printing problem that 1.4 has (i.e. hanging indefinitely while "preparing" to print). Should this be filed as a bug? There is a bug looking like this (#184053) but it refers to an earlier version of Mozilla. Regards, Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: local user halt
Bruce Sass wrote: On Mon, 28 Jul 2003, matt zagrabelny wrote: is there a method for allowing (besides root) local users (ordinary users sitting at the keyboard of the computer) the ability to use the shutdown command? i dont want those logged in via ssh or other remote method having this capability. CTRL-ALT-DEL see /etc/inittab And if you have CTRL+ALT+DEL pointing to /bin/false like a sane sysadmin, using sudo is a good alternative ;) Stephen Touset -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: local user halt
* Stephen Touset ([EMAIL PROTECTED]) [030728 12:29]: > Bruce Sass wrote: > >On Mon, 28 Jul 2003, matt zagrabelny wrote: > >>is there a method for allowing (besides root) local users (ordinary > >>users sitting at the keyboard of the computer) the ability to use the > >>shutdown command? i dont want those logged in via ssh or other remote > >>method having this capability. > > > >CTRL-ALT-DEL > > > >see /etc/inittab > > > And if you have CTRL+ALT+DEL pointing to /bin/false like a sane > sysadmin, using sudo is a good alternative ;) If you want your users to be able to shut down the machine, it's plenty sane to use ctrl+alt+del to do it, IMO. For example, on my laptop I use ctrl+alt+del to shutdown. It's _way_ quicker than using sudo and then giving my password. As for accidentally shutting down, or having a malicious user shut me down ... it's never happened. Even if it did once, it's not exactly a five-nines machine anyway. good times, Vineet -- http://www.doorstop.net/ -- --Nick Moffitt A: No. Q: Should I include quotations after my reply? signature.asc Description: Digital signature
Using dd to copy a disk.
I need to clone a disk. The source is a 3ware hardware RAID 1 array. >From Linux it looks like /dev/sda $ mount /dev/sda2 on / type xfs (rw) proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda5 on /tmp type xfs (rw) /dev/sda6 on /usr type xfs (rw) /dev/sda7 on /var type xfs (rw) /dev/sda8 on /usr/local type xfs (rw) /dev/sda9 on /home type xfs (rw) The destination is /dev/hda Can I build a new bare metal drive on /dev/hda using dd dd if=/dev/sda of=/dev/hda Will that work with the hardware RAID array? If so will it also copy the MBR? The destination drive will NOT be used in a RAID array. Also, the drives in the RAID array cannot be used outside of the array due to the meta data written by 3ware card. Is there a better way to clone the data on my RAID array for use in a stand-alone (non-raid) machine? Thanks, -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: java vm plugin under mozilla/galeon?
On Wed, 2003-07-23 at 02:31, Roberto Sanchez wrote: > --- Micha Feigin <[EMAIL PROTECTED]> escribió: > > How do I enable the java vm plugin? > > > > I tried installing both suns jre1.4 and the debian packages of > > balckdown's j2sdk, both of which claim to supply a java plugin but its > > still doesn't seem to be recognised. > > Plugin doesn't appear under mozilla's installed plugin page under the > > help menu. > > > > Thanx > > > > as root, execute 'ln -s > /usr/local/j2sdk1.4.1/jre/plugin/i386/mozilla/javaplugin_oji.so > /usr/lib/mozilla/plugins/javaplugin_oji.so' and then restart Mozilla > > (change the directory of your JRE install if necessary) > > -Roberto > > ___ > Yahoo! Messenger - Nueva versión GRATIS > Super Webcam, voz, caritas animadas, y más... > http://messenger.yahoo.es > I checked that its pointing correctly: /usr/lib/mozilla/plugins/javaplugin_oji.so -> /etc/alternatives/javaplugin_oji.so and /etc/alternatives/javaplugin_oji.so -> /usr/lib/j2se/1.3/jre/plugin/i386/mozilla/javaplugin_oji.so and still mozilla and galeon don't seem to recognize the java plugin. It is recognising the other plugins in the directory. This also happend with java j2re 1.4.1. Could mozplugger be causing this? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
batch renaming for filenames with space
I am trying to do a batch rename for a bunch of files with spaces in the name (in order to remove the spaces actually). I tried to use bash's for .. in command but it splits up the lines on spaces and not on line ends. Any ideas? The files are named "Copy of ..." and I want to drop the Copy of part. I tried to do for file in `ls -1`; do cp $file `echo -n "$file" | sed 's/Copy of \(.*\)/\1/'` done but like I said the file name is split into three matches, one for "Copy", one for "of" and one for the rest (no more spaces). For the moment I am ignoring the option for other files in the directory since that is much easier to handle. Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cannot Connect to some website on linux
On Mon, Jul 28, 2003 at 01:04:01AM -0400, Greg Folkert wrote: > On Mon, 2003-07-28 at 00:43, Ron Johnson wrote: > <---SNIP---> > > # cat /proc/sys/net/ipv4/tcp_ecn > > 1 > > > > When /proc/sys/net/ipv4/tcp_ecn had the value "1", I couldn't get > > to thatpetplace either. However, I could, after I did this, and > > then restarted Mozilla: > > # echo "0" > /proc/sys/net/ipv4/tcp_ecn > > # cat /proc/sys/net/ipv4/tcp_ecn > > 0 > > > > Make sure to reenable tcp_ecn when you're finished! > > > > # echo "1" > /proc/sys/net/ipv4/tcp_ecn > > # cat /proc/sys/net/ipv4/tcp_ecn > > 1 > > Ron, as of this writing, 12:55AM EDT, I will have to disagree with you > about turning tcp_ecn back on. For about the next 2 years at least. [ snip 'windows doesn't do ECN' ] > Very little luck with website admins whom have "drunk the Microsoft > Kool-Aid" (I know drank is right but drunk get's the point across > better) stating they are using "Industry Standards" and so on... Er, RFCs are the standards. > Well, overall ECN is a great way to make the Internet "self-regulate" > and of course the biggest obstacle is M$ products. But for quite a while > yet, defaulting it to OFF is a good thing. I disagree. A better idea is to leave ECN on, and use iptables to mangle packets to sites that reject packets with ECN set. AFAIK there's support to do just this with built-in targets since 2.4.20. -- Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED] Warning: dates in calendar are closer than they appear. pgp0.pgp Description: PGP signature
Re: Mutt: Maildir & "Mail/IN*: No such file or directory"
* Adam Bogacki ([EMAIL PROTECTED]) [030727 04:36]: > Re. Mutt giving me blank screen with the message > "/home/adam/Maildir is not a mailbox" > > and the terminal telling me that > "find: ~Mail/IN*: No such file or directory" ~Mail means home directory of a user called Mail. good times, Vineet -- http://www.doorstop.net/ -- I am mortified to be told that, in the United States of America, the sale of a book can become a subject of inquiry, and of criminal inquiry too. -- President Thomas Jefferson signature.asc Description: Digital signature
galeon and mozilla hang with slow connection
When using galeon and mozilla, if there is a hang with the connection, i.e whatever request they are performing doesn't happen imediatly they hang up completly untill they get some reply. Thus if I try to connect under load or a slow site they don't redraw the window, don't respond to button, close window requests etc. Is this the expected behaviour or is it a problem with my system or mozilla/galeon? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: java vm plugin under mozilla/galeon?
On Wed, 23 Jul 2003 the mental interface of Micha Feigin told: > How do I enable the java vm plugin? > > I tried installing both suns jre1.4 and the debian packages of > balckdown's j2sdk, both of which claim to supply a java plugin but its > still doesn't seem to be recognised. > Plugin doesn't appear under mozilla's installed plugin page under the > help menu. Which version of moz? [...] On Sun, 27 Jul 2003 the mental interface of Micha Feigin told: [...] > I checked that its pointing correctly: > > /usr/lib/mozilla/plugins/javaplugin_oji.so -> > /etc/alternatives/javaplugin_oji.so > > and > > /etc/alternatives/javaplugin_oji.so -> > /usr/lib/j2se/1.3/jre/plugin/i386/mozilla/javaplugin_oji.so > > and still mozilla and galeon don't seem to recognize the java plugin. It > is recognising the other plugins in the directory. This also happend > with java j2re 1.4.1. > Could mozplugger be causing this? As of mozilla 1.3 debian version you have to compile j2re with gcc version mozilla is compiled with. google for +"j2re 1.4.1" + gcc 3.2.1 an you'll find a solution ;-) Ciao Elimar -- The way to source is always uphill! -unknown- pgp0.pgp Description: PGP signature
Re: batch renaming for filenames with space
Micha Feigin wrote: I am trying to do a batch rename for a bunch of files with spaces in the name (in order to remove the spaces actually). I tried to use bash's for .. in command but it splits up the lines on spaces and not on line ends. Any ideas? The files are named "Copy of ..." and I want to drop the Copy of part. I tried to do for file in `ls -1`; do cp $file `echo -n "$file" | sed 's/Copy of \(.*\)/\1/'` done but like I said the file name is split into three matches, one for "Copy", one for "of" and one for the rest (no more spaces). For the moment I am ignoring the option for other files in the directory since that is much easier to handle. Thanks install mmv and then you can do 'mcp "Copy of *" "#1"'. Otherwise: for file in *; do cp "$file" `echo -n "$file" | sed 's/Copy of \(.*\)/\1/'` done should work... pgp0.pgp Description: PGP signature
Re: batch renaming for filenames with space
On Sun, Jul 27, 2003 at 12:45:26PM +0300, Micha Feigin wrote: > I am trying to do a batch rename for a bunch of files with spaces in the > name (in order to remove the spaces actually). I tried to use bash's for > .. in command but it splits up the lines on spaces and not on line ends. > Any ideas? > > The files are named "Copy of ..." and I want to drop the Copy of part. > I tried to do > for file in `ls -1`; do > cp $file `echo -n "$file" | sed 's/Copy of \(.*\)/\1/'` > done Assuming you're using bash: for f in *; do cp "$f" "${f/Copy of /}" done -- Dave Carrigan Seattle, WA, USA [EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680 UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL Dave is currently listening to Tom Petty And The Heartbreakers - Jammin' Me (Let Me Up (I've Had Enough)) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: local user halt
On Mon, 28 Jul 2003, Stephen Touset wrote: > Bruce Sass wrote: > >On Mon, 28 Jul 2003, matt zagrabelny wrote: > > > >>is there a method for allowing (besides root) local users (ordinary > >>users sitting at the keyboard of the computer) the ability to use the > >>shutdown command? i dont want those logged in via ssh or other remote > >>method having this capability. > > > >CTRL-ALT-DEL > > > >see /etc/inittab > > > And if you have CTRL+ALT+DEL pointing to /bin/false like a sane > sysadmin, using sudo is a good alternative ;) I was going to mention sudo, but don't know the answer to this... Can a ssh-ed in user do "sudo shutdown..."? - Bruce -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: local user halt
On Mon, 2003-07-28 at 13:43, Bruce Sass wrote: > On Mon, 28 Jul 2003, matt zagrabelny wrote: > > is there a method for allowing (besides root) local users (ordinary > > users sitting at the keyboard of the computer) the ability to use the > > shutdown command? i dont want those logged in via ssh or other remote > > method having this capability. > > CTRL-ALT-DEL > > see /etc/inittab > what about local users logged into X? -matt zagrabelny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: batch renaming for filenames with space
On Sunday 27 July 2003 12:45, Micha Feigin wrote: > I am trying to do a batch rename for a bunch of files with spaces in the > name (in order to remove the spaces actually). I tried to use bash's for > .. in command but it splits up the lines on spaces and not on line ends. > Any ideas? > > The files are named "Copy of ..." and I want to drop the Copy of part. > I tried to do > for file in `ls -1`; do > cp $file `echo -n "$file" | sed 's/Copy of \(.*\)/\1/'` > done you can also add to the script something like: export IFS=$'\n' for file in `ls copy*`; do... but remember to change it back to the usual value ($' \t\n') right after this. Bye -- Haim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: batch renaming for filenames with space
Micha Feigin <[EMAIL PROTECTED]> writes: > I am trying to do a batch rename for a bunch of files with spaces in the > name (in order to remove the spaces actually). I tried to use bash's for > .. in command but it splits up the lines on spaces and not on line ends. > Any ideas? > > The files are named "Copy of ..." and I want to drop the Copy of part. > I tried to do > for file in `ls -1`; do > cp $file `echo -n "$file" | sed 's/Copy of \(.*\)/\1/'` > done You pretty much never want to do `ls` in a shell script; * has the same effect, saves a process, and is somewhat more predictable in terms of filename-to-shell-word mapping. You also need to be careful about quoting $file when you use it. Thus, I'd try something like for file in *; do cp "$file" `echo "$file" | sed 's/^Copy of//'` done I think you get no guarantees if $file is "Copy of my file.doc", though; you might need something like for file in *; do newfile=`echo "$file" | sed 's/^Copy of//'` cp "$file" "$newfile" done to make sure that you really do only have a single word. (And I'm still not sure I have this right. :-) -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Kernel 2.2 and 2.4: boot differences?
I have version 2.2.20 (idepci downloaded) running OK (at runlevel 2). I have version 2.4.18 (compiled myself under 2.2.20) running sort-of OK (again runlevel 2). One difference is that my self-configured/compiled version isn't establishing a network connection. Here are my thoughts as to why -- my thinking isn't good enough yet: Something is different about the way these are booting up. Since I see no error messages in /var/log/dmesg (or nothing I recognized as an error message) and since the same /etc configuration files are being used, I'm thinking the difference must come from tests of things in the /proc system. So grep for "/proc" within the files found in /etc/*.conf /etc/init.d/* The list appears below. Am I correct that my problem is probably findable by considering this list? The only thing that jumps to my eyes in it are the entries for the nfs ― I didn't compile support for nfs into my 2.4.18 image /etc/init.d/checkroot.sh:# Mount /proc. If /proc/1 exists, but /proc is not mounted, /etc/init.d/checkroot.sh:if [ -d /proc/1 ] /etc/init.d/checkroot.sh: rootino=`ls -lid /proc | sed -ne 's/^ *\([0-9]\+\).*$/\1/p'` /etc/init.d/checkroot.sh: echo "WARNING: found junk under the /proc mountpoint" /etc/init.d/checkroot.sh:[ "$doproc" = yes ] && mount -n /proc /etc/init.d/checkroot.sh: if [ $swap_on_md = yes ] && grep -qs resync /proc/mdstat /etc/init.d/checkroot.sh: mount -f /proc /etc/init.d/checkroot.sh: [ "$devfs" ] && grep -q '^devfs /dev' /proc/mounts && mount -f "$devfs" /etc/init.d/console-screen.sh:if [ "`grep -c devfs /proc/filesystems`" -a -d /dev/vc ]; then /etc/init.d/console-screen.sh: if [ -f /proc/fb ]; then /etc/init.d/devpts.sh:devpts_avail=`grep -qci '[<[:space:]]devpts' /proc/filesystems || true` /etc/init.d/devpts.sh:devpts_mounted=`grep -qci '/dev/pts' /proc/mounts || true` /etc/init.d/devpts.sh:devfs_mounted=`grep -qci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || true` /etc/init.d/halt:if grep -qs '^md.*active' /proc/mdstat /etc/init.d/klogd:cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -1` /etc/init.d/modutils:[ -f /proc/modules ] || exit 0 /etc/init.d/mountall.sh:if grep -qs resync /proc/mdstat /etc/init.d/networking:if [ -e /proc/sys/net/ipv4/conf/all/rp_filter ]; then /etc/init.d/networking:for f in /proc/sys/net/ipv4/conf/*/rp_filter; do /etc/init.d/networking:if [ -e /proc/net/ip_input ]; then /etc/init.d/networking:if [ -e /proc/net/ip_fwchains ]; then /etc/init.d/networking:if [ -e /proc/net/ip_fwtables ]; then /etc/init.d/networking:if [ -e /proc/sys/net/ipv4/ip_forward ]; then /etc/init.d/networking:echo 1 > /proc/sys/net/ipv4/ip_forward /etc/init.d/networking:if [ -e /proc/sys/net/ipv4/tcp_syncookies ]; then /etc/init.d/networking:echo 1 > /proc/sys/net/ipv4/tcp_syncookies /etc/init.d/networking:if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | /etc/init.d/networking:elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | /etc/init.d/networking: elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts | /etc/init.d/nfs-common:if test -f /proc/ksyms /etc/init.d/nfs-common:grep -q lockdctl /proc/ksyms || NEED_LOCKD=no /etc/init.d/pcmcia: grep -q pcmcia /proc/devices /etc/init.d/pcmcia: if grep -q "ds " /proc/modules ; then /etc/init.d/procps.sh:# /etc/init.d/procps: Set kernel variables from /etc/sysctl.conf /etc/init.d/procps.sh: echo "Usage: /etc/init.d/procps.sh {start|stop|reload|restart}" >&2 /etc/init.d/sysklogd:cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -1` /etc/init.d/umountfs:# We leave /proc mounted. J Adrian Zimmer www.ossm.edu/~azimmer azimmer --at-- ossm.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Using dd to copy a disk.
> From [EMAIL PROTECTED] Mon Jul 28 13:31:19 2003 > > Use cp -a . Dd is just a dumb parrot and knows nothing about filesystems. Alan -- For Linux/Bash users: Eliminate spam from your life with the Mailbox-Sentry-Program. See the thread MSP on comp.mail.misc for the latest version. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Using dd to copy a disk.
On Mon, 2003-07-28 at 15:53, Bill Moseley wrote: > I need to clone a disk. The source is a 3ware hardware RAID 1 array. > >From Linux it looks like /dev/sda > Can I build a new bare metal drive on /dev/hda using dd > >dd if=/dev/sda of=/dev/hda I don't know, but I have (possibly useless) comments. I use dd to copy entire drives and partitions (it's my backup scheme). Since it works at both the /dev/hda and /dev/hdaX levels, I think it might. If there's a lot of angst about trying it, you might do this experiment: dd if=/dev/hda of=/dev/null bs=512 It won't prove the whole thing will work, but if it emits errors, it might prove it won't before you go on to try it. I do it this way: date; dd if=/dev/hda of=/dev/null bs=512; date 'cause I'm interested in how long it takes... If you've got the new single drive, you could just try it. The worst likely is you'd need to re-do the new drive. I assume the new drive is big enough? I'd like to know the outcome if you'd post it to the group. Cheers, Bret -- bwaldow at alum.mit.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Using dd to copy a disk.
On Mon, Jul 28, 2003 at 01:32:06PM -0700, Alan Connor wrote: > > From [EMAIL PROTECTED] Mon Jul 28 13:31:19 2003 > > > > > > > Use cp -a . Dd is just a dumb parrot and knows nothing about filesystems. Well, I think that's the reason to use dd. I just want to clone the drive and not have to partition the drive first. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Kernel 2.2 and 2.4: boot differences?
On Mon, 2003-07-28 at 15:46, Adrian Zimmer wrote: > I have version 2.2.20 (idepci downloaded) running OK (at runlevel 2). > > I have version 2.4.18 (compiled myself under 2.2.20) running sort-of OK > (again runlevel 2). > > One difference is that my self-configured/compiled version isn't establishing a > network connection. Here are my thoughts as to why -- > my thinking isn't good enough yet: > > Something is different about the way these are booting up. Since > I see no error messages in /var/log/dmesg (or nothing I recognized as > an error message) and since the same /etc configuration files are > being used, I'm thinking the difference must come from tests of things > in the /proc system. So grep for "/proc" within the files found in First thing is: $ dmesg|grep -n eth For example, here's my output: $ dmesg|grep -n eth 233:eth0: VIA VT86C100A Rhine at 0xa000, 00:80:c8:e9:a7:b8, IRQ 4. 234:eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 4de1. 275:eth0: Setting full-duplex based on MII #8 link partner capability of 4de1. Another good preliminary diagnostic tool is lspci and it's "-v" option. In my case: $ lspci | grep [eE]ther 00:0a.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06) $ lspci -v -s 00:0a.0 00:0a.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06) Subsystem: D-Link System Inc DFE-530TX rev A Flags: bus master, stepping, medium devsel, latency 32, IRQ 4 I/O ports at a000 [size=128] Memory at df00 (32-bit, non-prefetchable) [size=128] Expansion ROM at [disabled] [size=64K] Ron -- +-+ | Ron Johnson, Jr.Home: [EMAIL PROTECTED] | | Jefferson, LA USA | | | | "I'm not a vegetarian because I love animals, I'm a vegetarian | | because I hate vegetables!"| |unknown | +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Using dd to copy a disk.
On Mon, 2003-07-28 at 15:32, Alan Connor wrote: > > From [EMAIL PROTECTED] Mon Jul 28 13:31:19 2003 > > > > > > > Use cp -a . Dd is just a dumb parrot and knows nothing about filesystems. One thing to watch about, though, is that symlinks will remain pointing back to the original "real" file, even though the "real" file has also been copied to the dest drive. -- +-+ | Ron Johnson, Jr.Home: [EMAIL PROTECTED] | | Jefferson, LA USA | | | | "I'm not a vegetarian because I love animals, I'm a vegetarian | | because I hate vegetables!"| |unknown | +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
voodooV, glxinfo and direct rendering: NO
Hello When I run glxinfo, I get direct rendering no. here is my setup: relevant portion of /etc/modules.conf: alias /dev/dri/* tdfx I dont have a /dev/dri/card0 file but I think the above address that problem. lsmod output: Module Size Used byTainted: P sound 59156 0 (unused) tdfx 11756 1 drmlib 47168 0 [tdfx] uname -a output: Linux suit 2.4.20 #2 Sat Jul 12 15:58:53 EST 2003 i686 GNU/Linux I built the kernel myself. I am using the driver from the kernel source. I do not have the console framebuffer support enabled. Here is the ldd info for glxgears: suit:~# ldd /usr/bin/X11/glxgears libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x40018000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4007d000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4008a000) libpthread.so.0 => /lib/libpthread.so.0 (0x40141000) libm.so.6 => /lib/libm.so.6 (0x4019) libc.so.6 => /lib/libc.so.6 (0x401b1000) libdl.so.2 => /lib/libdl.so.2 (0x402c1000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000) Here is the glxinfo output: libGL error: failed to open DRM: Operation not permitted libGL error: reverting to (slow) indirect rendering name of display: :0.0 display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context client glx vendor string: SGI client glx version string: 1.2 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context OpenGL vendor string: VA Linux Systems, Inc. OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 Mesa 3.4.2 OpenGL extensions: GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat -- 0x23 24 tc 0 24 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None 0x24 24 tc 0 24 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow 0x25 24 tc 0 24 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x26 24 tc 0 24 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x27 24 tc 0 24 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None 0x28 24 tc 0 24 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow 0x29 24 tc 0 24 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x2a 24 tc 0 24 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x2b 24 dc 0 24 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None 0x2c 24 dc 0 24 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow 0x2d 24 dc 0 24 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x2e 24 dc 0 24 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x2f 24 dc 0 24 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None 0x30 24 dc 0 24 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow 0x31 24 dc 0 24 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x32 24 dc 0 24 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow Here is my XF86 Config file: ### BEGIN DEBCONF SECTION # this is the last voodo 5 version i had running. july 2003 # XF86Config-4 (XFree86 server configuration file) generated by dexconf, the # Debian X Configuration tool, using values from the debconf database. # # Edit this file with caution, and see the XF86Config-4 manual page. # (Type "man XF86Config-4" at the shell prompt.) # # If you want your changes to this file preserved by dexconf, only make changes # before the "### BEGIN DEBCONF SECTION" line above, and/or after the # "### END DEBCONF SECTION" line below. # # To change things within the debconf section, run the command: # dpkg-reconfigure xserver-xfree86 # as root. Also see "How do I add custom sections to a dexconf-generated # XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz. Section "Files" FontPath"unix/:7100"# local font server # if the local font server has problems, we can fall back on these FontPath"/usr/lib/X11/fonts/Type1" FontPath"/usr/lib/X11/fonts/CID" FontPath"/usr/lib/X11/fonts/Speedo" FontPath"/usr/lib/X11/fonts/misc" FontPath"/usr/lib/X11/fonts/cyrillic" FontPath"/usr/lib/X11/fonts/100dpi" FontPath"/usr/lib/X11/fonts/75dpi" EndSection Section "Module" Load"GLcore" Load"bitmap" Load"dbe" Load"ddc" Load"extmod" Load"freetype" Load"dri"
limiting download speed
Hello. My home computer (running Debian sid, kernel 2.4) is connected to a LAN and runs Apache to serve web pages and files to other computers in the LAN. Recently admins of the LAN told me to limit total download speed from my computer over http. Than means, if one person is downloading from my computer, he should get at most N kbps, but if e.g. 3 people are downloading from my computer, each one should get at most N/3 kbps. What is the correct way to do that? Although I am a unix admin, I have never solved this before. Seems that I need to configure iproute? Or there is a better way? I want to limit only outgoing HTTP traffic; if at the same time I am uploading a file to some other computer, there should be no local speed limit. Could someone please help me to do what LAN admins want, or point to appropriate documentation? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Can't Keep Kernel Log Messages From Console
I've been trying to stop kernel log messages (generally from iptables) from going to the console, and thus making the console unusable for login. I've tried different things, but they just keep popping up. I have "iptables" lines like: iptables -A WATCH -m limit -j LOG --log-level warn --log-prefix ACCEPT- and those message always appear on the console -- nothing else; just these messages. I've attached the "syslog.conf" file for more information. Any help is appreciated! Thanks! Brian ( [EMAIL PROTECTED] ) P.S. Please CC me when replying; I'm not on the debian-users list right now. --- Relationships go through seasons. Winter often comes before Spring.# /etc/syslog.conf Configuration file for syslogd. # # For more information see syslog.conf(5) # manpage. # # First some standard logfiles. Log by facility. # *.*;auth,authpriv,kern.none -/var/log/syslog auth,authpriv.* /var/log/auth.log cron,daemon.* -/var/log/daemon.log kern.* /var/log/kern.log lpr.* -/var/log/lpr.log user.* -/var/log/user.log uucp.* -/var/log/uucp.log # # Logging for the mail system. Split it up so that # it is easy to write scripts to parse these files. # mail.* -/var/log/mail.log #mail.info -/var/log/mail.info #mail.warn -/var/log/mail.warn #mail.err /var/log/mail.err # # Logging for INN news system # news.* -/var/log/news.log #news.crit /var/log/news/news.crit #news.err /var/log/news/news.err #news.notice-/var/log/news/news.notice # # Logging for extra ("local") services # local2.*-/var/log/ppp.log # # Some `catch-all' logfiles. # *.=debug;\ auth,authpriv.none;\ news.none;mail.none -/var/log/debug *.=info;*.=notice;*.=warn;\ auth,authpriv,kern.none;\ cron,daemon.none;\ local2.none;\ local5.none;\ local7.none;\ mail,news.none -/var/log/messages # # Emergencies are sent to everybody logged in. # *.emerg * # # I like to have messages displayed on the console, but only on a virtual # console I usually leave idle. # daemon;mail.*;\ news.=crit;news.=err;news.=notice;\ *.=debug;*.=info;\ *.=notice;*.=warn /dev/tty12 # The named pipe /dev/xconsole is for the `xconsole' utility. To use it, # you must invoke `xconsole' with the `-file' option: # #$ xconsole -file /dev/xconsole [...] # # NOTE: adjust the list below, or you'll go crazy if you have a reasonably # busy site.. #
Re: Kernel 2.2 and 2.4: boot differences?
Thanks, I had already seen in dmesg and ifconfig that the ethernet was configured. There is a difference that I had not thought consequential: with 2.2.20 I get eth0: Accton EN1217/EN2242 (ADMtek Comet) rev 17 at 0xc6022000, 00:D0:59:24:04:C0, IRQ 11. eth0: MII transceiver #1 config 3000 status 786d advertising 01e1. whereas with 2.4.18 I get eth0: ADMtek Comet rev 17 at 0x1c00, 00:D0:59:24:04:C0, IRQ 11. Either way ifconfig says I have eth0 configured bid I NOW NOTICE that the base address reported by ifconfig is not the same. Perhaps the driver for 2.4.18 got it wrong? How can I force 2.4.18 to use the other driver? J Adrian Zimmer www.ossm.edu/~azimmer azimmer --dot-- ossm.edu >>> Ron Johnson <[EMAIL PROTECTED]> 07/28/03 04:07PM >>> On Mon, 2003-07-28 at 15:46, Adrian Zimmer wrote: > I have version 2.2.20 (idepci downloaded) running OK (at runlevel 2). > > I have version 2.4.18 (compiled myself under 2.2.20) running sort-of OK > (again runlevel 2). > > One difference is that my self-configured/compiled version isn't establishing a > network connection. Here are my thoughts as to why -- > my thinking isn't good enough yet: > > Something is different about the way these are booting up. Since > I see no error messages in /var/log/dmesg (or nothing I recognized as > an error message) and since the same /etc configuration files are > being used, I'm thinking the difference must come from tests of things > in the /proc system. So grep for "/proc" within the files found in First thing is: $ dmesg|grep -n eth For example, here's my output: $ dmesg|grep -n eth 233:eth0: VIA VT86C100A Rhine at 0xa000, 00:80:c8:e9:a7:b8, IRQ 4. 234:eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 4de1. 275:eth0: Setting full-duplex based on MII #8 link partner capability of 4de1. Another good preliminary diagnostic tool is lspci and it's "-v" option. In my case: $ lspci | grep [eE]ther 00:0a.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06) $ lspci -v -s 00:0a.0 00:0a.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06) Subsystem: D-Link System Inc DFE-530TX rev A Flags: bus master, stepping, medium devsel, latency 32, IRQ 4 I/O ports at a000 [size=128] Memory at df00 (32-bit, non-prefetchable) [size=128] Expansion ROM at [disabled] [size=64K] Ron -- +-+ | Ron Johnson, Jr.Home: [EMAIL PROTECTED] | | Jefferson, LA USA | | | | "I'm not a vegetarian because I love animals, I'm a vegetarian | | because I hate vegetables!"| |unknown | +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Using dd to copy a disk.
On Mon, 2003-07-28 at 15:59, Bret Comstock Waldow wrote: > On Mon, 2003-07-28 at 15:53, Bill Moseley wrote: > > I need to clone a disk. The source is a 3ware hardware RAID 1 array. > > >From Linux it looks like /dev/sda > > > [snip] > I do it this way: > date; dd if=/dev/hda of=/dev/null bs=512; date > 'cause I'm interested in how long it takes... This might be more useful: time dd if=/dev/hda of=/dev/null bs=512 Example: $ time dir total 12720 drwxr-xr-x 94 me me16384 Jul 28 16:09 ./ drwxrwsr-x 11 dnet dnet 4096 Nov 28 2001 ../ drwx--2 me me 4096 Jan 25 2002 .AbiSuite/ -rw-r--r--1 me me 59 Aug 7 2002 .Audacity [snip] -rw-r--r--1 me me 47 Aug 8 2002 xsm.txt -rw-r--r--1 me me 81 May 7 09:23 zap.evo.index.sh real0m0.558s user0m0.030s sys 0m0.000s -- +-+ | Ron Johnson, Jr.Home: [EMAIL PROTECTED] | | Jefferson, LA USA | | | | "I'm not a vegetarian because I love animals, I'm a vegetarian | | because I hate vegetables!"| |unknown | +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: corrupted dpkg?
On Wed, Jul 23, 2003 at 12:56:12AM +0200, Alban Browaeys wrote: > > I think i need to go > > into some file and either delete or modify the entry for mozilla but I'm > > not able to figure out which file it is. > > > those files you are seeking are in /var/lib/dpkg > backup this dir, then play with availables, updates/ should be empty , > though it may contains what miss from the crash (Sorry for the late mail..don't know how i missed this message.) The reply given by Joey in this message <[EMAIL PROTECTED]> worked for me. > > Waiting for (good) conclusion (btw which fs do you have ? I m looking for > bad experience with xfs :) my root filesystem was ext2, but i cahnged it to ext3 after that crash. (i had actually thought that it WAS ext3 but i was wrong.) sridhar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apt-get dist-upgrade, now gnome session fails to login
Travis Crump <[EMAIL PROTECTED]> wrote: Marc Shapiro wrote: Can anyone tell me how I can get back to any version of a working gnome session? Gnome1.4 worked fine for me and I would not object to going back to it if someone can tell me just what needs to be downgraded, uninstalled, etc. I just want a working system. Marc Shapiro I run testing and Gnome 1.4[and my system is in pretty good shape] and the following are the versions of relavent packages not in sync with the official archive["apt-show-versions | grep -v 'testing uptodate'" and then I manually weeded out packages I track from unstable[mplayer et al, mozilla, wine] and unavailable packages that I don't think are necessary for a working system[ie marbles, nparted...]: abiword-common/unstable upgradeable from 1.9.0+cvs.2003.05.10-1 to 1.99.2+cvs.2003.07.10-1 abiword/unstable upgradeable from 1.9.0+cvs.2003.05.10-1 to 1.99.2+cvs.2003.07.10-1 gnome-applets/testing upgradeable from 1.4.0.5-4 to 2.2.2-1 gnome-audio/testing upgradeable from 1.4.0-5 to 2.0.0-1 gnome-panel-data/testing upgradeable from 1.4.2-1 to 2.2.2-1 gnome-panel/testing upgradeable from 1.4.2-1 to 2.2.2-1 gnome-session/testing upgradeable from 1.4.2-1 to 2.2.2-2 gnome-terminal/unstable upgradeable from 1.4.0.6-5 to 2.2.2-2 gnome-users-guide 1.4.1.1-2 installed: No available version in archive gnome-utils/testing upgradeable from 1.4.1.2-4 to 2.2.1-1 gnucash/unstable upgradeable from 1.6.6-1 to 1.8.4-2 gnumeric/unstable upgradeable from 1.0.9-1u1 to 1.1.19-1 kdelibs3-bin 4:2.2.2-13.woody.5 newer than version in archive libgal19 0.19.3-2.1 installed: No available version in archive libgwrapguile1/testing upgradeable from 1.1.11-5 to 1.3.4-8 libmagick5.5.7/unstable upgradeable from 4:5.5.7.1-2 to 4:5.5.7.9-1 python-apt/testing upgradeable from 0.5.4.4 to 0.5.5.1 xpenguins-applet/testing upgradeable from 1.0-8 to 2.1.0-2 On my system some of the above files matched the version numbers given. For the others, I downgraded to 'stable'. I have also downgraded a few others, such as gdm, to 'stable'. I still get the same error message. Do I need to wipe my entire system and re-install from the CD-ROM? That sounds too much like MicroSquish to me. Marc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: java vm plugin under mozilla/galeon?
--- Micha Feigin <[EMAIL PROTECTED]> escribió: > > I checked that its pointing correctly: > > /usr/lib/mozilla/plugins/javaplugin_oji.so -> > /etc/alternatives/javaplugin_oji.so > > and > > /etc/alternatives/javaplugin_oji.so -> > /usr/lib/j2se/1.3/jre/plugin/i386/mozilla/javaplugin_oji.so > > and still mozilla and galeon don't seem to recognize the java plugin. It > is recognising the other plugins in the directory. This also happend > with java j2re 1.4.1. > Could mozplugger be causing this? Make sure that your version of the JRE/JDK was compile with the same version of GCC as your browser. For example, mozilla 1.3.1 (from unstable) is compile with gcc 3.2, so you need the Java package compiled with gcc 3.2, and not the one compiled with gcc 2.95. -Roberto ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
SSH & Connection reset by peer
I'm using SSH to tunnel thru my company's firewall to allow easy access to the servers inside the firewall when I'm at home. On the server side I issue this command: ssh -f -C -R2001:localhost:23 pctom sleep 8h this connects to my home pc, which has an external address via the cable modem. The sleep command keeps the connection open so that when I get home I can enter this command: telnet localhost 2001 This way I can telnet into the corporate server via the ssh tunnel. This worked very well when my home system was running woody (the corporate server is an old release of SuSE and hasn't changed) but when I upgraded to sid I ran into this problem. Instead of the connection staying up for 8 hours, it terminates after exactly 2 hours of idle time with the server reporting: Read from remote host pctom: Connection reset by peer The log files on the server and my home pc give no indication of what's wrong. I've read some previous posts about this problem and folks decided it must be a faulty connection thru the cable modem. This is not the problem here. The disconnect always occurs after exactly 2 hours of idle time and only started happening when my home system went to sid. I can only assume there is some timeout parameter somewhere on my pc but I don't know where to look. I sure would appreciate any guidance someone can offer. Thanks. Tom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
firewall scripts
I know that RedHat uses something called Bastille, Suse has their own firewall script/gui thing. Does Debian have any firewall scripts or gui's that work for a Debian configuration? -- I wonder if I should put myself in ESCROW!! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't Keep Kernel Log Messages From Console
Hello Brian White wrote: > I've been trying to stop kernel log messages (generally from iptables) > from going to the console, and thus making the console unusable for > login. I've tried different things, but they just keep popping up. I think you can disable kernel logs on consoles completely by passing the "quiet" parameter to the kernel on startup or adding it to the append-line of your bootloader. best regards Andreas Janssen -- Andreas Janssen [EMAIL PROTECTED] PGP-Key-ID: 0xDC801674 Registered Linux User #267976 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
LDAP
If I install openLDAP, what tools do I use to configure the various databases? I'm interested in NSS/PAM (passwd, group, hosts...) and also an LDAP address book for Mozilla. But I'm not even sure where to start RTFM-ing. help? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
mail me
Re: Identify dhcp client to server using hostname
Robert Ian Smit wrote: I am trying to allocate ip-addresses on my local network using dhcp3-server. I want a couple of systems to have a fixed address, while other system should get any ip that is still available. I have created a range of dynamic ip-numbers and have tried to find a way to identify those hosts that need a fixed address using host statements. When I add a "hardware ethernet HWADDR"-statement to a host definition, everything works as expected. However I don't want to use MAC-addresses, since sometimes I boot a live-cd or another operating system in which case I'd like to use an ip from the dynamic range. I have tried changing the "send host-name" option in dhclient.conf, but this seems to get happily ignored. These are the relevant parts from dhcpd.conf on the server: -- option domain-name "mydomain.net"; option domain-name-servers 10.0.0.138; option routers 192.168.1.3; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.11 192.168.1.19; } host myhost { # hardware ethernet 00:10:A7:10:83:B8; fixed-address 192.168.1.7; } -- The only uncommented line in dhclient.conf on the client: -- send host-name "myhost"; -- When I uncomment the hardware statement, I get 192.168.1.7, otherwise I get something from the 11-19 range. Is it possible to use a different identifier (ideally the host name) and if so what statements are needed in the different config-files? Thanks, Bob My experience has always been to use the MAC address. Using a name is too easy to spoof. I don't think you can do what you are looking for. However, if you are trying to set an IP address to the same machine based upon a boot-CD then why not set the installed (hard drive) IP address to a fixed address and when you boot into the CD, it'll use DHCP to set up. -- BOFH excuse #348: We're on Token Ring, and it looks like the token got loose. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apache-ssl or libapache-mod-ssl?
ScruLoose wrote: On Mon, Jul 28, 2003 at 05:12:13PM +0200, Alexander Meyer wrote: hi list, i'm running a webserver for a client who wants to add an online payment system to his webshop so i have to deploy a ssl-enabled webserver on the same machine. the question is now if i would upgrade the already running apache with mod-ssl or rather install an independent ssl-enabled apache. i would feel slightliy better with the two-independent-packages approach but i could be missing something. could anyone experienced with this tell me about some pros and cons i might have forgot to consider? I asked very much the same question a few weeks ago, and ended up going with the two-independent-servers approach because somebody on this list indicated it was simpler to set up. I have no experience with mod-ssl whatsoever, but I *did* find that adding an independent apache-ssl server worked pretty nearly "straight out of the box". I guess the main drawback of this method would be increased resource overhead. HTH You can manage the resources by setting the SSL child process limits low. -- Sex, Drugs & Linux Rules -- MaDsen Wikholm, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: firewall scripts
On Monday 28 July 2003 23:59, Tom Allison wrote: > I know that RedHat uses something called Bastille, > Suse has their own firewall script/gui thing. > > Does Debian have any firewall scripts or gui's that work for a Debian > configuration? Bastille is available via apt... -- Got Backup? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Top - Mem: 119212k used
Alan Connor wrote: From [EMAIL PROTECTED] Mon Jul 28 09:19:38 2003 On Sun, 2003-07-27 at 10:39, Alan Connor wrote: Thanks to all. I've got 3.0 down to 15 megs of RAM with no X up and screen running, and just two TTYs available, which is plenty. Next step is to rebuild my kernel and remove a LOT of drivers I don't use at all. Alan If you don't load the drivers, they won't take up any memory. Use lsmod to see what you are loading into RAM and modconf to change that configuration. -- Sex, Drugs & Linux Rules -- MaDsen Wikholm, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: local user halt
matt zagrabelny wrote: hello, is there a method for allowing (besides root) local users (ordinary users sitting at the keyboard of the computer) the ability to use the shutdown command? i dont want those logged in via ssh or other remote method having this capability. thanks, matt zagrabelny Check out sudo. It's probably the best method because it will also log who turned in the command to reboot/shutdown the computer. Also, because it (may) require password authentication for the command, shutting down the computer will be a more deliberate process. -- Sex, Drugs & Linux Rules -- MaDsen Wikholm, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]