[00:01] <wizardslovak_> its much faster to use shell then gui
[00:01] <wizardslovak_> in gui i prefer kde
[00:02] <jmarsden> BTW if you want to "go for it", installing Ubuntu Server on the old Celeron machine from CD should only take you 30 minutes or so... and yes, I find the shell is more powerful than a GUI for many tasks... once you know it!
[00:07] <wizardslovak_> i am trying to unrar .rar file but i am getting "command not found" error
[00:10] <wizardslovak_> i installed rar with apt-get but still "command not found"
[00:10] <jmarsden> What exactly are you typing?
[00:10] <wizardslovak_> sudo unrar e file.rar
[00:11] <jmarsden> You shouldn't need sudo for that... and... did you install unrar?  rar and unrar are different things.    sudo apt-get install unrar   # should work
[00:11] <wizardslovak_> ooo i did "apt-get install rar
[00:12] <jmarsden> Try  sudo apt-get install unrar-free
[00:12] <wizardslovak_> ok now it works
[00:12] <jmarsden> Good :)
[00:12] <wizardslovak_> "apt-get install unrar" and it works
[00:13] <jmarsden> BTW rar is not a common archive format in the Unix/Linux world, it is more common to use tar.gz or tar.bz2 ; .rar is more common under Windows.
[00:14] <wizardslovak_> ok done
[00:14] <wizardslovak_> now is there command to burn .iso into cd
[00:16] <jmarsden> Yes... more than one... I use wodim  so you can sudo apt-get-install wodim
[00:17] <wizardslovak_> ok got it
[00:19] <wizardslovak_> what is command for it?
[00:21] <jmarsden> man wodim will get you the man page :)  Try just     wodim somefile.iso   # to burn an ISO to a CD-R
[00:23] <wizardslovak_> "wodim file.iso " ??
[00:24] <jmarsden> sure.  if your .iso file is called file.iso, type in the command     wodim file.iso
[00:24] <jmarsden> If it is called junk.iso, type in    wodim junk.iso   :)
[00:24] <wizardslovak_> actually i am trying to burn ubuntu server
[00:25] <wizardslovak_> this is faaaaaaaaaaaaast
[00:25] <jmarsden> OK, so type in   wodim  ubuntu-8.10-server-i386.iso
[00:26] <wizardslovak_> much faster then using gui software for it
[00:27] <jmarsden> Yes.  BTW, you might want to read http://tldp.org/LDP/intro-linux/html/intro-linux.html and  http://rute.2038bug.com  for some general Linux and command line learning.
[00:28] <wizardslovak_> thx man
[00:28] <jmarsden> No problem.
[00:29] <wizardslovak_> i am actually writing new command to my txt file so like tht i wont forget commands i already should know ;)
[00:29] <wizardslovak_> can i add you as freind or something here?
[00:30] <jmarsden> There's no real concept of "friend" on IRC in terms of telling the IRC client software that, that I know of.  It all depends on your client.  Xchat has a "Friends list" you can add me to if you want :)
[00:33] <wizardslovak_> xchat? i dont have it i think
[00:34] <jmarsden> wizardslovak_: Konversation may have a similar thing, I'm just not familiar with it.
[00:35] <wizardslovak_> well ill be coming here anyways
[00:35] <jmarsden> OK.  Have fun installing Ubuntu Server :)
[00:35] <wizardslovak_> heheh
[00:35] <wizardslovak_> so what os u using?
[00:36] <jmarsden> Right now Ubuntu 8.10 64bit, with Jaunty in a VM and Debian in another VM and Hardy Server in yet another VM :)
[00:36] <wizardslovak_> lol
[00:36] <wizardslovak_> i have dual core cpu and actually i never tried 64bit
[00:36] <wizardslovak_> is it better then 32?
[00:37] <jmarsden> I love it... I got a cheap desktop with an E5200 dualcore CPU and 8Gb RAM, and ... I can run lots of VMs :)
[00:37] <wizardslovak_> u use  vmware or vbox?
[00:38] <jmarsden> virtualbox-ose
[00:38] <wizardslovak_> be right back
[00:40] <dug_> yeah i got a quad-core server with 8gigs, trying to get some virtual machines set up using vmbuilder (command line instead of gui)
[00:42] <wizardslovak_> i got dual core with 4gbs and works pefrect
[00:42] <jmarsden> dug_: If you have any issues, ask in #ubuntu-virt and the folks there can probably help you out.  Nice to have a CPU that can do KVM... I just couldn't justify the extra $100 for an E8400 over the E5200 when I bought this hardware...
[00:42] <wizardslovak_> i paid $300 for this laptop lol
[00:43] <jmarsden> Sounds like a good deal.  Did the Server CD burn OK?  Are you installing on the old Celeron PC now?? :)
[00:44] <wizardslovak_> not yet
[00:44] <wizardslovak_> server cd is ok , i did cd check in vbox and it passed
[00:44] <wizardslovak_> ;)
[00:58] <mat1211> How should I mount a drive with an ext3 fs?
[00:59] <mat1211> also, why didn't the driver change when I typed fdisk -l? I changed the fs :P
[01:10] <andresmujica1> hmmm just found that ubuntu doesn´t support acl over nfs4... :(
[01:23] <mat1211> If I change the fs of the entire harddrive instead of one partition will anything bad happen? :P and also, how do I repartition it with just a single partition.
[01:23] <twb> mat1211: hard drives normally do not have filesystems directly, only on their partitions.
[01:24] <twb> e.g. /dev/sda is not normally a filesystem
[01:24] <mat1211> how do I partition a harddrive then?
[01:24] <twb> Ubuntu will happily put a filesystem on sda and mount it, but other OSes might balk
[01:25] <twb> As I said yesterday, you can partition a drive using gparted, cfdisk, parted, sfdisk, or some other partitioning tool
[01:25] <mat1211> cause I reformated a harddrive with ext3, but when I type fdisk -l it still says fat, I was thinking of just making one partition that is the full drive.
[01:25] <mat1211> in terminal as well?
[01:25] <twb> fdisk reports what is in the partition table, which might be lies
[01:26] <mat1211> cause this thing has no screen or anything laugh
[01:26] <twb> Try using cfdisk to change the partition's type to 82 (ext)
[01:26] <mat1211> so I won't be able to do any gui things
[01:27] <twb> Don't use fdisk unless you know EXACTLY what you're doing, it is for experts.  Prefer cfdisk.
[01:27] <twb> fdisk will happily make partitions that other OSes won't like
[01:28] <mat1211> what is the syntax for cfdisk, it said couldn't open drive when I typed it.
[01:28] <twb> sudo cfdisk /dev/sdb
[01:28] <twb> Manipulating disks at a low level requies root access (or, possibly, to be in the "disk" group).
[01:29] <mat1211> hmmm
[01:29] <mat1211> how would I go about deleting a partition? it still says sdb1 is there, but I'm sure I deleted it with mkfs.
[01:30] <twb> mkfs cannot delete or create partitions.
[01:30] <twb> mkfs only changes what filesystem is on a partition.
[01:31] <twb> To delete a partition you would open the disk's partition table with cfdisk /dev/sdb, then select tha appropriate partition and choose "delete"
[01:31] <mat1211> strange, when I type stuff it still says sdb1 is still there, but at the same time when I enter commands having to do with it, it doesn't exist.
[01:31] <twb> You then need to write the partition table by choosing "write"
[01:31] <mat1211> hold on, I'll try something.
[01:32] <twb> A partition "exists" according to the kernel if it is listed in /proc/partitions.  There may or may not be a device node for it in /dev, which is a separate issue.  Both SHOULD be updated automatically on a modern system such as 8.04.
[01:33] <mat1211> it didn't work, lol
[01:33] <mat1211> is there a way to force it to update these things?
[01:34] <mat1211> because in things such as fdisk -l and cfdisk, I see that a partition is listed, but when I try and interact with them, nothing.
[01:35] <mat1211> ah, there we go
[01:35] <andresmujica> partprobe
[01:36] <andresmujica> reloads partition table in kernel
[01:36] <andresmujica> with parted is possible too, and with echo something > /proc/..... don't recall the rest..
[01:49] <mat1211> ah, also, how do I change the extention of a file? I have an incomplete rar archive, and the extention is .rar.filepart.  How do I remove the .filepart?
[01:51] <PhotoJim> mat1211: you just rename the file... but since it's incomplete, that's not likely to be of much benefit.
[01:51] <mat1211> it still works.
[01:52] <mat1211> do I just type sudo rename to do that? lol
[01:52] <PhotoJim> if you're using a shell, you just use the mv command that usually moves files.
[01:52] <PhotoJim> but if you move it to the same place with a different name... it works as rename.
[01:52] <PhotoJim> mv oldname.txt newname.txt
[01:52] <PhotoJim> you may or may not need to use sudo depending on the read/write permissions
[01:55] <mat1211> ah, that's different, but thank you.
[01:56] <PhotoJim> it's slightly counterintuitive but one gets used to these things :)
[01:59] <Iceman_B|SSH> PhotoJim: I still wonder why there isnt a seperate "ren" command ._.
[02:00] <ScottK> What would that do that mv doesn't?
[02:00] <Iceman_B|SSH> be not counter-intuitive?
[02:01] <PhotoJim> Iceman_B|SSH: you could just make a softlink called "ren" and link it to "mv" :)
[02:02] <mat1211> softlink? right... strange.
[02:02] <mat1211> lol
[02:03] <Iceman_B|SSH> lol, I hadnt thought about that
[02:04] <mat1211> how would you set that up?
[02:04] <Iceman_B|SSH> so would that be "touch red" and then make a symlink from ren to mv ?
[02:04] <Iceman_B|SSH> *ren
[02:04] <chaverma> i'd like to set /etc/ssh/ssh_config to the default.  where can i find the default file?
[02:05] <PhotoJim> Iceman_B|SSH: no, you don't "touch" it first.  that creates an empty traditional file.  symlinks are a different type of file that work basically like a pointer to another file.
[02:08] <Iceman_B|SSH> I see. so there is no need to create an empty file, just, directly create the link itself ?
[02:08] <ScottK> Yes
[02:08] <ScottK> man ln for details.
[02:08] <PhotoJim> Correct.
[02:09] <mat1211> what is the dir for the mv command, and how would it be a file?
[02:09] <PhotoJim> "whereis mv" will tell you.
[02:09] <PhotoJim> I'm not sure how to answer the second half of your question.
[02:09] <ScottK> which mv works too
[02:10] <Iceman_B|SSH> wow. I didnt know about whereis, I always try find and locate
[02:10] <Iceman_B|SSH> but I cant get them to work the way I want to
[02:11] <chaverma> yeah, find and locate are kind of Big Hammers for a small thing like finding binaries
[02:12] <ScottK> zul: Did we make libmysqlclient-dev go NBS on purpose.  It has a lot of reverse build-deps: http://people.ubuntu.com/~ubuntu-archive/NBS/libmysqlclient-dev
[02:12] <twb> There *is* a rename(1) command, intended to do pattern-based bulk renaming.
[02:12] <twb> e.g. instead of for i in ?.jpg; do mv $i 0$i.jpg; done
[02:12] <PhotoJim> so there is.
[02:13] <twb> I haven't actually used it myself because I'm pretty proficient at sh.
[02:33] <dug_> well vmware is about 800 times easier to install than kvm/vmbuilder :)
[02:34] <dug_> https://help.ubuntu.com/community/VMware/Server/AMD64
[03:06] <twb> I don't know about vmbuilder, but kvm is MUCH easier to install than vmware-server.
[03:07] <twb> For one thing, to install vmware-server properly you need to install vmware-package from Debian, download the source tarball, turn it into a deb, install gdebi, then install the vmware-server .deb.
[03:07] <twb> And even then, you need to manually monitor vmware's website to detect new security and feature releases, and go through the same process for those.
[03:07] <twb> ...whereas kvm is a normal apt-gettable package.
[03:08] <twb> There's also the problem that vmware-server packages are illegal to redistribute and need to be "activated" with a gratis serial code, and aren't subject to the same Debian Policy requirements as official packages, nor can bugs be reported using reportbug(1).
[03:10] <twb> Oh, and vmware-package doesn't support vmware-server 2.x yet.
[04:02] <mat1211> what is kvm?
[04:04] <jmarsden> kvm is a virtual machine environment, so you can run multiple virtual computers on one physical machine.  See https://help.ubuntu.com/community/KVM
[04:05] <jmarsden> BTW, a google search for    ubuntu kvm      should have found you that kind of info?
[04:05] <twb> Once the province of Big Iron, now you can get it on a $300 laptop...
[04:06] <twb> jmarsden: in #emacs our bot is actually trained to respond to "what is <keyword>?" the same way as "!<keyword>" :-)
[04:06] <jmarsden> twb: Nice... can you program the bot here to do the same?
[04:06] <twb> Sorry, I know nothing about your bots.
[04:06] <dug_> !kvm
[04:06] <twb> Emacs' fsbot is written in elisp, so you can't just copy its code.
[04:07] <jmarsden> dug_: Yes... is there a way to get a list of all the ! commands the bot recognizes? !dictionary or something??
[04:08] <dug_> not sure
[04:08] <twb> For cases where you really only want a virtualized filesystem, process tree and network stack, how does kvm weigh up against openvz or xen?
[04:08] <twb> jmarsden: usually there's a webpage
[04:08] <twb> !bot
[07:49] <Doble> hi folks
[07:49] <Doble> I'm new to ubuntu and I'm trying to set up a home DNS server using BIND9 and its giving me grief, can anyone help ?
[07:53] <Doble> it's probably something really obvious but since I dont seem to get any error its hard to troubleshoot
[07:55] <Doble> i think i've just screwed up the config files so much that I can't get them working again, heres the output from /var/log
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: starting BIND 9.5.0-P2 -u bind
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: found 2 CPUs, using 2 worker threads
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: loading configuration from '/etc/bind/named.conf'
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:12: unknown option 'zone'
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:20: unknown option 'zone'
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:25: unknown option 'zone'
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:30: unknown option 'zone'
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:35: unknown option 'zone'
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf.local:9: unknown option 'zone'
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:41: '}' expected near end of file
[07:55] <Kamping_Kaiser> gah. dont flood here
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: loading configuration: unexpected token
[07:55] <Doble> Apr  5 16:52:13 ubuntu named[4480]: exiting (due to fatal error)
[07:55] <Kamping_Kaiser> !paste
[07:55] <Doble> sorry, didn't know it would split it into multiple messages
[07:55] <Kamping_Kaiser> Doble, ^^
[07:56] <Doble> here's the pastebin - http://paste.ubuntu.com/144687/
[07:59] <twb> ubottu doesn't auto-kick flooders?
[08:09] <Doble> sorry for the spam before - I'll start again, im trying to configure bind9 and i think i've messed up the config files but I don't know how to fix them, and now bind fails to start - my config files: http://paste.ubuntu.com/144690/ and error log: http://paste.ubuntu.com/144687/
[08:22] <mrout> Hello
[08:22] <mrout> How do I install an IRC server on my Ubuntu Server (It's currently running a LAMP server)
[08:23] <mrout> ??
[08:23] <mrout> Is anyone there?
[08:24] <mrout> ow do I install an IRC server on my Ubuntu Server (It's currently running a LAMP server)H
[08:24] <mrout> *How
[08:24] <mrout> *server)
[08:25] <p_quarles> mrout: if somebody knows, they'll answer; don't keep repeating the question
[08:25] <mrout> Sorry
[08:25] <mrout> It's just that a new person came along.
[08:25] <friartuck> got google?
[08:26] <mrout> Yes...
[08:26] <mrout> lol
[08:27] <mrout> oh, I see what you mean. (I'm a bit slow)
[08:28] <friartuck> http://www.google.com/search?hl=en&q=ubuntu+irc+server&btnG=Google+Search&aq=f&oq=
[08:28] <mrout> Thank you.
[08:28] <obst> or try wikipedia http://en.wikipedia.org/wiki/IRCd
[08:28] <mrout> ty
[08:43] <JessicaParker> hi can anyone assist with getting postfix configured with gmail ?
[10:32] <aurax> hello, is there a content/web filtering application that's not working as a proxy?
[10:48] <LMJ> what's the problem with a proxy aurax  ?
[10:53] <aurax> i have 8 adsl lines and 5 vlans
[10:53] <aurax> managing proxy with multiple networks and routings seems really difficult
[10:57] <aurax> i mean ,proxy will kill my routing table
[12:05] <JessicaParker>  hi can anyone assist with open ssl confi am getting an error and i think it is down to the location of my /demoCA/private/cakey.pem
[14:07] <Hamzifer> any suggestions on how to install a quicker (and i guess, less random) psuedo random number generator? /dev/urandom's too slow :/
[14:35] <giovani> Hamzifer: /dev/urandom is the fast one
[14:35] <ewook> Hamzifer: why don't you just cache something from /dev/random?
[14:36] <giovani> well, before we go /dev/random ... we should know the application
[14:37] <Hamzifer> attempting to fill a disk with random data
[14:37] <giovani> why?
[14:39] <Hamzifer> ..because i am
[14:40] <giovani> you've probably been mislead about the efficacy of random data for securely wiping drives
[14:40] <giovani> it's entirely unnecessary
[14:41] <Hamzifer> nm, google to the rescue, dd if=/dev/zero | gpg --symmetric --passphrase `dd if=/dev/urandom bs=4 count=8 2>&1 | sha256sum | head -c 64` - > target
[14:42] <giovani> oh god ...
[14:42] <Hamzifer> produces random data at around 23mb/sec, compared to /dev/urandom/s 1.8mb/sec
[14:42] <Hamzifer> incase anyone else is interested
[14:45] <Hamzifer> although if anyone has any idea how to configure a "less random" prng, e.g. /dev/prandom, that would be useful to know, google's not being too helpful there :/
[14:46] <giovani> I suggest you save yourself a lot of time in the long run and read up on why Guttman's hypothesis -- which your desire to use random data is no-doubt based on, are false
[14:46] <giovani> s/are/is/
[14:47] <Hamzifer> Thanks, I'll keep that in mind when your concerns are relevant to my situation. Thanks for all the help
[14:47] <giovani> haha
[14:47] <giovani> they're concerned with any situation involving wiping drives
[14:47] <giovani> where you don't enjoy wearing tinfoil hats
[14:48] <Hamzifer> Indeed, and when I'm wiping a drive, I'll keep that in mind.
 attempting to fill a disk with random data
[14:48] <giovani> what are you doing then?
[14:49] <Hamzifer> A quick google for "Guttman's hypothesis", however, leads to mostly books.google.com results about psychology. Got any useful links?
[14:49] <Hamzifer> Not wiping a drive :)
[14:50] <acicula> filling a disk for encryption i suppose then
[14:50] <giovani> for encryption? maybe to hide an encrypted partition
[14:50] <giovani> but, there's no need other than that that I can think of
[14:51] <giovani> Hamzifer: it was my bad spelling -- Gutmann is correct
[14:51] <giovani> paper: http://www.cs.auckland.ac.nz/~pgut001/pubs/secure_del.html
[14:52] <giovani> his "research" is the basis for the modern recommendation of using multiple passes of random, and non-random data
[14:56] <Hamzifer> Good to know I've not been doing it wrong then!
[14:56] <giovani> what have you been doing?
[14:57] <acicula> only thing i can think of is that if you can guess the plaintext pattern on the disk to be something standard like null you learn a bit more
[14:58] <Hamzifer> I've been trying to stay relevant to my original question, which was trying to get a faster psuedo random number/noise generator going! :)
[14:58] <giovani> well we want to know why! :)
[14:58] <Hamzifer> I'm afraid if I told you, I would have to kill you! ;)
[14:59] <giovani> prepare the tinfoil hats, folks!
[14:59]  * acicula goes off to dust the thumbscrews
[15:27] <Iceman_B^Ltop> my machine rebooted expectedly when I was asleep, where can I look to find out what happened around and up till that point?
[15:27] <Iceman_B^Ltop> *unexpectedly
[15:30] <PhotoJim> Iceman_B^Ltop: poke around /var/log.  dmesg and daemon.log might have useful info, or syslog.
[15:30] <JessicaParker> can anyone help with the openssl error in ubuntu /demoCA/serial: No such file or directory
[15:32] <Iceman_B^Ltop> PhotoJim: im looking at syslog. when I count back from the current uptime, I find this line "Apr  5 14:53:49 Rin-chan syslogd 1.5.0#2ubuntu6: restart."
[15:32] <PhotoJim> Iceman_B^Ltop: hmm.
[15:32] <giovani> JessicaParker: what's the context of the error? what were you doing when you received it?
[15:34] <Iceman_B^Ltop> PhotoJim: and I'm getting a lot of these: http://pastebin.ubuntu.com/144935/
[15:36] <JessicaParker> giovani: http://www.marksanborn.net/linux/send-mail-postfix-through-gmails-smtp-on-a-ubuntu-lts-server/ ultimate goal gmail smtp
[15:36] <giovani> wtf
[15:36] <giovani> why do you need a CA to talk to gmail
[15:36] <JessicaParker> giovani: this is the command line that i get the isue from openssl ca -out FOO-cert.pem -infiles FOO-req.pem
[15:36] <giovani> that's absurd
[15:37] <PhotoJim> Iceman_B^Ltop: I'm sorry, I have no idea what that is about.  the libpolkit stuff looks more worrisome than the sigfile stuff.  the rest of it is innocuous.
[15:37] <JessicaParker> giovani: i think you cant use port 25 and need to use 587 and requires a certificate
[15:37] <giovani> yes ... but you don't need your own CA
[15:38] <giovani> postfix ships with unsigned certs
[15:38] <Iceman_B^Ltop> PhotoJim: perhaps http://www.bergek.com/2008/11/24/ubuntu-810-libpolkit-error/
[15:38] <giovani> this is why these howto guides are worthless
[15:38] <JessicaParker> giovani: i not all to familiar with this.......but looking around it looks like you need to create a self signed certificate to use gmail smtp service...
[15:38] <PhotoJim> Iceman_B^Ltop: good catch.  sounds like that's the thing to try.
[15:39] <JessicaParker> giovani: i dont think there are any how to guides for postfix gmail without the self signed certificate not sure though
[15:44] <Iceman_B^Ltop> PhotoJim: apaprantly there is a bug filed for it, I'm looking at the page right now but, I really have no clue beyond that. It doesnt seem like a policy kit will breach my server
[15:45] <PhotoJim> Iceman_B^Ltop: one wouldn't think so.
[15:49] <JessicaParker> any one any ideas on this ? i dont need a self signed certificate ?
[16:01] <Iceman_B^Ltop> oh wow, setting the TCP_NODELAY option in samba just doubled my speed
[16:02] <Iceman_B^Ltop> I'm getting around 5-6 MB/s over LAN now
[16:03] <Iceman_B^Ltop> but that was from server to this XP laptop. the other way around is still slow, around 2.8 MB/s
[16:49] <chris_d_adams> hi guys, which logs should I be looking in if I want to see what my system is doing when trying to recognise a usb device that's been attached?
[16:50] <giovani> chris_d_adams: /var/log/dmesg
[16:59] <chris_d_adams> giovani: hmm... I'm getting no sign at all when i plug something in there. is there another way to probe in more detail?
[16:59] <chris_d_adams> ah
[16:59] <chris_d_adams> syslog shows something
[16:59] <chris_d_adams> never mind
[16:59] <chris_d_adams> I'm good here
[17:33] <giovani> chris_d_adams: dmesg is the kernel log ... when you plug in a device, it should show up there
[17:35] <mrwes> I'm trying to use the following in a incrontab /media/external IN_CREATE IN_MODIFY clamscan -av $@/$#
[17:35] <mrwes> and it doesn't appear to run in htop
[17:37] <mrwes> I want it to clamdscan the file that was either created or modified
[17:40] <giovani> well, it may be a non-issue, but I believe IN_CREATE and IN_MODIFY are supposed to be comma separated
[17:40] <mrwes> yah I made that change...
[17:40] <giovani> alright, well we can only go off of what you paste here
[17:40] <mrwes> nod
[17:41] <mrwes> it currently reads /media/external IN_CREATE,IN_MODIFY clamscan -av $@/$#
[17:42] <mrwes> is there anyway to monitor whether it ran or not? I looked in /var/log/clamav but I didn't see anything
[17:42] <giovani> you try using a different command than clamscan ... to rule it out as a cause?
[17:42] <giovani> I don't think it logs to /var/log unless you're running the daemon
[17:43] <mrwes> well I'm running the clamd
[17:43] <giovani> ok?
[17:43] <giovani> and you reloaded the table, right?
[17:44] <giovani> try something like ... /media/external IN_CREATE,IN_MODIFY touch /testfile
[17:44] <giovani> and then use /testfile's access time to establish the last time it ran
[18:47] <Iceman_B^Ltop> what's a good FTP server ?
[18:48] <Nafallo>  vsftpd
[18:50] <Iceman_B|SSH> so that "sudo aptitude install vsftpd"
[18:50] <Iceman_B|SSH> I thought an FTPd was installed during server installation....
[18:59] <giovani> Iceman_B|SSH: no, and it shouldn't be -- very few people need ftp daemons on each server ... it increases default security holes, and bloats the install
[19:02] <Iceman_B^Ltop> good point
[19:02] <PhotoJim> Iceman_B|SSH: scp is a lot more secure, and safer.  winscp is a good client for Windows users.
[19:03] <Nafallo> sftp :-)
[19:03] <PhotoJim> Iceman_B|SSH: and if you have sshd enabled, you don't have to do anything to turn it on.
[19:05] <Iceman_B^Ltop> ah, right, I had forgotten about that
[19:07] <giovani> heh
[19:07] <giovani> yeah, ftp = bad
[19:08] <giovani> only use it if you have general users who aren't capable of using scp
[19:11] <Iceman_B^Ltop> well the thing is, I have my server thats on a 10/1 ADSL line, its download a certain torrent at almost the max speed. My desktop at another location is on a 120/10 cable line
[19:11] <Iceman_B^Ltop> the same torrent there goes as a snail pace
[19:11] <Iceman_B^Ltop> so I want to download the files here on my server and then transfer them back, but its 29 GB and 2100 files
[19:11] <PhotoJim> traffic shaping.
[19:12] <Iceman_B^Ltop> yeah, probbaly. Ive been following forums byt of course, the ISP denies all claims
[19:12] <PhotoJim> there are ways of testing it.
[19:12] <Iceman_B^Ltop> *but
[19:13] <Iceman_B^Ltop> im already running at high ports and encrytion on, on the cable pc
[19:13] <Iceman_B^Ltop> *port
[19:15] <PhotoJim> scp is the easiest (IMHO), best way to move the files, short of having a VPN connection so that you can mount nfs shares from your server onto your remote desktop.
[19:15] <PhotoJim> the latter is harder to set up, but easier to use.
[19:18] <giovani> scp will add overhead, though
[19:19] <giovani> especially if it's a really light cpu
[19:19] <PhotoJim> that's true.
[19:19] <giovani> i.e. celerons can choke under huge scp moves
[19:19] <PhotoJim> but by "light" we're talking pre-PIII probably right?
[19:19] <giovani> celerons are like Pentium 2s :)
[19:19] <giovani> at 10x the cost
[19:20] <PhotoJim> my PII-333 (about-to-be-retired server) was ok on scp.  Linux is pretty efficient.
[19:20] <PhotoJim> I'm guessing it's the cache issue if the Celeron sucks so much.
[19:20] <giovani> possibly ... there are many factors
[19:20] <giovani> it depends on what kinds of speeds you're expecting
[19:21] <giovani> if you have a celeron sitting on a 100Mbps line ... and you're trying to max that out over scp ... good luck
[19:22] <PhotoJim> my broadband is a tiny fraction of that, but I could run some experiments over the lan to see.
[19:23] <giovani> yeah, I'm rarely scping up from my home
[19:23] <acicula> my C2D maxes out at 2.2Mb/s iirc when i use the 100Mbit connection. admitedly it's not a very fast proc
[19:23] <giovani> 2.2Mbps or 2.2MBps?
[19:23] <giovani> they're wildly different
[19:23] <acicula> MB
[19:23] <acicula> the byte version
[19:23] <giovani> yeah, careful of writing that
[19:23] <acicula> hehe
[19:23] <giovani> Mb is Megabit
[19:23] <PhotoJim> the machine I'm on right now is an Atom N270 so I'm not sure it would be that great of a test platform :)
[19:23] <acicula> i alwas keep confusing them
[19:24] <giovani> little b ... means smaller measure
[19:24] <giovani> bigger B means bigger measure
[19:24] <giovani> easy enough
[19:24] <acicula> i shall never forget again
[19:24] <giovani> :)
[19:25] <giovani> so the 2.2MBps test was over scp, or something else?
[19:25]  * acicula scratches memory
[19:25] <acicula> scp or sftp, dont think they are treated very differently
[19:25] <acicula> the one that gives you the ascii completion bar and a speed reading anyway
[19:26] <Nafallo> MB/s :-)
[19:26] <acicula> it's been awhile since i last copied from my desktop
[19:26] <giovani> acicula: they're protocols
[19:26] <giovani> not clients
[19:26] <acicula> it decided life just wasnt worth living, and that i did not need the machine
[19:26] <acicula> or the disk :/
[19:27] <acicula> giovani: also both clients, though i wouldnt know if they use different procol messges under the hood
[19:27] <giovani> yes, to declare that the C2D was the bottleneck ... you'd need to actually look at the server load
[19:28] <acicula> giovani: well i didnt do extensive benchmarking , the machine has a disk quite capable of sustaining well over 2MB/s nor is it short on memory, switched 100Mbit local lan
[19:28] <giovani> yeah, but those are guesses
[19:28] <giovani> maybe that section of your disk was heavily fragmented
[19:28] <giovani> who knows
[19:28] <giovani> so, testing the actual system during the transfer is the only way to isolate the bottleneck, unlikely to be the cpu
[19:29] <acicula> actually
[19:29] <acicula> my desktop broke before i got the lappy, so must've been my old one :/, so the metrics i just gave are useless
[19:29] <acicula> doh
[19:32] <PhotoJim> I'm going to try an scp from my dual 1 GHz PIII server to my Atom N270 netbook for giggles
[19:32] <PhotoJim> 50.9 MB/s to create, not terrible. :)
[19:33] <giovani> to create?
[19:33] <PhotoJim> Yep.
[19:33] <giovani> what does "to create" mean?
[19:33] <Nafallo> -c blowfish
[19:33] <PhotoJim> I use blowfish by default.
[19:33] <Nafallo> :-/
[19:33] <Iceman_B^Ltop> PhotoJim, what machine is that N270 running in ?
[19:33] <acicula> why the preference for blowfish?
[19:34] <PhotoJim> Acer Aspire One.
[19:34] <PhotoJim> It seems to be one of the most efficient encryption algorithms ssh supports.
[19:34] <Iceman_B^Ltop> likeable little machine?
[19:34] <Iceman_B^Ltop> im looking for a netbook to buym, not too long fro mnow
[19:34] <giovani> hp mini 2140 or dell mini 10 are the only netbooks I'd consider at this point
[19:34] <Iceman_B^Ltop> have my eye on a NC10
[19:35] <PhotoJim> Just over 11 MB/s to read it over the LAN
[19:35] <giovani> heh, you're using these odd terms
[19:35] <giovani> "read" what?
[19:35] <PhotoJim> well... I wrote the file on the server
[19:35] <PhotoJim> now I'm reading it and copying it to the netbook
[19:36] <PhotoJim> the netbook can write it far faster than that rate, so the read speed is the issue here
[19:36] <giovani> well you didn't just get 50MBps over a 100Mbps LAN
[19:36] <giovani> that was a false metric if you did
[19:36] <PhotoJim> no, that was local
[19:36] <PhotoJim> I didn't say that was the scp speed
[19:36] <PhotoJim> that was the file creation speed locally
[19:37] <giovani> also not sure how you achieved 11MBps over the lan
[19:37] <giovani> unless this is gigabit
[19:37] <PhotoJim> 11.1 MB/s, not mb
[19:37] <PhotoJim> MB
[19:37] <PhotoJim> Mb
[19:37] <PhotoJim> 11.1 MB/s, not Mb
[19:37] <giovani> ... right
[19:37] <PhotoJim> that's what it's telling me, and no, it's not gigabit
[19:37] <giovani> 11.1MB/s is not possible over scp on a 100MBps lan
[19:37] <PhotoJim> perhaps it's doing compression.
[19:37] <giovani> 10MB/s is the reasonable, theorectical limit of a tcp connection over ip
[19:38] <giovani> maybe 11 at maximum, with no scp overhead
[19:38] <giovani> how big was the file?
[19:38] <PhotoJim> 1 gig
[19:38] <PhotoJim> 1024^3
[19:38] <giovani> k
[19:38] <PhotoJim> bytes
[19:39] <giovani> did you use -C?
[19:39] <giovani> that enables compression
[19:39] <PhotoJim> it doesn't seem too crazy, I have a 5 Mbit broadband download rate and I get just under 600 kB/s optimally
[19:39] <PhotoJim> I didn't specifically enable compression
[19:39] <PhotoJim> let me try it and see what happens
[19:40] <PhotoJim> Slower.
[19:40] <PhotoJim> But accelerating.
[19:40] <giovani> cpu bottleneck, probably
[19:40] <PhotoJim> Started at about 6 MB/s
[19:40] <PhotoJim> Probably
[19:40] <PhotoJim> now it's at 7~.3
[19:40] <PhotoJim> 7.3
[19:40] <Iceman_B^Ltop> is this all Linux> or is there samba between in?
[19:40] <giovani> the atom is a lightweight
[19:40] <Iceman_B^Ltop> just curious :)
[19:40] <giovani> samba ?
[19:40] <PhotoJim> Linux scp to sshd
[19:40] <PhotoJim> no samba
[19:40] <PhotoJim> no NFS
[19:40] <Iceman_B^Ltop> ok
[19:40] <giovani> what world are we talking about?
[19:40] <PhotoJim> I do have this partition mounted by NFS so I could copy it that way too
[19:41] <PhotoJim> Ubuntu on both machines, Jaunty on my netbook (to which I'm copying), Intrepid on my server (from which I'm copying)
[19:41] <PhotoJim> yes, with compression it's significantly slower
[19:41] <PhotoJim> which is ironic because the file is just zeroes
[19:41] <PhotoJim> obviously at 100BaseTX speeds, the compression can't keep up with the bandwidth
[19:41] <PhotoJim> at least with that machine
[19:42] <PhotoJim> one CPU is pinned at 100% on t he remote server, the other CPU is essentially idle
[19:42] <PhotoJim> so the CPU is the bottleneck on that compression.
[19:42] <PhotoJim> let me try via NFS
[19:42] <PhotoJim> what's the best way to time it?  scp provides rate information.
[19:43] <PhotoJim> but NFS won't of course.
[19:43] <PhotoJim> time I suppose
[19:44] <PhotoJim> both server CPUs are at about 15% load
[19:44] <PhotoJim> NFS seems to do load balancing
[19:45] <PhotoJim> brb, I'll report after a nature break :)
[19:47] <PhotoJim> 1:36.01 to transfer 1 gigabyte
[19:47] <PhotoJim> 1 gibibyte actually
[19:48] <PhotoJim> 11,183,645 bytes per second
[19:48] <giovani> we get it
[19:48] <PhotoJim> so scp and nfs are very similar in speed
[19:49] <PhotoJim> it'd be interesting to try it on a gigabit lan, to see what sort of hwardware you need to saturate it
[19:50] <giovani> well a regular desktop hard drive maxes out before gigabit lan does
[19:50] <giovani> so unless you have raid, or "commercial" drives, or ssds
[19:50] <giovani> that's your first bottleneck
[19:51] <PhotoJim> a PII-333 on the same lan here is receiving the file at 3.6 MB/s, so that's clearly too little CPU to saturate the link
[19:51] <PhotoJim> that's interesting.  so gigabit is going to be a fairly long-lasting technology if we c an't saturate it now without enterprise-level hardware.
[19:51] <giovani> this is news?
[19:52] <giovani> gigabit far from new ... we'll see 10 gigabit on desktops in 5 years
[19:52] <giovani> ssds will replace hds on consumer devices within 5 years
[19:52] <PhotoJim> I know gigabit isn't new.  just surprised it's still faster than current disks.
[19:52] <giovani> at least for the OS
[19:52] <giovani> you thought disks were more than 100MBps?
[19:52] <giovani> average consumer disk is capable of 40-60MBps read speeds
[19:52] <PhotoJim> I figured higher-end ones must be getting there.
[19:52] <giovani> it's an rpm issue
[19:53] <PhotoJim> but apparently only really high-end ones.
[19:53] <giovani> there's no higher-end consumer drive
[19:53] <Nafallo> tmpfs on /home/nafallo/memory type tmpfs (rw,noexec,nosuid,nodev)
[19:53] <giovani> all consumer drives are 7200rpm or slower
[19:53] <PhotoJim> my OS drives on my server are 10000 rpm so it'll be interesting to do some speed tests on that
[19:53] <PhotoJim> unfortunately they are way too small for my data
[19:53] <giovani> no need really, just look at the specs
[19:55] <PhotoJim> more fun to experiment :)
[19:58] <giovani> not really
[19:58] <giovani> but ok
[22:40] <Iceman_B^Ltop> how does the "unix password sync = yes" exactly work in Samba ? will it change my Linux password when I change my samba password? how can that work when Im the only root user on the system?
[22:57]  * Iceman_B^Ltop pokes PhotoJim
[22:57] <Iceman_B^Ltop> you said earlier that you have a way to determine if an ISP is shaping p2p traffic?
[23:32] <AnRkey> hi all
[23:33] <AnRkey> I am trying to compile netxms for ubuntu 8.04.2 server
[23:33] <AnRkey> I get this checking for gd.h... no
[23:33] <PhotoJim> Iceman_B^Ltop: Yes?
[23:33] <AnRkey> then it fails, anyone know what package that file belongs to?
[23:34] <Iceman_B^Ltop> tell me more about it please
[23:34] <PhotoJim> Iceman_B^Ltop: you aren't the root user.  the only root user is the user named root.  and if you use that option, usernames on the Windows client machines and Linux box should match exactly and things will work.
[23:35] <PhotoJim> Iceman_B^Ltop: so if you change the Linux account password, you should change the Windows account password too, and there will be no prompt to enter a password when connecting to the Linux server from the Windows machine.
[23:35] <PhotoJim> Iceman_B^Ltop: So, ideally, have one account on your Linux box for every discreet user that will connect to it as a server on your local area network.
[23:37] <Iceman_B^Ltop> yeah, I had that figured out already. it's handy because I guess Windows tries to log onto the share with whatever user is logged into windows at that point
[23:37] <PhotoJim> that's exactly what Windows does when it tries to connect to Windows servers.
[23:37] <PhotoJim> you can force a separate login, but there is really no benefit to that.
[23:38] <Iceman_B^Ltop> so let me get this straightr, the "unix password sync =" option does not related to keeping samba and linux passwords on the same box the same ?
[23:38] <PhotoJim> you could create user accounts for your local users, and disable Linux login if you don't want them to actually be able to use the server via shell.
[23:38] <Iceman_B^Ltop> how would I go about that?
[23:39] <PhotoJim> Iceman_B^Ltop: hmm.  I think it does.  but now that you mention it, I did configure my Samba user names and passwords separately.  so I can't tell you that experientially.
[23:39] <PhotoJim> I'm in the other window working, so my replies might be slow.
[23:39] <Iceman_B^Ltop> no prob
[23:39] <Iceman_B^Ltop> im watching a show anyways :)
[23:40] <Iceman_B^Ltop> oh do tell me about the diabling the shell login thing please
[23:40] <Iceman_B^Ltop> whenver you have the time
[23:40] <AnRkey> nevermind: found the sucker
[23:40] <AnRkey> w000t, it's compiling at last
[23:40] <AnRkey> man, this netxms is awesome
[23:42] <PhotoJim> Iceman_B^Ltop: I forget how to do it off the top of my head, but it has to do with editing the shell field in the /etc/passwd file.  something to the effect of "nologin".  should be easy to find.
[23:43] <Iceman_B^Ltop> alright