[01:02] <args[0]> I need to rsync files between my server and my own machine once every 6hrs, how can I pass the password since this will be handled by a cron?
[01:19] <mdeslaur> hallyn: thanks! I'll give it a look this we
[01:56] <baffle> I'm trying to rewrite payload-packets from a tftpd-server, anyone have any hints? The tftp-client will connect from random hiport (ex: 2000) to tftpd at port 69. TFTP will then send payload from ports 1400:1499 to the random client highport. The problem is that this doesn't pass a NAT-firewall on the client side.
[01:57] <baffle> I've tried the following IPtable rule: iptables -t nat -A POSTROUTING -p udp --sport 1400:1499 -j SNAT --to-source :69
[01:57] <mdeslaur> hallyn: oooh! putting the latecommand.sh in the initrd is a great idea
[01:58] <baffle> But it doesn't work. If I set SNAT to "--to-source :70", it will work, except that replies will come from port 70, not port 69, and thus will not pass the firewall. It seems no packets will flow if I rewrite to sorceport 69.
[01:58] <mdeslaur> hallyn: If you don't mind, I'm going to start by trying to not repack the isos, and then I'll incorporate your changes, but will make most of them apply to the other install types as well
[01:58] <baffle> Any ideas?
[01:58] <mdeslaur> hallyn: thanks for all of that, lots of great stuff there
[02:00] <baffle> args[0]: You don't, you use public/private ssh keys either without a password, or with the password inside an ssh-agent.
[03:13] <hallyn> mdeslaur: cool, thx.  give the credit to smoser, i only spent a few hours figuring out that i needed to rip off his idea :)
[03:14] <hallyn> i'll be offline most of weekend, ttyl
[03:16] <hallyn> oh, actually - it did occur to me that it would probably work just as well to hack initrd's /init to modprobe iso, mount /cdrom, and then proceed as the others do.  Dunno which is cleaner.
[03:25] <swimfins> busy night?
[03:28] <swimfins> I ran an install of 10.10 LTS and everything seemed okay until I rebooted. I'm getting an (initramfs) prompt.  Any ideas?
[03:30] <swimfins> Ahhh huhuh... is this thing on?
[03:31] <patdk-lap> sounds like it can't locate your root drive
[03:31] <swimfins> right, I can boot with the cd into recovery and I can get to the partition
[03:32] <swimfins> Been working on this for a couple weeks now.  When I go to 11.04, it won't see the dirves at all
[03:33] <jmarsden> swimfins: So, what strange disk controller does your server have in it?
[03:34] <swimfins> I'm sure it's a SCSI issue, but I don't know how to troubleshoot it from here.
[03:34] <swimfins> Its an LSI MPT Fusion
[03:35] <swimfins> I found lots of posts on google, but nothing that helped.
[03:35] <patdk-lap> what model?
[03:36] <swimfins> 1030
[03:36] <patdk-lap> ah a lsi 1030
[03:37] <swimfins> ha, you've stepped in this before?
[03:37] <patdk-lap> don't have that one, I have a machine with an 3008 in it, it works fine
[03:38] <swimfins> strange thing is that it installs just fine. it just won't boot
[03:39] <patdk-lap> I have seen a few times here the system forgets what driver it needs
[03:40] <patdk-lap> if you can boot using a cd, to get into the install
[03:40] <patdk-lap> try adding the modules needed to /etc/initramfs-tools/modules
[03:41] <swimfins> once it boots go to busybox with alt-F2?
[03:42] <patdk-lap> dunno what that is
[03:42] <swimfins> before it checks for hardware?
[03:42] <swimfins> I thought you meant during the install
[03:43] <swimfins> boot into the recovery and modify the /modules?
[03:43] <patdk-lap> na
[03:43] <patdk-lap> hmm, I can only find into up to kernel 2.6.23
[03:44] <swimfins> I think I'm at 2.6.23-33
[03:44] <patdk-lap> mptsas module
[03:44] <patdk-lap> you should be on 2.6.32 for lucid
[03:45] <swimfins> my mistake
[03:45] <swimfins> will the mptsas work for scsi?
[03:45] <patdk-lap> you don't have sas?
[03:46] <swimfins> no, it's scsi
[03:46] <patdk-lap> actually here you go
[03:46] <patdk-lap> bug #579572
[03:50] <swimfins> booting to rescue to try.
[03:57] <swimfins> nope, I modified the /etc/defaullt/grub and did update-grub and it still does the same thing
[03:59] <jmarsden> swimfins: Just in case, wait 3 minutes at the initramfs shell prompt and then type exit and see if it then boots?
[04:00] <jmarsden> Otherwise you will want to look for other info about what is happening, either on screen or in log files, to troubleshoot this further, I think.
[04:04] <swimfins> yes, it boots.
[04:05] <swimfins> to x but it boots
[04:06] <swimfins> do I need to extend the rootdelay?
[04:06] <jmarsden> Sounds like it to me.  Try 180 which is 3 minutes
[04:07] <jmarsden> Wait... this is a server install, and it boots to X ?  A server install doesn't *install* X by default... ?
[04:07] <swimfins> That's what I thought
[04:08] <jmarsden> Sounds like you used a Desktop CD by accident?
[04:08] <swimfins> the last install I did was from the alternate cd
[04:08] <jmarsden> alternace CD is a desktop image.
[04:08] <swimfins> my bad, I'll have to reinstall
[04:08] <swimfins> I'll try the rootdelay first.
[04:11] <swimfins> there is still a disk problem because it tells me I only have 2GB left in /
[04:11] <swimfins> it's like a 40Gb raid partition
[04:13] <swimfins> it's like its booting to the wrong partition
[04:20] <swimfins> so the boot was ugly and it looked like it was going back to the initramfs prompt, but it did eventually boot
[04:21] <swimfins> you rock jmarsden
[04:21] <jmarsden> You're welcome.  OK, so now you have a running system which you can use to debug/troubleshoot further with if you need to do that.
[04:22] <swimfins> yep
[04:23] <swimfins> just need to figure out why the partition is not right.  Maybe I need to do a manual part instead of the guided with LVM?
[04:24] <jmarsden> It should work either way.  But since you will reinstall anyway to get server not desktop, you can test that as part of the reinstall.
[04:26] <swimfins> Thanks again for the help.
[04:27] <jmarsden> You're welcome.
[04:37] <swimfins> looks like what I needed to do was to delete all existing partitions first.
[04:38] <swimfins> for some reason I thought a fresh install would do that.
[04:41] <DanaG> okay, finally got the stupid remote to pair with forked-daapd.
[05:11] <swimfins> jmarsden, it's an ugly boot with lots of failures and nasty messages, but it eventually boots
[05:12] <jmarsden> OK.  You can pastebin logs of the ugly msgs and ask for help with them if you need to.  At least you have a bootable Ubuntu server now :)
[05:14] <swimfins> it looks like its about to go to the initramfs prompt when the screen blinks and it goes to a login prompt
[05:14] <swimfins> you rock
[05:14] <swimfins> by he way
[05:14] <swimfins> the
[05:16] <jmarsden> :)  Thanks.
[07:12] <Guest21798> which has more features and which is more easy to install and handle? drupal, elgg, or wordpress/buddy press ? any suggestions please.?
[10:43] <jared555> Does anyone know if it is possible to configure dhcpd to handle a dynamic 6to4 IPv6 address (comcast); or would I have to either use scripts to generate the config file or use something like he tunnelbroker?
[10:51] <Guest21798> i have heard buddypress cannot work for heavy load. or not suitable for facebook similer social networking sites as contrasted to drupal ?
[12:05] <bernhard1> when i boot the server cd 11.4 in rescue mode to be able to make an image with DD the prompt has only a few commands: i need to be able to see the harddrives first to see which to clone to which drive.
[12:32] <bernhard1> booted with knoppix and through fdisk -l i see my two disks. i want to clone the installed disk to the other disk with dd. But how do i know which is the empty disk ?
[12:33] <bernhard1> On disk /dev/sda it says.. doesnt contain a valid partition table..
[12:43] <patdk-lap> so?
[12:43] <patdk-lap> what one did you want to clone from?
[12:43] <patdk-lap> sda? or sdb?
[12:44] <bernhard1> thats my question. how can i see which is the drive i want to clone when they are unmounted ? they have the same size..
[12:45] <patdk-lap> serial number? model number?
[12:45] <patdk-lap> checking what one is configured with fdisk?
[12:45] <StevenR> bernhard1: does fdisk -l show you what you need?
[12:46] <StevenR> or at least enough to identify
[12:46] <StevenR> why do you want to clone with dd ?
[12:46] <bernhard1> those disks are identical 300gb velociraptor. On one is my server install. i want to clone that to the second disk.
[12:47] <bernhard1> when i use fdsk -l i get sda and sdb but with same details
[12:47] <bernhard1> only on sda it says that it does not contain a valid partition table.
[12:52] <StevenR> bernhard1: that's not the same then
[12:52] <StevenR> but still, why do you want to do this?
[12:53] <StevenR> if you know physically which disk is which, you could use the serial numbers to tell them apart, and look at dmesg or maybe fdisk -l to work out which is which
[13:02] <patdk-lap> hmm :(
[13:02] <patdk-lap> 24 port 10gig switch is 8k :(
[13:02] <bernhard1> i want to clone disk to have a spare disk which can boot my same server (for instance disk is broken. Then i have a spare working one.
[13:11] <bernhard1> oke i found out which is which.. the one whith indentifier 0000 is the empty disk it also gives the message doesnt contain valid partition table.
[13:11] <patdk-lap> dd if=/dev/sdb of=/dev/sda bs=1M
[13:12] <patdk-lap> still seems alittle pointless though
[13:12] <bernhard1> so my empty disk is sda and my installed disk (source) is sdb
[13:12] <patdk-lap> your going have to keep them updated somehow
[13:13] <bernhard1> thats true.. but when the disk is broken i have still got a working disk and i can do this one a month for instance..
[13:17] <bernhard1> sda is empty sdb = server
[13:17] <bernhard1> commando: dd if/dev/sdb of=/dev/sda                 is correct?
[13:17] <patdk-lap> that will take all day
[13:17] <patdk-lap> use the command I said
[13:17] <bernhard1> bs=4m not better
[13:17] <bernhard1> ?
[13:17] <patdk-lap> technically, anything larger than 64k is likely to not matter
[20:55] <cjs226> i have ubuntu-desktop 11.04 installed in a vm i'm using to tinker with.  how can i disable X from starting?  google's not returning working solutions
[22:20] <bernhard1> when ubuntu server boot it gives some choices to boot: recovery mode etc. How can i disable these choices and make it just boot the ubuntu server?   (i noticed that it does not have the countdown and booting unbuntu normally when i make the boot partition read only).
[22:24] <Patrickdk> anyone know a commandline utility I can use to generate $6$ type hashs?
[22:25] <philipballew> if i want to accsess a server via ssh from outside the network do I type "ssh domain computer name@user" ?
[22:26] <Patrickdk> ssh user@servername