[02:37] <pentagon> How can I run dhclient and request host-name and see if anything returns, is there a tail command ?
[02:40] <sarnold> pentagon: if you add -v to the dhclient initscript, it'll log more verbosely. I'm not sure if it'll log returned hostname or not, but it's the first thing I'd try
[03:01] <tohuw> Is there any package providing Apache 2's mod_xml?
[03:03] <tohuw> Ah, just discovered apt-file. And it seems the answer is no D: Compiling time...
[03:08] <tsimpson> tohuw: may I introduce you to http://packages.ubuntu.com/
[03:09] <sarnold> apt-file is faster :)
[03:10] <tohuw> tsimpson: I could not find a fast way to search for what I needed to know using that site.
[03:10] <tsimpson> look at the "Search the contents of packages" section
[03:11] <tohuw> Ah, fair enough
[04:01] <pentagon> well long day of playing with things
[04:01] <pentagon> still havent got it to function the way i'd like
[04:02] <tcp_cungkr1nk> hi, im not installed squid on my ubuntu server, but the nmap result from public network seem like that :
[04:02] <pentagon> how do I do a dns lookup on myself to see what returns as hostname
[04:02] <tcp_cungkr1nk> 3128/tcp open squid-http
[04:02] <tcp_cungkr1nk> 8000/tcp open http-alt
[04:03] <tcp_cungkr1nk> 8080/tcp open http-proxy
[04:03] <tcp_cungkr1nk> 8088/tcp open unknown
[04:04] <pentagon> tcp_cungkr1nk: you didn't install it?
[04:05] <tcp_cungkr1nk> yes, i dont know why?
[04:05] <pentagon> try to connect and se what it is
[04:06] <pentagon> nmap me and pastebin the results
[04:06] <pentagon> favor for favor
[04:07] <pentagon> nmap me
[04:08] <pentagon> tcp_cungkr1nk: nmap me and paste the results
[04:22] <pentagon> tcp_cungkr1nk: did you nmap me
[04:22] <pentagon> nmap me and pastebin it
[04:46] <harushimo> question for everyone. I'm setting up ubuntu server but it will have drupal on it
[04:46] <harushimo> on my vm
[04:47] <harushimo> is there to access the drupal website threw the vm?
[04:47] <harushimo> I mean when I setup the site
[04:49] <pentagon> Avoid drupal.
[04:49] <pentagon> html is better keep it simple
[04:50] <harushimo> just curious why avoid drupal?
[04:50] <harushimo> I thought it was pretty good from what I hear
[04:50] <harushimo> html is better
[04:50] <harushimo> I know that
[06:28] <koolhead17> hi all
[06:37] <MACscr> can i move to 12.04 LTS from just 11.04?
[07:25] <tsimpson> MACscr: no, you need to go via 11.10
[07:26] <MACscr> yeah, i had forgotten about that version. Im up to precise now
[07:27] <MACscr> though it looks like my vps isnt fully booting
[11:50] <Firefishy> micahg: You previously helped me with amd64-microcode backport req bug: https://bugs.launchpad.net/precise-backports/+bug/1036618
[11:51] <Firefishy> Anything further I should do? Builds OK, Installs OK, Tests OK.
[12:33] <qw[Russian]> hi, everybody
[12:33] <qw[Russian]> I have a question: I would like to create a dating site on a free hosting prompt please if know the such?
[12:52] <micahg> Firefishy: I haven't had a chance to look at backports this week yet, I do see the request in the queue
[12:53] <Firefishy> micahg: cool. appreciated.
[13:22] <RobZ1> hi - how can I update the root CA certificates (provider by VeriSign on their website)?  Ubuntu 10.10
[13:41] <smoser> ok... in case someone thought i hadn't ranted enough lately
[13:42] <smoser> $ ssh -L 10080:localhost:80 10.55.60.56
[13:42] <smoser> ...
[13:42] <smoser> Port forwarding is disabled to avoid man-in-the-middle attacks.
[13:42]  * Daviey thinks you have been losing your touch.
[13:42] <smoser> but it puts me happily at a prompt at the other end.
[13:43] <smoser> I *DO NOT READ ERROR MESSAGES*.  if I asked for port forwarding, and port forwarding doesn't work, i probably want you to fail
[13:43] <Daviey> smoser: I think that is your ssh config?
[13:43] <smoser> really?
[13:44] <hallyn> jdstrand: mdeslaur: do i understand right there is a pending libvirt update in precise-security?  (if so i'll hold off on a new sru, of course :)
[13:45] <mdeslaur> hallyn: nope, no current libvirt security update planned
[13:45] <hallyn> mdeslaur: oh cool, thanks
[14:49] <zul> hallyn: what did you want me to upload?
[14:55] <smb> hallyn, If you are about to do other things with libvirt (admittedly I have not looked for a while now), there was a patch about not considering xenfs being available as fatal (because we load it as a module later). It was dropped on some rebase and should be relatively simple to re-activate (just upstream changed spaces around it).
[14:55] <hallyn> zul: augeas
[14:55] <zul> hallyn: debdiff please
[14:56] <hallyn> zul on bug https://bugs.launchpad.net/bugs/1054306
[14:56] <hallyn> smb: is this for q or p?
[14:56] <hallyn> if for q, i'm not doing anything right now
[14:56] <smb> hallyn, for q
[14:56] <smb> ah
[14:56] <hallyn> zul might have something but i don't think so
[14:56] <hallyn> need to run, biab
[14:57] <smb> He may have had but those security guys always upload stuff... :-P
[15:11] <hallyn> smb: :)
[15:25] <r3boot> hi ppl :) I't seems that preseeding is broken for 12.04, the 'Detect keyboard layout' part. No matter what I try to feed d-i or the kernel params, I cannot get rid of this question. I've tried adding 'console-setup/layoutcode=us' as a kernel parameter, and it does not work. I've tried adding 'd-i console-setup/ask_detect boolean false' to my preseed file, and that does not work as well
[15:26] <r3boot> I've queried both google and launchpad to try to figure this out, but both of them do not give any results regarding this specific question
[15:26] <r3boot> (and the answers I do find do not work :)
[15:26] <r3boot> so .. Am I doing something stupid, or do I need to file a bug?
[15:27] <SpamapS> roaksoax: you've been doing quite a bit of pre-seeding of 12.04, haven't you?
[15:27] <SpamapS> roaksoax: ^^ r3boot seems to be having trouble
[15:27] <SpamapS> rbasak: you too
[15:28] <rbasak> r3boot: are you setting priority=critical?
[15:28] <roaksoax> r3boot: you might want to try adding priority=critical in the kernel command like
[15:29] <r3boot> ack, hold on
[15:29] <r3boot> does that restrict d-i to only ask the most critical questions?
[15:29] <rbasak> correct
[15:30] <rbasak> which should be nothing unless some step fails
[15:30] <r3boot> lets see what it does. The HW in question (a relatively new Dell R720) is a bit slow in booting tho
[15:31] <henkjan> r3boot o/
[15:32] <r3boot> jow henkjan :)
[15:34] <r3boot> rbasak, roaksoax, that works, thnx a lot!
[15:34] <rbasak> \o/
[15:35] <r3boot> but now the other thing. This smells like a workaround, working around something broken in d-i or console-setup. Do I need to file a bug for this?
[15:37] <r3boot> (in the mean time I'm going to run to the train btw, brb)
[16:32] <Auckla> Man there was a way I use to connect to my server at home I can't think about it now. So I can use X over SSH.
[16:32] <Auckla> What are some good ways to connect to X over SSH?
[16:33] <r3boot> ssh -x (or -X, or X11Forwarding yes in ssh-config)
[16:34] <sarnold> if you just want to run one program, ssh -X hostname xterm
[16:34] <Auckla> There was a program or is a program I use at home, with a giant red x on it. :)
[16:34] <RoyK> ssh -y
[16:34] <Auckla> I'm sure it is common.
[16:34] <RoyK> with ssh -x, it loses authorization after a while and you'll have to reconnect
[16:35] <holstein> theres http://www.nomachine.com/ or freenx Auckla
[16:35] <Auckla> AHHH!! FreeNX that is what it is.
[16:35] <RoyK> or better, set 'ForwardX11 yes' and 'ForwardX11Trusted yes' in your ssh config
[16:36] <RoyK> ah, freenx ;)
[16:36] <Auckla> Thi s is just a suggestio nfor a fellow employee on his learning adventures in *nix.
[16:37] <RoyK> Auckla: remove all other editors than vim ;)
[16:37] <Auckla> I don't think he would like that.
[16:37]  * RoyK feels a bit evil
[16:37] <Auckla> He was already trying to play with "VI". Hehehe.
[16:38] <RoyK> http://karlsbakk.net/fun/editor-learning-curve.jpg
[16:40] <RoyK> Auckla: just toss vimtutor on him, let him use half an hour on that, and he'll know the basics
[16:45] <sarnold> the chart is a lie
[16:46] <sarnold> vi is always steep even to experts
[16:48] <RoyK> that's what it says
[16:49] <RoyK> you have to climb a bit before it gets useful
[16:50] <RoyK> but indeed, it's a lie, because once vim, which is the current, turns out useful, you keep on learning all other stuff they put in there, so it should be a slow slope after the initial steep jump
[16:51] <sarnold> RoyK: exactly
[18:04] <methods1> any reason /etc/cron.daily would not run my script ? i made it add a file which never showed up to prove that it's not running.. i see the entry in /etc/crontab which means it should run
[18:11] <hallyn> methods1: anything in /var/log/syslog?  what exact entry did you add?  can you pastebin the script also?
[18:11] <methods1> well i see hte line in syslog saying it's going to run them but nothing else
[18:15] <methods1> CRON[5106]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
[18:15] <methods1> that's all i see and then nothing else
[18:15] <methods1> anacron test returns 1
[18:18] <escott> methods1, did you make the script in daily executable
[18:18] <escott> methods1, is it properly owned by root?
[18:18] <methods1> hm i just found a post that says it's because the file has a dot in it's name
[18:18] <methods1> it ends in .sh
[18:23] <hallyn> smb: btw is bug 914788 the one you were talking about before?
[18:35] <hallyn> dannf: hey, can you post a debdiff for qemu-linaro against precise for bug 1030594 ?  (if you did, sorry, i don't see it)
[18:42] <zul> hallyn:  didnt i aready upload this augeas upload?
[18:43] <hallyn> zul: no, you did the fakesync, but not this bugfix
[18:44] <zul> hallyn: ah yes
[18:45] <moonpup> is it possible to setup your own "whois server" and if so anyone here ever do it?
[18:47] <zul> hallyn: done
[18:47] <hallyn> zul: thanks!
[20:34] <Z___> hi
[20:35] <ztta> is anybody reading this?
[20:36] <Troy^> hi
[20:36] <Troy^> Yes, we can read it lol
[20:36] <ztta> Ok
[20:36] <ztta> i wanted to ask if there is any way to make data transfer via ssh faster
[20:36] <Troy^> Not everyone is always active here, most people are idle
[20:36] <Troy^> ztta meaning sftp?
[20:37] <ztta> yes, ssh-ftp and i use ssh as internet proxy
[20:37] <ztta> in both cases using different client programs i get 750kbit/sec
[20:38] <Troy^> ztta: i assume this is internal network?
[20:38] <ztta> no
[20:38] <ztta> mostly not
[20:38] <Troy^> .....
[20:38] <Troy^> what are your bandwidth capabilities of yourself and your host?
[20:39] <ztta> 3,3 mbyte/sec i
[20:39] <ztta> and 20mByte/sec or more (idk. exactly) host
[20:39] <Troy^> ok there you go
[20:39] <ztta> i can get full 3,3 mbytes via http
[20:40] <ztta> to the server
[20:40] <Troy^> ok http upload?
[20:40] <ztta> 0,33 mbytes
[20:41] <ztta> my point is: why is ssh so much slower than ssl?
[20:41] <Troy^> you can only upload as fast as your upload connection plus there is many other variables
[20:41] <ztta> i did not confuse upload and download
[20:42] <Troy^> you said http not ssl
[20:42] <ztta> i meant http over ssl
[20:42] <ztta> https
[20:43] <ztta> does that make any difference?
[20:43] <Troy^> you know i have no idea.. i don't have problems using sftp on my internal network
[20:44] <ztta> i only know https is more than 4 times faster than ssh
[20:44] <ztta> and i wonder why
[20:44] <ztta> and if i can change that
[20:46] <Troy^> most likely you probablly can't
[20:46] <Troy^> encryption requires overhead
[20:46] <ztta> :(
[20:46] <ztta> but ssh uses aes
[20:46] <ztta> after handshake
[20:46] <ztta> and https uses
[20:46] <ztta> aes , too
[20:47] <Troy^> http://www.mydigitallife.info/slow-sftp-transfer-speed-with-ssh-connection-ssh2/
[20:47] <patdk-lap> ssh may use aes, are you sure it's really using it? and using it with aes-ni support?
[20:47] <patdk-lap> without aes-ni support your going max out at 60MB/sec
[20:48] <patdk-lap> hmm, I haven't seen aes used for https for most people
[20:48] <patdk-lap> cause it leaves you vaunerable, so normally it's md4
[20:50] <ztta> for ssh i am quite sure i am using aes
[20:51] <ztta> for https i am not that sure
[20:51] <ztta> but i always thought it was used
[20:52] <ztta> and what does that have to do with md4, md4 is a hash function
[20:52] <ztta> i have read about an attack against https which targeted aes
[20:52] <patdk-lap> md4 is hash? when?
[20:53] <patdk-lap> rc4 I mean :)
[20:53] <patdk-lap> heh, too many names
[20:53] <ztta> md4 is long broken^^
[20:53] <ztta> idk. about rc4
[20:54] <patdk-lap> use rc4 cause it's not a chain chipher to protect from beast attack
[20:54] <patdk-lap> so almost everyone enforces it's use by default, unless you don't support rc4
[20:55] <patdk-lap> hmm, are you sure your getting 3.3mBytes and not 3.3mbits over https?
[20:56] <ztta> 3,3 mBytes
[20:56] <Troy^> lol
[20:56] <ztta> ok most of the time only 2,9mBytes
[20:56] <hallyn> stgraber: hm, (on i386 quantal) lxc python apitest is failing on getting ips
[20:57] <hallyn> oh wait, well, there's no dnsmasq running for lxcbr0
[20:58] <ztta> using sshftp it is only 0,6 or so
[20:59] <ztta> i have thought of using ftp, but it is not encrypted :(
[20:59] <ztta> and also i want to use the server as proxy into the usa for streaming
[21:00] <stgraber> hallyn: hehe, no dnsmasq would explain it :)
[21:00] <ztta> but ssh is too slow
[21:01] <hallyn> stgraber: but why isn't it starting, hmm
[21:01] <ztta> i get 0,6 mbyte constantly for both: sshftp and internet proxy
[21:01] <ztta> :(
[21:03] <patdk-lap> what is sshftp?
[21:03] <ztta> ssh file transfer protocol
[21:03] <patdk-lap> sftp?
[21:03] <ztta> yup
[21:04] <hallyn> oh well after the fact it wasn't starting bc lxcbr0 was up (and it wasn't shutting that down bc dnsmasq wasn't running - vicious circle)
[21:04] <hallyn> wonder what messed it up to begin with
[21:05] <hallyn> no OOM killer msgs
[21:05] <ztta> i write sshftp to avoid confusion with simple file transfer protocol
[21:05] <stgraber> hallyn: /var/log/upstart/lxc-net.log should be useful to debug that kind of mess
[21:06] <hallyn> stgraber: but now it does start up :(
[21:07] <ztta> is there an alternative ssh server i could install?
[21:07] <ztta> other than the standard sshd
[21:07] <patdk-lap> there are several
[21:07] <patdk-lap> though dropbear is normally always slower, by like 10x
[21:11] <ztta> i already tried to enable encryption in vsftpd
[21:11] <hallyn> stgraber: well, i don't grok why, but apparently the qa-regression-testing 'test-libvirt.py setup-net' sent it a SIGTERM.  <shrug>
[21:11] <ztta> but somehow my client won't connect anymore
[21:11] <stgraber> hallyn: fun...
[21:12] <hallyn> ah haha
[21:12] <hallyn> there it is.  "effing kill all dnsmasqs"
[21:12] <hallyn> shoulda guessed
[21:12] <patdk-lap> ftps doesn't work behind nat
[21:12] <hallyn> (or, translated,     testlib.cmd(['sudo', 'killall', 'dnsmasq'])
[21:12] <ztta> patdk-lap: good to know
[21:40] <ztta> back
[21:41] <ztta> I am trying to run a program i just compiled.
[21:41] <ztta> It's an elf file
[21:41] <ztta> -bash: program.elf: command not found
[21:42] <ztta> the file exists in my local directory
[21:42] <patdk-lap> did you use ./
[21:43] <ztta> no
[21:43] <patdk-lap> it's not windows
[21:43] <patdk-lap> current path isn't searched
[21:43] <ztta> yay
[21:44] <ztta> you are right, it's not windows
[21:44] <ztta> but thanks, works
[21:56] <ztta> onother problem:
[21:56] <ztta> *another
[21:57] <ztta> how do i run it in background
[21:57] <ztta> even after closing the terminal?
[21:58] <sarnold> ztta: depends on program; sometimes 'nohup ./executable &' is sufficient
[21:58] <sarnold> ztta: some programs have command line switches or config file switches to daemonize
[21:59] <ztta> only command line
[21:59] <sarnold> ztta: some programs just never handle that well and need to be run in screen or tmux
[21:59] <ztta> the program does not daemonize itself
[21:59] <ztta> and has command line switches
[22:00] <ztta> but no config
[22:00] <sarnold> try 'nohup ./foo &' first. If that works, that's easy.
[22:03] <ztta> seems to work
[22:03] <ztta> thx a lot
[22:03] <sarnold> woo :) you're welcome
[22:24] <cincinnatus> Does anyone know if there's a good Web based control panel for Ubuntu servers out there
[22:27] <sarnold> cincinnatus: something like landscape.canonical.com?
[22:27] <cincinnatus> More like webmin but more modern
[22:28] <cincinnatus> I tried zentyal, but it seemed too cpanelish
[22:30] <cincinnatus> Its Web server admin module is so basic that it seems easier/quicker to set up suited the old school way in the command line
[22:33] <cincinnatus> I'm managing one Amazon micro instance, not a big cloud
[22:33] <cincinnatus> So landscape is out
[23:49] <Auckla> So I have unbuntu server 12.04. I have ten static ip's. How do I go about adding each ip via cli?
[23:50] <Auckla> I got the one, I remember back in the day doing something ifconfig eth0 10.10.10.1x255.255.0.0  ifconfigh eth0 10.10.10.2x255.255.0.0 etc etc.
[23:51] <sarnold> that still works, you can also use the newer ip(8) interface
[23:51] <Auckla> sarnold: Thanks.
[23:51] <sarnold> I think you can make these changes persistent via /etc/network/interfaces
[23:51] <qman__> yes
[23:52] <qman__> you can add them with ifconfig or ip, but those will not be persistent unless you add them in /etc/network/interfaces
[23:52] <Auckla> http://www.liberiangeek.net/2010/09/create-multiple-static-virtual-ip-addresses-ubuntu-10-10-maverick-meerkat/
[23:52] <Auckla> Found that link seems right?
[23:52] <Auckla> Been like ten years.
[23:52] <qman__> yes, that is the correct way to add them to /etc/network/interfaces
[23:53] <qman__> this style of networking configuration is how debian and debian-derived systems do it (ubuntu)
[23:54] <qman__> ten years ago you were probably using redhat, which does things way different
[23:55] <Auckla> Slakware.
[23:55] <Auckla> I'm not a fan of redhat.
[23:55] <qman__> neither am I
[23:55] <Auckla> Seems like veroyn around me these days loves cent0s.
[23:55] <Auckla> I ran slakware 4-7.
[23:56] <Auckla> Failed to bring up eth0:1.
[23:57] <Auckla> my config
[23:57] <Auckla> http://pastebin.com/ntfLdUai
[23:57] <qman__> can't have the same gateway twice
[23:57] <Auckla> Ahhh.
[23:57] <qman__> if they're all on the same subnet
[23:57] <Auckla> They are.
[23:57] <qman__> skip the gateway and dns stuff, just do the address and netmask
[23:58] <qman__> for all but the first, that is
[23:58] <Auckla> Hurray for Jesus!
[23:58] <Auckla> Thank you!
[23:58] <Auckla> qman__: ! :D