[01:02] 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] hallyn: thanks! I'll give it a look this we [01:56] 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] I've tried the following IPtable rule: iptables -t nat -A POSTROUTING -p udp --sport 1400:1499 -j SNAT --to-source :69 [01:57] hallyn: oooh! putting the latecommand.sh in the initrd is a great idea [01:58] 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] 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] Any ideas? [01:58] hallyn: thanks for all of that, lots of great stuff there [02:00] 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] 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] i'll be offline most of weekend, ttyl [03:16] 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] busy night? [03:28] 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] Ahhh huhuh... is this thing on? [03:31] sounds like it can't locate your root drive [03:31] right, I can boot with the cd into recovery and I can get to the partition [03:32] 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] swimfins: So, what strange disk controller does your server have in it? [03:34] I'm sure it's a SCSI issue, but I don't know how to troubleshoot it from here. [03:34] Its an LSI MPT Fusion [03:35] I found lots of posts on google, but nothing that helped. [03:35] what model? [03:36] 1030 [03:36] ah a lsi 1030 [03:37] ha, you've stepped in this before? [03:37] don't have that one, I have a machine with an 3008 in it, it works fine [03:38] strange thing is that it installs just fine. it just won't boot [03:39] I have seen a few times here the system forgets what driver it needs [03:40] if you can boot using a cd, to get into the install [03:40] try adding the modules needed to /etc/initramfs-tools/modules [03:41] once it boots go to busybox with alt-F2? [03:42] dunno what that is [03:42] before it checks for hardware? [03:42] I thought you meant during the install [03:43] boot into the recovery and modify the /modules? [03:43] na [03:43] hmm, I can only find into up to kernel 2.6.23 [03:44] I think I'm at 2.6.23-33 [03:44] mptsas module [03:44] you should be on 2.6.32 for lucid [03:45] my mistake [03:45] will the mptsas work for scsi? [03:45] you don't have sas? [03:46] no, it's scsi [03:46] actually here you go [03:46] bug #579572 [03:46] Launchpad bug 579572 in linux "Lucid: Gave up waiting for root device (mptsas) resolved by rootdelay" [Undecided,Confirmed] https://launchpad.net/bugs/579572 [03:50] booting to rescue to try. [03:57] nope, I modified the /etc/defaullt/grub and did update-grub and it still does the same thing [03:59] swimfins: Just in case, wait 3 minutes at the initramfs shell prompt and then type exit and see if it then boots? [04:00] 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] yes, it boots. [04:05] to x but it boots [04:06] do I need to extend the rootdelay? [04:06] Sounds like it to me. Try 180 which is 3 minutes [04:07] Wait... this is a server install, and it boots to X ? A server install doesn't *install* X by default... ? [04:07] That's what I thought [04:08] Sounds like you used a Desktop CD by accident? [04:08] the last install I did was from the alternate cd [04:08] alternace CD is a desktop image. [04:08] my bad, I'll have to reinstall [04:08] I'll try the rootdelay first. [04:11] there is still a disk problem because it tells me I only have 2GB left in / [04:11] it's like a 40Gb raid partition [04:13] it's like its booting to the wrong partition [04:20] so the boot was ugly and it looked like it was going back to the initramfs prompt, but it did eventually boot [04:21] you rock jmarsden [04:21] 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] yep [04:23] 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] 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] Thanks again for the help. [04:27] You're welcome. [04:37] looks like what I needed to do was to delete all existing partitions first. [04:38] for some reason I thought a fresh install would do that. [04:41] okay, finally got the stupid remote to pair with forked-daapd. [05:11] jmarsden, it's an ugly boot with lots of failures and nasty messages, but it eventually boots [05:12] 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] it looks like its about to go to the initramfs prompt when the screen blinks and it goes to a login prompt [05:14] you rock [05:14] by he way [05:14] the [05:16] :) Thanks. [07:06] New bug: #821830 in postfix (main) "package postfix 2.8.2-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/821830 [07:12] which has more features and which is more easy to install and handle? drupal, elgg, or wordpress/buddy press ? any suggestions please.? [07:51] New bug: #821840 in samba (main) "package samba-common-bin 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: Abhängigkeitsprobleme - verbleibt unkonfiguriert" [Undecided,New] https://launchpad.net/bugs/821840 === zz_ng_ is now known as ng_ === Refael is now known as FernandoTertiary [10:43] 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] i have heard buddypress cannot work for heavy load. or not suitable for facebook similer social networking sites as contrasted to drupal ? === ejat- is now known as ejat [12:05] 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] 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] On disk /dev/sda it says.. doesnt contain a valid partition table.. [12:43] so? [12:43] what one did you want to clone from? [12:43] sda? or sdb? [12:44] 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] serial number? model number? [12:45] checking what one is configured with fdisk? [12:45] bernhard1: does fdisk -l show you what you need? [12:46] or at least enough to identify [12:46] why do you want to clone with dd ? [12:46] those disks are identical 300gb velociraptor. On one is my server install. i want to clone that to the second disk. [12:47] when i use fdsk -l i get sda and sdb but with same details [12:47] only on sda it says that it does not contain a valid partition table. [12:52] bernhard1: that's not the same then [12:52] but still, why do you want to do this? [12:53] 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] hmm :( [13:02] 24 port 10gig switch is 8k :( [13:02] 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] 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] dd if=/dev/sdb of=/dev/sda bs=1M [13:12] still seems alittle pointless though [13:12] so my empty disk is sda and my installed disk (source) is sdb [13:12] your going have to keep them updated somehow [13:13] 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] sda is empty sdb = server [13:17] commando: dd if/dev/sdb of=/dev/sda is correct? [13:17] that will take all day [13:17] use the command I said [13:17] bs=4m not better [13:17] ? [13:17] technically, anything larger than 64k is likely to not matter === ng_ is now known as zz_ng_ [15:01] New bug: #821963 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/821963 === medberry is now known as med_out === unreal_ is now known as unreal [20:55] 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] 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] anyone know a commandline utility I can use to generate $6$ type hashs? [22:25] if i want to accsess a server via ssh from outside the network do I type "ssh domain computer name@user" ? [22:26] ssh user@servername