[00:01] its much faster to use shell then gui [00:01] in gui i prefer kde [00:02] 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] i am trying to unrar .rar file but i am getting "command not found" error [00:10] i installed rar with apt-get but still "command not found" [00:10] What exactly are you typing? [00:10] sudo unrar e file.rar [00:11] 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] ooo i did "apt-get install rar [00:12] Try sudo apt-get install unrar-free [00:12] ok now it works [00:12] Good :) [00:12] "apt-get install unrar" and it works [00:13] 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] ok done [00:14] now is there command to burn .iso into cd [00:16] Yes... more than one... I use wodim so you can sudo apt-get-install wodim [00:17] ok got it [00:19] what is command for it? [00:21] man wodim will get you the man page :) Try just wodim somefile.iso # to burn an ISO to a CD-R [00:23] "wodim file.iso " ?? [00:24] sure. if your .iso file is called file.iso, type in the command wodim file.iso [00:24] If it is called junk.iso, type in wodim junk.iso :) [00:24] actually i am trying to burn ubuntu server [00:25] this is faaaaaaaaaaaaast [00:25] OK, so type in wodim ubuntu-8.10-server-i386.iso [00:26] much faster then using gui software for it [00:27] 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] thx man [00:28] No problem. [00:29] i am actually writing new command to my txt file so like tht i wont forget commands i already should know ;) [00:29] can i add you as freind or something here? [00:30] 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] xchat? i dont have it i think [00:34] wizardslovak_: Konversation may have a similar thing, I'm just not familiar with it. [00:35] well ill be coming here anyways [00:35] OK. Have fun installing Ubuntu Server :) [00:35] heheh [00:35] so what os u using? [00:36] 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] lol [00:36] i have dual core cpu and actually i never tried 64bit [00:36] is it better then 32? [00:37] 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] u use vmware or vbox? [00:38] virtualbox-ose [00:38] be right back [00:40] 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] i got dual core with 4gbs and works pefrect [00:42] 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] i paid $300 for this laptop lol [00:43] Sounds like a good deal. Did the Server CD burn OK? Are you installing on the old Celeron PC now?? :) [00:44] not yet [00:44] server cd is ok , i did cd check in vbox and it passed [00:44] ;) [00:58] How should I mount a drive with an ext3 fs? [00:59] also, why didn't the driver change when I typed fdisk -l? I changed the fs :P [01:10] hmmm just found that ubuntu doesn´t support acl over nfs4... :( [01:23] 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] mat1211: hard drives normally do not have filesystems directly, only on their partitions. [01:24] e.g. /dev/sda is not normally a filesystem [01:24] how do I partition a harddrive then? [01:24] Ubuntu will happily put a filesystem on sda and mount it, but other OSes might balk [01:25] As I said yesterday, you can partition a drive using gparted, cfdisk, parted, sfdisk, or some other partitioning tool [01:25] 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] in terminal as well? [01:25] fdisk reports what is in the partition table, which might be lies [01:26] cause this thing has no screen or anything laugh [01:26] Try using cfdisk to change the partition's type to 82 (ext) [01:26] so I won't be able to do any gui things [01:27] Don't use fdisk unless you know EXACTLY what you're doing, it is for experts. Prefer cfdisk. [01:27] fdisk will happily make partitions that other OSes won't like [01:28] what is the syntax for cfdisk, it said couldn't open drive when I typed it. [01:28] sudo cfdisk /dev/sdb [01:28] Manipulating disks at a low level requies root access (or, possibly, to be in the "disk" group). [01:29] hmmm [01:29] 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] mkfs cannot delete or create partitions. [01:30] mkfs only changes what filesystem is on a partition. [01:31] 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] 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] You then need to write the partition table by choosing "write" [01:31] hold on, I'll try something. [01:32] 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] it didn't work, lol [01:33] is there a way to force it to update these things? [01:34] 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] ah, there we go [01:35] partprobe [01:36] reloads partition table in kernel [01:36] with parted is possible too, and with echo something > /proc/..... don't recall the rest.. [01:49] 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] mat1211: you just rename the file... but since it's incomplete, that's not likely to be of much benefit. [01:51] it still works. [01:52] do I just type sudo rename to do that? lol [01:52] if you're using a shell, you just use the mv command that usually moves files. [01:52] but if you move it to the same place with a different name... it works as rename. [01:52] mv oldname.txt newname.txt [01:52] you may or may not need to use sudo depending on the read/write permissions [01:55] ah, that's different, but thank you. [01:56] it's slightly counterintuitive but one gets used to these things :) [01:59] PhotoJim: I still wonder why there isnt a seperate "ren" command ._. [02:00] What would that do that mv doesn't? [02:00] be not counter-intuitive? [02:01] Iceman_B|SSH: you could just make a softlink called "ren" and link it to "mv" :) [02:02] softlink? right... strange. [02:02] lol [02:03] lol, I hadnt thought about that [02:04] how would you set that up? [02:04] so would that be "touch red" and then make a symlink from ren to mv ? [02:04] *ren [02:04] i'd like to set /etc/ssh/ssh_config to the default. where can i find the default file? [02:05] 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] I see. so there is no need to create an empty file, just, directly create the link itself ? [02:08] Yes [02:08] man ln for details. [02:08] Correct. [02:09] what is the dir for the mv command, and how would it be a file? [02:09] "whereis mv" will tell you. [02:09] I'm not sure how to answer the second half of your question. [02:09] which mv works too [02:10] wow. I didnt know about whereis, I always try find and locate [02:10] but I cant get them to work the way I want to [02:11] yeah, find and locate are kind of Big Hammers for a small thing like finding binaries [02:12] 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] There *is* a rename(1) command, intended to do pattern-based bulk renaming. [02:12] e.g. instead of for i in ?.jpg; do mv $i 0$i.jpg; done [02:12] so there is. [02:13] I haven't actually used it myself because I'm pretty proficient at sh. [02:33] well vmware is about 800 times easier to install than kvm/vmbuilder :) [02:34] https://help.ubuntu.com/community/VMware/Server/AMD64 [03:06] I don't know about vmbuilder, but kvm is MUCH easier to install than vmware-server. [03:07] 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] 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] ...whereas kvm is a normal apt-gettable package. [03:08] 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] Oh, and vmware-package doesn't support vmware-server 2.x yet. [04:02] what is kvm? [04:04] 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] BTW, a google search for ubuntu kvm should have found you that kind of info? [04:05] Once the province of Big Iron, now you can get it on a $300 laptop... [04:06] jmarsden: in #emacs our bot is actually trained to respond to "what is ?" the same way as "!" :-) [04:06] twb: Nice... can you program the bot here to do the same? [04:06] Sorry, I know nothing about your bots. [04:06] !kvm [04:06] kvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM [04:06] Emacs' fsbot is written in elisp, so you can't just copy its code. [04:07] dug_: Yes... is there a way to get a list of all the ! commands the bot recognizes? !dictionary or something?? [04:08] not sure [04:08] 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] jmarsden: usually there's a webpage [04:08] !bot [04:08] Hi! I'm #ubuntu-server's favorite infobot, you can search my brain yourself at http://ubottu.com/factoids.cgi - Usage info: http://wiki.ubuntu.com/UbuntuBots [07:49] hi folks [07:49] 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] it's probably something really obvious but since I dont seem to get any error its hard to troubleshoot [07:55] 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] Apr 5 16:52:13 ubuntu named[4480]: starting BIND 9.5.0-P2 -u bind [07:55] Apr 5 16:52:13 ubuntu named[4480]: found 2 CPUs, using 2 worker threads [07:55] Apr 5 16:52:13 ubuntu named[4480]: loading configuration from '/etc/bind/named.conf' [07:55] Apr 5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:12: unknown option 'zone' [07:55] Apr 5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:20: unknown option 'zone' [07:55] Apr 5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:25: unknown option 'zone' [07:55] Apr 5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:30: unknown option 'zone' [07:55] Apr 5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:35: unknown option 'zone' [07:55] Apr 5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf.local:9: unknown option 'zone' [07:55] Apr 5 16:52:13 ubuntu named[4480]: /etc/bind/named.conf:41: '}' expected near end of file [07:55] gah. dont flood here [07:55] Apr 5 16:52:13 ubuntu named[4480]: loading configuration: unexpected token [07:55] Apr 5 16:52:13 ubuntu named[4480]: exiting (due to fatal error) [07:55] !paste [07:55] pastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic) [07:55] sorry, didn't know it would split it into multiple messages [07:55] Doble, ^^ [07:56] here's the pastebin - http://paste.ubuntu.com/144687/ [07:59] ubottu doesn't auto-kick flooders? [07:59] Error: I am only a bot, please don't think I'm intelligent :) [08:09] 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] Hello [08:22] How do I install an IRC server on my Ubuntu Server (It's currently running a LAMP server) [08:23] ?? [08:23] Is anyone there? [08:24] ow do I install an IRC server on my Ubuntu Server (It's currently running a LAMP server)H [08:24] *How [08:24] *server) [08:25] mrout: if somebody knows, they'll answer; don't keep repeating the question [08:25] Sorry [08:25] It's just that a new person came along. [08:25] got google? [08:26] Yes... [08:26] lol [08:27] oh, I see what you mean. (I'm a bit slow) [08:28] http://www.google.com/search?hl=en&q=ubuntu+irc+server&btnG=Google+Search&aq=f&oq= [08:28] Thank you. [08:28] or try wikipedia http://en.wikipedia.org/wiki/IRCd [08:28] ty [08:43] hi can anyone assist with getting postfix configured with gmail ? [10:32] hello, is there a content/web filtering application that's not working as a proxy? [10:48] what's the problem with a proxy aurax ? [10:53] i have 8 adsl lines and 5 vlans [10:53] managing proxy with multiple networks and routings seems really difficult [10:57] i mean ,proxy will kill my routing table [12:05] 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] any suggestions on how to install a quicker (and i guess, less random) psuedo random number generator? /dev/urandom's too slow :/ [14:35] Hamzifer: /dev/urandom is the fast one [14:35] Hamzifer: why don't you just cache something from /dev/random? [14:36] well, before we go /dev/random ... we should know the application [14:37] attempting to fill a disk with random data [14:37] why? [14:39] ..because i am [14:40] you've probably been mislead about the efficacy of random data for securely wiping drives [14:40] it's entirely unnecessary [14:41] 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] oh god ... [14:42] produces random data at around 23mb/sec, compared to /dev/urandom/s 1.8mb/sec [14:42] incase anyone else is interested [14:45] 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] 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] s/are/is/ [14:47] Thanks, I'll keep that in mind when your concerns are relevant to my situation. Thanks for all the help [14:47] haha [14:47] they're concerned with any situation involving wiping drives [14:47] where you don't enjoy wearing tinfoil hats [14:48] Indeed, and when I'm wiping a drive, I'll keep that in mind. [14:48] attempting to fill a disk with random data [14:48] what are you doing then? [14:49] A quick google for "Guttman's hypothesis", however, leads to mostly books.google.com results about psychology. Got any useful links? [14:49] Not wiping a drive :) [14:50] filling a disk for encryption i suppose then [14:50] for encryption? maybe to hide an encrypted partition [14:50] but, there's no need other than that that I can think of [14:51] Hamzifer: it was my bad spelling -- Gutmann is correct [14:51] paper: http://www.cs.auckland.ac.nz/~pgut001/pubs/secure_del.html [14:52] his "research" is the basis for the modern recommendation of using multiple passes of random, and non-random data [14:56] Good to know I've not been doing it wrong then! [14:56] what have you been doing? [14:57] 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] 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] well we want to know why! :) [14:58] I'm afraid if I told you, I would have to kill you! ;) [14:59] prepare the tinfoil hats, folks! [14:59] * acicula goes off to dust the thumbscrews [15:27] 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] *unexpectedly [15:30] Iceman_B^Ltop: poke around /var/log. dmesg and daemon.log might have useful info, or syslog. [15:30] can anyone help with the openssl error in ubuntu /demoCA/serial: No such file or directory [15:32] 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] Iceman_B^Ltop: hmm. [15:32] JessicaParker: what's the context of the error? what were you doing when you received it? [15:34] PhotoJim: and I'm getting a lot of these: http://pastebin.ubuntu.com/144935/ [15:36] giovani: http://www.marksanborn.net/linux/send-mail-postfix-through-gmails-smtp-on-a-ubuntu-lts-server/ ultimate goal gmail smtp [15:36] wtf [15:36] why do you need a CA to talk to gmail [15:36] giovani: this is the command line that i get the isue from openssl ca -out FOO-cert.pem -infiles FOO-req.pem [15:36] that's absurd [15:37] 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] giovani: i think you cant use port 25 and need to use 587 and requires a certificate [15:37] yes ... but you don't need your own CA [15:38] postfix ships with unsigned certs [15:38] PhotoJim: perhaps http://www.bergek.com/2008/11/24/ubuntu-810-libpolkit-error/ [15:38] this is why these howto guides are worthless [15:38] 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] Iceman_B^Ltop: good catch. sounds like that's the thing to try. [15:39] giovani: i dont think there are any how to guides for postfix gmail without the self signed certificate not sure though [15:44] 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] Iceman_B^Ltop: one wouldn't think so. [15:49] any one any ideas on this ? i dont need a self signed certificate ? [16:01] oh wow, setting the TCP_NODELAY option in samba just doubled my speed [16:02] I'm getting around 5-6 MB/s over LAN now [16:03] but that was from server to this XP laptop. the other way around is still slow, around 2.8 MB/s [16:49] 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] chris_d_adams: /var/log/dmesg [16:59] 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] ah [16:59] syslog shows something [16:59] never mind [16:59] I'm good here === dug_1 is now known as dug_ [17:11] New bug: #355709 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 failed to install/upgrade: Unterprozess post-installation script gab den Fehlerwert 1 zurück" [Undecided,New] https://launchpad.net/bugs/355709 [17:33] chris_d_adams: dmesg is the kernel log ... when you plug in a device, it should show up there [17:35] I'm trying to use the following in a incrontab /media/external IN_CREATE IN_MODIFY clamscan -av $@/$# [17:35] and it doesn't appear to run in htop [17:37] I want it to clamdscan the file that was either created or modified [17:40] well, it may be a non-issue, but I believe IN_CREATE and IN_MODIFY are supposed to be comma separated [17:40] yah I made that change... [17:40] alright, well we can only go off of what you paste here [17:40] nod [17:41] it currently reads /media/external IN_CREATE,IN_MODIFY clamscan -av $@/$# [17:42] is there anyway to monitor whether it ran or not? I looked in /var/log/clamav but I didn't see anything [17:42] you try using a different command than clamscan ... to rule it out as a cause? [17:42] I don't think it logs to /var/log unless you're running the daemon [17:43] well I'm running the clamd [17:43] ok? [17:43] and you reloaded the table, right? [17:44] try something like ... /media/external IN_CREATE,IN_MODIFY touch /testfile [17:44] and then use /testfile's access time to establish the last time it ran [18:47] what's a good FTP server ? [18:48] vsftpd [18:50] so that "sudo aptitude install vsftpd" [18:50] I thought an FTPd was installed during server installation.... [18:59] 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] good point [19:02] Iceman_B|SSH: scp is a lot more secure, and safer. winscp is a good client for Windows users. [19:03] sftp :-) [19:03] Iceman_B|SSH: and if you have sshd enabled, you don't have to do anything to turn it on. [19:05] ah, right, I had forgotten about that [19:07] heh [19:07] yeah, ftp = bad [19:08] only use it if you have general users who aren't capable of using scp [19:11] 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] the same torrent there goes as a snail pace [19:11] 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] traffic shaping. [19:12] yeah, probbaly. Ive been following forums byt of course, the ISP denies all claims [19:12] there are ways of testing it. [19:12] *but [19:13] im already running at high ports and encrytion on, on the cable pc [19:13] *port [19:15] 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] the latter is harder to set up, but easier to use. [19:18] scp will add overhead, though [19:19] especially if it's a really light cpu [19:19] that's true. [19:19] i.e. celerons can choke under huge scp moves [19:19] but by "light" we're talking pre-PIII probably right? [19:19] celerons are like Pentium 2s :) [19:19] at 10x the cost [19:20] my PII-333 (about-to-be-retired server) was ok on scp. Linux is pretty efficient. [19:20] I'm guessing it's the cache issue if the Celeron sucks so much. [19:20] possibly ... there are many factors [19:20] it depends on what kinds of speeds you're expecting [19:21] if you have a celeron sitting on a 100Mbps line ... and you're trying to max that out over scp ... good luck [19:22] my broadband is a tiny fraction of that, but I could run some experiments over the lan to see. [19:23] yeah, I'm rarely scping up from my home [19:23] 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] 2.2Mbps or 2.2MBps? [19:23] they're wildly different [19:23] MB [19:23] the byte version [19:23] yeah, careful of writing that [19:23] hehe [19:23] Mb is Megabit [19:23] 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] i alwas keep confusing them [19:24] little b ... means smaller measure [19:24] bigger B means bigger measure [19:24] easy enough [19:24] i shall never forget again [19:24] :) [19:25] so the 2.2MBps test was over scp, or something else? [19:25] * acicula scratches memory [19:25] scp or sftp, dont think they are treated very differently [19:25] the one that gives you the ascii completion bar and a speed reading anyway [19:26] MB/s :-) [19:26] it's been awhile since i last copied from my desktop [19:26] acicula: they're protocols [19:26] not clients [19:26] it decided life just wasnt worth living, and that i did not need the machine [19:26] or the disk :/ [19:27] giovani: also both clients, though i wouldnt know if they use different procol messges under the hood [19:27] yes, to declare that the C2D was the bottleneck ... you'd need to actually look at the server load [19:28] 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] yeah, but those are guesses [19:28] maybe that section of your disk was heavily fragmented [19:28] who knows [19:28] so, testing the actual system during the transfer is the only way to isolate the bottleneck, unlikely to be the cpu [19:29] actually [19:29] 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] doh [19:32] I'm going to try an scp from my dual 1 GHz PIII server to my Atom N270 netbook for giggles [19:32] 50.9 MB/s to create, not terrible. :) [19:33] to create? [19:33] Yep. [19:33] what does "to create" mean? [19:33] -c blowfish [19:33] I use blowfish by default. [19:33] :-/ [19:33] PhotoJim, what machine is that N270 running in ? [19:33] why the preference for blowfish? [19:34] Acer Aspire One. [19:34] It seems to be one of the most efficient encryption algorithms ssh supports. [19:34] likeable little machine? [19:34] im looking for a netbook to buym, not too long fro mnow [19:34] hp mini 2140 or dell mini 10 are the only netbooks I'd consider at this point [19:34] have my eye on a NC10 [19:35] Just over 11 MB/s to read it over the LAN [19:35] heh, you're using these odd terms [19:35] "read" what? [19:35] well... I wrote the file on the server [19:35] now I'm reading it and copying it to the netbook [19:36] the netbook can write it far faster than that rate, so the read speed is the issue here [19:36] well you didn't just get 50MBps over a 100Mbps LAN [19:36] that was a false metric if you did [19:36] no, that was local [19:36] I didn't say that was the scp speed [19:36] that was the file creation speed locally [19:37] also not sure how you achieved 11MBps over the lan [19:37] unless this is gigabit [19:37] 11.1 MB/s, not mb [19:37] MB [19:37] Mb [19:37] 11.1 MB/s, not Mb [19:37] ... right [19:37] that's what it's telling me, and no, it's not gigabit [19:37] 11.1MB/s is not possible over scp on a 100MBps lan [19:37] perhaps it's doing compression. [19:37] 10MB/s is the reasonable, theorectical limit of a tcp connection over ip [19:38] maybe 11 at maximum, with no scp overhead [19:38] how big was the file? [19:38] 1 gig [19:38] 1024^3 [19:38] k [19:38] bytes [19:39] did you use -C? [19:39] that enables compression [19:39] 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] I didn't specifically enable compression [19:39] let me try it and see what happens [19:40] Slower. [19:40] But accelerating. [19:40] cpu bottleneck, probably [19:40] Started at about 6 MB/s [19:40] Probably [19:40] now it's at 7~.3 [19:40] 7.3 [19:40] is this all Linux> or is there samba between in? [19:40] the atom is a lightweight [19:40] just curious :) [19:40] samba ? [19:40] Linux scp to sshd [19:40] no samba [19:40] no NFS [19:40] ok [19:40] what world are we talking about? [19:40] I do have this partition mounted by NFS so I could copy it that way too [19:41] Ubuntu on both machines, Jaunty on my netbook (to which I'm copying), Intrepid on my server (from which I'm copying) [19:41] yes, with compression it's significantly slower [19:41] which is ironic because the file is just zeroes [19:41] obviously at 100BaseTX speeds, the compression can't keep up with the bandwidth [19:41] at least with that machine [19:42] one CPU is pinned at 100% on t he remote server, the other CPU is essentially idle [19:42] so the CPU is the bottleneck on that compression. [19:42] let me try via NFS [19:42] what's the best way to time it? scp provides rate information. [19:43] but NFS won't of course. [19:43] time I suppose [19:44] both server CPUs are at about 15% load [19:44] NFS seems to do load balancing [19:45] brb, I'll report after a nature break :) [19:47] 1:36.01 to transfer 1 gigabyte [19:47] 1 gibibyte actually [19:48] 11,183,645 bytes per second [19:48] we get it [19:48] so scp and nfs are very similar in speed [19:49] it'd be interesting to try it on a gigabit lan, to see what sort of hwardware you need to saturate it [19:50] well a regular desktop hard drive maxes out before gigabit lan does [19:50] so unless you have raid, or "commercial" drives, or ssds [19:50] that's your first bottleneck [19:51] 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] 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] this is news? [19:52] gigabit far from new ... we'll see 10 gigabit on desktops in 5 years [19:52] ssds will replace hds on consumer devices within 5 years [19:52] I know gigabit isn't new. just surprised it's still faster than current disks. [19:52] at least for the OS [19:52] you thought disks were more than 100MBps? [19:52] average consumer disk is capable of 40-60MBps read speeds [19:52] I figured higher-end ones must be getting there. [19:52] it's an rpm issue [19:53] but apparently only really high-end ones. [19:53] there's no higher-end consumer drive [19:53] tmpfs on /home/nafallo/memory type tmpfs (rw,noexec,nosuid,nodev) [19:53] all consumer drives are 7200rpm or slower [19:53] my OS drives on my server are 10000 rpm so it'll be interesting to do some speed tests on that [19:53] unfortunately they are way too small for my data [19:53] no need really, just look at the specs [19:55] more fun to experiment :) [19:55] New bug: #355662 in samba (main) "libsmbclient crashes with SIGABRT (dup-of: 198351)" [Undecided,New] https://launchpad.net/bugs/355662 [19:58] not really [19:58] but ok [20:15] New bug: #355800 in nagios3 (main) "*** WARNING: ucf was run from a maintainer script that uses debconf, but the script did not pass --debconf-ok to ucf." [Undecided,New] https://launchpad.net/bugs/355800 [22:40] 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] you said earlier that you have a way to determine if an ISP is shaping p2p traffic? [23:32] hi all [23:33] I am trying to compile netxms for ubuntu 8.04.2 server [23:33] I get this checking for gd.h... no [23:33] Iceman_B^Ltop: Yes? [23:33] then it fails, anyone know what package that file belongs to? [23:34] tell me more about it please [23:34] 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] 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] 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] 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] that's exactly what Windows does when it tries to connect to Windows servers. [23:37] you can force a separate login, but there is really no benefit to that. [23:38] 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] 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] how would I go about that? [23:39] 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] I'm in the other window working, so my replies might be slow. [23:39] no prob [23:39] im watching a show anyways :) [23:40] oh do tell me about the diabling the shell login thing please [23:40] whenver you have the time [23:40] nevermind: found the sucker [23:40] w000t, it's compiling at last [23:40] man, this netxms is awesome [23:42] 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] alright