[00:00] alienseer23: wget -S the URL the content type is listed in teh headers [00:00] cclausen: duh...yes it is [00:00] * alienseer231 is feeling like a rockhead [00:03] cclausen: this was happening before when I would log into gallery2, so I went to do an upgrade, and now it's doing this in the middle of the upgrade process [00:06] There is an issue with gallery2.3 not being happy with the latest version of php5, I think it is messing with authentication, which killed my drupal installations using the gallery2 integration, so I upgraded to 2.3.1., and am now stuck half way through the upgrade... gallery2 and drupal are now both defunct [00:06] drupal5 doesn't support php 5.2 either [00:06] err, php 5.3 [00:06] I'm having that problem right now myself... [00:07] and I will have the gallery problem soon too... [00:07] but many of the other issues I was having turned out to be the version of php-apc in the repo, so I purged it and tt-rss is go, as is a few of my other scripts [00:07] * alienseer231 is using drupal6 [00:09] is php-apc an opcode cacher? [00:09] I think I'm having problems with xcache... [00:11] yeah, "alternative php cache" [00:12] i got rid of that after fixing the issues you helped me find, and a lot of my stuff just started working right along [00:16] problem is if I get rid of xcache, everything starts running really slow [00:17] hrm... [00:18] I am going to be installing APC via pecl, worked fine b4 [00:21] Does anyone know of the most simple configuration of have a local server with file storing? [00:22] Kaprenakis: what do you need to be able to do? [00:22] Kaprenakis: just using SSH/SFTP to copy files to and from the server is pretty simple [00:22] cclausen: ok i have pcs and ubuntu machines what kind of setup would you recommmend? [00:23] when you say "pcs" what do you mean? [00:23] cclausen: Windows.. [00:23] cclausen: sorry. [00:23] ok, so you need shared storage that works on Windows and Linux [00:24] have you tried samba? or some other cifs server? [00:24] cclausen: Samba is one that I havent messed around with but many people say its a good option [00:25] ssh is still good, just use filezilla to get to them from your windows pc? [00:25] alienseer231: Is filezilla like Putty? Or am I confused? [00:27] Kaprenakis: filezilla is an (s)ftp resource browser, it is in the ubuntu repo if you want to check it out [00:27] ok [00:27] it is a two paned browser so it's pretty easy to get fikles from one resource to the other [00:52] Hey Guys Looking at getting some help if anyone is able to :) [00:53] did you read the message when you joined the channel? "Don't ask to ask, just ask." [00:54] hi I was wondering if someone could help me with some mysql set up? for my development machine [00:54] fourcolors: what problems are you having? [00:55] ccheney, well I have the newest version of ubuntu LTS and I installed mysql just fine and its working. I also downloaded the emma gui client to manage everything..... [00:56] ccheney, my question is this, I'm coming from postgreql and I am trying to understand how mysql is structured. For instance, I logged into my root mysql database then said "create database foo" [00:56] and that created a database under the mysql root database? or something like that [00:56] fourcolors: there isn't a heirarchy. it created a new database. [00:57] but don't I want to create a regular database not under the mysql root [00:57] oh [00:57] you probably need to create a user account and grant access to this new database to the user you create [00:57] @fourcolours i would personally get phpmyadmin to manage the database as its easier to manage it [00:57] ok my question is then, how do I set up the correct username and password for that database and what connection should I be making etc. [00:57] oh [00:58] cclausen, when you say user account do you mean a ubuntu user or a new mysql user [00:58] if there is such a thing [00:58] mysql user [00:58] mysql has its own internal accounts [00:58] oooh [00:58] that's perfect. Makes a lot of sense [00:59] grant all on foo.* to user 'foo'@'localhost' identified by password ... or something like that [01:00] cclausen, ok so the steps i need to take (ll look up the sql). Is Create a new user, give it a username and password etc. and then create a new database with that user . === dendrobates is now known as dendro-afk [01:00] I would create the db first [01:00] you can't grant permissions on something that doesn't exist yet [01:00] (or at least I don't think you can) [01:01] and you need to flush priv...; for teh changes to take effect [01:01] LynXnz: what did you need help with? [01:01] * cclausen just upgraded a MySQL server to Lucid [01:02] got a call of duty 4 server running but i have a console open for it to stay running, therefor i want to run it on boot and background'ed with an init script but i have no idea where to start for writing it [01:05] LynXnz: you can probably control it from inittab and have init attach it to a tty directly at bootup [01:05] not sure if you want to do that or not though [01:05] i want to be able to issue a command like service cod4-1 restart or something to restart it [01:06] if using inittab, you could just kill it and init would respawn it [01:07] or, look into writing an upstart config file [01:07] which I guess is the init in lucid now [01:08] yeah, ill look into that, do you have any good links that i can have a look at? [01:09] man upstart [01:09] and start reading [01:09] okay will do :) [01:09] also look in /usr/share/doc/upstart [01:09] and read through those [01:10] okay cheers [01:12] i want to run my website in a vm (vbox). both guest and host are ubuntu. anyone did that? what network should i chose? (NAT or Bridged)? [01:13] a NAT sounds like a pain for a server [01:13] I would use bridged [01:13] do you have multiple IPs to use ? [01:14] hi [01:14] lwizardl: hi [01:15] I was wondering if it would be possable to have a IPCOP firewall and a httpd server on the same machine? [01:15] you can have a firewall and a webserver on teh same machine [01:15] cclausen: no. it's just for testing btw. i only have whatever ip the isp gives me. [01:15] IPCOP appears to be its own distro though [01:16] owen1: do you have a router now or are you using your one IP directly on your host system? [01:17] lwizardl: I would just use the built-in linux iptables firewall instead of IPCOP. do you have a specific reason to use IPCOP? I think it will limit what you can do [01:17] cclausen: when u say router, r u talking about the box i got from my isp? if that what u mean yes. i have one. [01:18] owen1: thats the modem. [01:18] owen1: then you have an internal non-routable IP that your computer is on? 192.168.*.* or similar? [01:18] cclausen, well IPCOP has lots of features that I like. for example if you download an update for any os you can configure it to store the updates on the firewall server to cut down on how many times you need to download itfor other machines (which cuts down on the hosts bandwitdhs [01:19] cclausen, plus you can dissable sites and such. like block all p2p on the network [01:19] lwizardl: apt-cacher does this too [01:19] or you can setup a full blown http proxy like squid [01:20] cclausen, yeah but i don't think apt-cacher would work for windows and osx [01:20] well, no [01:20] squid would though [01:20] cclausen: my machine is also available with external ip (it might change my the isp though). [01:20] cclausen, i think ipcop uses aquid [01:20] err squid [01:20] cclausen: i can ssh from work for example. [01:20] owen1: pick one and see if it works [01:20] lwizardl: will IPCOP let you install a web server? if so, you've answered your own question === dendro-afk is now known as dendrobates [01:21] cclausen: pick what? [01:21] cclausen, i think ipcop uses apache so yes but not sure if it uses a modded version or not [01:21] owen1: NAT or bridged [01:21] cclausen: i am reading about bridged vbox now [01:22] a network "bridge" passes data between the networks at the OSI layer 2 level [01:22] e.g. at the ethernet level for the common case [01:22] NAT works at layer 3 and does voodoo with IP addresses and port mappings [01:25] ah. memories from networking class.. [01:58] Is it possible to make a duplicate partition on two servers? .. Like a RAID1 volume where the drive sits on two systems. Then each is identical and accessible to the system as a normal partition. [01:59] MTecknology: like drdb? [02:00] MTecknology: you can also iSCSI share a volume for two servers and mirror the data locally on the initiator server [02:00] cclausen: EXACTLY like that :D [02:00] note that I'd only use drdb over a dedicated network (or a cross-over cable) [02:01] probably not very secure? [02:01] nope [02:01] which makes perfect sense [02:01] (unless you use a dedicated storage network) [02:01] you can also IPsec wrap the connection, but that would make it slow [02:01] how much slower? [02:02] depends on the CPU of the systems [02:02] if you can geustimate any number :P [02:02] and if your network cards can offload IPsec transactions [02:02] We'll probably get a quad core [02:02] I think single DES can be done at line speeds on 100BASE [02:02] systems weren't purchased yet [02:02] not sure about anything else. haven't looked into it at all [02:03] MTecknology: I'd test the setup with VMs before buying hardware [02:03] actually..... [02:03] they'll be vm's anyway :P [02:03] it says mainline in 2.6.33. lucid has 2.6.32... [02:03] MTecknology: so what is your goal here? [02:03] several systems already do VM failover between hosts [02:03] lol.. seriously that far off... [02:04] My goal is to make Drupal websites fully redundant - even file uploads [02:04] I could use NFS or rsync but a lot of reasons ruled out those options [02:05] iSCSI is going to get too expensive for what we need it for [02:05] you can run software iscsi [02:06] iSCSI enterprise target [02:06] how much different is that from drbd? [02:06] its a standard instead of some random protocol drdb invented [02:07] iSCSI will work with other vendors and other products [02:07] you could even use drbd on the backend to your software iSCSI [02:07] so you get redundancy and standard protocols [02:08] I guess the bigger question is, do you need this at the storage layer? Or just run your VMs on ISCSI directly? [02:09] If I were to buy a server today, would I be able to easily find one with 3 nic's? [02:09] if not, just add NICs to it [02:09] sorry, popping thoughts - thinking about the cx cable [02:09] they still make them for PCI and PCIe slots [02:09] gigE is auto-cross [02:09] its in the spec [02:09] you could probably go 10gig for just two systems [02:09] gigE? [02:10] for just the storage [02:10] oh [02:10] 1000BASE - gigE = gigabit Ethernet [02:10] I like that idea [02:10] My thought is to bind the other nic's to a single interface [02:11] hmm... maybe not. like $1000 per 10gig NIC [02:11] * MTecknology eyes pop [02:11] maybe just a gigabit nic [02:11] yeah [02:12] lol [02:12] that should be like around $100 for a good one [02:12] save ~$1,800 [02:12] back to the other part... [02:13] i have a guest ubuntu server with bridged interface. i see this in showvminfo: 'NIC 1: MAC: 0800275D70EA, Attachment: Bridged Interface 'eth0', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps' [02:13] My goal is to have multiple web servers. I can easily deal with thy [02:13] how to ssh to my guest? ssh :port ?? [02:13] My goal is to have multiple web servers. I can easily deal with the sql behind it and the proxy, my biggest challenge is the changing files [02:13] owen1: for the most part, yes, it should work the same way it does now [02:14] owen1: user@host [02:14] MTecknology: do you want to handle planned outages? Or scheduled outages? [02:14] -p [02:14] cclausen: do i need to port forward on my router? [02:14] cclausen: and what port is my guest on? [02:14] owen1: if you only have a single external IP, yes, probably [02:14] cclausen: both [02:15] MTecknology: ah, ok. I was going to suggest using openafs. but it doesn't do read-write replication, just read-only [02:16] cclausen: My thoughts are 2 physical systems. Then on one, my primary vm's; then ont eh other, near copies. Then if somebody unplugs (or more likely, I need to reboot) the host; then everything will keep working without a hiccup. [02:16] cclausen: can I use drbd without the .33 kernel? [02:16] MTecknology: probably, but you'd need to compile it in yourself [02:17] cclausen: you mean, compile module (package), then modprobe? [02:17] not sure [02:17] might need to be compiled into the kernel directly [02:17] if it'll work as a module.. [02:17] and not a module [02:18] How long until 10.05? [02:18] :P [02:18] 10.04.01 will be out in July, I think [02:18] but that isn't likely to have a newer kernel [02:19] what kernel does 8.04 have? [02:19] actually, there is drbd0.7-module-source [02:19] I suppose there's always the upstream kernel releases too [02:19] you should be able to install that [02:19] err, drbd8 [02:19] :CD [02:19] http://packages.ubuntu.com/lucid/drbd8-source [02:19] :D * [02:19] hardy has 2.6.24, I think [02:20] my courier authlib is missing libauthmysql.so .. how do I get my grubby little paws on this one file I need to get my imap server to log me in? [02:20] I tried .34-rc5 on my laptop - it hated me [02:20] how to find the port my guest os is running on? showvminfo doesn't show any info about ports. [02:20] cclausen: I think I really really want to hug you right now [02:20] MTecknology: lsof -i [02:20] owen1: did you install openssh-server in the vm? [02:21] hey guys [02:21] bluethundr_: hm? [02:21] also netstat -tulpn [02:21] MTecknology: yes [02:21] these commands will show you what ports are active on your system [02:21] MTecknology: i can ssh to the host [02:21] have anyone here ever used a cobolt qube 2700 ? [02:21] owen1: it's probably running on 22 [02:21] bluethundr_: you answered the wrong person [02:21] k [02:21] :P [02:22] I see owen1 was needing help heh [02:22] owen1: check out what bluethundr_ said too [02:22] anyone got a clue on my libauthmysql.so problem? :) [02:22] cclausen: you need to make a wiki page for yourself [02:23] bluethundr_: let me see [02:23] owen1: you should bridge the interface, setup your vm to grab a lan ip, then ssh into that ip [02:23] owen1 grazi [02:23] MTecknology: I have a wiki page: https://wiki.cites.uiuc.edu/wiki/display/~cclausen [02:24] owen1: if you have to ssh from outside the lan and only have one ip, then setup your router to forward a random port to 22 inside the lan [02:24] MTecknology: all i did so far is: VBoxManage modifyvm "ubuntu server" --nic1 bridged --bridgeadapter1 eth0. [02:24] cclausen: I meant wiki.ubuntu.com [02:24] owen1: what ip does your guest have? and what does the host have? [02:24] MTecknology: I don't even have an account there... [02:24] owen1: pastebin ifconfig output from both [02:25] cclausen: your launchpad account - openid magically creates your account [02:27] MTecknology: my host is 72.129.82.140 but it can also be accessed from 192.168.1.2. i don't know the ip of my guest. how do i find it? [02:27] cclausen: you host is a public IP? You have no router in between? [02:27] owen1: ipconfig [02:27] owen1: your host is a public IP? You have no router in between? ** [02:28] MTecknology: yes. I just have one IP and my home desktop is on it [02:28] I share the connection from my desktop using internet connection sharing [02:28] cclausen: sorry, wrong person [02:28] I always use a router in between [02:28] MTecknology: my host was given to my by my isp. and i can access it from anywhere. does that mean it's public ip? [02:29] owen1: just pastebin ipconfig -a output from both systems [02:29] cclausen: when u say both system, what do u mean? host and guest? i can't find a way to ssh into my guest so i can't provide you this. [02:30] owen1: .. you should probably check out kvm instead of vmware - for ubuntu it's much better supported and documented [02:30] i can run it from the host (i ssh into the host, start the guest vm, etc) [02:30] MTecknology: i use vbox [02:30] owen1: then s/vmware/vbox/ [02:31] in the setup guide for kvm it specifically says how to deal with bridged interfaces, how to setup the IP's, how to get into the system if you can't ssh in, etc. [02:32] !kvm | owen1 [02:32] owen1: kvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM [02:33] MTecknology: thanks, i'll check it out after i'll feel that vbox failed me.. [02:34] owen1: vbox will work but your support may be easier found in #vbox [02:34] for the issue you're having - we're going to have a hard time helping you [02:35] cclausen seems brilliant and may be able to come up with something else to help [02:35] here is a pastebin of my hosts's ifconfig and netstat - http://pastebin.com/zmw5y2Hs [02:35] reading your doc [02:36] owen1: ya... you don't even have a bridged interface - you need that [02:38] cclausen: hey... maybe you can help me with one other thing... [02:39] MTecknology: maybe, what? [02:39] MTecknology: thanks, i found this - http://www.ubuntugeek.com/how-to-set-up-host-interface-networking-for-virtualbox-on-ubuntu.html i hope it's what u meant. [02:40] cclausen: kvm on my host - I can't enable ufw because it kills my connection to every other system. ideally, if something is detined for the host it'll have to match the rules; otherwise it just passes through the rules into the vm's where the vm's deal with it [02:41] owen1: no - just a simple bridged interface - there's nothing vbox speficic about it [02:41] owen1: but ya, that looks about right [02:41] MTecknology: you want the firewall on teh host to block for teh VMs too? [02:42] cclausen: nope, I want ti blocking for itself only - vm's have ufw and they can deal with it themselves [02:43] MTecknology: ok, that should work. I'm not sure what is being blocked, but can you run the firewall in a log-only mode first? e.g. log what would be blocked? [02:43] * MTecknology upgrades production systems to 10.04 in 17min [02:44] cclausen: alrighty - once I get the production systems moved up I'll get some output and then annoy you so I don't have to run off shortly into it :) [02:45] MTecknology: sounds good. I'm watching windows 2008 do the upgrade to R2 right now.. [02:45] ouch [02:48] * MTecknology cusses at identi.ca+jabber+bitlbee [02:55] 4min - I'll loose irc in the process :( [03:06] Does anyone know anything about file server + music streaming? [03:07] !anyone [03:07] A large amount of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? [03:08] Kaprenakis: i know the people working on http://github.com/avuserow/amp [03:08] Kaprenakis: the setup I know of reads music out of openafs as needed [03:08] although its not exactly streaming [03:09] I used to have a vibe music streaming system - but iirc - it's windows only [03:09] I've had good luck getting the darwin streaming server to work on multiple platforms. worked much better than icecast [03:10] there- one production system back up and running completely [03:10] mmm i disconnected [03:11] Kaprenakis: 21:09 < MTecknology> I used to have a vibe music streaming system - but iirc - it's windows only 21:09 < cclausen> I've had good luck getting the darwin streaming server to work on multiple platforms. worked much better than icecast [03:12] MTecknology: darwin streaming server, can you set that up on a clean install of ubuntu server 10.04 ? [03:12] cloakable: I think he meant you [03:13] yes sorry. [03:13] MTecknology Tys for the repost. [03:14] cclausen: Could I install Ubuntu Server 10.04. Install Samba for the file server. Then install darwin streaming server to play those files that are being hosted on the file server? [03:15] Kaprenakis: that should work [03:16] Kaprenakis: there are probably some much newer music streaming programs out there too. I'd look around (or apt-cache search) [03:16] Kaprenakis: do you need to stream over the internet? Or just on the local subnet? [03:19] cclausen: I would like to be able to stream over the internet [03:20] cclausen: Also I would like to have something that would require you to log in. === dendrobates is now known as dendro-afk [03:21] Kaprenakis: http://www.ubuntugeek.com/streaming-media-server-in-ubuntu-gnulinux-using-gnump3d.html <- check that out [03:22] not sure if it has a password though... [03:22] Kaprenakis: do you really need to stream across the internet? Or can you run the player anywhere and just get to files from across the internet? [03:23] I keep some of my music in openafs and just listen to it from anywhere by acessing teh file space [03:24] Kaprenakis: there is also: http://www.oreillynet.com/xml/blog/2004/12/streaming_itunes_from_ubuntu.html [03:25] cclausen: what is openafs? [03:25] Kaprenakis: openafs is a distributed filesystem -> http://www.openafs.org its not easy to setup though [03:27] cclausen: yeah that doesnt look to noob friendly.. [03:29] Kaprenakis: the ubuntu packages actually are fairly easy to install, but you'd need an afs client on various computers that you'd use so I'm not sure if that would work or not [03:30] works great for me. secure, (encrypted) file space I can literally access from anywhere in the world. [03:30] cclausen: you access it from your computer correct? or any computer anywhere? [03:30] any computer with an AFS client [03:30] cclausen: ok [03:31] cclausen: well then thats not exactly what I'm looking for then. [03:31] cclausen: I need it to be built in the browser, streaming [03:40] cclausen: So do you think samba server is the best to host files for local or outside access? [03:41] Commercial on the TV: "Everything that goes into your linux system is designed to save you money." - Turns out she said "Lennox" [03:46] Kaprenakis: samba probably isn't good to use over the internet [03:47] cclausen: well i would store the files via samba but stream those files from the samba server.. does that work? [03:47] maybe [03:48] cclausen: or should i say is it secure? [03:51] its as secure as your streaming program [04:07] Is howtoforge down for anyone else [04:08] appears to be, yes [04:08] cclausen: alrighty, so is it secure enough? or should i seek other options? [04:12] Kaprenakis: go with it and see how it works [04:13] i followed the ubuntu docs for enabling networking for vbox (sudo modprobe vboxnetflt) and now i have br0 interface. here is my ifconfig and netstat. what is the ip and port of my guest? [04:14] http://pastebin.com/ptdsvRE9 [04:15] can you get to the guests console? [04:15] and run ifconfig there? [04:16] cclausen: if wish i knew the port of the guest so i could ssh to it. [04:16] can i get to the guest's console from the host and not from outside? [04:17] I'd say virtualbox is useless if you can't get to a VM's console [04:17] how do you fix network problems? [04:17] yeah, it probably works by default only from the host [04:18] you can also try looking in an arp cache for other IPs [04:18] cclausen: it's the first time i am trying it, so i can't tell if it's possible. [04:18] does arp -a work on Linux systems? [04:18] (192.168.1.1) at 00:1b:2f:fd:17:aa [ether] on br0 [04:18] maybe that's the ip? [04:19] maybe [04:19] can you ssh there? [04:19] let me try [04:19] usually the .1 is the network's default gateway. but if you don't have a router, I'm not sure how that works [04:20] cclausen: connection refused. i tried from my laptop and from the host. [04:20] owen1: well, that could mean anything [04:20] maybe i need to add a port [04:20] you need to get to the console on your VM and just run ifconfig to see what is going on [04:21] cclausen: yeah. what user should i ssh with? myself? [04:21] cclausen: hi :D [04:21] cclausen: data collection time [04:21] if connection is refused, that isn't going to matter [04:22] i'll post this in vbox forum. thank you! [04:23] cclausen: do u use kvm for hosting websites? [04:24] cclausen: May 1 22:24:22 pessum kernel: [19981.061455] [UFW BLOCK] IN=br0 OUT=br0 PHYSIN=eth0 PHYSOUT=vnet1 SRC=192.168.3.6 DST=192.168.1.5 LEN=196 TOS=0x10 PREC=0x00 TTL=63 ID=40752 DF PROTO=TCP SPT=55015 DPT=22 WINDOW=126 RES=0x00 ACK PSH URGP=0 [04:26] owen1: I use Microsoft Hyper-V for VMs and have Windows 2k8 IIS7 and Ubuntu 8.04 apache2 VMs right now [04:27] MTecknology: looks like it is blocking ssh traffic? [04:28] MTecknology: allow all IPs to send to port 22 and allow all outbound connections to port 22 [04:28] cclausen: on the same physical box? [04:28] owen1: actually, yes [04:28] I just moved a production apache webserver and an iis test box to the same physical box [04:29] owen1: physical box has windows 2008 r2 installed and I just upgraded the IIS install to r2 as well. [04:29] owen1: the physical box just runs the VMs [04:29] so your guest os in windows? [04:29] sorry , [04:29] your host [04:29] cclausen: so ufw allow from any port 22 proto tcp to any ? [04:29] yes [04:29] and vise versa [04:30] MTecknology: I don't know the firewall rules, sorry. I just turn off firewalls. I don't believe in them [04:30] if I don't want to run a service, I don't run it. and for ssh brute force attempts I have fail2ban installed [04:31] New bug: #573436 in php5 (main) "PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ldap.ini on line 1 in Unknown on line 0" [Undecided,New] https://launchpad.net/bugs/573436 [04:31] cclausen: still blocks when I add that [04:32] MTecknology: you need to allow to any as well. ssh out to port 22 and into port 22 [04:33] cclausen: what I think I want is from any to any on PHYSOUT=vnet* is allowed [04:33] MTecknology: and note that the client randomly gets a source port from the OS, so you can't restrict on source and destination port apirs [04:33] yup any -> 22 and 22 <- any [04:40] cclausen: I even did 'ufw allow from any to any' - still nothing [04:41] MTecknology: how about setting sudo ufw default allow [04:41] and then just block stuff you don't want as needed [04:41] can you pastebin ufw status ? [04:42] 'ufw enable' 'ufw default allow' 'ufw allow from any to any' - still blocks [04:43] cclausen: http://dpaste.com/189908/ [04:44] your default allow rules should let you in [04:44] and a rule to block traffic you don't want in [04:44] https://help.ubuntu.com/community/UFW [04:44] right [04:44] I normally use default deny [04:44] yeah, I figured [04:44] but for this case.. [04:45] everything is allowed [04:46] I think you want to ufw allow 22 for all inbound ssh [04:47] that should be covered in that allow any any, right? [04:47] yep [04:47] if you want to do it the other way you are going to need better rules [04:47] the config in that pastebin - i enable ufw and things still block [04:48] you only allowed inbound to port 22 [04:48] http://dpaste.com/189908/ [04:48] check the last one [04:48] 'ufw allow from any to any' [04:48] yep [04:48] and that blocks things? [04:48] that's not just ssh [04:48] yup [04:48] hmm [04:48] I 'ufw enable' and can't do anything with my vm's === erichammond1 is now known as erichammond [04:49] I'm not sure what to tell you [04:49] if it were me, I'd look at the actual iptables rules that were generated and see what is going on [04:50] also, what is your goal here? those IPs are all non-routable. its not like you are going to have internet traffic on RFC1918 IPs [04:50] but I do have those vm's available to the world [04:52] Where's a good place to go get advice on routing related to a PPPoE link, a bridge, and some machines in the DMZ to which this host is routing? [04:52] Basically, the hosts are accessible remotely, but not from the router itself, though I do have a route for that network to br2. [04:53] cclausen: the internal nat isn't via world, but those vm's running on it are available via the world [04:53] cjs: can you writeup a pastebin describing your network setup in more details? ifconfig -a output from varous machines would be helpful [04:54] MTecknology: I thought you said the VMs would block their own traffic? [04:54] cclausen: no, the host blocks it [04:55] cclausen: everything I did was on the host [04:55] cclausen: Sure. [04:55] MTecknology: hmm.. ok.. that works differently than hyper-V. I don't even see guest traffic registered on the host [04:57] cclausen: ideally, I could have one rule that applies to vm's that says - pass it; then I could control the rules for the system itself [04:57] cclausen: basically because ufw is absolutely amazing... :P [04:59] MTecknology: ok, well, I'm not sure what is going on. Try working with a small set of rules at once. and basically add the rule that allows whatever shows up in your block logs and try and work at what is going on [05:00] cclausen: there is no 'rule' that's blocking it though.. ufw being enabled kills connections to the vm's [05:00] cclausen: http://pastebin.com/LqVYqPAp [05:00] cclausen: maybe I should show you /etc/network/interfaces [05:00] MTecknology: does the firewall bind to a single network interface? is that the problem? [05:00] cclausen: http://dpaste.com/189909/ [05:00] yup [05:00] oh.. [05:01] cjs: you're abusing routing. don't and I suspect you'll have better luck. there is a reason you can't use the broadcast and network addresses [05:02] cclausen: Oh, yes? And what would that be? [05:03] cjs: those are used for CIDR routing [05:03] (Not that I'm using them at the moment anyway.) [05:03] In what way are they used for CIDR routing? (I am familiar with CIDR.) [05:03] cjs: yes and if you need to contact hosts in that space you won't be able to get to them [05:04] cjs: its how the arp tables are built on the routers. the traffic is sent to an AS for the specific network [05:04] cclausen: would 'ip addr' output help you help me any? [05:04] cclausen: I am aware that I cannot contact hosts in the space I allocated to myself that isn't actually routed to me. It's a trade-off I'm willing to make. [05:04] MTecknology: I do not know [05:04] cclausen: ARP tables? For a point-to-point link? [05:05] cjs: arp tables for the internet routers. its only a point to point link for a single hop. then its actually routed [05:05] What would such ARP tables map? From what to IP addresses, or IP addresses to what? [05:05] cjs: if you don't need the ips, why do that anyway? It just confuses things [05:05] cclausen: http://dpaste.com/189913/ [05:05] cclausen: point-to-point is also routed. [05:05] cclausen: I will need the IPs. I'm just not using them yet. [05:05] cjs: err, sorry. routing tables. its not at the MAC layer, you are correct [05:07] cjs: what is the "router" in your setup? [05:07] cclausen: Thank you. And so, given that there is no MAC layer, there's no need for broadcast or network addresses. In fact, the outside world has no idea (until it gets to my ISP) of how the network is divided anyway. And my ISP just takes anything destined for .192 or .199 and pumps it down my link, just as it does for .193 or any other address in that range. (I've tested this by the way, on this link, and I've configured things this way man [05:07] y, many times on various systems in the past 15 years.) [05:07] My swordfish is nearly cooked :) [05:07] cjs: well, whatever, lets figure out the .192 <-> .194 problem right now. [05:07] The only reason I need to fake that /25 thing is due to the Linux kernel being unable to handle the idea of a "network" that doesn't have a physical layer. [05:07] cclausen: Great, thank-you. .193 is the router. [05:07] And those address and routing tables I showed are from it. [05:08] cjs: what is it? a linux system? [05:08] Oh, sorry. (Doh!). Ubuntu 10.04 server. [05:08] hey hows the ubuntu server [05:08] and the VM is also a linux system? [05:08] It is: also 10.04 server. [05:09] cjs: from the .193 system, if you ping the .194 (yes, it fails) and then run arp -a, does the correct MAC show up? [05:09] would you recommend this ubuntu server over centos or debian [05:10] jnss: over centos, yes. debian depends. I like the 5 year support on ubuntu [05:10] cclausen: Gah! Yes it does, and suddenly it's working. [05:10] cjs: pings work now? [05:10] cclausen: Would you believe "I didn't change anything"? (No, I wouldn't either.) [05:10] cjs: glad I could help :-) [05:10] cclausen: yes, they work now. For .193 as well. I wonder what I did. [05:10] cclausen: Just make sure you're around next time my networking breaks. :-) [05:11] cclausen: Wait. It works in one terminal (ssh login), but not another. I am using -n on ping. [05:11] cjs: same system? [05:12] It certainly appears to be. [05:12] cjs: both consoles running as root? [05:13] Yes. [05:13] got specific reasons why you would rather use ubuntu than centos? ;) [05:13] Another one works, too. It's just this one window. This is...interesting. [05:13] using same ping binary? which ping is same on both? [05:14] Yup. [05:14] cjs: close it and open a new one and hope the problem goes away... [05:14] cclausen: Tempting. But I want to poke at this a bit. It's insane enough that it must be me, not the machine. [05:14] im just looking for ideas [05:14] jnss: 5 year support, I know the release cycle. RPMs make babies cry [05:15] Dropping back out of my sudo shell, same problem. Hmm! [05:15] cjs: I could see a network capability rule applying to a specific session at login time [05:15] Hm. Ok, that would be plausible. Except for how the capability rule got there. [05:16] cclausen: You see anything obvious that would make it not work? [05:16] cjs: selinux? apparmor? [05:16] I am using apparmor. Just the default thing. [05:16] Oh...hmmm...doesn't apparmor apply to ping? [05:16] MTecknology: sorry, got distracted. looking now [05:16] cclausen: :P [05:16] cjs: I have no idea. I disable such things [05:16] No, not in my case, if /etc/apparmor.d is anything to go by. [05:17] cclausen: meanwhile I ate swordfish - first time - that was yummy [05:17] MTecknology: does eth0 need its own IP? I see you have it set to static, but didn't give it an IP [05:18] err, I guess you have it set to "manual" and not "static" [05:19] does the bridge device manually up it as needed? [05:19] MTecknology: does ifconfig list eth0? does ifconfig -a ? [05:20] cclausen: ifconfig shows it [05:20] http://dpaste.com/189915/ [05:21] MTecknology: but it doesn't have an IP assigned... what exactly wasn't working here again? [05:21] MTecknology: just the firewall rules? [05:21] ya [05:21] when I enable ufw, I can't communicate with the vm's anymore [05:23] all your VM networks are in 192.168.0.0/22 space ? [05:23] reduce your rules and just allow all traffic in that single CIDR block [05:23] 192.168.1.0/24 [05:23] ufw allow from any to any should cover that [05:24] rtue, but just to test [05:24] remove all teh rules [05:24] I don't think my issue is in the rules themselves.. [05:24] ok. [05:24] and add just a ufs allow all from 192.168.0.0/22 [05:25] you mean 192.168.1.0/24 ? [05:25] or do I want it wider like that? [05:25] one of the message you posted had a 192.169.3.x IP in it, didn't uit? [05:26] May 1 22:24:22 pessum kernel: [19981.061455] [UFW BLOCK] IN=br0 OUT=br0 PHYSIN=eth0 PHYSOUT=vnet1 SRC=192.168.3.6 DST=192.168.1.5 LEN=196 TOS=0x10 PREC=0x00 TTL=63 ID=40752 DF PROTO=TCP SPT=55015 DPT=22 WINDOW=126 RES=0x00 ACK PSH URGP=0 [05:26] see the SRC=192.168.3.6 in there [05:26] where is that coming from ? [05:27] oh.. sorry - I was thinking backward [05:28] the vm's are all in 1.0/24 - the 3.0/24 is my vpn ip [05:28] MTecknology: does your VPN get blocked too? Or just the VMs? [05:28] ERROR: 'Wrong number of arguments' [05:28] Client->VPN = blocked [05:29] what is your client IP? in that same range? [05:29] * MTecknology is 192.168.3.xxx [05:29] * MTecknology is 192.168.3.6 [05:29] servers are 192.168.1.0/24 [05:29] ok [05:30] pastebin iptables -L and ufw status [05:30] wireless clients 2.0/24; pptp are 4.0/24 [05:31] here we go [05:31] cclausen: http://dpaste.com/189917/ [05:33] cclausen: meh - I need to generate traffic to be blocked.... here's an actual sample line that I just generated - May 1 23:32:44 pessum kernel: [24082.584639] [UFW BLOCK] IN=br0 OUT=br0 PHYSIN=eth0 PHYSOUT=vnet1 SRC=192.168.3.6 DST=192.168.1.5 LEN=100 TOS=0x10 PREC=0x00 TTL=63 ID=25825 DF PROTO=TCP SPT=55015 DPT=22 WINDOW=126 RES=0x00 ACK PSH URGP=0 [05:34] that is a lot of iptables rules... [05:34] so you see anything that looks funky? [05:34] well, ufw does make a lot of rules :P [05:35] hmm... I wonder if its just affecting existing connections [05:36] cclausen: line 127? [05:36] its is stateful and iptables probably needs to see the connect in the TCP handshake to allow the traffic [05:36] New bug: #573451 in dbconfig-common (main) "package dbconfig-common 1.8.44ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/573451 [05:36] I wish that was it... [05:36] any new connections fail [05:36] MTecknology: ah, ok [05:36] good to know though [05:37] wait, your rule is allow in anywhere [05:37] what about allow out ? [05:37] allow from any to any [05:38] that should go both ways [05:38] Default: allow (incoming), allow (outgoing) [05:38] ^ there's that too - ufw default allow [05:38] MTecknology: Error: "there's" is not a valid command. [05:38] can you remove your single rule [05:38] and try that? [05:38] ok [05:38] just enable ufs without a rule set? [05:38] err, ufw [05:39] http://dpaste.com/189926/ [05:40] rule is still htere: Anywhere ALLOW IN Anywhere [05:40] sorry... wrong pastebin [05:41] there we go - http://dpaste.com/189928/ [05:41] did that block stuff too? [05:42] what are teh rules with 192.168.122.0/24 about ? [05:42] no idea.. === erichammond1 is now known as erichammond [05:42] hrm.. [05:43] I think that's the virt network [05:43] I should try iptables -flush [05:43] maybe? [05:44] or could that likely kill me? [05:44] yeah, flush the iptables rule sets [05:44] there - chains listed - but all empty [05:44] should I do ufw enable from here? [05:44] take a look at this [05:44] http://www.cyberciti.biz/tips/linux-iptables-how-to-flush-all-rules.html [05:45] I'd try flushing all of those [05:45] I did iptables -F [05:45] oh [05:45] yeah, but does that actually flush eveything? [05:45] (it might, I don't know) [05:45] everything except purging the chains [05:45] which have nothing in them [05:46] iptables -X just in case [05:46] ok - EVERYTHING is wiped [05:46] now try ufw again [05:46] ok.. [05:46] * MTecknology crosses fingers... [05:47] exact same thing [05:47] iptables -L pastebin? [05:47] e.g. is the rule set the same? with that 192.168.122 net? [05:48] http://dpaste.com/189937/ [05:49] ok, well at least the 192.168 stuff is gone now [05:50] try switch ufw the other way [05:50] to deny by default [05:51] will the same allow from any to any rule [05:51] and see if it still blocks [05:52] http://dpaste.com/189941/ [05:52] that's w/o allow allow [05:52] if you have the text, diff the two [05:52] if the only difference the ACCEPT to DROP in teh first line ? [05:53] http://dpaste.com/189943/ [05:54] that is the same thing, isn't it? [05:54] just with the allow everything [05:54] hmm [05:54] I wonder if allow everything doesn't work b/c of teh default rule sets [05:55] try just allow from 192.168.0.0/16 [05:55] allow from 192.168.0.0/16 to any ? [05:56] just ufs allow from 192.168.0.0/16 [05:56] the "to any" should be implied [05:56] you can't do that [05:56] (at least according to the wiki page I'm reading) [05:56] so this is wrong? https://help.ubuntu.com/community/UFW [05:56] "sudo ufw allow from 192.168.1.0/24" [05:56] oh.. [05:56] its one of the examples [05:56] nifty [05:56] I'll try [05:57] same thing [05:57] hmm [05:57] I've got no ideas then [05:57] alrighty [05:57] unless you want to try purging and reinstalling ufw and iptables [05:58] I'll just file a bug report and include this whole log :P [05:58] it happened on a fresh install [05:58] this whole setup is only a few months old with mostly all default configs [05:59] cclausen: thanks VERY much for the help :) [05:59] cclausen: sticking with it this long was impressive :) [06:00] cclausen: if you make a wiki page I'll happily add a recommendation for you if you decide you want to become an ubuntu member someday [06:03] cclausen: any objections if I include this whole log? [06:04] MTecknology: none from my end. I'm not really a firewall expert though. maybe someone who knows what they are doing shoould take a look at it first? [06:29] cclausen: there we go - bug filed :) [06:29] cclausen: worst case I did something stupid [06:33] !kvm [06:33] kvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM [07:08] I opened some ports in my iptables, here's an "iptables -L" http://pastie.org/private/k6nygx4hznny241abt1whq, but when I try to connect to the ports (8484 for example) with nmap it says that it is still closed. === KB1JWQ is now known as TheOracle [07:09] Flam`: ufw status verbose [07:09] Also, what's the easiest way to remove the last 4 ACCEPT entries in the "chain INPUT" section... added those by mistake. [07:09] k 1sec [07:11] I see a lot of blocked attempts. [07:13] MTecknology: What am I supposed to see? [07:14] Flam`: a verbose output of the current status of ufw [07:15] Flam`: if you're using ufw, you shouldn't be workin with iptables directly if you can help it [07:15] Flam`: what does netstat -ant show? do you actually have something listening on port 8484 ? [07:15] Flam`: and do you want to allow udp or tcp? by default, nmap only scans tcp [07:16] ya.. cclausen can help you much better.. [07:16] MTecknology: no, go ahead. you actually use the commands. [07:16] cclausen: :P [07:17] Flam`: do you want to use ufw or iptables directly? you shouldn't really intermix them unless you really much up things (like me a little while ago) [07:17] has anyone managed to successfully combine any type raid with lvm in 10.04 without being directed to busybox stating "gave up waiting for root device", if so is there any fix for this bug? [07:17] s/much/muck/ [07:18] I am starting to think I should go back to 8.04 [07:18] Pirate_Hunter: what type of setup? do you have root on lvm? [07:19] I like keeping / and /boot off of any funky setups [07:20] Thanks for the tip, I'll try not to mix and match between ufw and iptables. I'll stick with ufw. I just did "sudo ufw allow 8484" which im hoping enabled it for both udp/tcp from any location. I ran my service and tried netstat -ant and nothing is even listening. [07:20] :/ [07:21] MTecknology, been a while i've seen you here or maybe i am the one whos been missing, well originally it was raid1 /boot raid0+lvm however that sent me to busybox, now after searching online a few have had problems with other raid combinations but no one has provided a fix. However those were either alpha or beta stages of lucid [07:21] Flam`: nmap won;t show a port as open if it can't connect to it. you can run something there to test if you want [07:21] Flam`: if you run ufw status it tells you if it's by tcp, udp, or both - i think default is it's as open as you specify it should be closed [07:22] ufw status shows that it is indeed both udp/tcp from anywhere. Thanks for the help guys it seems the problem lies in my service software itself. [07:22] Flam`: easiest thing to test with is probably sshd: sudo `which sshd` -D -p 8484 and then nmap once sshd starts up [07:22] hm [07:22] How do I close it afterwards? [07:22] MTecknology, it takes four hours to wipe the disks I can't do that again, if no definite answer I'll go back to hardy [07:23] Flam`: you can Ctrl-C it if its still running after nmap [07:23] in debug mode, it will shutdown after a single connection [07:23] Pirate_Hunter: /boot should always be on the simplest system you can muster. The generic kernel has initrd which should handle booting the rest of the system on some pretty obscure setups. [07:23] cclausen: it worked. Thanks [07:24] Pirate_Hunter: you don;t have to completely wipe the disks. just wiping out the parition table should work for a reinstall [07:25] Pirate_Hunter: I've been on here a lot for a long time, just always busy with other things [07:25] MTecknology, I wanted boot on both since I can run degraded, more like an insurance that boot would work if something went wrong on one of the disks, also obscure setup? [07:26] Pirate_Hunter: boot shouldn't change much, just put a copy of it on each disk [07:26] (you'd have to manually keep them in sync though) [07:26] MTecknology, no wonder and I show up once in a while still nice seeing you [07:26] Pirate_Hunter: nice seeing you too [07:28] cclausen, keeping in sync manually seems like more wok than it is worth while raid1 will do that for me, it actually works on 8.04 just can't understand why 10.4 is giving me so much trouble also something weird when setting up raid0 it takes a few kb and makes it unusable, something I didnt notice on the previous lts [07:28] MTecknology, :) [07:29] Pirate_Hunter: can you make /boot a mirror that is not in lvm? [07:29] Pirate_Hunter: like, lvm on soft raid on hard raid with zfs on everything [07:29] Pirate_Hunter: if /boot is on a simple standard partition - it can boot that [07:30] I think so anyway.. [07:32] I understand what both are saying, however, the problem is that boot is actually not finding the lvm / partition or to be correct initramfs, some say its grub2 others its something with lucid and im clueless [07:32] you can always dd if=/dev/sda1 of=/boot.img [07:34] Pirate_Hunter: what is your hardware setup? [07:34] Hi again . [07:35] cclausen, its just a machine with two disks and 4gb ram to be as simple as possible its nothing to do with the hardware [07:35] ya.. my gf called me just so she can make me feel bad because she's crying because I didn't agree to why she was upset with me [07:36] Doing a install of Ubuntu 10.04 server, and was wondering for a file server/media server, with hopefully outside access. What option should i do for Partition disks? [07:36] I assume no one has encountered this or have tried any raid setup with lvm? [07:36] Pirate_Hunter: what disk controller? [07:36] Umm, WHY is Ubuntu 10.04 Server's default GRUB install behaviour is to install to the first drive if there isn't any other OS on the computer? [07:36] use entire disk .. use entire disk and set up LVM .... use entire disk and set up encrypted LVM .... Manual set up [07:36] Pirate_Hunter: can you do an install to a single partition on a single drive? [07:37] Why doesn't it install GRUB to the installed drive, like EVERY other Ubuntu derivative? [07:37] Callum__: that sounds reasonable to me and is what I prefer [07:38] cclausen, nope normal ide connectors no controllers and by god I would expect to be able to pull of a single install of lucid or may something bad happen... I can install any version of ubuntu just not the setup I want, which is why I need to find out why [07:38] cclausen: What if you take out the drive it installed to? Won't be able to boot the Ubuntu installation because its actually on another drive, and the bootloader is installed on the drive you took out >_> [07:39] Basically, it installed the bootloader to the MBR of one of my RAID arrays (/dev/sda) when I need it installed onto a 40GB OS drive (/dev/sde) [07:39] Callum__, you can do that manually however that is soemthing google will help you with or soemone with expertise in grub2 can help you with [07:39] Callum__: that is already filed as a bug it seems [07:39] I know how do install GRUB manually, but it's a really annoying problem >_> and now the server is refusing to boot, great [07:39] Callum__: yep, I know. this is why I stopped trying to run dual boot systems. its not worth the hassle [07:40] This ISN'T a dual-boot system, just Ubuntu Server 10.04 on it [07:40] so why is it a problem to have grub on disk 0? [07:40] Callum__, welcome to my world at least your problem is simple mine has no answer so far [07:40] Pirate_Hunter: what motherboard? [07:41] because I want it to boot GRUB off the 80GB drive when its booting off one of my RAID arrays >_> [07:41] cclausen, any reason why you asking about the mob? [07:41] Pirate_Hunter: yes, the release notes list some specific issues on asus boards [07:41] Callum__: can you make that drive appear as drive 0 ? [07:42] cclausen: no [07:42] well, at least I think /dev/sda is one of my RAID arrays on this, it might be the other, backup, IDE drive I have in the machine [07:43] either way, don't want to reinstall this crap again, took forever [07:43] its an old generation IBM Think Centre most if not all the components are intel exact mob type not sure but since it is open I can see IBM written on it [07:43] Doing a install of Ubuntu 10.04 server, and was wondering for a file server/media server, with hopefully outside access. What option should i do for Partition disks? [07:43] use entire disk... [07:43] use entire disk and set up LVM .... [07:43] use entire disk and set up encrypted LVM ....Manual set up [07:43] Pirate_Hunter: model? I might have one of those I can test with actually... [07:44] Kaprenakis: we don't know enough about your setup to answer you. in general I;d put data and the OS on two different partitions [07:45] Kaprenakis: I think lvm is just a world of pain and avoid it at all costs. I would just create a reasonable / primary partition, a reasonable /data primary partition and a 500MB swap partition [07:45] cclausen, IBM REV: 2.1 that is all I can see printed on the mob, lspci hasn't been of much help [07:46] Callum__: that is already filed as a bug it seems - where? [07:46] Pirate_Hunter: can you install dmidecode and try and get more info from that? [07:46] Callum__: bug 414996 [07:46] Launchpad bug 414996 in grub2 "[karmic] grub re-writes boot sector on wrong drive on fresh install" [Critical,Confirmed] https://launchpad.net/bugs/414996 [07:46] cclausen: ok thanks, ok so primary is for your everyday files.. /data primary partition is for system os files? [07:46] cclausen, that may be true but it is easily achieved through the previous lts would not understand why the new lts can't do something simple like raid and lvm, I have always used it without a problem until today my opinion of Lucid is poor at this moment [07:47] as far as I can tell, its not fixed in lucid either. [07:47] Pirate_Hunter: did you read the release notes? [07:48] cclausen, parts of it, no not really [07:48] maybe it refuses to boot because of the drive I installed it to, its caused me problems with booting before... [07:48] I know that it installs to the wrong drive, but this refuses to boot at all [07:48] "GRUB " then nothing [07:49] Pirate_Hunter: http://www.ubuntu.com/getubuntu/releasenotes/1004 read the part about "Partition alignment changes may break some systems" [07:50] so might be bug 551965 [07:50] Launchpad bug 551965 in partman-base "BIOS hang - Unable to boot after installation" [High,Fix released] https://launchpad.net/bugs/551965 [07:50] So, that bug 414996 has been open and left unfixed for months? [07:50] Launchpad bug 414996 in grub2 "[karmic] grub re-writes boot sector on wrong drive on fresh install" [Critical,Confirmed] https://launchpad.net/bugs/414996 [07:51] >_> [07:51] I assume it isn't easy to fix [07:51] doesn't sound hard to fix [07:51] cclausen, IBM / product name: 8187D1G / serial n: KKFDB8P [07:53] Pirate_Hunter: ThinkCentre M50 8187-D1G [07:53] do you know is that is an Intel ICH8 controller? [07:55] cclausen, it should be everything else is by intel [07:56] that is the model that has the problem [07:56] "If you find that you need to use the old cylinder alignment instead, then add the {{{partman/alignment=cylinder}}} boot parameter when starting the installer." [07:58] huh it is? hmmm... where would I check the exact controler type and will try that on the server cd I add that to the boot options? [08:02] lspci -vvv work? [08:03] yeah, add that to the boot options I think will help. [08:03] at least that is what people said in the bugReport [08:05] will try my last attempt of lucid before going back to hardy which is rock solid, thanks for your help and patience, will attempt the same setup that In used to have on my server raid+lvm which is another issue in itself [08:06] cclausen, before you go is the forward slash part of the actual command or I have to choose either of those? [08:17] Pirate_Hunter: I think the / is part of teh command [08:17] I am not sure though [08:18] I think it is an option that gets passwed to partman, so having the / makes sense [08:18] no problem will attempt and see, hopefully it will work, thanks for the help at least this might help better [08:30] cclausen: what was that link for clearing iptables? [08:33] http://www.cyberciti.biz/tips/linux-iptables-how-to-flush-all-rules.html [08:33] cclausen: thanks. I can't bring my system up now.. [08:34] :P [08:35] cclausen: just networking. I figure out howt o fix what was going on - rebooted, now no network - just wanted to go back over what I changed [09:02] cclausen: GAAAAAHH! [09:03] cclausen: we only screwed with iptables, right? [09:03] MTecknology: and ufw [09:04] but in theory, yes [09:04] did you really break something? [09:04] cclausen: iptables -F and ufw disable - should ignore anything we did.... [09:04] ya... I can't get networking back to this system [09:04] I have somebody else local [09:05] start simple [09:06] can you ping your own ip [09:06] can you ping the default gateway [09:06] etc. [09:06] no [09:06] own ip will work - it's a static ip [09:09] if you can't ping the default gateway, that is either an interface problem or a calbe problem [09:09] it's config issue - I'm 99.999% sure [09:15] MTecknology: oh, I just thought of something before really going to bed [09:15] * MTecknology thinks please be the answer.... [09:16] MTecknology: you have dnsmasq enabled on boot-- is it possible that it is starting and giving out an invalid ip to your host? iirc, you shouldn't be using dnsmasq with bridging VMs (you'd have to check the Ubuntu wiki for libvirt/bridging configuration) [09:17] jdstrand: that's the only system I have that uses it - I wonder how it got on there [09:17] I'm too tired to search reverse deps - or- to remember how [09:18] MTecknology: test it by moving /etc/init/libvirt-bin.conf somewhere out of /etc/init [09:18] ah.. [09:18] MTecknology: dnsmasq is pulled in by libvirt [09:20] MTecknology: by moving /etc/init/libvirt-bin.conf aside, libvirt won't start on boot, and it won't start up dnsmasq. I'm hoping that is your issue [09:20] I'll try that... [09:20] jdstrand: would mv /etc/init/libvirt-bin.conf /etc/init/libvirt-bin.conf.dis work? [09:21] idk if upstart reads specific files or everything.. [09:21] MTecknology: if that works, you'll have to setup libvirt with bridging using the wiki [09:21] or... if I read what you said..... [09:21] MTecknology: I think it only read *.conf-- I am not 100% sure [09:22] I'll just move it to / [09:22] MTecknology: for a quick test, that is reasonable [09:22] waaaaaaaaaaaaaaaaaaah it works its alive lucid server works [09:23] cclausen, thanks apparently it must have been the disk alignment [09:23] jdstrand: rebooting to try it out [09:23] MTecknology: "if that works, you'll have to setup libvirt with bridging using the wiki" *and* put libvirt-bin.conf back in /etc/init [09:23] Pirate_Hunter: when all else fails, read the instructions [09:24] jdstrand: I followed https://help.ubuntu.com/community/KVM/Networking [09:25] jdstrand: and .... still nothing... I'm halfway considering just blowing away all configs on the thing and starting from scratch with just the old vm's - I'm completely at a loss..... [09:25] well, it was an idea [09:26] cclausen, :p, just wished I had chosen ext4 instead of ext3, but that is a minor issue [09:26] jdstrand: ya, thanks :) [09:26] MTecknology: I'd recommend checking /var/log/kern.log and /var/log/syslog and /var/log/daemon.log for reasons as to why dhcp isn't working [09:26] jdstrand: you have any other ideas at all? [09:27] cclausen, that was driving me nuts for the past two days so it isn't anything to do with lvm as some of the bug reports, those should be corrected [09:27] MTecknology: you could use a static ip on the host instead of dhcp temporarily [09:27] MTecknology: then see if it can ping your gateway, etc [09:27] I'e been doing that [09:27] it's static 192.168.1.4 [09:27] br0 is static [09:27] tried dhclient eth0 and br0; nothing [09:28] reconfigured a lot of packages, nothing [09:28] MTecknology: check dmesg for errors? [09:28] sm-mtp[1396]: gethostbyaddr(192.168.1.4) failed: 2 [09:28] sudo mii-tool [09:28] does that look interesting? [09:29] I had mii-diag uninstalled when I upgraded to lucid.... or is mii-tool not the same thing? [09:29] well of to sleep my brain is drained and im happy see yah folks [09:30] sm-mtp - that doesn't matter, does it? [09:30] the guys that came up with the syntax for partman-auto in preseed files should really be forced to actually use it... argh! [09:31] jpds: I'm going to have him try it with the expectationthat you know I have low expectations, high hopes, and currently a giganticaly crushed soul [09:31] joschi: the alternative is no options at all in preseed files, so I'd not say that too loudly... [09:32] cclausen: I'm somehow spoiled by setup-storage from FAI ;) [09:33] joschi: yeah, ditto that [09:33] currently I'm primarily using FAI only for partitioning the machines and thought I could try it with only preseed files. well, it works but it was a pain to setup the partitioning :( [09:33] well, you only need to setup it up once [09:33] $mii-tool eth0: no link $mii-tool br0 SIOCGMIIPHY on 'br0' failed: Operation not supported [09:34] jpds: no idea what that means - but it sounds bad [09:34] cclausen: yes, but that doesn't make the pain go away ;) [09:34] MTecknology: /etc/init.d/networking restart and see if that helps [09:35] joschi: I wish there was a do-release-upgrade for preseed files and other FAI stuff... [09:35] joschi: my pain never goes away [09:35] joschi: I live in a tub of deep despair [09:35] cclausen: nothing - no errors or anything [09:36] cclausen: hm, maybe through FAI softupdates? didn't look into them any further, though [09:36] joschi: oh, hmm... [09:36] cclausen: any other ideas? [09:36] cclausen: if this doesn't work I'm just going to blow apart this system and start anew [09:36] MTecknology: down all interfaces expect your real one and get it to work again [09:37] tried that [09:37] hmm... [09:37] reboot one last time and pray :-) [09:37] lol [09:37] ole #~20 [09:37] or 30 [09:38] I fought this puppy long and hard. I think it's time to just let'r go [09:39] hmm.. did you try booting up in single user mode? [09:39] or "recovery mode" as listed in grub [09:39] oh well, I need to go home. its so late its early here.. [09:40] ya [09:40] cclausen: alrighty, thanks for the help [09:40] at this point, i'd have spent less time starting from scratch :P [09:53] !iso [09:53] To mount an ISO disc image, type « sudo mount -o loop » - There is a list of useful cd image conversion tools at http://wiki.linuxquestions.org/wiki/CD_Image_Conversion - Always verify the ISO using !MD5 before !burning. [10:20] !gpt [10:21] Does that mean, "Don't even think about talking about it"? :-) [10:26] New bug: #573542 in openssh (main) "package openssh-server 1:5.3p1-3ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/573542 [10:31] New bug: #573391 in net-snmp (main) "package snmpd failed to upgrade: userdel: user snmp is currently logged in" [Undecided,New] https://launchpad.net/bugs/573391 === Barre_ is now known as Barre [12:01] New bug: #573591 in php5 (main) "Uploads greater than 64 kilobytes corrupted under PHP 5.3.2" [Undecided,New] https://launchpad.net/bugs/573591 [12:04] hi guys [12:05] trying to setup pptp server [12:05] GRE read is failing [12:05] http://pastebin.com/QpNXrGaT [12:05] tried everything! [13:53] hi, when using partman-auto with an "expert recipe" in a preseed file it always seems to generate a faulty partition table. installation eventually works and the system boots, but cfdisk and fdisk say the partition table (esp. the first partition) is incorrect [13:54] I used the example from https://help.ubuntu.com/9.10/installation-guide/example-preseed.txt to verify it and it also results in a faulty partition table [13:54] has anyone else the same problem? [13:54] I couldn't find a bug report for this issue [14:26] New bug: #573657 in irqbalance (main) "irqbalance enabled unconditionally, can't be disabled via debconf" [Undecided,New] https://launchpad.net/bugs/573657 === dendro-afk is now known as dendrobates [15:04] Hi folks, I want install ubuntu-server, and point the installation CD at an automatic preseed file. Must I use the alternate-DVD ? or can I use the normal server DVD ? [15:47] why's 64bit downloads defaulted [15:49] cos most servers these days are 64bit === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [16:49] hi, I've installed UEC following the guide in the page. I can run images and login it via ssh, but if I terminate the instance and run it again(it has the same ip), when I tried to login it via ssh appears this problem [16:49] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [16:49] @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ [16:49] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [16:49] IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! [16:49] Someone could be eavesdropping on you right now (man-in-the-middle attack)! [16:49] It is also possible that the RSA host key has just been changed. [16:49] The fingerprint for the RSA key sent by the remote host is [16:49] 72:bb:6d:43:96:1f:e9:7e:da:bf:de:a3:53:b3:fe:e2. [16:49] Please contact your system administrator. [16:49] Add correct host key in /root/.ssh/known_hosts to get rid of this message. [16:49] Offending key in /root/.ssh/known_hosts:2 [16:49] RSA host key for has changed and you have requested strict checking. [16:49] Host key verification failed. [16:50] any ideas? === dendro-afk is now known as dendrobates [16:53] I'm doing a clean install of ubuntu 10.04... what % should be primany.... what % should be primary data.... what % should be swap... [16:53] FFF666: first of all, please do not dump lines here; use pastebin [16:54] FFF666: second, each instance you run will have a *NEW* and, consequently, most certainly different SSH key [16:54] new ssh key?, so what I have to do before ssh it? [16:55] FFF666: so. I am assuming you are just doing ' ssh ubuntu@1.2.3.4' . This, by default, will save the public key of 1.2.3.4 in your ~ /.ssh/known_hosts [16:56] FFF666: if the instances are really ephemeral, you should either not save the public keys, or delete them after use [16:56] ahhh [16:57] You could disable strict host key checking as well, but that may open you to other issues. [16:57] what kind of issues?, I'm a student testeng cloud computing [16:58] what kind off issues?, how can I do that? [16:58] you can do both on the call to SSH: ssh -o UserKnownHostFile=/dev/null -o StrictHostKeyChecking=no [16:58] FFF666: a real MITM attack... [16:58] aye. [16:58] I dont care, this is for a college work [16:59] I have another question. [16:59] FFF666: 'I dont care' is usually a bad answer in a test ;-) [17:00] haha, yes it will carry problems [17:00] other [17:00] I want to know how can I do to save the changes that I make to the image. For example, I run an ubuntu image and I install the mysql server, but if I turn off the image and run it again that mysql won't be there. [17:03] yeah, good one, but I have not gotten that far in Euca/uec yet ;-) [17:04] this would be a rebundling [17:05] ahh === dendrobates is now known as dendro-afk [17:31] I want to know how can I do to save the changes that I make to the image. For example, I run an ubuntu image and I install the mysql server, but if I turn off the image and run it again that mysql won't be there. === dendro-afk is now known as dendrobates [17:45] Are swap partitions a primary or logical partition? [17:49] either, plust LVM [17:51] just bonded my interfaces and transferring large files, however I notice on my router only one of the server cards are is active yet iftop tells me transfer speed is at 40MB, how do I test whether both cards are actually working as lacp? [18:01] New bug: #573815 in pptpd (main) "package pptpd 1.3.4-2.1ubuntu1.9.04.2 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/573815 === dendrobates is now known as dendro-afk [18:12] jdstrand: hey, you around? [18:15] is anyone running 10.04 on EC2 and seeing high load before their server is even doing anything? [18:16] tried searching and asking around before, but so far no luck and few leads [18:20] Well.. I got my landscape account. yay- now to wait for my 60day trial to be approved. [18:22] jamesturk: How long does that high load last? If it's only for a minute or three, perhaps just startup costs? [18:23] cjs: 17:23:08 up 1 day, 19:06, 2 users, load average: 0.74, 0.74, 0.55 [18:23] all that I have done on that server is install postgres (no databases are even created as of yet) [18:24] jamesturk: Hmmm. That is a little high, though not huge. [18:24] What does top or htop tell you? [18:24] my 9.10 and 9.04 servers idle at 0.02 (and some of those are active) [18:24] top shows Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st [18:25] and next to no memory used and no swap touched [18:26] Ok, so no CPU. What are those processes waiting on, then? Next: iostat. [18:26] avg-cpu: %user %nice %system %iowait %steal %idle [18:26] 0.00 0.00 0.00 0.01 0.00 99.98 [18:26] BTW, do you know what that load average means? [18:27] Can somebody help me bring up another network interface on my server? I have two nics, both of them connected... but the second one wont come online. [18:28] jamesturk: That is, typically, the number of processes waiting to run, but which cannot because there are no resources available. Clearly, the resource that's not available is not CPU. [18:29] So that's why I asked about iostat: you want to know what your disks are doing. (That's another common resource that starves processes.) [18:30] cjs: yes but if I'm reading iostat correctly tough 99.98% in the idle state [18:30] though* [18:30] jamesturk: That's CPU, not disk. [18:30] ah [18:30] just a second [18:30] Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn [18:30] sda1 0.19 1.97 1.36 305458 212048 [18:30] sdb 0.00 0.00 0.00 762 80 [18:31] Try "iostat 5" and wait for an update or two (the first won't tell you anything).... [18:31] after the first read all numbers are 0 [18:31] on sda1 and sdab [18:31] Try iostat -m 5, and see what your MB read/written is after the first display. [18:31] Hm. That would mean no disk I/O. [18:32] (The first display is since boot, averaged over time since boot.) [18:32] I also have EC2 monitoring and looking at my graph over the last day is literally a flat line on disk I/o, cpu utilization, network I/o [18:32] Hmmm! [18:33] And is anything slow? [18:34] I wouldn't like to say "ignore that load average number," but if your CPU, disk and network are all fine, I suppose it could be an artifact of VM stuff. [18:35] not that we've noticed. I started up this server to experiment with because we'd like to move our 9.04 machines to 10.04 -- I haven't actually gotten around to using them, in part because we noticed the load average anomaly [18:35] As I said, that number is supposed to be how many processes are ready to run and are yet blocked because there's a resource they're waiting on (e.g., CPU time to run, disk I/O to complete, network I/O to complete....)... [18:36] Well, EC3 is all VMs, so it could be they're waiting for other stuff on the "real" server that's really not affecting you. I suggesting bringing up a typical server and trying to subject it to a typical load (real or test) and see if it makes any difference. [18:37] Sorry, "EC2." I get ahead of myself sometimes. :-) [18:38] Anyway, I guess my lesson here is that, "the load average number can lie." Especially these days. [18:38] my coworker and I were close to the same conclusion, probably what we'll wind up doing Monday. seems like something must have changed between 9.10 and 10.04 to cause the calculation to take into account activity outside the vm though as we've never seen an issue like this on any of our others [18:38] we'll just have to adjust our monitoring accordingly (usually sustained load like this would set off a minor alarm) [18:39] jamesturk: Well, good. Remember, it is a number that may have information for you, but is not to be confused with what actually happens. [18:39] jamesturk: What sort of app do you run? [18:39] Web-based? [18:40] yes, we run nginx and postgres [18:40] Anyway, see if you can't find a more direct way to test. E.g., a page that forces a DB query. [18:40] And then look at the response time on that. [18:41] Ah, with postgres you may want to try to force a write on something that may have some contention. Reads should always be pretty darn fast, unless you have an absolutely enormous DB. [18:42] Well, anyway, the point is, test something as close as you can get to what the user sees, and alert on that. [18:43] cjs: sound advice for sure [18:43] I need to run. Hope I helped! [18:46] New bug: #573839 in squid (main) "Local Squid quits working on interface change" [Undecided,New] https://launchpad.net/bugs/573839 [18:48] cjs: thanks, you definitely did [18:52] Could somebody do me a favor? Just tell me if you can open staging.profarius.com ? [18:54] why is the 64bit recommended over the 32bit one [18:54] really [18:56] i need a netinstall [18:56] is that doable? [18:56] MTecknology: yes [18:56] jnss: taht are 2 seemingly unrelated questions [18:57] both can be answered [18:57] if you want to do a netinstall: https://help.ubuntu.com/community/Installation/MinimalCD [18:58] well, there are other netinstall images in the same directories as those minimal isos [19:00] thanks [19:00] that may help em a lot [19:05] just bonded my interfaces and transferring large files, however I notice on my router only one of the server cards are is active yet iftop tells me transfer speed is at 40MB, how do I go about testing if both cards are actually working at the same time under mode=4? [19:10] what is the cleanest way to remove the "helpful" tasksel motd? just remove 51_update-motd? [19:13] nevermind, just had to read the manpage for update-motd; answer:yes [19:13] hi folks [19:14] ok, so i've installed ubuntu server. it's hooked up to the internet. How do I get it to connect to the internet so that "ping google.com" works [19:24] 'ello? [19:43] I did: mount /dev/sdf /mnt but when I try to unmount /mnt I get command not found.. so how/where do I get 'unmount' ?? [19:43] using 8.04 [19:45] IanFHood: umount [19:45] stgraber: omg.. too easy.. thanks!! [19:46] np [20:27] I have a 20gb hard drive. How should i split it up? Primary partition, Primary data partition and swap partition. How many gbs for each? [20:27] Im using a old computer and installing ubuntu 10.04 for a file server + media streming [20:28] Kaprenakis: usually a single partition will work well, but it might be a good idea to use 1-2GB for the root in case the data volume fills up [20:29] you don't want to end up with a full root partition [20:34] RoyK: So make 3 partitions one for the data and then make another (Primary?) partition for the root [20:34] and then a swap of like 1gb [20:35] RoyK: Is swap a primary or logical partition? [20:35] New bug: #573919 in autofs (main) "autofs doesn't work with lucid" [Undecided,New] https://launchpad.net/bugs/573919 [20:37] Kaprenakis: doesn't really matter if swap is on a primary or logical partition [20:37] RoyK: which one would you perfer? [20:37] doesn't matter [20:38] the reason for using logical partitions is if you want >4 partitions [20:38] nothing else [20:38] also, if you're only serving files with the system, you won't need much swap [20:38] probably nothing, but half a gig will probably suffer [20:39] even if you set vm.swappiness = 100, linux won't use much of it if processes don't allocate a lot [20:41] RoyK: Alright Thanks. One more question. [20:42] RoyK: after i make the 3 partitions do i select the 2gb root partition for the install? [20:42] Kaprenakis: if you'll be installing many packages, you want room for them and for major upgrades [20:42] in the installer, select mount point / [20:42] for the root partition [20:43] nealmcb: a NAS setup doesn't need a lot of stuff - two gigs should suffice [20:43] the reason I usually have multiple partitions is to have two system partitions (one for when I install another release etc) and one bigger data one for /srv or /honem [20:44] ahh - I didn't hear the NAS part :) [20:44] nealmcb: [21:27] Im using a old computer and installing ubuntu 10.04 for a file server + media streming [20:44] 20 gigs for media will probably suffice for like three DVDs :) [20:45] ok this is very temporary i just want to mess around with this stuff [20:45] i know it will mainly be .mp3s and i have about 15GB that I want to access [20:46] ok [20:46] should root be at the beginning of the available space? [20:46] mostly it doesn't matter, but the outer rim of the drive, that is, the beginning, is about twice as fast as the inner part [20:47] so place the swap in the outer area [20:47] the root isn't much used during normal operation except for logs anyway [20:48] so it hardly matters where it is [20:49] ok the use of the partitions: swap is going to be swap area. root should be EXt4 hournaling file system? [20:51] I got way to many questions... [20:52] RE: apache. [20:52] how can I set my username to be able to write to /var/www? [20:52] i hear it needs sudo [20:53] anyone? [20:59] CaptainTrek: see e.g. comment 10: http://ubuntuforums.org/showpost.php?p=2045715&postcount=10 [20:59] but is that safe? [20:59] guntbert in #ubuntu says not [20:59] but note there are many issues with security and permissions to consider as noted in the link at the last comment [21:00] it all depends on exactly what you intend to do, what dynamic apps are running etc [21:00] i'm just wanting it to run so I can put my html pages into there without sudo [21:00] its a friggin pain xD [21:02] if you don't have dynamic apps, then the chmod option isn't a bad option [21:02] (and chown) [21:02] Kaprenakis: doesn't really matter what filesystem you use - ext3 is rock stable, ext4 is better for large volumes, xfs or jfs are also good [21:04] CaptainTrek: you know I'm just of the old school in this regard - and I was thinking several users :-) [21:04] heh indeed [21:05] regardless, if I'm just hosting normal HTML pages, would there be any risk in changing ownership of /var/www? [21:05] and how could I switch it back to root if I have to? [21:05] change username to "root" [21:05] anyone know where the 10.04 server guide is hiding? [21:06] nealmcb: would there be any risks by switching /var/www ownership to my user then? [21:06] hi [21:06] billybigrigger: not out yet ? [21:07] guntbert, can't find it [21:07] CaptainTrek: that's what I suggested, if it is just static content [21:07] billybigrigger: the 8.04 guide will probably be good enough [21:07] you'd think the server guide would be released with lucid [21:07] billybigrigger: neither can I - it was an assumption not a question :-) [21:07] nealmcb: didnt get it, lost net connectivity srry [21:08] CaptainTrek: see e.g. comment 10: http://ubuntuforums.org/showpost.php?p=2045715&postcount=10 [21:09] billybigrigger: apt-get install ubuntu-serverguide [21:11] nealmcb: if I chmod the thing to have +r -w permissions, only root will be able to write to /var/www, right? [21:24] Ubuntu keeps asking for password after Ubuntu upgrade, despite me giving the right username/password in GNOME login window. [21:27] has anyone been able to change the console resolution in 10.04? i tried adding GRUB_GFXMODE=1024x768 to /etc/default/grub and running 'sudo update-grub' but that only seems to be adjusting grub's resolution but not the console [21:32] Ubuntu keeps asking for password after Ubuntu upgrade, despite me giving the right username/password in GNOME login window. NOTHING happens when I try to log in... [21:35] ujjain, can you reboot into recovery mode and drop to a root shell? then change the password? [21:35] should i be encrypting my home directory if im going to be accessing my server outsite of my local network [21:45] Kaprenakis, the encryption is good if someone steals your server [22:14] Scar: thats the only reason to use it? [22:15] Kaprenakis: why do you think you need in the first place? [22:15] Kaprenakis: I suspect it will just cause problems if you need to try and recover data later on in case of a filesystem or hard drive problem [22:15] Kaprenakis, also if someone hacks into the server and you're not logged in, then it may help [22:16] if someone hacks into the server, they can just install a keylogger and wait for you to login [22:17] cclausen: alrighty thanks youve been too much of a help. :P [22:17] cclausen: what do you do for a living? [22:18] Kaprenakis: https://wiki.cites.uiuc.edu/wiki/display/~cclausen/Resume [22:20] cclausen: wow thats pretty good. [22:20] cclausen: I've really looked into going to school for network specialist, or some kind of network security not sure yet.. I'm a senior in HS. [22:21] well, most of the networking classes here are kind of lame [22:22] unfortunately networking and security really needs to be learned on the job [22:22] yeah so what would be a good area to go for if i want to eventually over time transition into that kind of job. [22:22] things like SANS training can help, but there is no better way than actual problems [22:22] I'd start at an IT help desk [22:23] and work on learning things and try and learn on your own [22:24] you can read through course materials like: http://www.cs.uiuc.edu/class/sp10/cs438/lectures.html [22:24] yeah everything that ive learned is all by googleing my questions and searching everything that i come across while doing server setups. [22:25] yeah, me too [22:25] I've just been doing in longer [23:05] !download [23:05] Ubuntu installation CDs can be downloaded from http://releases.ubuntu.com - Mirrors can be found at http://wiki.ubuntu.com/Mirrors - PLEASE use the !torrents to download !Lucid, and help keeping the servers' load low! [23:13] How to install server from an iso without burning it ? and no not on a thumb either. How can I mount the image to run it ? [23:13] dominicdinada: what are you installing onto? [23:14] you can do a network install if you can PXE boot [23:17] Ok someone told me to gpart the drive and use usb startup creater and write the live cd to the disk then boot into the installer [23:17] I suspose you could [23:17] why though? [23:17] no blank CDs around? [23:18] Because A the server it is going into has no dvd drive B cant wipe my thumbs as 1 is broken other is full of 3.9 gigs secure back up, C the PC is in pieces at the moment [23:19] I see [23:19] dominicdinada: what is the server running now? you can upgrade from a previous ubuntu version [23:20] There is no server now. I have an old PC that I gutted and throwing in 2 TB worth of hard drives.... The hard drive in question is a WD onetouch 750 that the housing broke so the drive was yanked so no OS [23:21] Now it is in another external enclosure and gonna get a file system on there [23:21] what are you typing this off of? [23:21] you coudl try the netboot install [23:22] download http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/ into your tftpboot space on another linux system on the same subnet [23:22] err, oops, just get the netboot.tar.gz file [23:23] Same for 32bit i take it just the i386 correct [23:23] yeah, pretty much [23:23] server not new enough to support 64-bit ? [23:23] ok [23:24] dominicdinada: do you have the ability to run your own DHCP and TFTP service briefly? [23:24] The "Server" is just for home use it is a dell 4600c that I ripped out the mb and stuff because i got 4 HD's here and the slim doesnt allow any more drives [23:24] you can't just run them in all setups [23:24] Yes... I can do it from my router an automatically assign the ips... [23:24] yeah, I have many users with Dimenions still... that lack of actual drive space is annoying... [23:25] can you set a next-server parameter from your router? [23:25] (its a DHCP option) [23:25] Well like i said I got around 2 TB of drives literally sitting in my room just chillin and well... gonna throw the 4600c mb into an old Box with all the drives... IT doesnt help that i broke my keyboard also haha [23:26] hmm... no keyboard is a problem [23:26] I believe so I have seen it before [23:26] some of the basic tftp and dhcp stuff is at: http://www.debian-administration.org/articles/478 [23:26] actually, I guess I should do this too [23:27] would make lucid installs go quicker... [23:27] I got one I can steal briefly but eventually it the server will act as a File Server, Test Webserver, Wireless Access point extender, etc... With Remote Desktop [23:27] cool [23:27] I guess [23:28] For a File/media streaming server what should i install? Samba file server for the files. [23:28] If i get sick of it 2 years ago I got every version of Winblows Free from school :D [23:28] what is a LAMP server? [23:29] Linux Apache Mysql PHP [23:29] Kaprenakis: http://en.wikipedia.org/wiki/LAMP_(software_bundle) [23:29] Is a openSSH server is so you can acess your server using putty for example? [23:29] Kaprenakis: yes, putty connects to an openssh server [23:30] does filezilla use openssh? [23:30] filezilla can use ssh/sftp, yes [23:31] it is also an (SSL) FTP client [23:31] cclausen: ok thanks again! [23:31] note that SFTP through ssh and SSL FTP are not the same thing even though I've seen both called SFTP [23:32] ok lets say for example i want to add .mp3s to my server using filezilla what would i need to do in order for that to happen? [23:34] Kaprenakis: just openssh-server on teh server side [23:34] and disk space to place them in of course [23:35] Blah [23:37] How to Gpart the drive Management flag issue ?? Select all flags? [23:38] I'm not sure what you mean [23:39] ccleausen: ok tys [23:39] is it wise to install the GRUB boot loader to the master boot record? [23:40] Kaprenakis: you probably want to if you are only running one OS on the system