IMAP and Squirelmail.
Hey, I need to know what IMAP program is the best and easiest to set up so I can Squirrel mail set up. I see Cyrus is a bit of pain. Payne PS. Anyway web pages that you have that can help me get Squirrel Mail, please send. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SSH attack
On Tue, 11 Oct 2005, Marty wrote: > Thanks, you just reminded me of two more items for my ssh hardening plan: > > -deny root login > > -turn off sshd access after a specified number of failed login attempts, > or any attempts outside the specific IP address range. those should be done BEFORE you go live .. ?? - no machine i would be baby sitting would be turned on if those 2 minimum requirements is not met - in the old days, i'd be running the latest/greatest ssh ... vs those that come with any distro ( it seems lot more stable now... not as many exploits ) as far as i'm concerned ... free audits is a good thing on non-critical machines ... let um play with those .. i get um by the thousands ... and i'm not gonna want any email just because one bozo decides to run a generic port scan or dictionary attacks - that'd generate hundreds of thousands of false alarms - "too many" attempts will also raise a flag ( more than the number of your fingers ) - critical machines are watched very carefully :-) c ya alvin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SSH attack
Alvin Oga wrote: On Tue, 11 Oct 2005, Marty wrote: > grep whatever you like from the gazillion log files for ssh this and ssh > that I don't know what you're getting at here. The idea is to get a realtime email alert. one can get any and all kinds of alerts till you're blue ( satisfied ) - just write it the way you like The problem is that method I proposed, using hosts.deny, doesn't cover all cases, no matter how much code I write. I already gave one reason and there are a few more I can think of. if you use somebody else widgets, you are restricted to what they did and what it does That's fine and even preferable, if it does everything I need. - if you are cracked or about to be cracked, you have less than 5 seconds to close the exploit before they can do the " rm -rf / " The whole point is to respond to the breakin attempts as quickly as possible, since most are not successful on the first attempt, and your example presupposed that the attacker immediately gets root access on the first attempt, which is not very likely. Thanks, you just reminded me of two more items for my ssh hardening plan: -deny root login -turn off sshd access after a specified number of failed login attempts, or any attempts outside the specific IP address range. c ya alvin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Statically-linked binaries
Hello, Is there anyone packaging statically-linked executables so that one doesn't worry about shared libraries? I'm thinking something like a single set-up file which will then install to the intended locations without the worry about dependencies. malebo
Re: SSH attack
On Tue, 11 Oct 2005, Marty wrote: > > grep whatever you like from the gazillion log files for ssh this and ssh > > that > > I don't know what you're getting at here. The idea is to get a realtime > email alert. one can get any and all kinds of alerts till you're blue ( satisfied ) - just write it the way you like if you use somebody else widgets, you are restricted to what they did and what it does - if you are cracked or about to be cracked, you have less than 5 seconds to close the exploit before they can do the " rm -rf / " c ya alvin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SSH attack
Alvin Oga wrote: On Mon, 10 Oct 2005, Marty wrote: > simple test ... > ( use your positive or negative logic equivalents for these files ) > > /etc/hosts.deny >ALL : ALL I'm not sure that will work with the manpage example I gave. works for me ... no services coming in that is not supposed to I meant sending the email alert as described in the manpage. > you'll find that you will need to have > > /etc/hosts.allow >sshd : 192.168.123.456 > > restart the inetd or sshd as needed Don't forget to add your ssh entry in /etc/inetd.conf. everything is turned off, sshd is NOT listed in inetd.conf or xinetd.conf whichever one is being used .. and similarly for the [x]inetd daemon itself - sshd does its own magic based on the allow/deny entries I had forgotten about that. It really got me the first time I tried to run ssh, and it doesn't seem to be well documented anywhere. Still it seems better to start ssh from (x)inetd for security reasons. grep whatever you like from the gazillion log files for ssh this and ssh that I don't know what you're getting at here. The idea is to get a realtime email alert. c ya alvin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: webserver logfile analiser (php site)
Gabe Granger wrote: > I've tried twice before... it always produced a html output but very > contained any data... I will give it another go and see if i can get > the damn thing to work... one of the things that always put me of was > the huge config file > I have awstats setup for my server. A link is available on http://ghaint.no-ip.org/~k2/ for details of the setup process. Also, reading /usr/share/doc/awstats/README.* will help. /KS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: shared Debian hosting
Jeremy Brooks wrote: > > Take a look at dreamhost.com. They have shell access, MySQL, PHP, etc. > Sales and support questions are answered quickly and clearly. > They offer CVS, and python too! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SSH attack
On Mon, 10 Oct 2005, Marty wrote: > > simple test ... > > ( use your positive or negative logic equivalents for these files ) > > > > /etc/hosts.deny > > ALL : ALL > > I'm not sure that will work with the manpage example I gave. works for me ... no services coming in that is not supposed to > > you'll find that you will need to have > > > > /etc/hosts.allow > > sshd : 192.168.123.456 > > > > restart the inetd or sshd as needed > > Don't forget to add your ssh entry in /etc/inetd.conf. everything is turned off, sshd is NOT listed in inetd.conf or xinetd.conf whichever one is being used .. and similarly for the [x]inetd daemon itself - sshd does its own magic based on the allow/deny entries grep whatever you like from the gazillion log files for ssh this and ssh that c ya alvin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Laptop clock is localtime, system time is off
On Mon, Oct 10, 2005 at 01:13:27PM +0100, Clive Menzies wrote: > On (10/10/05 06:21), Nate Bargmann wrote: > > * Clive Menzies <[EMAIL PROTECTED]> [2005 Oct 10 05:13 -0500]: > > > > > rerun base-config to reset > > > > Thanks for the tip, but base-config had nothing about the system time > > in its menu, just users and passwords, hostname, configure apt, select > > and install packages, exit and execute a shell. I guess I'll keep > > searching... > > Sorry, I assumed it would be in base-config my bad :( > > Look at man hwclock; I just had a quick look. There is an > option: > --hctosys Set the System Time from the Hardware Clock. close :-) /etc/init.d# less hwclockfirst.sh #!/bin/bash # hwclockfirst.sh Set system clock to hardware clock, according to the # UTC # setting in /etc/default/rcS (see also rcS(5)). [..] # WARNING: If your hardware clock is not in UTC/GMT, this script # must know the local time zone. This information is [..] # REMEMBER TO EDIT hwclock.sh AS WELL! -- Chris. == Reproduction if desired may be handled locally. -- rfc3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
cdrom mount directory w/ kernel upgrade
Hello. After I upgraded from kernel-image-2.4.27-2-386 to kernel-image-2.6.8-2-386, I find that I need to manually add the directory /media/cdrom0 (where the cdrom is mounted), whereas it used to automatically create this directory for mounting with the former kernel-image. Any way of fixing this? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SSH attack
Alvin Oga wrote: On Tue, 4 Oct 2005, Henrique de Moraes Holschuh wrote: On Mon, 03 Oct 2005, Marty wrote: > Correction -- it's in the hosts.deny man page. As others have already > pointed out, sshd must be configured to start via inetd. Must it? It uses tcp-wrappers natively, it should not need inetd for ANYTHING concerning /etc/hosts.allow or /etc/hosts.deny. I should have said that inetd must be configured to start sshd, if you want it to mail information on refused login attemts. simple test ... ( use your positive or negative logic equivalents for these files ) /etc/hosts.deny ALL : ALL I'm not sure that will work with the manpage example I gave. At least you can get an equivalent effect by adding an entry for each server started by inetd. and try to make your ssh work .. when yu give yp .. you'll find that you will need to have /etc/hosts.allow sshd : 192.168.123.456 restart the inetd or sshd as needed Don't forget to add your ssh entry in /etc/inetd.conf. whether inetd is good or bad is a separate issue Now that you menion it, this is probably not a good way to detect failed ssh login attempts for two reasons: because those packets should probably be blocked at the firewall; and because it also won't report failed attempts on the permitted IP address space. Before suggesting that I skimmed over the ssh/sshd manpages to see if they supported an automatic email alert option. ssh did mention an option for supplying a users email address, but I didn't find out what its used for. At first I thought the best way to do this is in a network monitoring tools, but I don't know whether such tools would normally detect an application-level event like a failed login attempt. As for tools that just monitor logs, I'm not sure whether they can respond fast enough. c ya alvin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
The suggestions provided by others already are great and I don't mean to beat a dead horse. If you really want a straight up list for *your* system, just `ls' /sbin, /bin, /usr/sbin, and /usr/bin. Then you can pop open man as something in the list interests you. Secondly, as has been mentioned already, a Unix reference will likely be of help. It won't cover package management or configuring hardware, because that is vendor and architecture specific. Still, there is a lot to chew on. Even old Unix books that you can get at used book stores or the library are a fun read. I have one published in 1982 and the first commands it mentions are `ed' and `troff'. Just about everything in a book published 25 years ago is applicable to Debian. You'll gain exposure to technologies that have gone out of favor like UUCP. Hope that helps, -Jeff On Mon, 2005-10-10 at 11:35 -0600, Hodgins Family wrote: > Good morning! > > Quick, how many commands are there at the disposal of a CLI enthusiast? > Every time some newbie asks how to do this that or something else, along > comes a new command "that-was-always-there" but sort of "unknown". Now > that's security through obscurity for you! This is not a rantI love the > number of commands in Linux and the control that they can give. > > But I'd like to see, ideally in one place, ALL the Debian commands. Then > instead of asking someone on the list (bless ya, guys and girls) how I can > to XYZ via ABC given that LMN are doing a QRS, I could peruse this one place > and then toddle off to the man pages (or google or whereever) to get the > syntax and nitty-gritty. > > And then if all goes fubar I could ask for help :) > > Is there such a site? > > FWIW, googling "Debian command line reference" gave no hits. Googling "Linux > command line reference" gave some 1160 inlcuding this one: > http://mygamecompany.com/Linux/Commandline/linuxcommandline.htm, but how > much is Debian? > > Thanks > > Rob > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
home network problem
I am having a pc and laptop. I was coonecting them both witj crossover cable and could transfer files etc. Today I am unable to ping laptop from pc and vice versa. But yesterday I have installed irda utils and bluetooth in laptop. Can ts cause this problem. I am having guessnet to select network in my laptop. my laptop data lvgdell600m:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:0D:56:79:2E:2E inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20d:56ff:fe79:2e2e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:50 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:7358 (7.1 KiB) Interrupt:11 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:79 errors:0 dropped:0 overruns:0 frame:0 TX packets:79 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5012 (4.8 KiB) TX bytes:5012 (4.8 KiB) lvgdell600m:~# cat /etc/network/interfaces auto lo eth0 iface lo inet loopback mapping eth0 # Too bad there's no way to pass commandline options to script # script /usr/sbin/guessnet -i script /usr/sbin/guessnet-ifupdown # List of stanzas guessnet should scan for # If none is specified, scans for all stanzas #map home work map default: none map timeout: 3 map verbose: true # Home network configuration iface home inet static address 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 #dns-search home.loc #dns-nameservers 192.168.1.1 # Check for one of these hosts: up echo "smarthost: main.home" > /etc/roaming/exim_options up rm -f /etc/roaming/not_online test1 peer address 192.168.0.1 #test2-peer address 192.168.1.3 mac 00:01:02:03:04:06 # I'd really appreciate a 'disabled' method for iface that just # keeps the interface down) iface disconnected inet static address 192.168.0.2 netmask 255.255.255.0 up echo "missing-cable" > /etc/roaming/not_online test2 missing-cable # It could also be: #test-missing-cable please # If nothing is found, try negotiating DHCP iface work inet static address 150.1.35.141 netmask 255.255.0.0 test3 peer address 150.1.35.36 # If nothing else is found, try DHCP iface none inet dhcp lvgdell600m:~# cat /etc/roaming/not_online missing-cable lvgdell600m:~# my pc data cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo eth1 iface lo inet loopback # The primary network interface iface eth1 inet static address 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 lvghomepc:~# /etc/init.d/networking restart Setting up IP spoofing protection: rp_filter. Reconfiguring network interfaces...ifup: interface lo already configured done. lvghomepc:~# ifconfig eth1 Link encap:UNSPEC HWaddr 00-E0-18-00-00-23-C1-AD-00-00-00-00-00-00-00-00 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:216 (216.0 b) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:107 errors:0 dropped:0 overruns:0 frame:0 TX packets:107 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6972 (6.8 KiB) TX bytes:6972 (6.8 KiB) lvghomepc:~# Whether eth1 encap:UNSPEC can be the reason. If so how to correct it?-- L.V.Gandhihttp://lvgandhi.tripod.com/linux user No.205042
Re: how to exit from fullscreen vncviewer
kamaraju kusumanchi wrote: > Wierd. The vnc is behaving in a strange way over the last 2 days. When I > execute vncviewer, a vnc session comes up. But inside the vnc session, > If I press F8 and select "Full Screen" then the session just crashes. > Previously, it used to become full screen but now it just crashes. Dont > know what is wrong. So...quit doing that. :-) If you are running KDE, then Alt-F3 will toggle fullscreen and back again just fine. Look under "Advanced" in the menu.. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: Strange crontab-problem
> Sometimes about 2500 times an hour. It's just > very annoying. > > So sshd is constantly busy rejecting illegal users. > When I don't need access to that server, I shut down > sshd. Perhaps take a look at the recent thread: Re: SSH attack And my reply about a new package, fail2ban: http://lists.debian.org/debian-user/2005/10/msg00430.html Regards, Ralph -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
cron.daily dwww error
hi, I am using debian sid. There is a problem about dwww. After running /etc/cron.daily/dwww, i get a mail from Anacron as followed: /etc/cron.daily/dwww: configuration error - unknown item 'QUOTAS_ENAB' (notify administrator) configuration error - unknown item 'NOLOGIN_STR' (notify administrator) configuration error - unknown item 'ENV_HZ' (notify administrator) configuration error - unknown item 'CHFN_AUTH' (notify administrator) configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator) I also get the same message after i type my account when login. I have googled for this, but nothing is found :( How can i solve this problem? Thanks a lot. xiaoyang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: Command line reference
> What I'm looking for is a site that simply lists the Debian commands > that are available. Rather like those old hideous DOS cheatsheets > that used to be around in the early '90s. As others have suggested, the commands depend on the packages installed. Perhaps you'd like this: Debian GNU/Linux Reference Card The 101 most important things when using Debian GNU/Linux http://people.debian.org/~debacle/refcard/ It's available in many languages. Regards, Ralph -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Building backports and local repositories
I'm wanting to install a few backports and want to verify that I'm not about to hose any of my system. I'm running Sarge... The particular packages is the Postgresql set of packages. I wanted to go to 8.0.3 and installed the packages from Testing a few weeks ago. Now, there are updates, but now they depend on the Testing libc6 (and Perl5.8, which have now parted from Stable), and don't want to mess with libc6, but would like to have the updates, so what I did was: download the postgres 8.0.3 diff file and the original postgres 8.0.3 source and began compiling. One thing I had to do was that in order to get an error-free compile, I had to install two libraries I compiled from this source, since the current packages depend upon libc6, however, I don't see any problem here: >From libecpg5: [EMAIL PROTECTED]:~$ ldd /usr/lib/libecpg.so.5.0 libpgtypes.so.2 => /usr/lib/libpgtypes.so.2 (0x4001a000) ^^^ - had to install libpgtypes2 and recompile libpq.so.4 => /usr/lib/libpq.so.4 (0x40029000) ^^ - already installed - remainder are from "standard" sources libssl.so.0.9.7 => /usr/lib/i586/libssl.so.0.9.7 (0x40046000) libcrypto.so.0.9.7 => /usr/lib/i586/libcrypto.so.0.9.7 (0x40073000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x40161000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x401c9000) libm.so.6 => /lib/libm.so.6 (0x401f6000) libpthread.so.0 => /lib/libpthread.so.0 (0x40218000) libc.so.6 => /lib/libc.so.6 (0x40269000) libresolv.so.2 => /lib/libresolv.so.2 (0x4039c000) libnsl.so.1 => /lib/libnsl.so.1 (0x403af000) libdl.so.2 => /lib/libdl.so.2 (0x403c4000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x403c7000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x403ea000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000) >From libpgtypes2: [EMAIL PROTECTED]:~$ ldd /usr/lib/libpgtypes.so.2.0 libm.so.6 => /lib/libm.so.6 (0x4001b000) libc.so.6 => /lib/libc.so.6 (0x4003d000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000) Now the question: Does the above not create a set of valid debs that I can safely install? More generally, is all that's required to produce a stock backport just to download the source, and the diff file and compile - doing whatever is required to eliminate all compile errors? One further question regarding apt. I have created a local APT repository which appears will be ready to install my new packages. However, the documentation seemed to imply that a line in /etc/apt/preferences such as: Pin: origin "" would refer to local files. However, my result seemed to be similar to that of many others from searching the archives. The only way I could get my local repository to be preferred was to put a line "Origin: Local" into my Release file and then have a line "Pin: release o=Local" in my preferences file. Not a problem, but it would have been neater IMO, if I could have used the original plan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
If you know what do you want to do, and think is programable, then I think your best bet is google for it, or ask on list. In many ways, one of the many purposes of the lists is to act as a very basic low-level interpreter between a user and the computer. Too much, maybe. I think that list traffic would be reduced somewhat and a user's grasp of what is available to him/her would be increased, if there was one place ( a dictionary?) that folks could go to at least learn the vocabulary of Debian that is available to them BEFORE hitting up the list experts. My question is: "Is there such a web-site?" No. Even if such a website exists, it will be out of date very soon and requires heavy maintenance. The closest solution to your problem would be the wiki - http://wiki.debian.org/ . If you want to see such a thing, just write it up there and it will pick up if there is sufficient interest. There's a huge, in the thousands, of comand line programs on any linux installation, and most people dont know how to use them all, if any, Wouldn't it be nice if there was a place where ALL the commands are available to peruse either before a command is needed or when a command is needed? It would be real nice and I was looking for that one once upon a time. I think there is a book called Debian bible (not sure about the name) - It probably lists most of the commands. raju -- Kamaraju S Kusumanchi Graduate Student, MAE Cornell University http://www.people.cornell.edu/pages/kk288/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.13 breaks vga= support?
On 10/10/05, marc <[EMAIL PROTECTED]> wrote: > I just had the same problem. It doesn't appear to be related to the > kernel, because I experienced the same problem with a recompile of a > 2.12 kernel. Rather it appears to be a change in one of the test > packages - because I don't get this behaviour when compiling on sarge. > > The fix is to set: > > Device drivers/Graphics support/Console display driver > support/Framebuffer Console Support > > to y instead of m. Sorry, I should have been more specific. I'm using the stock Debian 2.6.13-1-k7 kernel. 2.6.11-1-k7 worked fine with it, so it seems strange that 2.6.13-1-k7 doesn't. Should I post a message to the kernel devel list?
Re: SSH attack
On Tue, 4 Oct 2005, Henrique de Moraes Holschuh wrote: > On Mon, 03 Oct 2005, Marty wrote: > > Correction -- it's in the hosts.deny man page. As others have already > > pointed out, sshd must be configured to start via inetd. > > Must it? It uses tcp-wrappers natively, it should not need inetd for > ANYTHING concerning /etc/hosts.allow or /etc/hosts.deny. simple test ... ( use your positive or negative logic equivalents for these files ) /etc/hosts.deny ALL : ALL and try to make your ssh work .. when yu give yp .. you'll find that you will need to have /etc/hosts.allow sshd : 192.168.123.456 restart the inetd or sshd as needed whether inetd is good or bad is a separate issue c ya alvin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to exit from fullscreen vncviewer
Kent West wrote: kamaraju kusumanchi wrote: Malcolm Lalkaka wrote: Did you try pressing F8 again? Please bottom post to messages. I tried F8 again in the full screen session and nothing happens. The pop up menu does not appear when I am in the full screen mode. I just tried F8 here (also in KDE), and it worked to bring up the pop-up menu. If it doesn't work for you, you can use the grabKeyboard option when invoking xtightvncviewer (I don't know if it's the same for the plain [x]vncviewer). Also, earlier I had suggested Ctrl-Alt-F7; nope; I must've been confusing VNC with VMWare. Sorry. Wierd. The vnc is behaving in a strange way over the last 2 days. When I execute vncviewer, a vnc session comes up. But inside the vnc session, If I press F8 and select "Full Screen" then the session just crashes. Previously, it used to become full screen but now it just crashes. Dont know what is wrong. thanks raju -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SSH attack
On Mon, 03 Oct 2005, Marty wrote: > Correction -- it's in the hosts.deny man page. As others have already > pointed out, sshd must be configured to start via inetd. Must it? It uses tcp-wrappers natively, it should not need inetd for ANYTHING concerning /etc/hosts.allow or /etc/hosts.deny. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.12 and 2.6.13 won't access cdrom
Anthony Campbell wrote: > Kernel versions 2.6.12 and 2.6.13 are causimg serious problems here. > > 2.6.13 won't access /cdrom and 2.6.12 segfaults when I try this. It is > then impossible to log out normally and I have to pull the plug on the > computer! Similar trouble here. Kernel.org-2.6.13 won't mount them yet I can burn images just fine. kernel.org-2.6.12.6 is okay other than umounting won't allow the use of the eject button - but the command "eject" as root works. I'm using ide-cd, and ide-scsi is even worse. > I tried to compile a vanilla kernel but the compile fails (something to > do with gcc ???). Gcc-4.0 won't work. Just install and link /usr/bin/gcc-3.4 to /usr/bin/gcc. Tried "make deb-pkg" yet? :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
not All the SNMP manager
Hi, I've seen you are in touch with NMS, I'm developing one on my own as engeneering degree proyect. Actually I've the porpose to assingning the work of NMS in the logic tier, I'm develevoping this application bsen on J2EE, my question is: is there an API I an use for this job? EJBs spec. does not permmit the use of sockets, I need an OpenSource resouce. I saw you recommended net-snmp, but it is a complete NMS, I need just the necessary clases for developing it, not a complete NMS. please, reply me regards. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Strange crontab-problem
> Why don't you just turn off password auth and use > keys instead? I did. It's not that I am so afraid that they will brake in, it's just that they are trying it so many times. Sometimes about 2500 times an hour. It's just very annoying. So sshd is constantly busy rejecting illegal users. When I don't need access to that server, I shut down sshd. Kind regards, Joachim __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Semi-OT: need to fake keyboard and mouse...
On Monday 10 October 2005 17:02, derek wrote: > i just took an old keyboard apart. the green board was quite small, > about 2 inches by 3 inches. <...> I was going to mention that possability - you beat me to it. :-) Another suggestion: - Mount to keyboards PCB behind an unused floppy bay blanking plate. - Drill holes to let the LED's shine through. - Loop the keyboard cable out the back. - Setup scripts to trigger the LED's on certain events. Bob's your uncle, extra error and status indicators. :-)) -- Robert "roach" Spencer Pietermaritzburg South Africa -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Audio player error (amarok)
When I use XMMS's ALSA driver, I get a message that says: "Couldn't open audio. Please check that: your soundcard is configured properly, you have the correct output plugin selected, and no other program is blocking the soundcard." ...when attempting to playback. Amarok has several engines to use: GStreamer, aRts, and xine. GStreamer does nothing but generate errors. aRts and xine appear to work (it ACTS like it is playing), but there is no SOUND coming out. I have no idea why. When the sound stops coming out on playback with those programs, Noatun will not allow any sound to be produced either. Strangely, certain "WAV" type sounds (like logout sound) do seem to play even after this mess is created. Any ideas? TIA JRM --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I second the recommendation to switch to ALSA. It > may solve your > problem by itself. And Amarok does work with it. > :) > > __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
On Monday 10 October 2005 05:13 pm, Hodgins Family wrote: > Good afternoon! > > > Easy, on my system there are 3312 (YMMV), just hit tab twice from the CLI > > > > :) > > > > $ > > Display all 3312 possibilities? (y or n) > > OK. That's good. That's a start. And yes, my mileage may vary. It is > unlikely that I will have 3312 commands available on my system. That will > depend on what packages I have installed (or what I might install in the > future). I understand that. > > BUT, is there one site out there that a person can get at that lists ALL > commands that are available under Debian? As you pointed out yourself, you may not have 3312 on your system. I tried this on several systems, with varying numbers of packages installed, including my business server, where I have as little as possible installed above a base install of Mepis (soon to be a Sarge minimal install), and got something like 2300 or more. While there are "base" commands, like ls, rm, mv, cat, and the like, trying to get a full list would be like herding cats. You can always list the main directories, like /bin and /usr/bin and see what files are there, then use man to read up on them. I do something like that every now and then to explore and find new languages and programs I never knew about. While it's not Debian, after I set up my Father's system (running Mepis), he found a "Unix for Dummies" book -- I think this one was a spiral or plastic loop bound version that was a "quick reference" version -- and that has a list of many of the more frequently used commands. Hal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
On Mon, Oct 10, 2005 at 03:54:18PM -0600, Hodgins Family wrote: > Good afternoon! > > >http://www.comptechdoc.org/os/linux/commands/ > > Thanks for this link. Do you know how many of these commands are > Debian-specific? > I'm coming in late on this thread so please excuse me if this has already been said. 1. Most commands are not Debian or Redhat specific, and are not even Linux specific. They come from a long UNIX tradition, and they comply with a standard called POSIX. But commands specific to a particular format of software packages are often specific to a particular distribution. 2. Debian has quite good documentation available at http://www.debian.org/doc/ I particularly recommend the Filesystem Hierarchy Standard (FHS), which is available at http://www.debian.org/doc/devel-manuals#policy This document tells where, on the file system, each kind of file is to be placed, and why. It helps a lot in learning how to find things. Throughout the Debian documentation you will find that where Debian differs from the 'other' distribution there is often a specific recognition of the difference and an explanation for choosing the Debian way. If you like dead trees, you can print these docs. Read these docs. You will see better why you like Debian. The way something is done is not just the first idea that came into some geek's slightly twisted mind. Reasonable people have thought about and discussed almost every aspect of the design. -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: CONFIG_IP_ROUTE_FWMARK not working in Debian !
I don't think I need more complicated script.. I understand iproute2 and routing in linux quite well.. and this should work. My question was rather if I need to make any more OS tweaking (maybe in /proc/sys/net/ipv4 or whatever). Or if there is something blocking fwmark installed by default. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
Rob writes: > You are correct. However, to search the man pages means that you already > know the command to start with. man apropos -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Building Tuxmath with KDevelop
On Mon, Oct 10, 2005 at 05:20:23PM -0400, David Bruce wrote: > > I installed the source package for TuxMath using the source option for > apt-get, and also grabbed libsdl-dev. AFAIK, there is no such package (libsdl-dev), but rather several libsdl-*-dev packages, containing various components (though, maybe I haven't looked properly, or that's just a typo on your part...). Anyhow, the two header files the build is unhappy about, should be in libsdl-mixer1.2-dev (-> SDL_mixer.h) libsdl-image1.2-dev (-> SDL_image.h) Have you installed those? > I tried the "Import Existing Project" > option in KDevelop. When I try to build the project, it fails (see below). > I think the problem may be that I need to tell it where to find the SDL libs. I'm not a expert for KDevelop issues, but I think that should be OK. The option '-I/usr/include/SDL' (on the cc commandline - see below) should be all that's needed... > > cd '/home/dbruce/programming/tuxmath/tuxmath-0.0.20050316' && make -k > BUILDING tuxmath.o > mkdir obj > cc -Wall -g -I/usr/include/SDL -D_REENTRANT > -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" > -DSOUND src/tuxmath.c -c -o obj/tuxmath.o > In file included from src/tuxmath.c:21: > src/setup.h:26:23: error: SDL_mixer.h: No such file or directory What files do you actually have in /usr/include/SDL/ ? Cheers, Almut -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Dual booting -- Adding windows to a Linux system
On Mon, Oct 10, 2005 at 09:02:01AM +, Florian Dorpmueller wrote: > >But one thing that I'm not sure and not really know, will windows work OK > >if it installed not on the first partition of the disk ? > >Even I believe this will work, but better be carefull. > > > >--w.h-- > > > > Possible but not simple. E.g. you must manually set the drive and Advanced > RISC Computing (ARC) path settings in Target Designer. Furthermore boot.ini > settings, and drive letter issues have to be adopted. > > But this is not a windows-ML. Isn?t it? No, but I suspect a higher percentage of Linux users have Windows installed than Windows users have LInux installed. -- hendrik -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Dual booting -- Adding windows to a Linux system
On Mon, Oct 10, 2005 at 12:01:56AM -0700, Roy Pluschke wrote: > On Mon, 2005-10-10 at 12:57 +0700, Ms Linuz wrote: > > Roy Pluschke wrote: > > > > >Is there a howto for dual booting an existing linux system with windows > > >2000. Everything I've found so far assumes windows is installed and > > >then adding linux -- I'm going the other way -- existing linux system > > >and having to add windows. Unfortunately the program I need won't play > > >nicely with winex, vmware etc. and the linux alternatives aren't quite > > >there yet. > > > > > >Thanks in advance, > > >Roy P. > > > > > > > > > > > > > > > > > Dou you want to install windows on the disk which currently installed > > linux ? > > > Yes, on the same disk. I have to somehow reduce the current partition > sizes and add a new partition for windows. I am also concerned that the > windows installation will then screw things up (overwrite the MBR). That's why you could tell lilo to put the master boot record on a floppy. (preferably do it twice so you have two boot floppies, just in case). Then put the floppies in a safe place, and install Windows. You'll still be able to boot Linux from floppies, and can relilo to your heart's content until you get it to boot both Linux and Windows. Do your experimintation with the MBR's of various floppy disk until you get it right. The hard part may be to keep Linux booting while you shrink its partitions. -- henrik -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
> You are correct. However, to search the man pages means that you already > know the command to start with. What I'd like to do is to be able to say > something like this "Hey, why is my drive/sound card/video card doing > this?", then find a site that lists the commands that are drive-/sound > card-/video card-related so that I can decide what might be run from the CLI > to diagnose/fix/optimize/etc. man pages have a keyword search mode man -k video shows you all man pages related to video. For debian, I also find apt-cache search video also helps me get an idea of what installable packages are out there, which are related to video. You can find out about all sorts of nifty tools this way.
Re: Command line reference
Good afternoon! Have you read the Debian Reference? That's all shell-based. It can be found here: http://www.debian.org/doc/manuals/reference/reference.en.html#contents The document at this site has lots of useful info that I'm not (immediately) interested in. I have bokmarked it, though, for future reference. What I'm looking for is a site that simply lists the Debian commands that are available. Rather like those old hideous DOS cheatsheets that used to be around in the early '90s. Thanks for the link though. Rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
Good afternoon! http://www.comptechdoc.org/os/linux/commands/ Thanks for this link. Do you know how many of these commands are Debian-specific? Rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
Good afternoon! Any unix, linux book will give you a good hint on posibilities. Many linux books have discussions of rpm related stuff, fewer discuss apt..just to pick on two obvious distinctions. Right now, I'm a Debian guy. I'm studying Debian Linux. For now, I'm only interested in Debian commands. If you need a comprehensive list of manuals, man pages is the closest one, i think You are correct. However, to search the man pages means that you already know the command to start with. What I'd like to do is to be able to say something like this "Hey, why is my drive/sound card/video card doing this?", then find a site that lists the commands that are drive-/sound card-/video card-related so that I can decide what might be run from the CLI to diagnose/fix/optimize/etc. A (poor) analogy follows: You go to Mexico/China/Portugal. You are leaving the departures lounge. A local says something to you. Seriously, are you going to grab a fellow traveller and demand a translation...each and every time a local says something to you? Of course not. You'll whip out a dictionary and grunt through what the local chap is trying to say and what you'll say in return. Only when that fails will you consider grabbing an expert to explain the nuances of the conversation. Much more efficient and much less time consuming than having the entire departure lounge chanting back at you "No, "clear" will clear your screen, "cls" won't. At least, not in this country." If you know what do you want to do, and think is programable, then I think your best bet is google for it, or ask on list. In many ways, one of the many purposes of the lists is to act as a very basic low-level interpreter between a user and the computer. Too much, maybe. I think that list traffic would be reduced somewhat and a user's grasp of what is available to him/her would be increased, if there was one place ( a dictionary?) that folks could go to at least learn the vocabulary of Debian that is available to them BEFORE hitting up the list experts. My question is: "Is there such a web-site?" There's a huge, in the thousands, of comand line programs on any linux installation, and most people dont know how to use them all, if any, Wouldn't it be nice if there was a place where ALL the commands are available to peruse either before a command is needed or when a command is needed? so it's better to know a command when you need it, than diving in the man pages with the hope of learning how to work CLI. That's right. But a newb can't "know" and understand a command if he/she doesn't know it exists. And no one can dive into the man pages without knowing what they are looking for in the first place. Catch-22! Rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: hibernate/sleep howto
Hugo Vanwoerkom wrote: Ganeshram Iyer wrote: Ganeshram Iyer wrote: Depending on your kernel version, you may not have any luck using suspend. I never had luck, but I have not tried recently with the 2.6.12 and 2.6.13 kernels. From swsusp.txt in /usr/src/linux/Documentation/power: ... You need to append resume=/dev/your_swap_partition to kernel command line. Then you suspend by echo shutdown > /sys/power/disk; echo disk > /sys/power/state ... Hi! AFAIK There are 3 versions of hibernation code. Two that are part of the official kernel and one that need a patch (suspend2). This latter is more advanced and should perform better but is being actively developed and changes frequently. The two versions included in the official 2.6.x kernel are Pavel's swsusp and Patrick Mochel's PM suspend. You have to check which one is compiled in your kernel. Each one has it's own starting command. So I just did that: echo shutdown > /sys/power/disk; echo disk > /sys/power/state It stops, i.e suspends the system. Very quick. Pop goes the speaker and power goes off. Leaves the external modem connected. Then what. I have no option but hitting the power on button and selected the lilo image where I had added "resume/dev/hda13", my swap device. AFAIK, we have to wait for improvements on the ACPI side in order to have a wake-on-lid kind of resume. That's where things went wrong: it just booted and of course found bad disks etc. rebooted itself and I had to clean things up. Did you reinstalled lilo after changing it?? Is your "resume=/dev/..." well written? It should work. There is however the possibility that your harddrive cache was not written to the disk Some drives have this kind of problem.. You can use hdparm to disable the cache before the suspend command and reenable if after. The hibernate script (hibernate package) handles these matters and others that arise when using suspension, like the error in the clock (after resuming, the system clock is at the time when it was suspended. You have to syncronise it with the hardware clock). It can be customized to the 3 versions of suspension code and to suspen-to-ram also. May be somebody else has used 2.6.12 with suspend successfully. I added the suspend option with the already existeing boot parms. Maybe that is wrong, who knows. It will be a while before I try again... ;-) H Best regards, Luís Neves -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Building Tuxmath with KDevelop
First of all, please let me know if another list would be better. I'm using Sid and want to modify TuxMath to make it more configurable for my young daughter. My programming skills are clearly in the amateur level, but over the last several years I have written some things for BeOS and more recently KDE/Qt to keep myself amused (a MineSweeper clone, a Tetris clone, a chess GUI-frontend, and the like). I know C and C++ syntax and basic programming OK, but unless I have an IDE that "just works", the building part is a dark art to me. I am using the KDevelop in Sid (3.2.2). I installed the source package for TuxMath using the source option for apt-get, and also grabbed libsdl-dev. I tried the "Import Existing Project" option in KDevelop. When I try to build the project, it fails (see below). I think the problem may be that I need to tell it where to find the SDL libs. Any help would be greatly appreciated. David Bruce cd '/home/dbruce/programming/tuxmath/tuxmath-0.0.20050316' && make -k BUILDING tuxmath.o mkdir obj cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/tuxmath.c -c -o obj/tuxmath.o In file included from src/tuxmath.c:21: src/setup.h:26:23: error: SDL_mixer.h: No such file or directory In file included from src/tuxmath.c:21: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class make: *** [obj/tuxmath.o] Error 1 BUILDING setup.o mkdir obj mkdir: cannot create directory `obj': File exists make: [obj/setup.o] Error 1 (ignored) cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/setup.c -c -o obj/setup.o src/setup.c:27:23: error: SDL_mixer.h: No such file or directory src/setup.c:29:23: error: SDL_image.h: No such file or directory In file included from src/setup.c:30: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class src/setup.c:155: error: syntax error before '*' token src/setup.c:155: warning: type defaults to 'int' in declaration of 'sounds' src/setup.c:155: warning: data definition has no type or storage class src/setup.c:156: error: syntax error before '*' token src/setup.c:156: warning: type defaults to 'int' in declaration of 'musics' src/setup.c:156: warning: data definition has no type or storage class src/setup.c: In function 'setup': src/setup.c:416: warning: implicit declaration of function 'Mix_OpenAudio' src/setup.c:469: warning: implicit declaration of function 'IMG_Load' src/setup.c:469: warning: assignment makes pointer from integer without a cast src/setup.c:528: warning: implicit declaration of function 'Mix_LoadWAV' src/setup.c:528: warning: assignment makes pointer from integer without a cast src/setup.c:552: warning: implicit declaration of function 'Mix_LoadMUS' src/setup.c:552: warning: assignment makes pointer from integer without a cast src/setup.c: In function 'seticon': src/setup.c:603: warning: assignment makes pointer from integer without a cast make: *** [obj/setup.o] Error 1 BUILDING title.o mkdir obj mkdir: cannot create directory `obj': File exists make: [obj/title.o] Error 1 (ignored) cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/title.c -c -o obj/title.o In file included from src/title.c:25: src/setup.h:26:23: error: SDL_mixer.h: No such file or directory In file included from src/title.c:25: src/setup.h:33: error: syntax error before '*' token src/setup.h:33: warning: type defaults to 'int' in declaration of 'sounds' src/setup.h:33: warning: data definition has no type or storage class src/setup.h:34: error: syntax error before '*' token src/setup.h:34: warning: type defaults to 'int' in declaration of 'musics' src/setup.h:34: warning: data definition has no type or storage class make: *** [obj/title.o] Error 1 BUILDING game.o mkdir obj mkdir: cannot create directory `obj': File exists make: [obj/game.o] Error 1 (ignored) cc -Wall -g -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/share/tuxmath/\" -DDEBUG -DVERSION=\"2005.01.03\" -DSOUND src/game.c -c -o obj/game.o src/game.c:24:23: error: SDL_mixer.h: No such file or directory src/game.c:26:23: error: SDL_image.h: No such file or directory In file included from src/game.c:29: s
Re: sound, and floppies
This might depend a lot on the floppy disk drive. You might want to test the one from your work with the computer that has debian on it. How do I do this? How do I test it? The only way to test it would be to take the drive out and install it into the Debian box.
Re: Command line reference
Good afternoon! Easy, on my system there are 3312 (YMMV), just hit tab twice from the CLI :) $ Display all 3312 possibilities? (y or n) OK. That's good. That's a start. And yes, my mileage may vary. It is unlikely that I will have 3312 commands available on my system. That will depend on what packages I have installed (or what I might install in the future). I understand that. BUT, is there one site out there that a person can get at that lists ALL commands that are available under Debian? Rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
Hodgins Family wrote: Good morning! Quick, how many commands are there at the disposal of a CLI enthusiast? Every time some newbie asks how to do this that or something else, along comes a new command "that-was-always-there" but sort of "unknown". Now that's security through obscurity for you! This is not a rantI love the number of commands in Linux and the control that they can give. But I'd like to see, ideally in one place, ALL the Debian commands. Then instead of asking someone on the list (bless ya, guys and girls) how I can to XYZ via ABC given that LMN are doing a QRS, I could peruse this one place and then toddle off to the man pages (or google or whereever) to get the syntax and nitty-gritty. And then if all goes fubar I could ask for help :) Is there such a site? FWIW, googling "Debian command line reference" gave no hits. Googling "Linux command line reference" gave some 1160 inlcuding this one: http://mygamecompany.com/Linux/Commandline/linuxcommandline.htm, but how much is Debian? Thanks Rob xman, see section 1 user commands -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fwd: Problem with PATH variable and access
Sorry about the last message, I forgot to put that I am running sarge 3.1 stable. :-) +++Hello all. I am not sure this is the correct place to post this, but here it goes. I am trying to install some scientific programs, like MPICH, ScaLAPACK, etc on a PIIIx2. The installations went well, until I had to call a command or library from the terminal. I have tried to set the PATH, MPI and MPI_LIB variables for root and normal users (authenticated by nis), with no sucess. I have put the correct lines on /etc/profile, /etc/bash.bashrc, and on ~/.bashrc for normal users, and /root/.bashrc, /root/.bash_profile and /root/.profile, with no sucess. The command is not found, even if the variable is correctly setted. Here is an output: *** /root/.profile: MPI=/opt/gnu/mpich-1.2.7/bin export MPI MPI_LIB=/opt/gnu/mpich-1.2.7/lib export MPI_LIB PATH=$PATH:/opt/gnu/mpich-1.2.7 /root/.bash_profile: MPI=/opt/gnu/mpich-1.2.7/bin/ export MPI MPI_LIB=/opt/gnu/mpich-1.2.7/lib/ export MPI_LIB /user/.bashrc: # .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi MPI=/opt/gnu/mpich-1.2.7/bin export MPI MPI_LIB=/opt/gnu/mpich-1.2.7/lib export MPI_LIB PATH=$PATH:/opt/gnu/mpich-1.2.7 /etc/profile: # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "`id -u`" -eq 0 ]; then PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11" else PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games" fi if [ "$PS1" ]; then if [ "$BASH" ]; then PS1='[EMAIL PROTECTED]:\w\$ ' else if [ "`id -u`" -eq 0 ]; then PS1='# ' else PS1='$ ' fi fi fi export PATH umask 022 ### #Modificacoes para instalacao ### ### #MPI MPI=/opt/gnu/mpich-1.2.7/bin export MPI MPI_LIB=/opt/gnu/mpich-1.2.7/lib export MPI_LIB PATH=$PATH:/opt/gnu/mpich-1.2.7 export PATH I already have logged and dislogged, and even rebooted the system. When I issue a env, the paths are there. env: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/opt/gnu/mpich-1.2.7:/opt/gnu/mpich-1.2.7/ PWD=/root LANG=en_US MPI=/opt/gnu/mpich-1.2.7/bin/ *** What can be happening? Thank you! Ivan -- ---Ivan S. P. MarinLaboratório de Física Computacional lfc.ifsc.usp.brInstituto de Física de São Carlos - USP -- -- ---Ivan S. P. MarinLaboratório de Física Computacionallfc.ifsc.usp.brInstituto de Física de São Carlos - USP --
Problem with PATH variable and access
Hello all. I am not sure this is the correct place to post this, but here it goes. I am trying to install some scientific programs, like MPICH, ScaLAPACK, etc on a PIIIx2. The installations went well, until I had to call a command or library from the terminal. I have tried to set the PATH, MPI and MPI_LIB variables for root and normal users (authenticated by nis), with no sucess. I have put the correct lines on /etc/profile, /etc/bash.bashrc, and on ~/.bashrc for normal users, and /root/.bashrc, /root/.bash_profile and /root/.profile, with no sucess. The command is not found, even if the variable is correctly setted. Here is an output: *** /root/.profile: MPI=/opt/gnu/mpich-1.2.7/bin export MPI MPI_LIB=/opt/gnu/mpich-1.2.7/lib export MPI_LIB PATH=$PATH:/opt/gnu/mpich-1.2.7 /root/.bash_profile: MPI=/opt/gnu/mpich-1.2.7/bin/ export MPI MPI_LIB=/opt/gnu/mpich-1.2.7/lib/ export MPI_LIB /user/.bashrc: # .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi MPI=/opt/gnu/mpich-1.2.7/bin export MPI MPI_LIB=/opt/gnu/mpich-1.2.7/lib export MPI_LIB PATH=$PATH:/opt/gnu/mpich-1.2.7 /etc/profile: # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "`id -u`" -eq 0 ]; then PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11" else PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games" fi if [ "$PS1" ]; then if [ "$BASH" ]; then PS1='[EMAIL PROTECTED]:\w\$ ' else if [ "`id -u`" -eq 0 ]; then PS1='# ' else PS1='$ ' fi fi fi export PATH umask 022 ### #Modificacoes para instalacao ### ### #MPI MPI=/opt/gnu/mpich-1.2.7/bin export MPI MPI_LIB=/opt/gnu/mpich-1.2.7/lib export MPI_LIB PATH=$PATH:/opt/gnu/mpich-1.2.7 export PATH I already have logged and dislogged, and even rebooted the system. When I issue a env, the paths are there. env: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/opt/gnu/mpich-1.2.7:/opt/gnu/mpich-1.2.7/ PWD=/root LANG=en_US MPI=/opt/gnu/mpich-1.2.7/bin/ *** What can be happening? Thank you! Ivan -- ---Ivan S. P. MarinLaboratório de Física Computacionallfc.ifsc.usp.brInstituto de Física de São Carlos - USP --
Re: Bogue sur l'écran de connexion
Le Monday 10 October 2005 21:30, Grosset Dominique(Grosset Dominique <[EMAIL PROTECTED]>) disait: > Bonsoir Bonsoir, > > Ma debian est configurée pour démarrer en mode graphique. J'ai > voulu redémarrer et j'ai tapé par erreur mon mot de passe qui a > été refusé. Lorque j'ai ensuite tapé le mot de passe de root, > celui ci s'est affiché en clair au lieu des étoiles. La liste sur laquelle vous avez postée n'est française La liste française est [EMAIL PROTECTED] Si vous souhaitez poster en français, il vous faudra vous inscrire sur cette liste! > C'est mon premier rapport de Bogue Les reports de bugs se font sur bugs.debian.org ou à l'aide de reportbug. Vous pouvez utiliser apt-get pour l'installation de ce package ! A+ -- Glennie "La vie offre toujours deux pentes. On grimpe ou on se laisse glisser." pgptkgN8g71rN.pgp Description: PGP signature
Re: WiFi Problems (It doesn't work properly)
OK, and your directly connected computer is working? The central computer is connected to the same wireless router / modem which the laptop is connected to. It works nicely. Is it running Linux orWindows? Windows XP Pro. If it's working, we know that DHCP is working properly on the DSLrouter, and it's correct that it should appear as the DNS IP. That sounds good to me. > an Ethernet Cable directly to the Router / Modem. This worked with > normalcy (id est, every thing was coming in at the normal speed).>> Before we try anything else tell us: A) Make & Model of your DSL modem>> Siemens SpeedStream 6525 Router / Modem. This is not some thing one can > buy; it came as a gift from Sympatico.You're not kidding. Siemens seems to have closed it's whole home networkingline. Are you sure of that model number? Are you sure it's wireless?(Sorry, but one has to ask!) Sorry, it's a 6520, not 6525. The rest is correct; even the wireless aspect/ Plug the system you're having trouble with into the router with an ethernetcable, make sure you have a connection. Then do:routeKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface 64.230.197.65 * 255.255.255.255 UH 0 0 0 ppp0default 64.230.197.65 0.0.0.0 UG 0 0 0 ppp0 cat /etc/resolv.conf nameserver 206.47.244.12nameserver 207.47.244.12search no-domain-set.bellcanada cat /var/lib/dhcp*/*.leaseslease { interface "ath0"; fixed-address 192.168.254.2 ; option subnet-mask 255.255.255.0 ; option routers 192.168.254.254; option domain-name-servers 192.168.254.254; option domain-name "no-domain-set.bellcanada "; option dhcp-lease-time -1; option dhcp-message-type 5; option dhcp-server-identifier 192.168.254.254 ; renew 2 2038/1/19 03:14:07; rebind 2 2038/1/19 03:14:07; expire 2 2038/1/19 03:14:07;}lease { interface "ath0"; fixed-address 192.168.2.11 ; option subnet-mask 255.255.255.0 ; option routers 192.168.2.1; option domain-name-servers 192.168.2.1; option domain-name "no-domain-set.bellcanada"; option dhcp-lease-time 259200; option dhcp-message-type 5; option dhcp-server-identifier 192.168.2.1; renew 6 2005/10/8 10:11:07; rebind 0 2005/10/9 13:11:07; expire 0 2005/10/9 22:11:07;} lease { interface "wlan0"; fixed-address 192.168.2.13; option subnet-mask 255.255.255.0; option routers 192.168.2.1; option domain-name-servers 192.168.2.1; option host-name "your-8cfb5dbe8b"; option domain-name "no-domain-set.bellcanada"; option dhcp-lease-time 259200; option dhcp-message-type 5; option dhcp-server-identifier 192.168.2.1; renew 2 2005/9/27 03:28:09; rebind 3 2005/9/28 06:28:09; expire 3 2005/9/28 15:28:09;} lease { interface "ath0"; fixed-address 192.168.2.11; option subnet-mask 255.255.255.0; option routers 192.168.2.1; option domain-name-servers 192.168.2.1; option domain-name "no-domain-set.bellcanada "; option dhcp-lease-time 259200; option dhcp-message-type 5; option dhcp-server-identifier 192.168.2.1; renew 0 2005/10/9 05:44:30; rebind 1 2005/10/10 08:44:30; expire 1 2005/10/10 17:44:30;} Then try to connect wirelessly and do the same. Compare the results. They should be exactly the same except for the metric & iface columns in the"route" output, the actual IP issued in the lease, and the interface thelease is for.If you don't get an IP at all wirelessly, then try: "dhclient ath0" (or whatever the wireless iface is) and report back.I started to use dhclient ath0. It seems to work, I don't know what else I can do, so I do that. -- —A watched bread-crumb never boils. —My hover-craft is full of eels.—[...]and that's the he and the she of it.
Re: CONFIG_IP_ROUTE_FWMARK not working in Debian !
On 10 Oct 2005 11:56:06 -0700, supermega <[EMAIL PROTECTED]> wrote: > Thank you both. > > Nelson Castillo, can you tell me what kernel you're using? I'm using a patched 2.6.9 kernel, but I know 2.6.8 works. > and it should work ? > > (Of course I don't need policy routing - it's just for example) I wouldn't know... I'd need to try. I will attach a script I'm using to route for multiple providers that uses fwmark. It's based on this howto: http://lartc.org/howto/lartc.rpdb.multiple-links.html -- Homepage : http://geocities.com/arhuaco The first principle is that you must not fool yourself and you are the easiest person to fool. -- Richard Feynman. route.sh Description: Bourne shell script
Bogue sur l'écran de connexion
Bonsoir Ma debian est configurée pour démarrer en mode graphique. J'ai voulu redémarrer et j'ai tapé par erreur mon mot de passe qui a été refusé. Lorque j'ai ensuite tapé le mot de passe de root, celui ci s'est affiché en clair au lieu des étoiles. C'est mon premier rapport de Bogue (achat de Sarge il y a une semaine) j'espère avoir respecté à peu près les formes Merci
Re: [dual monitor] Second video card (Cirrus Logic 5446) doesn't work
On Mon, 10 Oct 2005, Andrea B. wrote: > > http://Linux-1U.net/X11/Dual > > Dual monitor works! But I have a problem: when I launch an app on desktop 1, I > cannot move it on the other desk, and vice-versa. > What have I got to do to solve this problem? you need to put xinerama into your X11 ocnfig file or use it on startup of X11 - check the example config file for the xinerama option hard way PC# export DISPLAY=:0.1 PC# xterm c ya alvin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [dual monitor] Second video card (Cirrus Logic 5446) doesn't work
Andrea B. wrote: >Alvin Oga wrote: > > >>On Sun, 9 Oct 2005, Kent West wrote: >> >> >> >> >>>Andrea Ballatore wrote: >>> >>> >>> >>> I've tried to read some HOWTOs and google stuff >>which ones .. >> >>you need to change /etc/X11/xorg.conf or /etc/X11/XF86Config >> - you need to add the stuff for the 2nd card >> - you need to add the stuff for the 2nd monitor >> - you need to tell it which monitor is left and right side or >>up and down >> >>example config files >> http://Linux-1U.net/X11/Dual >> >> > >Dual monitor works! But I have a problem: when I launch an app on desktop 1, I >cannot move it on the other desk, and vice-versa. >What have I got to do to solve this problem? > > > > You need the xinerama extension enabled in your config file. -- Kent West Technology Support /A/bilene /C/hristian /U/niversity -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [dual monitor] Second video card (Cirrus Logic 5446) doesn't work
Alvin Oga wrote: > > On Sun, 9 Oct 2005, Kent West wrote: > > >>Andrea Ballatore wrote: >> >> >>>I've tried to read some HOWTOs and google stuff > > > which ones .. > > you need to change /etc/X11/xorg.conf or /etc/X11/XF86Config > - you need to add the stuff for the 2nd card > - you need to add the stuff for the 2nd monitor > - you need to tell it which monitor is left and right side or > up and down > > example config files > http://Linux-1U.net/X11/Dual Dual monitor works! But I have a problem: when I launch an app on desktop 1, I cannot move it on the other desk, and vice-versa. What have I got to do to solve this problem? -- +-+--+ | .''`. |:: Andrea Ballatore ::| | : :' : | mail: andrea.ballatore[at]gmail.com | | `. `'` | blog: http://alphachron.splinder.com | | `-| skype: andrea_blltr | +-+--+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: hibernate/sleep howto
Hugo Vanwoerkom wrote: Ganeshram Iyer wrote: Ganeshram Iyer wrote: Depending on your kernel version, you may not have any luck using suspend. I never had luck, but I have not tried recently with the 2.6.12 and 2.6.13 kernels. From swsusp.txt in /usr/src/linux/Documentation/power: ... You need to append resume=/dev/your_swap_partition to kernel command line. Then you suspend by echo shutdown > /sys/power/disk; echo disk > /sys/power/state ... So I just did that: echo shutdown > /sys/power/disk; echo disk > /sys/power/state It stops, i.e suspends the system. Very quick. Pop goes the speaker and power goes off. Leaves the external modem connected. Then what. I have no option but hitting the power on button and selected the lilo image where I had added "resume/dev/hda13", my swap device. That's where things went wrong: it just booted and of course found bad disks etc. rebooted itself and I had to clean things up. May be somebody else has used 2.6.12 with suspend successfully. I added the suspend option with the already existeing boot parms. Maybe that is wrong, who knows. It will be a while before I try again... ;-) H -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: CONFIG_IP_ROUTE_FWMARK not working in Debian !
Thank you both. Nelson Castillo, can you tell me what kernel you're using? So.. - I download sarge/stable, install minimal system - apt-get iproute - do the following commands: #adding new routing table echo "200 isp2" >> /etc/iproute2/rt_tables # setting up routing tables ip route add default via dev eth1 ip route add default via dev eth2 table isp2 # routing marked packets via table isp2 ip rule add fwmark 5 table isp2 # enable forwarding echo "1" > /proc/sys/net/ipv4/ip_forward # nat iptables -t nat -A POSTROUTING -o eth1 -s -j SNAT iptables -t nat -A POSTROUTING -o eth2 -s -j SNAT # marking packets from LAN_IP iptables -t mangle -A PREROUTING -s -j MARK --set-mark 5 ___ and it should work ? (Of course I don't need policy routing - it's just for example) -- Tomek -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Unidentified subject!
Hello, all, I'm trying to install gnome, but got a /var/cash... error. So, I tried changing the cache-size, and ended up having to apt-get -f install. Now, I'm getting the following error: libx11-6 libxt6 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded. 370 not fully installed or removed. Need to get 0B/1073kB of archives. After unpacking 2228kB of additional disk space will be used. Do you want to continue? [Y/n] y Preconfiguring packages ... *** glibc detected *** double free or corruption (!prev): 0x087a3ab8 *** /bin/sh: line 1: 8506 Aborted /usr/sbin/dpkg-preconfigure --apt (Reading database ... 41050 files and directories currently installed.) Unpacking libx11-6 (from .../libx11-6_6.8.2.dfsg.1-7_i386.deb) ... *** glibc detected *** double free or corruption (!prev): 0x08742d58 *** dpkg: error processing /var/cache/apt/archives/libx11-6_6.8.2.dfsg.1-7_i386.deb(--unpack): subprocess pre-installation script killed by signal (Aborted) Unpacking libxt6 (from .../libxt6_6.8.2.dfsg.1-7_i386.deb) ... *** glibc detected *** double free or corruption (!prev): 0x08742d58 *** dpkg: error processing /var/cache/apt/archives/libxt6_6.8.2.dfsg.1-7_i386.deb (--unpack): subprocess pre-installation script killed by signal (Aborted) Errors were encountered while processing: /var/cache/apt/archives/libx11-6_6.8.2.dfsg.1-7_i386.deb /var/cache/apt/archives/libxt6_6.8.2.dfsg.1-7_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) What should I do about this? Thanks, Terrence -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: hibernate/sleep howto
Ganeshram Iyer wrote: Ganeshram Iyer wrote: hello experts, I have debian sarge on a dell inspiron 5000. i was looking at using either a sleep or hibernate function on it. but whatever info i am able to find online requires me to path and compile my own kernel. i have a very slow PC and limited space on my had (about 1gb) so do not want to install compilers etc. is this the only way i can do this? any clear howtos to do this? any help you can offer would be most appreciated. thanks ganesh Haven't tried yet, but there's a debian package called hibernate. I have looked at this but if I run it, it says the following: Your kernel does not have any recent Software Suspend 2 support compiled in. Please follow the HOWTO linked from http://softwaresuspend.berlios.de/ for instructions on how to compile Software Suspend into your kernel. hibernate: Aborting. if i look at the website then it mentions patch/compile/install kernel. dont have the power to do this. will i still be able to do this? There are 2 kernel functions to "hibernate or sleep", if by that you mean *suspend*, or power the computer off while saving the state it was in. There is the *suspend* kernel option: CONFIG_SOFTWARE_SUSPEND=y You can check in your /boot/config if you have the option. Secondly there is suspend2, which is a patch to the kernel, which you discovered. It fiddles with keyboard.c to make things look pretty, but I don't know its trackrecord. But if you cannot kernel compile, you cannot use this option. Depending on your kernel version, you may not have any luck using suspend. I never had luck, but I have not tried recently with the 2.6.12 and 2.6.13 kernels. From swsusp.txt in /usr/src/linux/Documentation/power: ... You need to append resume=/dev/your_swap_partition to kernel command line. Then you suspend by echo shutdown > /sys/power/disk; echo disk > /sys/power/state ... But there are so many caveats in the documentation that for me, just booting is easier and takes very little time. But I am tempted to try again. I will post the results. HTH H -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Where did the diskusage increase?
John Plate wrote: Hi I'm looking for a tool that can tell where diskusage has increased since last time the tool was run. Does such a tool exist? If you mean "what directory has gotten larger and why", I'd like the tool also. But my solution to this problem is my own script *do_apt-get*. It took a couple of years to develop but it basically has everything that I want and need to install Debian from scratch on a partition. However, ;-) I went to shared /home and /usr/local dirs and now *those* have the problem again: what is added to those and why? H -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
Hodgins Family wrote: Good morning! Quick, how many commands are there at the disposal of a CLI enthusiast? Every time some newbie asks how to do this that or something else, along comes a new command "that-was-always-there" but sort of "unknown". Now that's security through obscurity for you! This is not a rantI love the number of commands in Linux and the control that they can give. But I'd like to see, ideally in one place, ALL the Debian commands. Then instead of asking someone on the list (bless ya, guys and girls) how I can to XYZ via ABC given that LMN are doing a QRS, I could peruse this one place and then toddle off to the man pages (or google or whereever) to get the syntax and nitty-gritty. And then if all goes fubar I could ask for help :) Is there such a site? FWIW, googling "Debian command line reference" gave no hits. Googling "Linux command line reference" gave some 1160 inlcuding this one: http://mygamecompany.com/Linux/Commandline/linuxcommandline.htm, but how much is Debian? Thanks Rob http://www.comptechdoc.org/os/linux/commands/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Strange crontab-problem
Hello Joachim, On Mon, 10 Oct 2005 10:43:57 -0700 (PDT) Joachim Smit <[EMAIL PROTECTED]> wrote: > Because some naughty boys try to get in one of my > clients' Debian-server a couple of hundred times a day > I decided to shut down sshd when I don't need. With a > simple mechanisme I can start sshd from distance > whenever I want. > > Just in case I might forget to close it when I'm > ready, I run the following script 4 times a day: > > > > #!/bin/sh > > DATE="/bin/date" > DATUM=$($DATE +"%Y-%m-%d-%H:%M") > SUBJECT="HOL/"$DATUM > > AANTAL=`ps -ef | /bin/grep '/usr/sbin/sshd' | > /usr/bin/wc -l` > > if [ $AANTAL -ne 0 ] ; then > > /etc/init.d/ssh stop > /usr/bin/mail [EMAIL PROTECTED] -s $SUBJECT < > /usr/local/sbin/txt/uittekst > > fi > > == > > The strange thing is that when I run the script > interactive, it doesn't try to shut down sshd when > it's not active. > > But when I call the script from crontab it ALWAYS > sends me an email, in other words, $AANTAL is always > greater than 0. When I echo the value of $AANTAL I see > that running from crontab it is always 1, running the > script interactive it is always 0 (if sshd is not > active) Use pgrep sshd instead of your script line, see ps -ef | /bin/grep '/usr/sbin/sshd' root 4671 1 0 17:50 ?00:00:00 /usr/sbin/sshd joerg23168 5365 0 20:01 pts/000:00:00 /bin/grep /usr/sbin/sshd Jörg -- Jörg Schütter http://www.schuetter.org/joerg [EMAIL PROTECTED]http://www.lug-untermain.de/
Re: Strange crontab-problem
You are likly getting back a line from ps -ef that is infact the process of the grep looking for sshd. I had a similar problem like this once. Trap just the grep sshd part and see if the grep isn't included. make that line read ... AANTAL=`ps -ef | /bin/grep '/usr/sbin/sshd' | /bin/grep -v grep | /usr/bin/wc -l` .. and it will stop the grep from appearing. At 10:43 AM 10/10/2005 -0700, Joachim Smit wrote: >Because some naughty boys try to get in one of my >clients' Debian-server a couple of hundred times a day >I decided to shut down sshd when I don't need. With a >simple mechanisme I can start sshd from distance >whenever I want. > >Just in case I might forget to close it when I'm >ready, I run the following script 4 times a day: > > > >#!/bin/sh > >DATE="/bin/date" >DATUM=$($DATE +"%Y-%m-%d-%H:%M") >SUBJECT="HOL/"$DATUM > >AANTAL=`ps -ef | /bin/grep '/usr/sbin/sshd' | >/usr/bin/wc -l` > >if [ $AANTAL -ne 0 ] ; then > > /etc/init.d/ssh stop > /usr/bin/mail [EMAIL PROTECTED] -s $SUBJECT < >/usr/local/sbin/txt/uittekst > >fi > >== > >The strange thing is that when I run the script >interactive, it doesn't try to shut down sshd when >it's not active. > >But when I call the script from crontab it ALWAYS >sends me an email, in other words, $AANTAL is always >greater than 0. When I echo the value of $AANTAL I see >that running from crontab it is always 1, running the >script interactive it is always 0 (if sshd is not >active) > >Why is there a difference between interactive and >cron? > >Kind regards, > >Joachim > > > > > >__ >Yahoo! Music Unlimited >Access over 1 million songs. Try it free. >http://music.yahoo.com/unlimited/ > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > RbtBotL Craig - ><> oBU SysAdmin /|\ 607 777 6827 ^ Tot Ziens -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Command line reference
Any unix, linux book will give you a good hint on posibilities. If you need a comprehensive list of manuals, man pages is the closest one, i think If you know what do you want to do, and think is programable, then I think your best bet is google for it, or ask on list. There's a huge, in the thousands, of comand line programs on any linux installation, and most people dont know how to use them all, if any, so it's better to know a command when you need it, than diving in the man pages with the hope of learning how to work CLI. my opinion. Max -- -BEGIN GEEK CODE BLOCK-Version: 3.12GS/S d- s: a-29 C++(+++) ULAHI+++ P+ L++>+++ E--- W++ N* o-- K- w O- M-- V-- PS+ PE Y-- PGP++ t- 5- X+ R tv++ b+ DI+++ D- G++ e++ h+ r+ z**--END GEEK CODE BLOCK--
Re: Command line reference
On Mon, 10 Oct 2005 11:35:25 -0600, "Hodgins Family" <[EMAIL PROTECTED]> wrote: > Quick, how many commands are there at the disposal of a CLI enthusiast? Easy, on my system there are 3312 (YMMV), just hit tab twice from the CLI :) $ Display all 3312 possibilities? (y or n) Cheers, Anthony Tekatch http://unihedron.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.12 and 2.6.13 won't access cdrom
Stephen R Laniel <[EMAIL PROTECTED]> writes: > The proper approach now, I believe, is to use sysfs. See > below for the info on my system. It says that my CD drive is > /dev/hdc, which I can then -- if I want -- make a symlink > to. I don't know how to make that symlink permanent, such > that /dev/cdrom is there when I reboot. Install udev. There should already be rules for creating the cdrom symlink -- John L. Fjellstad web: http://www.fjellstad.org/ Quis custodiet ipsos custodes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Strange crontab-problem
Because some naughty boys try to get in one of my clients' Debian-server a couple of hundred times a day I decided to shut down sshd when I don't need. With a simple mechanisme I can start sshd from distance whenever I want. Just in case I might forget to close it when I'm ready, I run the following script 4 times a day: #!/bin/sh DATE="/bin/date" DATUM=$($DATE +"%Y-%m-%d-%H:%M") SUBJECT="HOL/"$DATUM AANTAL=`ps -ef | /bin/grep '/usr/sbin/sshd' | /usr/bin/wc -l` if [ $AANTAL -ne 0 ] ; then /etc/init.d/ssh stop /usr/bin/mail [EMAIL PROTECTED] -s $SUBJECT < /usr/local/sbin/txt/uittekst fi == The strange thing is that when I run the script interactive, it doesn't try to shut down sshd when it's not active. But when I call the script from crontab it ALWAYS sends me an email, in other words, $AANTAL is always greater than 0. When I echo the value of $AANTAL I see that running from crontab it is always 1, running the script interactive it is always 0 (if sshd is not active) Why is there a difference between interactive and cron? Kind regards, Joachim __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Command line reference
Good morning! Quick, how many commands are there at the disposal of a CLI enthusiast? Every time some newbie asks how to do this that or something else, along comes a new command "that-was-always-there" but sort of "unknown". Now that's security through obscurity for you! This is not a rantI love the number of commands in Linux and the control that they can give. But I'd like to see, ideally in one place, ALL the Debian commands. Then instead of asking someone on the list (bless ya, guys and girls) how I can to XYZ via ABC given that LMN are doing a QRS, I could peruse this one place and then toddle off to the man pages (or google or whereever) to get the syntax and nitty-gritty. And then if all goes fubar I could ask for help :) Is there such a site? FWIW, googling "Debian command line reference" gave no hits. Googling "Linux command line reference" gave some 1160 inlcuding this one: http://mygamecompany.com/Linux/Commandline/linuxcommandline.htm, but how much is Debian? Thanks Rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: preferred method of using imap/mutt
Ric Otte <[EMAIL PROTECTED]> writes: > I haven't gotten offlineimap working yet, but am not convinced that > "any changes you do on the local end get changed on the server." Yes, that's one of the current limitations (I do this so seldom, I forgot). I guess for those instances, you would have to log into the imap server. -- John L. Fjellstad web: http://www.fjellstad.org/ Quis custodiet ipsos custodes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: shared Debian hosting
Well I do know for a fact as a user they ( http://www.activewebhosting.com ) do not support CVS repositories - cvs or svn is not even installed on there server - or direct ssh access currently, although it does support everything else you listed (and more, they even support guile via cgi)and the lack of SSH and CVS/SVN support may change in the future depending on actual interest. If enough people contact them about it, it may be possible to change there mind. Most companies do not like giving out shell accounts due to MS FUD, unfortunately. But if you want a linux only webhosting plan, check out the above link and as them for the "linux only plan" to show your support for linux since its not something they advertise openly. I hope that I helped. - D Original Message --- Debian user list: [EMAIL PROTECTED] wrote: > You may want to check out http://www.Activewebhosting.com as they do > very good debian based web hosting. I use them for all my sites/ > projects and I have not yet had any problems, plus the customer > service is top notch. Thanks for the tip. I looked at their site, but didn't seem very much in the way of technical specifications. I'm looking for a fairly hard-core hosting plan -- ssh access, CVS, full Perl/ CGI/ MySQL production environment, etc.. It would be nice if I could get this in a shared plan, but realistically I'll probably have to go to a VPS, rented server, or collocation. I cross-posted to the Debian user list because I'm curious if the Debian project and/or community has concerns over the use of the "Debian" name -- e.g. debianhosting.com, etc.. David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.12 and 2.6.13 won't access cdrom
On 10 Oct 2005, Basajaun wrote: > > I have a similar problem here, and sysfs won't help. My > /proc/sys/dev/cdrom/info file is empty (contains the "drive name:"... > entries, but w/o a value). Also my /sys/bus/ide/devices/ dir is empty. > I am running Debian Etch with kernel 2.6.12-1-686-smp (on a P4 with > HT), udev 0.070-2. > Glad I'm not the only one - thought I was going mad! I've now found a version of the kernel tree (2.6.13.2) on my laptop and compiled it for my desktop, and I find it *does* compile and *does* recognize my cd drive. This is welcome, of course, but I wish I understood what is happening. Anthony -- Anthony Campbell - [EMAIL PROTECTED] Microsoft-free zone - Using Linux Gnu-Debian http://www.acampbell.org.uk (blog, book reviews, on-line books and sceptical articles) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Getting dependencies for programs.
Dear list, My situation is as follows: I have a very fast 'net connection here, with a local Debian mirror with all i386 binary packages. A few months back, I used jigdo to get the first three Sarge images, and took them and installed them to another place, where I didn't have a fast net connection. Now, I want to take a few packages there through some portable media (pen drive), and I'd like to make sure that I take along with me all the dependencies. For example, if I need python2.3-scipy, is it enough to take all packages listed by apt-cache show python2.3-scipy? I mean, does having the right versions of these satisfy all dependencies? Thanks. Kumar -- Kumar Appaiah, 462, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036 signature.asc Description: Digital signature
Re: 2.6.12 and 2.6.13 won't access cdrom
Stephen R Laniel wrote: > On Mon, Oct 10, 2005 at 02:35:09PM +0100, Anthony Campbell wrote: > > 2.6.13 won't access /cdrom and 2.6.12 segfaults when I try this. It is > > then impossible to log out normally and I have to pull the plug on the > > computer! > > Well, that sounds a touch drastic. First of all, do you mean > /cdrom? There should be no such file. Do you mean > /dev/cdrom? That used to exist, but I believe it's been > deleted: it used to be a symlink to something like /dev/hdc > (or whatever your CD-ROM drive device was), but lots of > people have multiple CD/DVD drives; how is Linux supposed to > know which one to symlink to? > > The proper approach now, I believe, is to use sysfs. See > below for the info on my system. It says that my CD drive is > /dev/hdc, which I can then -- if I want -- make a symlink > to. I don't know how to make that symlink permanent, such > that /dev/cdrom is there when I reboot. > > (09:39) [EMAIL PROTECTED]:~/private$ cat /proc/sys/dev/cdrom/info > CD-ROM information, Id: cdrom.c 3.20 2003/12/17 > > drive name: hdc [snip] I have a similar problem here, and sysfs won't help. My /proc/sys/dev/cdrom/info file is empty (contains the "drive name:"... entries, but w/o a value). Also my /sys/bus/ide/devices/ dir is empty. I am running Debian Etch with kernel 2.6.12-1-686-smp (on a P4 with HT), udev 0.070-2. If I boot under 2.4.27-2-686-smp (w/o udev, of course), the /dev/hdc device is created, and I can mount a CD just fine. With 2.6.12, not even dmesg acknowlegdes the presence of the CD drive, no /dev entry is created, and no info appears in /sys (I mean, regarding the CD drive). Maybe, just maybe, it has something to do with module ide-detect? Kernel 2.4 has it, but not 2.6. Somewhere I read to add "ide-generic" to /etc/modules, in place of "ide-detect" (which would only make the system complain everytime I booted into 2.6, anyway), and it didn't help. Another idea is: does it have anything to do with the fact that 2.4 sees my SATA drive as IDE, and 2.6 sees it as SCSI? Maybe 2.6 doesn't find IDE drives, and doesn't load some modules which are later needed for the CD? I seem to be seeing them loaded, however: #>lsmod | grep ide ide_cd 43748 0 cdrom 41088 1 ide_cd ide_disk 19104 0 ide_generic 1376 0 [permanent] ide_core 132352 4 ide_cd,ide_disk,ide_generic,usb_storage I have to add that I disabled hotplug on boot (after doing a "lsmod | awk '{print $1}' >> /etc/modules"), because it made the computer take forever (over 15m!!) to boot. Now, w/o hotplug, it is much faster, but still very slow. And before anyone jumps on me, the problem was there when I was running hotplug... Can someone help? Basajaun -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: why do I need fam?
On Monday 10 October 2005 14.59, golfer wrote: > I running sarge with 2.6.8-686 as a desktop workstation. > > I notice a slow down when I'm doing something as simple as copying a > large file and top shows the 'cp' command only using about 7% of cpu, > but also shows 'famd' as a big hog, using about 60-70 % cpu. > > I've also had a couple freeze ups (like $M) when doing routine things > like removeing a large file. I haven't been able to troubleshoot the > cause, but now wonder if they were related to fam. > > My question is why do I need fam? > > Should I remove it altogether or just delete the rc?.d links? I have experienced the same thing, and since I couldn't find any solution to the problem I simply uninstalled it. I found a couple of people on Google that had the same problem but nothing more. I know a couple of packages that recommended famd becuase it is a more efficient way to listen for file changes than polling the files over and over again. But as far as I know it should work fine without famd too. Olle -- Olle Eriksson [EMAIL PROTECTED] | http://www.olle-eriksson.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with CUPS
Hi, I installed CUPS and ran the daemon, also added my HP Deskjet 680c to the system, but the printer doesn't print. When I go to "Completed Jobs" it says all of them were cancelled. Any idea of what I have to do? Still have some works to print... Thanks-- -Vinícius André MassuchettoMSN e E-mail Pessoal-
Re: Brain transplant for Debian testing box.
Depending on how you configured your custom kernel, it may well work just fine with your new board and CPU. I haven't done this, but if I were in your situation (and my kernel didn't like my new MB), the first thing I would try is installing a standard kernel image. The install CD for testing comes with a rescue option; I think you just type "rescue" instead of "linux". The options are detailed in the boot options documentation on the CD (hit F1, F2, etc. at the boot prompt). Mount / and chroot into it. Mount other necessary filesystems like /usr and /var. "aptitude install kernel-image-2.6-686" or whatever is appropriate. Make sure your boot loader is configured to use your new kernel and reboot. I haven't used this process, but it seems like it should work. Once you have a standard kernel image working, you can compile your custom kernel. -Jeff On Mon, 2005-10-10 at 09:15 -0700, Scott Denlinger wrote: > Hi all, > > I'm running Debian testing, and my processor recently died. I used this as an > opportunity to upgrade my processor and system board, and now I need to figure > out how to use my old hard drives, which contain a perfectly functional Debian > testing system, with my new board and processor. Basically, my question is > whether I can use my current partititions and data, and just compile a new > kernel to match my new system's hardware configuration. The system board, > processor, and several peripherals no longer match exactly, so I definitely > need a new kernel. > > I thought I might be able to boot into something like Knoppix, let Knoppix > tell > me what *it's* using for modules, then use that info. to compile my new > kernel, > but I'm not sure how I can do that from Knoppix, and I've not come across > anything on the web which describes how this would work. Can I recompile a > kernel just by mounting the root and boot partitions Knoppix recognizes and > then compile a new kernel using Knoppix's sudo? Would anything I compile in > this > scenario boot properly when I'm done and no longer want to boot Knoppix? > > Or, are there some basic parameters I can pass on the command line as my OLD > kernel (custom 2.6.4) starts to boot (I use LILO) that would drop me into a > basic single user shell from which I could recompile? I would have to pass in > enough info. to get it to deal with my new Pentium 4 processor--the old one > was > a K7 Athlon. > > The worst-case scenario is that I could just wipe out my current disk > configuration and reinstall completely, since I've got my critical data backed > up, but I'm intrigued by the challenge of getting a new kernel to work with > the > setup I have. > > Thanks in advance for any advice. > > Scott Denlinger > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Brain transplant for Debian testing box.
Scott Denlinger writes: > Basically, my question is whether I can use my current partititions and > data, and just compile a new kernel to match my new system's hardware > configuration. Yes, of course you can. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: CONFIG_IP_ROUTE_FWMARK not working in Debian !
On 10/10/05, Mariusz Kruk <[EMAIL PROTECTED]> wrote: > Nelson Castillo napisał(a): > >># iptables -t mangle -A PREROUTING -s -j MARK --set-mark 5 > > I guess you should use the conntrack module. I'm not sure, > > but I think you're marking only the first packet of the > > connection. > > Naaah. What does mangling packets have to do with connection tracking? Nh. I said I had a different scenario. Now I remember I'm using DNAT for the load balancer and I need to mark the connections when they come from the internet so I can route them back using the correct interface. He doesn't need conntrack... Anyway, whe wanted to know if someone had CONFIG_IP_ROUTE_FWMARK working in Debian and we told him we do. -- Homepage : http://geocities.com/arhuaco The first principle is that you must not fool yourself and you are the easiest person to fool. -- Richard Feynman.
Re: Brain transplant for Debian testing box.
A rescue disk will gain access to the HD from what ever you have in the box. There is a quasi-Debian rescue disk at: http://rescuecd.sourceforge.net/ At 09:15 AM 10/10/2005 -0700, Scott Denlinger wrote: >Hi all, > >I'm running Debian testing, and my processor recently died. I used this as an >opportunity to upgrade my processor and system board, and now I need to figure >out how to use my old hard drives, which contain a perfectly functional Debian >testing system, with my new board and processor. Basically, my question is >whether I can use my current partititions and data, and just compile a new >kernel to match my new system's hardware configuration. The system board, >processor, and several peripherals no longer match exactly, so I definitely >need a new kernel. > >I thought I might be able to boot into something like Knoppix, let Knoppix tell >me what *it's* using for modules, then use that info. to compile my new kernel, >but I'm not sure how I can do that from Knoppix, and I've not come across >anything on the web which describes how this would work. Can I recompile a >kernel just by mounting the root and boot partitions Knoppix recognizes and >then compile a new kernel using Knoppix's sudo? Would anything I compile in this >scenario boot properly when I'm done and no longer want to boot Knoppix? > >Or, are there some basic parameters I can pass on the command line as my OLD >kernel (custom 2.6.4) starts to boot (I use LILO) that would drop me into a >basic single user shell from which I could recompile? I would have to pass in >enough info. to get it to deal with my new Pentium 4 processor--the old one was >a K7 Athlon. > >The worst-case scenario is that I could just wipe out my current disk >configuration and reinstall completely, since I've got my critical data backed >up, but I'm intrigued by the challenge of getting a new kernel to work with the >setup I have. > >Thanks in advance for any advice. > >Scott Denlinger > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > RbtBotL Craig - ><> oBU SysAdmin /|\ 607 777 6827 ^ Tot Ziens -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Laptop clock is localtime, system time is off
On (10/10/05 17:13), Mariusz Kruk wrote: > To: debian-user@lists.debian.org > From: Mariusz Kruk <[EMAIL PROTECTED]> > Date: Mon, 10 Oct 2005 17:13:31 +0200 > Subject: Re: Laptop clock is localtime, system time is off > > Clive Menzies napisa??(a): > >Sorry, I assumed it would be in base-config my bad :( > > dpkg-reconfigure timezoneconf? $ apt-cache show timezoneconf Package: timezoneconf Priority: optional Section: admin Installed-Size: 168 Maintainer: Progeny Debian Packaging Team <[EMAIL PROTECTED]> Architecture: all Version: 0.10 Depends: debconf Suggests: configlet-frontends Conflicts: python-configlet (<< 2.0) Filename: pool/main/t/timezoneconf/timezoneconf_0.10_all.deb Size: 34682 MD5sum: b3087430333a2ae09173bee40380ac09 Description: debconf interface to system timezone, date, and time Timezoneconf provides a debconf configuration script and a graphical interface ("configlet") to the system clock and timezone setting. It would appear you're right :) Regards Clive -- www.clivemenzies.co.uk ... ...strategies for business -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: hibernate/sleep howto
> Ganeshram Iyer wrote: > >hello experts, > >I have debian sarge on a dell inspiron 5000. i was looking at using > >either a sleep or hibernate function on it. but whatever info i am > >able to find online requires me to path and compile my own kernel. i > >have a very slow PC and limited space on my had (about 1gb) so do not > >want to install compilers etc. is this the only way i can do this? any > >clear howtos to do this? any help you can offer would be most > >appreciated. > >thanks > >ganesh > > > Haven't tried yet, but there's a debian package called hibernate. > I have looked at this but if I run it, it says the following: Your kernel does not have any recent Software Suspend 2 support compiled in. Please follow the HOWTO linked from http://softwaresuspend.berlios.de/ for instructions on how to compile Software Suspend into your kernel. hibernate: Aborting. if i look at the website then it mentions patch/compile/install kernel. dont have the power to do this. will i still be able to do this? thanks for your help. ganesh
Brain transplant for Debian testing box.
Hi all, I'm running Debian testing, and my processor recently died. I used this as an opportunity to upgrade my processor and system board, and now I need to figure out how to use my old hard drives, which contain a perfectly functional Debian testing system, with my new board and processor. Basically, my question is whether I can use my current partititions and data, and just compile a new kernel to match my new system's hardware configuration. The system board, processor, and several peripherals no longer match exactly, so I definitely need a new kernel. I thought I might be able to boot into something like Knoppix, let Knoppix tell me what *it's* using for modules, then use that info. to compile my new kernel, but I'm not sure how I can do that from Knoppix, and I've not come across anything on the web which describes how this would work. Can I recompile a kernel just by mounting the root and boot partitions Knoppix recognizes and then compile a new kernel using Knoppix's sudo? Would anything I compile in this scenario boot properly when I'm done and no longer want to boot Knoppix? Or, are there some basic parameters I can pass on the command line as my OLD kernel (custom 2.6.4) starts to boot (I use LILO) that would drop me into a basic single user shell from which I could recompile? I would have to pass in enough info. to get it to deal with my new Pentium 4 processor--the old one was a K7 Athlon. The worst-case scenario is that I could just wipe out my current disk configuration and reinstall completely, since I've got my critical data backed up, but I'm intrigued by the challenge of getting a new kernel to work with the setup I have. Thanks in advance for any advice. Scott Denlinger -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.12 and 2.6.13 won't access cdrom
On 10 Oct 2005, Antony Gelberg wrote: > Anthony Campbell wrote: > > Kernel versions 2.6.12 and 2.6.13 are causimg serious problems here. > > > > 2.6.13 won't access /cdrom and 2.6.12 segfaults when I try this. It is > > then impossible to log out normally and I have to pull the plug on the > > computer! > > > > I have an older (non-Debian) version of 2.6.12 which does work, for some > > reason. > > > > I'd like to revert to 2.6.11 or 2.6.10 but image files for this don't > > appear to be available for Debian now. > > > > I tried to compile a vanilla kernel but the compile fails (something to > > do with gcc ???). > > > > What to do now? Is there somewhere I can get earlier kernel images to > > try? > > What version of Debian are you running? Where do the 2.6.12 and 2.6.13 > come from? Who built them? I'm running Sid. The kernels I have are both linux-image, i.e. the standard Linux images as obtained from the Debian mirror. I've tried compiling vanilla kernels but for some reason they fail to do so, both on my desktop and my laptop. This a new development; they always used to compile in the past without problems. There was a large update on Sid a couple of days ago; perhaps this broke things? Anthony -- Anthony Campbell - [EMAIL PROTECTED] Microsoft-free zone - Using Linux Gnu-Debian http://www.acampbell.org.uk (blog, book reviews, on-line books and sceptical articles) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Dual booting -- Adding windows to a Linux system
On Mon, 2005-10-10 at 09:02 +, Florian Dorpmueller wrote: > >But one thing that I'm not sure and not really know, will windows work OK > >if it installed not on the first partition of the disk ? > >Even I believe this will work, but better be carefull. > > > >--w.h-- > > > > Possible but not simple. E.g. you must manually set the drive and Advanced > RISC Computing (ARC) path settings in Target Designer. Furthermore boot.ini > settings, and drive letter issues have to be adopted. > > But this is not a windows-ML. Isn´t it? > > Florian > Thank you for your responses -- I've decided the simplest solution for me is to backup up my data, reformat and install windows first -- a bit of a pain but easiest for me to comprehend. Roy P. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Laptop clock is localtime, system time is off
Clive Menzies napisał(a): Sorry, I assumed it would be in base-config my bad :( dpkg-reconfigure timezoneconf? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: webserver logfile analiser (php site)
Take the standard config file, then move I think four of the important variables to the top (name of the site, etc.) and Bob's your uncle. On 10/10/05, Gabe Granger <[EMAIL PROTECTED]> wrote: > I've tried twice before... it always produced a html output but very > contained any data... I will give it another go and see if i can get > the damn thing to work... one of the things that always put me of was > the huge config file > > Thanks to all for your suggestions :) > > Gabe > > On 10 Oct 2005, at 16:12, Graham Smith wrote: > > > On Monday 10 October 2005 15:57, Gabe Granger wrote: > > > >> Does anyone have any good suggestions about good webserver logfile > >> analisers. Specfically when it comes to website written in php? > >> > >> I'm currently using webdruid and webalizer but these can not report > >> back anything more then the fact the file.php has been accessed / > >> read. I need to be able to get more information back from the log > >> analiser. Any good suggestion would be great, many thanks. > >> > >> Gabe > >> > > > > awstats is fairly good and simple. It seems to get updates now and > > then so can > > spot most spiders etc. > > > > As another poster hinted at it can be a bit of a pig to set up. The > > setup file > > is huge and fairly complex having said that though, once you have a > > configuration you like on one site it's simply a matter of copy and > > paste for > > the other sites. > > > > Graham > > > > > > -- > > 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: shared Debian hosting
> David Christensen wrote: >> Debian user list: >> >> [EMAIL PROTECTED] wrote: >> >>>You may want to check out http://www.Activewebhosting.com as they do >>>very good debian based web hosting. I use them for all my sites/ >>>projects and I have not yet had any problems, plus the customer >>>service is top notch. >> >> Thanks for the tip. I looked at their site, but didn't seem very much >> in the >> way of technical specifications. I'm looking for a fairly hard-core >> hosting >> plan -- ssh access, CVS, full Perl/ CGI/ MySQL production environment, >> etc.. It >> would be nice if I could get this in a shared plan, but realistically >> I'll >> probably have to go to a VPS, rented server, or collocation. > > Depending on what you are looking for a VPS may be around the same > price. I have heard good things about linode.com. They seem to be fairly > cheap as well (considering that many website hosting plans are around > the same price). Frankly for what you get on their cheapest plan > combined with the capabilites of Linux VPS I very tempted to get one and > I don't even really have a use for it :-) > > HTH, > Brett Take a look at dreamhost.com. They have shell access, MySQL, PHP, etc. Sales and support questions are answered quickly and clearly. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: webserver logfile analiser (php site)
On 10/10/05, Gabe Granger <[EMAIL PROTECTED]> wrote: > I've never managed to get awstats working:( > > as for information > > I'd like a little bit more information then > > /aus/product.php > > There are over 200 products, and do not know what people are looking > [snip] Then you will have beautiful urls such as www.example.com/aus/product.php?id=4328389423&action=buy Nice. Every night, extract a mapping of these urls to product names, then pass it to an awstats helper program. See http://awstats.sourceforge.net/docs/awstats_tools.html#urlaliasbuilder
Re: webserver logfile analiser (php site)
I've tried twice before... it always produced a html output but very contained any data... I will give it another go and see if i can get the damn thing to work... one of the things that always put me of was the huge config file Thanks to all for your suggestions :) Gabe On 10 Oct 2005, at 16:12, Graham Smith wrote: On Monday 10 October 2005 15:57, Gabe Granger wrote: Does anyone have any good suggestions about good webserver logfile analisers. Specfically when it comes to website written in php? I'm currently using webdruid and webalizer but these can not report back anything more then the fact the file.php has been accessed / read. I need to be able to get more information back from the log analiser. Any good suggestion would be great, many thanks. Gabe awstats is fairly good and simple. It seems to get updates now and then so can spot most spiders etc. As another poster hinted at it can be a bit of a pig to set up. The setup file is huge and fairly complex having said that though, once you have a configuration you like on one site it's simply a matter of copy and paste for the other sites. Graham -- 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: Where did the diskusage increase?
--- John Plate <[EMAIL PROTECTED]> wrote: > Hi > > I'm looking for a tool that can tell where diskusage has increased > since last time the tool was run. > > Does such a tool exist? > This may be a 'sledgehammer to crack a nut' solution, but I use munin to monitor various things, including disk space. There is also mrtg, which does much the same thing. Both display the results through a web frontend. Mind you, now re-reading your question I think you really want to find specific directories where disk usage has changed rather thank total disk usagg. I suspect that you could do this with either munin or mrtg but it would require some hacking of the plugins. Bye, Joe ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: webserver logfile analiser (php site)
On Monday 10 October 2005 15:57, Gabe Granger wrote: > Does anyone have any good suggestions about good webserver logfile > analisers. Specfically when it comes to website written in php? > > I'm currently using webdruid and webalizer but these can not report > back anything more then the fact the file.php has been accessed / > read. I need to be able to get more information back from the log > analiser. Any good suggestion would be great, many thanks. > > Gabe awstats is fairly good and simple. It seems to get updates now and then so can spot most spiders etc. As another poster hinted at it can be a bit of a pig to set up. The setup file is huge and fairly complex having said that though, once you have a configuration you like on one site it's simply a matter of copy and paste for the other sites. Graham -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: webserver logfile analiser (php site)
Gabe Granger wrote: Does anyone have any good suggestions about good webserver logfile analisers. Specfically when it comes to website written in php? I'm currently using webdruid and webalizer but these can not report back anything more then the fact the file.php has been accessed / read. I need to be able to get more information back from the log analiser. Any good suggestion would be great, many thanks. Gabe analog? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian Compatable UPS?
Henrique de Moraes Holschuh wrote: > On Sun, 09 Oct 2005, Colin wrote: > > I have done a search on APC's lower-end models, and I would steer > clear from them just like Alvin said. But I have already made my point that > I would steer clear from *any* lowend model from *any* manufacturer. Now that I whole-heartedly agree with. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: webserver logfile analiser (php site)
I've never managed to get awstats working:( as for information I'd like a little bit more information then /aus/product.php There are over 200 products, and do not know what people are looking at awstats looks good but has never worked for me. Maybe i should spend some time with it till i can get it to work? -- Gabe Granger Pancentric results-driven communications and e-solutions +44 (0) 20 8877 0230 http://www.pancentric.com On 10 Oct 2005, at 15:59, schnitzel meister wrote: On 10/10/05, Gabe Granger <[EMAIL PROTECTED]> wrote: Does anyone have any good suggestions about good webserver logfile analisers. Specfically when it comes to website written in php? I'm currently using webdruid and webalizer but these can not report back anything more then the fact the file.php has been accessed / read. I need to be able to get more information back from the log analiser. Any good suggestion would be great, many thanks. Gabe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] What kind of information do you want? awstats has an addon that lets you tell it page names... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Semi-OT: need to fake keyboard and mouse...
On Sun, Oct 09, 2005 at 10:36:55AM -0400, George J. (Andy) Anderson wrote: > Does anyone know it there is a (simple) way to "emulate" a keyboard? > I've seen some commercial solutions but they are relatively expensive > (more than $25). I suspect a cheap KVM switch would do the trick, but > that would also cost more than I'd like to spend and would be more > cabling that could get in the way, etc. Ideally, if there is a way > to cut the connector off an old keyboard and modify it some way > (cross a couple of the wires, add a resistor, etc) that would be > great, but I don't want to experiment with it and chance frying the > motherboard. Any ideas? i just took an old keyboard apart. the green board was quite small, about 2 inches by 3 inches. then i wrapped the green board with the rest of the keyboard cable and tied it up. now this thing just hangs off the back of my computer. it keeps it off the floor, and there are no actual keys upon which to step or set something on. if i were going to get any fancier, i would just get a better computer. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Where did the diskusage increase?
Hi I'm looking for a tool that can tell where diskusage has increased since last time the tool was run. Does such a tool exist? John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
webserver logfile analiser (php site)
Does anyone have any good suggestions about good webserver logfile analisers. Specfically when it comes to website written in php? I'm currently using webdruid and webalizer but these can not report back anything more then the fact the file.php has been accessed / read. I need to be able to get more information back from the log analiser. Any good suggestion would be great, many thanks. Gabe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: gui network scan
On Sunday 09 October 2005 06:23 am, Rodney Richison wrote: > What gui program might be good for scanning a network to take an > inventory of machines and ip address's etc on a network? try nmapfe anoop. > > -- > Highest Regards, > > Rodney Richison > RCR Computing > http://www.rcrnet.net > 118 N. Broadway > Cleveland, OK 74020 > 918-358- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: PyKDE
On Saturday 08 October 2005 10:35 pm, Jules Dubois wrote: [ship] > > Although I couldn't be bothered to try it before, I see python-kde3 is a > dependency package. `aptitude install python-kde3` tells me: > > E: Unable to correct problems, you have held broken packages. > E: Unable to correct dependencies, some packages cannot be installed > E: Unable to resolve some dependencies! > ... > > The following packages have unmet dependencies: > python-kde3: Depends: python2.3-kde3 but it is not installable that's weird. on mine, i don't get any dependency issues. it 'installs'. but there are no files associated with it. will have to chase it down some day. ruby/korundum is looking better every day. > > I'm sorry for the attitude. don't worry about it ;) anoop. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
amd64 install bug
Hello, i've discovered a bug in debian-pure64 instalation http://amd64.debian.net/ Once you're asked for LILO mbr instalation a link /vmlinuz -> /boot/vmlinuz... is missing. So i used the second console to create the link. After 1/4 hour searching i didn't understand how to report this bug officialy and i even't don't know if amd64 is an official part of debian. http://www.debian.org/Bugs/Reporting says: If you can't seem to determine which package contains the problem, please send e-mail to the Debian user mailing list asking for advice. Thanks, -- Dalibor Straka -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.12 and 2.6.13 won't access cdrom
On 10 Oct 2005, Stephen R Laniel wrote: > On Mon, Oct 10, 2005 at 02:35:09PM +0100, Anthony Campbell wrote: > > 2.6.13 won't access /cdrom and 2.6.12 segfaults when I try this. It is > > then impossible to log out normally and I have to pull the plug on the > > computer! > > Well, that sounds a touch drastic. First of all, do you mean > /cdrom? There should be no such file. Do you mean > /dev/cdrom? That used to exist, but I believe it's been > deleted: it used to be a symlink to something like /dev/hdc > (or whatever your CD-ROM drive device was), but lots of > people have multiple CD/DVD drives; how is Linux supposed to > know which one to symlink to? > > The proper approach now, I believe, is to use sysfs. See > below for the info on my system. It says that my CD drive is > /dev/hdc, which I can then -- if I want -- make a symlink > to. I don't know how to make that symlink permanent, such > that /dev/cdrom is there when I reboot. > > (09:39) [EMAIL PROTECTED]:~/private$ cat /proc/sys/dev/cdrom/info > CD-ROM information, Id: cdrom.c 3.20 2003/12/17 > > drive name: hdc > drive speed:24 > drive # of slots: 1 > Can close tray: 1 > Can open tray: 1 > Can lock tray: 1 > Can change speed: 1 > Can select disk:0 > Can read multisession: 1 > Can read MCN: 1 > Reports media changed: 1 > Can play audio: 1 > Can write CD-R: 1 > Can write CD-RW:1 > Can read DVD: 1 > Can write DVD-R:0 > Can write DVD-RAM: 0 > Can read MRW: 1 > Can write MRW: 1 > Can write RAM: 1 > > -- > Stephen R. Laniel > [EMAIL PROTECTED] > +(617) 308-5571 > http://laniels.org/ > PGP key: http://laniels.org/slaniel.key We seem to be at cross-purposes here. I have a directory called /cdrom. My /dev/cdrom is a symlink to /dev/hdc. With this, mounting /cdrom has always worked in the past (for years). I don't know anything about sysfs. Anthony -- Anthony Campbell - [EMAIL PROTECTED] Microsoft-free zone - Using Linux Gnu-Debian http://www.acampbell.org.uk (blog, book reviews, on-line books and sceptical articles) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]