[12:13] <Nafallo> anyone has an IBM IC35L036UWD210-0 that's not in use? :-)
[12:13] <Nafallo> one of mine just died...
[12:21] <cy_> what is that ?
[12:21] <\sh> harddrive i think
[12:22] <foo> Haha
[12:29] <h4wk0> Sorry i have a IBM IC35L036UWD210-1
[12:33] <cy_> *g
[12:33] <cy_> i wish i'd get a clue out of http://wiki.xensource.com/xenwiki/XenNetworking
[12:34] <cy_> :/
[12:36] <cy_> lol
[12:36] <cy_> nice nick
[12:36] <cy_> :\
[02:34] <peanutb> im trying to get a dhcp server on my eth0 interface, with addresses from 192.168.5.2 to 192.168.5.254, and failing miserably. can someone please try to help.
[02:36] <Kamping_Kaiser> peanutb, whats not working?
[02:39] <peanutb> it  gives this error: 
[02:39] <peanutb> Configuration file errors encountered -- exiting
[02:39] <peanutb> Starting dhcpd failed
[02:39] <peanutb> Internet Systems Consortium DHCP Server V3.0.4
[02:39] <peanutb> Copyright 2004-2006 Internet Systems Consortium.
[02:39] <peanutb> All rights reserved.
[02:39] <peanutb> For info, please visit http://www.isc.org/sw/dhcp/
[02:39] <peanutb> /etc/dhcp3/dhcpd.conf line 11: subnet 192.168.2.1 netmask 255.255.255.0: bad subnet number/mask combination.
[02:39] <peanutb> subnet 192.168.2.1 netmask 255.255.255.0
[02:39] <peanutb>                                        ^
[02:39] <peanutb> Configuration file errors encountered -- exiting
[02:41] <Kamping_Kaiser> peanutb, subnet should be 2.0
[02:41] <peanutb> just 2.0?
[02:41] <Kamping_Kaiser> no
[02:41] <Kamping_Kaiser> 192.168.2.0
[02:41] <Kamping_Kaiser> not 192.168.2.1
[02:41] <peanutb> ohh
[02:41] <peanutb> ok
[02:41] <peanutb> got it
[02:48] <peanutb> now it says something about not being able to create a leases file.
[02:48] <peanutb> and it is not serving ips
[02:50] <qman> did you start the service, or just run "dhcpd"
[02:52] <peanutb> i am running it through a gui config interface.
[02:52] <peanutb> so probably dhcpd
[02:54] <Kamping_Kaiser> eh.
[02:55] <qman> try opening a terminal, and running "sudo /etc/init.d/dhcpd restart"
[02:56] <peanutb> thanks for your help
[02:56] <qman> the error you got generally means for one reason or another the service doesn't have permission to the lease file or the folder it's in
[02:56] <qman> which, often, results from running it as your own user instead of the special one, or root
[02:57] <qman> it can also mean the service is already running, and has a lock on the file
[05:16] <jtole_> hey guys
[05:16] <jtole_> real quickly, is there a command to list if you have x package installed on your system
[05:16] <jtole_> ?
[05:16] <shawarma> dpkg -l x
[05:16] <jtole_> thanks
[05:16] <shawarma> It shows you the install status of the package.
[05:17] <shawarma> 'ii' at the start of the line means it's installed.
[05:18] <jtole_> ok
[05:18] <jtole_> cool
[05:19] <jtole_> muchos gracias as they say a lot here in miami
[05:29] <shawarma> np
[11:08] <steveire> Hey.
[11:08] <`6og> hi.
[11:09] <steveire> Hey. I want to install AMP on my laptop to try out some cmses etc. Can you point me to a better more up to date guide than https://help.ubuntu.com/community/ApacheMySQLPHP
[11:11] <Burgundavia> that is still current
[11:14] <steveire> Alright. Doesn't seem to know feisty exists though. Should I just install ubuntu-lamp and then pick up somewhere in that page?
[11:15] <Burgundavia> yep
[11:15] <Burgundavia> and feel free to fix up that page
[11:15] <Burgundavia> it is a pubicly editable wiki
[11:29] <steveire> So Can I configure apache to not start when I boot up? It sounds like a security risk?
[11:30] <shawarma> steveire: See in /etc/defaults/apache2
[11:31] <steveire> shawarma: Excellent. Anything else obvious I should do?
[11:31] <shawarma> steveire: To accomplish what?
[11:32] <shawarma> steveire: Ubuntu has a no-open-ports by default policy. If you haven't installed anything that listens for connections, then there's shouldn't be any.
[11:32] <steveire> To get a good security setup.
[11:32] <steveire> apache does, right?
[11:32] <shawarma> Yes.
[11:32] <shawarma> But I suppose you installed it because you want to serve web pages?
[11:33] <steveire> Not really. I only want to try out some cmses etc on my laptop. I don't want anyone else seeing the content
[11:34] <shawarma> steveire: Still, in that case you want apache to run, but not listen on anything but the loopback interface.
[11:34] <shawarma> steveire: I believe it has a Bind directive in its main config.
[11:34] <steveire> I installed these packages: http://pastebin.ca/514709. Any of them listen?
[11:35] <shawarma> Only apache.
[11:36] <shawarma> You can always see what's listening with "sudo netstat -lnp"
[11:37] <steveire> Great.
[11:37] <steveire> There's a lot in there.
[11:42] <shawarma> Try tossing it onto the pastebin.
[11:46] <steveire> Well I've moved on a bit. I tried editing ports.conf and commenting out Listen 80. Then init.d/apache stop and init.d/apache start. Now I don't think apache will start.
[11:46] <shawarma> It won't. It checks /etc/defaults/apache2 to see if it should.
[11:46] <shawarma> You could also 'update-rc.d apache2 remove'
[11:47] <shawarma> And undo your changes to /etc/defaults/apache2
[11:47] <steveire> I don't get it. I edited that file so it wouldn't start on every boot.
[11:48] <steveire> I undid my changes and now I can start it again.
[11:49] <steveire> Is there a configuration option to not start on boot, but allow it to start?
[11:49] <shawarma> 'update-rc.d apache2 remove'
[11:50] <steveire> http://pastebin.ca/514739
[11:51] <steveire> Won't that just delete the curent configuration options?
[11:51] <shawarma> 'update-rc.d -f apache2 remove'
[11:51] <shawarma> steveire: no.
[11:51] <shawarma> steveire: It'll just make it not start on boot.
[11:52] <steveire> Really? How?
[11:52] <ajmitch> by removing the symlinks in the /etc/rc2.d directory, which are used to start services
[11:53] <steveire> OK. I'm parsing it differently now. Cheers
[11:54] <shawarma> hi, ajmitch!
[11:55] <steveire> Now I'm back at wanting to see the server myself, but not broadcast it to the wider internet. Do I edit ports.conf?
[11:55] <Burgundavia> hey shawarma
[11:56] <shawarma> Hi, Burgundavia.
[11:56] <ajmitch> steveire: yes
[11:57] <shawarma> steveire: Prepend 127.0.0.1: to the port, and you're good.
[11:58] <steveire> do I need to restart apache or anything?
[11:58] <ajmitch> sorry, was called away from my desk :)
[11:58] <ajmitch> hello Burgundavia 
[11:58] <shawarma> steveire: so that it reads "Listen 127.0.0.1:80"
[11:59] <shawarma> steveire: Yes.
[11:59] <steveire> Hmmm. I just ran sheilds up and I'm still running apache and it said nothing was running on 80...
[12:00] <steveire> I'm getting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName each time I start or stop apache. Is it notable?
[12:00] <shawarma> steveire: sheilds up?
[12:01] <shawarma> steveire: Nah, it's ok.
[12:01] <steveire> http://www.grc.com/default.htm Half way down that page. It scans for open ports
[12:01] <shawarma> steveire: If it's something that checks for open ports, it's likely to not bother with stuff that only listens on the loopback interface.
[12:02] <ajmitch> plus it scans from the internet
[12:03] <shawarma> ajmitch: Oh, I though it was a local program.
[12:03] <steveire> netstat still says apache is listening on 80.
[12:03] <shawarma> steveire: The entire point is that when only listening on the loopback interface,it can't be reached from the outside.
[12:03] <ajmitch> nope, steve gibson's amazing online port scanner with advanced stealth capabilities & several helpings of marketing BS
[12:03] <shawarma> steveire: Does it say 127.0.0.1:80 
[12:03] <steveire> So what would it take for that to return a positive on port 80? Before I set it to listen only on lo it didn't detect anything.
[12:03] <shawarma> steveire: ?
[12:04] <steveire> shawarma: Yes. It does now
[12:04] <shawarma> steveire: Are you behind a router or anything?
[12:04] <steveire> Eh, yep.
[12:04] <shawarma> That's it then.
[12:04] <shawarma> You probably can't connect to your machine from the outside at all.
[12:04] <ajmitch> hm, I suppose I should do a samba merge again
[12:05] <shawarma> ajmitch: Someone should :)
[12:05] <steveire> Ah right. Thanks for that. I might try on the other side of a router to convince myself of what I expect to happen.
[12:05] <shawarma> steveire: knock yourself out :)
[12:06] <ajmitch> shawarma: since I did the last one, I guess it falls on me again