[01:25] <marksman> I have 2 NICs that are bother on seperate LANS with 2 different ip ranges (wlan0=192.x.x.x & eth0=10.x.x.x).  Is it possible to route traffic by program?
[01:36] <pmatulis> marksman: what do you mean "by program"?  what precisely do you want to achieve?
[01:36] <MighMoS> Why can't I upgrade to jaunty from Intrepid 64-bit server?
[01:37] <MighMoS> I've tried with both update-manager and do-release upgrade, and both tell me "No new release found"
[01:39] <pmatulis> MighMoS: look in the file /etc/update-manager/release-upgrades
[01:39] <MighMoS> pmatulis: its set to normal
[01:40] <pmatulis> MighMoS: system fully updated i presume?
[01:40] <MighMoS> pmatulis: Yes.
[01:41] <MighMoS> I tried upgrading one machine by just running sed s/intrepid/jaunty on /etc/apt/sources.list/ but that causes 7 hours worth of headaches once the network went down in the middle.
[01:42] <pmatulis> MighMoS: have you had *any* trouble of a package management nature with this machine?
[01:43] <MighMoS> No. I hadn't with the other one either, so I figured I'd try to brute force it, but as I stated that didn't work out as well as I would have liked. I've disable all 3rd party repos as well
[01:44] <pmatulis> MighMoS: both systems were 64-bit servers?
[01:44] <MighMoS> One was 32 (desktop)
[01:45] <pmatulis> MighMoS: hmmm, something smells there
[01:45] <pmatulis> MighMoS: are you using a proxy or apt-cacher on your network?
[01:45] <MighMoS> Indeed, but there doesn't seem to be much I can find to pinpoint the problem
[01:46] <MighMoS> I do use apt-cacher, but the server is the apt-cache server as well
[01:46] <MighMoS> Hmm.
[01:46] <MighMoS> Thanks.
[01:47] <pmatulis> MighMoS: try removing that part
[01:47] <MighMoS> Should I open a bug about that?
[01:47] <pmatulis> MighMoS: no
[01:47] <MighMoS> Because I really would like to not DL the whole thing again
[01:47] <pmatulis> MighMoS: you might have a misconfiguration
[01:47] <MighMoS> And just use the cached debs
[01:48] <pmatulis> MighMoS: need to first determine whether that is actually the problem
[01:48] <pmatulis> MighMoS: remove that aspect and just try.  you should be able to abort
[01:48] <MighMoS> pmatulis: Thanks for your help. I've put it back and it still sees there's an update
[01:49] <pmatulis> MighMoS: so you good then?  apt-cacher was the problem?
[01:49] <MighMoS> pmatulis: Apparently
[01:49] <MighMoS> pmatulis: I moved the proxy file away, ran update and moved it back
[01:49] <MighMoS> pmatulis: and everything's fine now.
[01:51] <MighMoS> pmatulis: what would I check to see if apt-cacher-ng is preventing the download of those files?
[01:51] <pmatulis> MighMoS: logs
[01:53] <MighMoS> pmatulis: meh. Too much work. I'll figure it out in October ;-)
[01:53] <pmatulis> MighMoS: take your time, and take care
[02:22] <slestak> im having difficulty setting up htdigest auth on a ubuntu 9.04 server nagios 3.06 install.  i have verified permissions on the htdigest file, owned by www-data:nagios.  i get the following error logged configuration error:  couldn't check user.  No user file?: /nagios
[02:22] <slestak> i have used the htdigest command to explicitly add a user and passwd for him.
[02:23] <slestak> and restarted apache
[02:27] <jmarsden> slestak: Check permissions on the directory where the htdigest file is, and diectories above that -- can Apache really read that file?
[02:28] <slestak> let me check
[02:32] <slestak> jmarsden: htdigest.users is 640 www-data:nagios, /usr/local/nagios/etc is 775 www-data:nagios (appears to be suid nagios), /usr/local/nagios is 755 root:www-data
[02:33] <slestak> relevant apache nagios conf is at: http://pastebin.com/f69fc4224
[02:34] <slestak> pastie is wrong, need to append to that
[02:34] <jmarsden> slestak: Looks OK.  Alright, I'm running Jaunty here, I can download nagios3 and test it ... um, you pastebinned the filename, not the contents of the file?
[02:34] <slestak> yeah, echo's instead of cat
[02:35] <slestak> could selinux maybe interfere?  I do not have dns setup, i am reaching this by ip address
[02:35] <slestak> http://pastebin.com/f6b90a63a
[02:37] <slestak> i see one problem, in troubleshooting this, i renamed my htdigest file to htdigest.users, but only touched up one of the locations inthat conf file.
[02:38] <jmarsden> Yesm edit lines 40 and 53 and see if that fixes it.
[02:38] <slestak> what about the Auth Name directive, when i made my htdigest, i specified the realm in lowercase, nagios, but Auth User is Nagios
[02:39] <slestak> it was already not working when i renamed my htdigest
[02:39] <slestak> so i dont think tht is the total problem.  i have searched for extra .htaccess and other files
[02:39] <jmarsden> I'd make the case match; I'm not sure if it needs to, but it would be good.  However if that is the problem you should see a different error msg in your logs, the "no user file?" should go away
[02:40] <jmarsden> OK, one step at a time: fix the config file, restart Apache and retest.
[02:41] <slestak> same:  [crit] [client 172.17.1.78] configuration error:  couldn't check user.  No user file?: /nagios
[02:43] <slestak> the place i am working is about to close, so i need to drive abt 10 minutes.  i'll brb
[02:43] <jmarsden> OK :)
[02:43] <slestak> hard to find wifi out here in teh midwest on Sun night.  resorted to Micky D's
[03:21] <slestak> jmarsden: hiya, back
[03:21] <Noble> Having problem installing wordpress. Apache seems to be blocking it, getting not found erros. apache2.conf = http://pastebin.com/m5248f103
[03:22] <jmarsden> slestak: OK.  Did you already do sudo a2enmod auth_digest
[03:23] <slestak> oh, i think you hit it
[03:23] <jmarsden> That worked for me, then I checked and the realm *is* case-sensitive.
[03:26] <slestak> jmarsden: tytyty, its working.  have you seen eznag?  pretty well kitted nagios install.  somewhat turnkey
[03:26] <jmarsden> slestak: No problem.  I tend to edit the nagios configs myself, but I'll take a look at eznag.
[03:28] <slestak> and http://www.trickytools.com/php/ezcac.php
[03:28] <slestak> jmarsden: http://www.trickytools.com/php/metanag.php
[03:28] <slestak> sorry, netbook keyboard gets me sometimes
[03:40] <AdiePutera> how to remote view desktop using terminal ?
[03:43] <jmarsden> AdiePutera: You can't display a graphical desktop on a text terminal... ?  Are you looking for software such as rdesktop of vncviewer ??
[03:44] <AdiePutera> yes
[03:44] <AdiePutera> so i can connect from my pc
[03:44] <AdiePutera> to my server
[03:45] <jmarsden> Your server has no graphical desktop (if it is a Ubuntu server).  To ssh into your server from a PC running Windows, try software such as Putty.
[03:47] <jmarsden> !putty
[03:50] <AdiePutera> how about setting up nameserver
[03:50] <AdiePutera> a little bit confuse
[03:52] <AdiePutera> E: Sub-process /usr/bin/dpkg returned an error code (1)
[03:53] <jmarsden> What did you do to get that?  For basic DNS setup see https://help.ubuntu.com/9.04/serverguide/C/dns.html
[03:53] <genii> jmarsden: Damn, beat me to it
[03:53] <jmarsden> :)
[03:54] <AdiePutera> why this happen when im trying to install new app
[03:54] <AdiePutera> always got errors
[03:55] <AdiePutera> dpkg: error while cleaning up:
[03:55] <AdiePutera>  subprocess post-removal script returned error exit status 127
[03:55] <jmarsden> AdiePutera: we need more info to help answer that... which application are you trying to install on your Ubuntu server
[03:56] <AdiePutera> this is what im trying to do ->root@zetro:~# sudo apt-get install dnsutils
[03:57] <jmarsden> AdiePutera: That should work fine...   Something is broken on your system.  Try   sudo apt-get -f install
[03:57] <AdiePutera> same problem
[03:59] <jmarsden> Please pastebin the full output after doing sudo apt-get -f install
[04:02] <AdiePutera> root@zetro:~# sudo apt-get -f install
[04:02] <twb> 127 is file-not-found
[04:03] <jmarsden> AdiePutera: Don't put all the output here in the channel... use pastebin
[04:03] <jmarsden> !pastebin
[04:03] <jmarsden> Once you have Putty working you can cut and paste the whole thing...
[04:04] <genii> As a note... your prompt shows # which is root. So sudo is not neccesary.
[04:04]  * genii doesn't feel up to giving a sudo/root lecture just now
[04:06] <jmarsden> genii: I'd be surprised if there isn't a !rootlecture or similar shortcut :)
[04:06] <genii> jmarsden: In #ubuntu it's !root
[04:06] <genii> !root
[04:06] <genii> There we go. However since root already seems attained, somewhat moot
[04:09] <jmarsden> !msg ubottu sudo
[04:11] <genii> jmarsden: Oh yeah that one too
[04:12] <rfsalder> Hi all. I've got a question about using ufw on an server with multiple NICs. I trust this is a good place to ask?
[04:13] <twb> rfsalder: sure
[04:15] <rfsalder> Awesome. Can I configure different rules on a per interface basis? Each one of the NICs is on a different subnet and I want rules applied on a per interface basis.
[04:15] <rfsalder> I've used Shorewall for this in the past, but I'm playing with ufw and starting to like it.
[04:15] <twb> Dunno.
[04:16] <twb> I got to the point of working out that if I wanted to write normal rules, I had to grovel through the dirful of iptables-save files.
[04:17] <rfsalder> Yup - I'd prefer to have as much of a layer of abstraction as possible, as it seems the nitty-gritty is a bit complex.
[04:17] <twb> Because I'm lazy, what I'm currently doing is just running "iptables-restore </etc/iptab" on boot, where /etc/iptab is a file created by running iptables-save >/etc/iptab and adding comments
[04:17] <rfsalder> Have you played with Shorewall?
[04:18] <twb> No, but I've seen some of its rules.
[04:18] <rfsalder> I've found it to be a nice tool for my setups. I'm wondering if I can do the same kind of stuff with ufw though, since it seems nicely integrated in Ubuntu.
[04:18] <twb> Essentially how ufw works internally is to cat together all the files in (wherever it is), then dump them into iptables-restore.
[04:19] <twb> The ufw(8) tool just reads/writes a specific one of those files, the rest are maintained by upstream or by the senior sysadmin.
[04:19] <rfsalder> Ah... okay.
[04:19] <twb> So you have the full power of iptables, and ufw is a way to do simple rules that most people want.
[04:19] <twb> I don't know if the ufw(8) wrapper will let you do what you want, but if it doesn't, you can dive into the raw stuff in that dir.
[04:20] <rfsalder> I figure if I set a rule in ufw to allow traffic to a particular port on a particular IP, it will simply allow traffic to that IP:port from any of the interfaces.
[04:21] <rfsalder> Instead of a particular one that I can specify.
[04:22] <rfsalder> I haven't been able to find any articles or posts on the web discussing multiple interface ufw setups. That may very well mean that it's not a designed use scenario.
[04:24] <jmarsden> rfsalder: In general that is likely to be true.  ufw show raw   or /sbin/iptables -nvL will show you what the current state of things is, but I don't think ufw has any way to say "allow traffic from IP X to port Y on interface Z.
[04:27] <rfsalder> Thanks for your help, twb and jmarsden.
[04:41] <twb> jmarsden: as for me, I find it easier to read iptables-save than iptables -v -n -L
[08:31] <NineTeen67Comet> Hi all; does anyone know if there is a #networking room? I don't think asking network (general, not server specific) questions in here is appropriate.
[08:35] <NineTeen67Comet> I've got a studio that has asked me to build their server, site and network. They've got Cat5 outlets in all the rooms, a central box from the ISP in the main office and they want seperate N/G wifi as well as copper connecting all the workstations through the wall drops. I'm thinking the ISP to a Switch and that will hand out to separate G/N routers, a plain router to the wall outlets.
[08:53] <sluimers> Hello, I've got a mail server up and running, uhmm... I think, I'm pretty much a newbie when it comes to this, can I access it with thunderbird and if yes, how?
[08:54] <sluimers> When I send send a mail to my server computer it receives it in /home/<myusername>/mbox
[08:56] <sluimers> I use dovecot as an imap server... I'm not sure what it does, but I'd love to see my received mails in my thunderbird mailbox
[09:02] <_ruben> if dovecot is configured properly, then you can just configure an imap account in your thunderbird with the details of your server
[09:03] <_ruben> and mbox storage kinda sucks
[09:05] <sluimers> Ah, what is the proper configuration then?
[09:06] <_ruben> maildir for storage, and as for dovecot itself, it kinda depends on the total picture of your install .. the defaults oughta work fairly well (they did for me)
[09:08] <sluimers> I have a directory called Mail and Maildir
[09:08] <sluimers> in my home directory
[09:09] <_ruben> Mail is probably used by one or more mail clients, Maildir is a common place for mailservers to use as storage
[09:11] <sluimers> okay, how do I know it's working?
[09:11] <_ruben> when you can properly fetch your email from the server? ;)
[09:12] <sluimers> all Maildir has are 5 files and three empty directory
[09:12] <sluimers> lol
[09:12] <_ruben> which is to be expected for an empty mailbox
[09:12] <_ruben> you'll have to instruct postfix and/or procmail and/or dovecot to store the mails in those Maildir folders
[09:13] <sluimers> ah, I see
[09:13] <sluimers> so... is the Mail folder at the wrong place?
[09:13] <sluimers> it should be in the Maildir folder?
[09:13] <_ruben> no, its fine where it is
[09:14] <_ruben> its where (most) mail clients store they're local copies of email
[09:14] <_ruben> s/they're/their/
[09:14] <sluimers> oh, so the Mai folder has nothing to do with dovecot?
[09:14] <sluimers> Mail
[09:15] <simplexio> could be that Mail is in mailbox format nad Maildir is is mailfir format..
[09:19] <_ruben> sluimers: most likely so, yes
[09:19] <_ruben> sluimers: one could however instruct any MTA/LDA to use Mail/ as storage dir, but that's not very common
[09:21] <sluimers> ah, hmmm, so my dovecot isn't properly configured then...
[09:23] <_ruben> sluimers: i think you should approach this from another angle .. determine what you want to accomplish, then work towards that goal from (nearly) scratch .. not try to coerce an existing setup into doing what you might want
[09:31] <sluimers> Are you telling me to reinstall the whole thing?
[09:41] <_ruben> nah, just configuration wise (postfix+dovecot, assuming you use postfix as your mta)
[09:42] <sluimers> yes, I use postfix
[10:29] <Omahn> Does anyone know if it's normal for the builder servers to have over 5000 packages queued for building?
[10:30] <Omahn> Or is it just the addition of Karmic that's taking its toll?..
[10:46] <_ruben> likely
[10:49] <soren> Omahn: 5000?
[10:49] <soren> Omahn: Oh, total across all archs?
[10:49] <soren> Omahn: Yeah, that's probably just autosynced packages being built.
[10:56] <Omahn> soren: Yeah, that seems to be the case. I was just waiting on an SRU package to be build that's been waiting for several days now. I wonder if Canonical would take offers of server horsepower to speed things up..
[11:02] <soren> Omahn: I doubt it. We keep the buildd's under strict control for security reasons.
[11:03] <Omahn> soren: I can fully appreciate that. It's just a shame as we have seriously meaty hardware just sitting idle.
[11:04] <soren> Omahn: I would have thought, though, that SRU's got a higher build score than regular builds.
[11:05] <soren> Omahn: Which package is it?
[11:05] <Omahn> soren: compizconfig-backend-gconf
[11:06] <Omahn> Not an important one, but if the same delay was experienced for one of our server packages it would be a little concerning.
[11:07] <Omahn> Scores 1005.
[11:07] <soren> Yeah.
[11:07] <Omahn> Not sure if that's high or low priority in comparison to the influx of karmic.
[11:07] <soren> For critical updates, we can always poke a buildd admin to rescore it.
[11:08] <Omahn> Good stuff :-)
[11:09] <soren> Omahn: https://edge.launchpad.net/ubuntu/+builds?build_text=&build_state=pending
[11:09] <soren> Omahn: You can see how far down the list it is now.
[11:09] <soren> It's on the penultimate page :)
[11:10] <Omahn> Aha.
[11:11] <Omahn> In the end I just build the package locally with pbuilder although that doesn't really validate the SRU build.
[11:11] <Omahn> *built
[11:14] <Omahn> Still, might be worth Canonical having a chat with us. We have several Sparc T2000 boxes and 16 way Opteron machines doing very little and I'm sure it would speed things up a bit :-)
[13:33] <MagicFab> hi all
[13:33] <MagicFab> is there a single command to change a server's hostname ?
[13:34] <soren> I don't believe there is, no.
[13:35] <MagicFab> meh.. so I guess I should rewrite /etc/hosts and /etc/hostsname... that's it ?
[13:36] <Lord_Devi> echo NEWHOSTNAME >> /etc/hostname
[13:36] <Kamping_Kaiser> what about `hostname`?
[13:36] <Lord_Devi> > /etc/hostname sorry
[13:37] <Lord_Devi> (also must be done as root and not through sudo)
[13:39] <Kamping_Kaiser> it can be done through sudo, just not how you described above
[13:39] <Lord_Devi> what way?
[13:39] <Kamping_Kaiser> echo "foobar"  | sudo tee /etc/hostname
[13:40] <Lord_Devi> Ahh yes! Good thinking
[13:40] <soren> MagicFab: Depends. Certain packages might embed the hostname in its configuration files.
[13:41] <soren> MagicFab: But /etc/hostname and /etc/hosts is a good start.
[13:41] <_ruben> on a relatively fresh system, grepping for the current hostname in /etc and replacing it, suffices
[13:44] <pmatulis> Kamping_Kaiser: why not just 'sudo hostname new_hostname' ?
[13:46] <Kamping_Kaiser> pmatulis, hostname was my first suggestion
[13:46] <pmatulis> Kamping_Kaiser: k, still need to change the hostname file
[13:55] <soren> pmatulis: hostname only changes the machine's name as known by the kernel. It doesn't persist across reboots. Sort of like running iptables from the command line without updating ufw or whatever firewall script you're using.
[13:57] <pmatulis> soren: yes, hence my 2nd comment
[14:04] <soren> pmatulis: *nod*
[14:40] <wizardslovak> hello people
[14:41] <wizardslovak> how to disable su in server?
[14:43] <soren> wizardslovak: What are you trying to achieve. Disabling su wholesale will likely have undesired side effects.
[14:44] <soren> Thinking about it more closely, I'm going to guess that it'll not only have undesired side effects, it will also not have the effect that you're probably looking for :)
[14:47] <wizardslovak> what is the command for update system??
[14:48] <wizardslovak> apt-get upgrade?
[14:55] <Nokio> Hi all, I want to setup a login via ttyS0 serial console i created the /etc/event.d/ttyS0 file and added the information. When i do a telinit q and then look into the log and i get this "" http://pastebin.com/d6c81e83e "" and then it stop and cant get the tty working. Thanks in advance for the time and help
[14:58] <jimmy51_> hello, i'm running several kubuntu workstations but it's all currently peer to peer.  is ubuntu-server the way i should go for a centralized directory services / policy / update managment solution?
[15:03] <genii> jimmy51_: I would venture to say yes
[15:04] <jimmy51_> genii: is it a fairly straightforward process for someone who has set up active directory based domains many times/
[15:04] <jimmy51_> ?
[15:05] <genii> jimmy51_: I have not worked much with LDAP, myself.
[15:06] <genii> jimmy51_: The server guide here: https://help.ubuntu.com/9.04/serverguide/C/openldap-server.html  has a fairly comprehensive tutorial, however
[15:08] <jimmy51_> thanks
[15:10] <genii> jimmy51_: You're welcome. At other times of the day, there may also be some people in this channel more knowledgable on the LDAP subject
[15:49] <Tereza> hi
[15:49] <Tereza> someone could help me please?
[15:50] <Tereza> i have to configure a lan with 2 pc ethernet and a router ethernet
[15:50] <Tereza> what have i to do to configure network?
[15:58] <Nokio> Hi all, I just setted up a serial console via ttyS0 and if i do a ps axf |grep tty i see the new getty on ttyS0. On the client side i configure minicom to access it through my usb adapter ttyUSB0. But i dont get any login or anything
[16:06] <unr3a1> heya ll
[16:06] <unr3a1> hey all*
[16:07] <unr3a1> I am trying to restore my installed applications on my ubuntu machine and this is what i get:  http://pastebin.com/m257ea5fa.  does anyone know what would cause this?  Thanks.
[16:08] <TeLLuS_> Tereza: Know some TCPIP and know if you want to use static ip or DHCP. Maybe.. http://linux.about.com/od/ubusrv_doc/a/ubusg17t03.htm http://www.debianadmin.com/ubuntu-networking-for-basic-and-advanced-users.html
[16:10] <TeLLuS_> unr3a1: Have not set the same /etc/apt/sources.list files as the computer you got the packagelist from..
[16:11] <unr3a1> TeLLuS, ok... so what do I do?  I dont have that sources.list file anymore
[16:14] <genii> unr3a1: For packages it's not currently finding which are in regular ubuntu maintained repos, you could look up by package-name at http://packages.ubuntu.com/   to see whic repository needs enabling. For the others which came from non-standard repos, you may need to google.
[16:14] <unr3a1> ....  alright... from now on I will back up my sources.list file too....
[16:14] <unr3a1> thanks for the info
[16:25] <Nokio> No one can help with serial console login ?!
[16:29] <TeLLuS_> Nokio: Tried with something else then with the usbserialadapter..  Any second comport on same computer..
[16:35] <Nokio> TeLLuS_ localy on the computer i have 2 serial port ttyS0 is the one that i set a a getty on. ttyS1 if the serial port u just tried instead of the ttyUSB0
[16:35] <Nokio> and it does not work either using minicom
[16:38] <Nokio> TeLLuS_ so ttyS1 and ttyUSB0 doesnt seems to work and i dont understand because i did that setup quite a few time on other linux and it just worked
[16:38] <fbc-mx> I loaded and configured samba, but how do I get it to announce the service.. I still don't see a workgroup on the lan?
[16:40] <genii> fbc-mx: It uses whatever the default broadcast address is. So if that's not defined, or the default gateway is for a different adapter than the one samba is configured to run on, the broadcasts don't get picked up by other boxes.
[16:51] <fbc-mx> genii, k, thanks, I'll try to get that configured.
[17:05] <fbc-mx> genii, It is still not announcing is there anything else I could check for?? My ubuntu machine is connected to the same switch. I and I can see other windows workgroups from it. I keep refreshing the screen to see if the new one comes up but it does not.
[17:07] <fbc-mx> genii, there is WIndows ADC on the same lan. I don't know if that might be a problem. I'm using a completely different workgroup name from any others.
[17:10] <BCMM> i have a server running gutsy. what do i need to do to bring it up to date?
[17:13] <rxMokka> anyone know a page detailing what exactly the difference in supported packages are for LTS releases in regards to "desktop" vs "server"? and by "supported" I mean the extended 3yr/5yr updates
[17:16] <genii> fbc-mx: The domain controller may have something to do with it. What values are given in smb.conf for settings "domain master" and "os level" ?
[17:18] <RoAkSoAx> ivoks, morning master :)
[17:19] <ivoks> RoAkSoAx: hi :)
[17:19] <RoAkSoAx> ivoks, how's it going?
[17:21] <genii> fbc-mx: Apologies on lag, my workplace is fairly busy.
[17:21] <ivoks> RoAkSoAx: lots of work to do
[17:22] <RoAkSoAx> ivoks, packaging related or job?
[17:23] <ivoks> RoAkSoAx: job :)
[17:23] <RoAkSoAx> ivoks, where do you live? I though it was night for you
[17:24] <ivoks> RoAkSoAx: it's 6PM
[17:24] <RoAkSoAx> ivoks, Oh i see... it's 11.30 for me.. anyways.. when can we start with the mentorship process?
[17:37] <fbc-mx> genii, I understand please standby as I've noticed an issue between gadmin-samba and samba itself.. Apparently gadmin-samba is using depreciated values. I may have to configure this by hand...
[18:25] <n0ah> i only have lo and vnet0 when i do ifconfig, is that my ethernet card?
[18:27] <ivoks> nope
[18:28] <n0ah> oh poo :(
[18:28] <ivoks> ethernet is ethX
[18:29] <ivoks> vnet is from some kind of virtualization stack
[18:29] <ivoks> vmware, libvirt, etc...
[18:29] <n0ah> yeah, but it appears that my ethernet card isn't installed then
[18:29] <RoAkSoAx> ivoks, btw... when can we start with the mentorship process?
[18:30] <ivoks> RoAkSoAx: whenever you want :)
[18:30] <RoAkSoAx> ivoks, i'm ready for action...
[18:30] <ivoks> oh, i have to tell you to do something? :)
[18:30] <ivoks> i have to check how the mentoring goes...
[18:31] <RoAkSoAx> ivoks, https://wiki.ubuntu.com/MOTU/Mentoring Junior Mentirong
[18:31] <ivoks> hehe thanks
[18:32] <RoAkSoAx> ivoks, btw I've created #ubuntu-ha so we can work from there
[18:32] <rxMokka> n0ah: -a ?
[18:32] <ivoks> oh...
[18:33] <ivoks> RoAkSoAx: so, you would like to start on packaging?
[18:34] <RoAkSoAx> ivoks, yes, though i have done merges and updates before
[18:34] <ivoks> oh, great
[18:34] <ivoks> phone
[18:34] <RoAkSoAx> i do have little knowledge
[18:34] <RoAkSoAx> k
[18:34] <rxMokka> anyone know a page detailing what exactly the difference in supported packages are for LTS releases in regards to "desktop" vs "server"? and by "supported" I mean the extended 3yr/5yr updates
[18:35] <ivoks> RoAkSoAx: are there any merges you would like to do?
[18:38] <BCMM> i have just updated a server, and it seemed to finish sucessfully, but lsb_release -a still says "Release:        8.04"
[18:39] <BCMM> do-release-upgrade says "no release found"
[18:39] <n0ah> rxMokka, I should do ifconfig -a?
[18:39] <BCMM> what version am i running?
[18:45] <pmatulis> BCMM: how exactly did you update the server?
[18:46] <BCMM> sudo do-release-upgrade
[18:46] <BCMM> i was ssh'ed in; i know this is not advised but the machine has no screen
[18:47] <BCMM> it prompted for reboot, and i said yes
[18:47] <BCMM> (after editing menu.lst because it got the boot drive wrong)
[18:48] <MrMist> Hey all
[18:48] <pmatulis> BCMM: and it started out as 8.04?
[18:48] <BCMM> pmatulis, no i think it started out as gutsy
[18:49] <pmatulis> BCMM: so what's the problem?
[18:49] <BCMM> isn't the current version 9.something?
[18:50] <pmatulis> BCMM: you upgraded from 7.10 to 8.04
[18:50] <MrMist> I thought I should try installing Xorg myself, starting with a new jaunty installation
[18:50] <MrMist> it actually went quite OK
[18:51] <BCMM> pmatulis, why doesn't it offer me 9.04?
[18:51] <pmatulis> BCMM: re current version, sure, but you can't leap over mulitple releases except for LTS-to-LTS
[18:51] <pmatulis> BCMM: you need to upgrade again, to 8.10
[18:51] <MrMist> but Now I'm having a problem with cwiid... or wminput. It crashes my X session when I push a button on the controller. Don't know how to approach this... Anyone care to help ?
[18:51] <BCMM> pmatulis, ah, how is that done?
[18:52] <pmatulis> BCMM: and then again to 9.04
[18:52] <pmatulis> BCMM: just like a frog jumping from one rock to another
[18:52] <BCMM> although actually i may well decide to stick with the LTS as i'm not terribly keen on breaking this server
[18:52] <BCMM> now that i understand that things haven't gone wrong
[18:53] <BCMM> if i did decide to upgrade, how would i do it?
[18:53] <pmatulis> BCMM: that's a decent choice (LTS)
[18:54] <pmatulis> BCMM: what does the following command give you:
[18:54] <pmatulis> BCMM: $ grep Prompt /etc/update-manager/release-upgrades
[18:54] <BCMM> that fits what i want, right? keep serving files, and get security updates as it has SSH open to the world
[18:55] <MrMist> Anyone??
[18:55] <MrMist> http://pastebin.com/f320cd5d0
[18:55] <BCMM> pmatulis, Prompt=lts
[18:55] <pmatulis> BCMM: see?  it's stuck on lts
[18:55] <pmatulis> BCMM: and that's by design
[18:55] <pmatulis> BCMM: edit the file so Prompt=normal (when you're ready to upgrade to 8.10)
[18:56] <BCMM> pmatulis, i'll probably stick to lts
[18:56] <BCMM> thanks though
[18:56] <pmatulis> BCMM: np
[18:56]  * pmatulis goes away
[19:49] <wizardslovak> what is the command to restart network interface?
[19:50] <pmatulis> wizardslovak: $ sudo service networking restart
[19:52] <jimcooncat> not trolling: for my small business (10 users) what is the advantage of going with ubuntu-server rather than debian? I'm torn here, and looking at a big time investment
[19:53] <stickystyle> jimcooncat: For me the switch from debian to ubuntu was the predictable LTS release cycles
[19:54] <zul> jimcooncat: predictable release cycles, long term support, etc etc etc
[19:55] <jimcooncat> during the time when debian was stalled for so long, that did make sense. But now? It seems the rise of ubuntu has jolted Debian into a more responsive mode, or maybe that's temporary?
[19:55] <zul> maybe temporary you never know
[19:56] <jimcooncat> are security updates quicker with ubuntu? only for main?
[19:57] <jbernard> i would say no, both distro's are on the ball when it comes to critical security updates
[19:58] <jimcooncat> what about technology differences? I'm interested in pxe, drbd, ha-linux, and kvm
[19:58] <stickystyle> with regards to release cycle and security, http://www.debian.org/security/faq#lifespan
[19:58] <stickystyle> basically there is no absolute defined timeline of support.
[19:59] <pmatulis> jimcooncat: all those things are available with Ubuntu
[20:00] <pmatulis> jimcooncat: although PXE is a hardware technology
[20:01] <jimcooncat> thanks pmatulis, I meant userland tools for it. I remember long ago trying to netboot several flavors of ubuntu and debian, only to have one version of ubuntu actually install without glitches.
[20:02] <jimcooncat> or maybe it was debootstrap, I could be disremembering
[20:03] <pmatulis> jimcooncat: best is to set up a Ubuntu system and test, that's the only way to really know
[20:03]  * pmatulis moves on
[20:04] <jimcooncat> so being slow to upgrade (I get busy with other projects), perhaps LTS is safer for me
[20:04] <wizardslovak> hello
[20:05] <wizardslovak> how to add static ip >
[20:07] <genii> wizardslovak: Thats a fairly vague question. Can you elaborate?
[20:07] <wizardslovak> ok so i want for my new server to have static ip
[20:08] <genii> wizardslovak: Will this static IP for inside the local area network, or for the internet?
[20:08] <jimcooncat> wizardslovak: are you getting ready to install now, or do you have a server set up on DHCP at the moment
[20:08] <stickystyle> jimcooncat: I wouldn't use anything other than LTS on a server unless there where absolute reasons to do so.  Most of my servers are 6.06 and I'm happy knowing I wont have to bother upgrading them for another couple years.
[20:08] <wizardslovak> i have /etc/network/interfaces open  and i know netmask,network and gateway ip , but i cant find broadcast ip
[20:08] <wizardslovak> this will be for LAN only
[20:09] <wizardslovak> i am newbie and love to learn ubuntu server so this one is for study purposes
[20:09] <stickystyle> and they where 6.06 from the begining.  I was in the same place as you deciding between debian and ubuntu a few years ago.
[20:09] <genii> wizardslovak: If netmask is 255.255.255.0 then broadcast will be x.x.x.255     (where the x.x parts is the IP)
[20:10] <genii> wizardslovak: If you have some other netmask, there is a formula to find which should be broadcast
[20:10] <rxMokka> anyone know a page detailing what exactly the difference in supported packages are for LTS releases in regards to "desktop" vs "server"? and by "supported" I mean the extended 3yr/5yr updates
[20:11] <jimcooncat> stickystyle: that would be good for me. I guess I could try my original idea with hardy, unless there's tech that's not available. I'll be loading them up with preseed anyway, so if I have to switch to lenny it shouldn't be too hard to modify
[20:11] <rxMokka> stickystyle: you mention knowing about upgrades... what do you know about when you'll be forced to upgrade?
[20:13] <jimcooncat> rxMokka: my guess from what I've read is that anything based on x.org (about everything GUI) falls into the desktop category -- perhaps the CFS kernel as well
[20:13] <stickystyle> rxMokka:  I know in 2010 I will begin to start migrating my infrastructure to the 10.X LTS release as in 2011 is when 6.06 will be EoL.
[20:14] <rxMokka> stickystyle: is that server EOL or desktop EOL?
[20:14] <stickystyle> rxMokka:  server.
[20:14] <stickystyle> desktop 6.06 is eol this year if im not mistaken.
[20:15] <rxMokka> do we know yet, a packagelist of what will not recieve updates?
[20:15] <stickystyle> That came up on the server mailing list a little while back, let me see if I still have that thread.
[20:15] <rxMokka> I mean, is there a published list of what packages will become unsupported after destop-eol
[20:16] <jimcooncat> rxMokka: If you get stuck for time, they just switch the url for the update. I've got a Edgy system at home, and just had to update sources.list. Of course, we shouldn't be so lazy...
[20:16] <jimcooncat> rxMokka: but I doubt I'll ever see any security updates, so it's not good to get behind
[20:17] <rxMokka> jimcooncat: edgy and gutsy both are recieving no updates after EoL, updated files that were already made are still avail in the renamed repo urls, but nothing new
[20:25] <jimcooncat> thanks all. I'll be back next week when I get stuck! Oh yeah, I do thing community spirit here is +++
[20:43] <rxMokka> stickystyle: any luck with that ML thread?
[20:48] <stickystyle> rxMokka:  http://people.ubuntu.com/~ubuntu-archive/seeds/ubuntu-server.dapper/server
[20:48] <stickystyle> from https://lists.ubuntu.com/archives/ubuntu-server/2007-July/000541.html
[20:50] <rxMokka> ah lovely!
[20:50] <rxMokka> thanks stickystyle
[20:50] <stickystyle> np
[20:50] <rxMokka> does the ==from desktop== section in the server seed, mean that those also will recieve the 5yr update terms?
[20:50] <rxMokka> *= From desktop =
[20:50] <stickystyle> That is what I understand.
[20:51] <rxMokka> perfect
[20:51] <stickystyle> Although I'm not a dev or anyone with commit privileges, so don't take my word as absolute.
[20:52] <rxMokka> damn shame that my sshd and httpd are going to lose support so early though :(
[20:52] <stickystyle> ssh and apache2 are on there.
[20:53] <rxMokka> yea
[20:53] <rxMokka> I use dropbear and lighttpd though
[20:53] <stickystyle> ah.
[20:54] <rxMokka> LTS should reduce the workload of patching enough though, that I can maintain my own updates to those two
[20:55] <stickystyle> Very true.  It's not that hard to backport things anyways, I backport bacula-fd from jaunty to my 6.06 boxes.  Then just rebuild when an update comes out.
[20:56] <rxMokka> easier to backport an upstream release, than it is to backport an update to an upstream release heh
[20:57] <rxMokka> my intent is to backport only code patches that fix security issues, inorder to guarantee functional compatibility
[20:58] <superm1> hi guys. so i wanted to find out when mysqld_safe is running, what might be triggering a SIGHUP to it that's getting trapped and forcing the restart? (wrg to bug 326768)
[20:58] <stickystyle> Keeping with the debian/ubuntu way is the best way.  unfortunality I *need* the newer version of bacula :(
[20:59] <superm1> at least from my test on a system constantly reproducing it, dropping that trap fixes the problem, but i'm not sure it has a useful purpose. and if it does - why hasn't that patch from debian landed upstream?
[21:01] <rxMokka> thanks again for the links stickystyle, just what I was looking for
[21:07] <Speedy059> How do you install the "wget" on Ubuntu-Server? I'm more familiar with Red Hat distros...:(
[21:08] <blizzkid> kirkland: you're here?
[21:12] <jbernard> Speedy059: "sudo aptitude install wget"
[21:17] <RoAkSoAx> kirkland, is bochsbios-qemu still in the archives?
[21:24] <jbernard> RoAkSoAx: doesn't appear to be, looks like it may have been superseded by bochsbios package
[21:25] <RoAkSoAx> jbernard, that's what i also think, but qemu in jaunty still has it as build depends... anyways I was about to remove it from there
[21:27] <kirkland> blizzkid: howdy
[21:27] <jbernard> RoAkSoAx: i would suspect the bochsbios-qemu could safely removed from qemu's builddeps
[21:28] <RoAkSoAx> jbernard, thanks :)
[21:28] <kirkland> RoAkSoAx: i see bochsbios - BIOS for the Bochs emulator
[21:28] <blizzkid> evening kirkland, I'd like to discuss https://bugs.launchpad.net/screen-profiles/+bug/368963 with you a bit... I'd be happy to try to get that patch made, but I miss some details on how stuff works atm
[21:29] <RoAkSoAx> KingOfDos, in Jaunty depends is: bochsbios-qemu (>= 2.3.5-1ubuntu1) | bochsbios (>= 2.3.6-2ubuntu1), but since bochsbios-qemu is not in the archives, I removed it from Depends (I'm merging qemu btw)
[21:30] <kirkland> RoAkSoAx: sweet, thanks.
[21:30] <RoAkSoAx> kirkland, in Jaunty depends is: bochsbios-qemu (>= 2.3.5-1ubuntu1) | bochsbios (>= 2.3.6-2ubuntu1), but since bochsbios-qemu is not in the archives, I removed it from Depends (I'm merging qemu btw)
[21:30] <RoAkSoAx> :)
[21:30] <RoAkSoAx> welcom
[21:30] <kirkland> RoAkSoAx: i think that looks good
[21:30] <kirkland> blizzkid: okay
[21:31] <blizzkid> kirkland: like, how does it check for a running screen right now?
[21:31] <blizzkid> is that in a binary or in a shell script?
[21:31] <kirkland> blizzkid: see /usr/bin/screen-launcher
[21:31] <kirkland> blizzkid: exec screen -xRR
[21:31] <blizzkid> k, I'll start there :)
[21:32] <kirkland> blizzkid: cross those -xRR options with the screen manpage
[21:33] <kirkland> blizzkid: see the whole section in the manpage on -R
[21:33] <kirkland> http://manpages.ubuntu.com/manpages/jaunty/en/man1/screen.1.html
[21:33] <blizzkid> kirkland:  have that right in front of me, I'll just look at making that conditional
[21:33] <blizzkid> and obviously I'll have to figure out how to do a menu like yours
[21:34] <kirkland> blizzkid: for that, see select-screen-profile
[21:34] <kirkland> blizzkid: you're going to have to make this configurable, though
[21:35] <kirkland> blizzkid: ie, it's going to aggravate a lot of people to get hit with a prompt for "which screen session do you want?"
[21:35] <kirkland> blizzkid: i think the vast majority are going to want -xRR
[21:35] <blizzkid> kirkland: I did indeed intend to look at something config'able
[21:35] <kirkland> blizzkid: since that's the debian default
[21:35] <blizzkid> btw, select-screen-profile?
[21:35] <kirkland> blizzkid: /usr/bin/screen-profile-select
[21:35] <kirkland> blizzkid: or rather
[21:36] <kirkland> blizzkid: /usr/bin/select-screen-profile
[21:36] <kirkland> blizzkid: it presents a list, you select one, etc.
[21:36] <kirkland> blizzkid: also, see screen -ls
[21:36] <blizzkid> ok, right, it's what you get at first start
[21:36] <kirkland> blizzkid: for a list of open sessions
[21:37] <blizzkid> and screen -ls is what I wanted to use indeed :)
[21:37] <kirkland> blizzkid: can i assign you that bug in LP ?
[21:37] <kirkland> blizzkid: what's your LP id?
[21:38] <blizzkid> kirkland: it's blizzkid, and I'd be honoured to get this bug assigned
[21:38] <kirkland> blizzkid: well i'm happy to honour you :-)
[21:40] <blizzkid> what's $# ?
[21:40] <kirkland> RoAkSoAx: do you need sponsorship for the qemu merge?
[21:40] <blizzkid> kirkland: ^
[21:40] <kirkland> blizzkid: https://bugs.edge.launchpad.net/screen-profiles/+bug/368963
[21:41] <RoAkSoAx> kirkland, i guess so, i trying to build it :)
[21:41] <kirkland> blizzkid: okay, here's what i suggest
[21:41] <kirkland> blizzkid: if more than one session exists, list them
[21:41] <kirkland> blizzkid: ensure that the default selection matches whatever -xxR would have selected
[21:42] <kirkland> blizzkid: such that just hitting enter will get you into that one
[21:42] <kirkland> blizzkid: also, put a timer on it
[21:42] <kirkland> blizzkid: such that after X seconds (10?) it selects that screen session
[21:44] <blizzkid> kirkland: I agree except for 1 small thing: I'm thinking of following: put a config option in ~/.screen (eg: PresentList = 0/1) --> 0 = just do -xRR, 1 = present a list of existing sessions with -xRR's default selected and X seconds (maybe configurable too) timeout
[21:44] <blizzkid> kirkland: I'm just trying to find out what exactly is $# :p
[21:45] <kirkland> blizzkid: that's fine, but put it in ~/.screen-profiles/SOMETHING
[21:45] <blizzkid> you're right on that one :)
[21:45] <kirkland> blizzkid: $# is the number of args, i think
[21:45] <kirkland> blizzkid: man dash
[21:45] <kirkland> blizzkid: search for \$#
[21:45] <RoAkSoAx> kirkland, it would not build because of this: http://pastebin.ubuntu.com/164457/ any ideas?
[21:46] <kirkland> RoAkSoAx: oh, please drop libvdeplug2-dev
[21:47] <RoAkSoAx> kirkland, what about etherboot?
[21:47] <kirkland> RoAkSoAx: i'm looking
[21:47] <blizzkid> ok, kirkland, one more question for now... once the profile is set it obviously doesn't present that list anymore... is that being checked for in select-screen-profile too?
[21:47] <kirkland> blizzkid: no, that's checked in /usr/bin/screen
[21:48] <kirkland> blizzkid: which is a wrapper shell script
[21:48] <blizzkid> ok, perfect
[21:50] <kirkland> RoAkSoAx: i'm not sure about etherboot
[21:50] <RoAkSoAx> kirkland, it says that etherboot only recommends mknbi and don't depends on any other package.. it is just a virtual package
[21:51] <kirkland> RoAkSoAx: that's what it looks like to me
[21:51] <kirkland> RoAkSoAx: maybe build-depend on mknbi
[21:51] <RoAkSoAx> kirkland, ok will try to do that
[21:53] <kirkland> soren: around?
[21:53] <RoAkSoAx> kirkland, it fails
[21:54] <kirkland> RoAkSoAx: same error?
[21:54] <RoAkSoAx> kirkland, yes
[21:54] <a|wen> RoAkSoAx: what are you building against? karmic/main-only ?
[21:55] <RoAkSoAx> a|wen, karmic yes
[21:55] <RoAkSoAx> oh lol, should add repos
[21:55] <kirkland> RoAkSoAx: oh, qemu is in universe
[21:55] <RoAkSoAx> lol dumb me :)
[21:55] <a|wen> RoAkSoAx: http://packages.ubuntu.com/karmic/libvdeplug2-dev ... that is definitely not virtual ;)
[21:55] <kirkland> a|wen: cheers, thanks
[21:55] <a|wen> RoAkSoAx: so you can just re-add it
[21:56] <RoAkSoAx> thanks guys :)
[21:56] <a|wen> kirkland: no problem ... couldn't figure out why that package should have disappeared from vde2 since the last time i worked on the source :)
[21:57] <kirkland> a|wen: i didn't think to ask, thinking surely RoAkSoAx would have universe enabled, if he's working on a universe package :-)
[21:58] <RoAkSoAx> just forgot to create the pbuilder with universe :(
[21:58] <RoAkSoAx> it's not the first time that happened to me :)
[21:59] <a|wen> it's a real cheater
[22:00] <RoAkSoAx> ohh btw.. in debian it Depends on: vgabios (>= 0.6c-1) but there's not such version on Ubuntu, so I just used vgabios (>= 0.6b-1) is that the correct thing to do?
[22:01] <a|wen> RoAkSoAx: is there a reason for it in the changelog?
[22:01] <RoAkSoAx> a|wen, no
[22:03] <a|wen> RoAkSoAx: keep the c-version
[22:04] <a|wen> RoAkSoAx: it is already in karmic ... just waiting to be built
[22:05] <RoAkSoAx> a|wen, oh so I just keep the debian version then
[22:06] <a|wen> RoAkSoAx: jup ... it is pending build currently, so need not to
[22:06] <RoAkSoAx> ok awesome
[22:06] <a|wen> RoAkSoAx: unless someone re-scores your built it should hit the builders after the new vgabios is ready
[22:07] <RoAkSoAx> i've been a while since I've done a merge (hardy...) xD
[22:07] <RoAkSoAx> a|wen, i haven't suscribed it ye.. so it will :)
[22:08] <a|wen> RoAkSoAx: welcome back in the game then :) ... if you feel for it you can build the vgabios manually for doing the testbuilt now
[22:10] <RoAkSoAx> a|wen, thanks :) and yes i'll try that before subscribing to u-u-s
[22:10] <a|wen> RoAkSoAx: of course ;)
[22:13] <RoAkSoAx> Oh man. hopefully I'll learn everything that's necessary to become a MOTU in 3 months :)
[22:14] <a|wen> RoAkSoAx: good luck with it :)
[22:14]  * a|wen MOTU-powers is ~2 months old
[22:16] <RoAkSoAx> a|wen, thanks :) and that's awesome.. however in my country it's unusual for someone to get involved with open source, and that makes it harder :)
[22:16] <a|wen> RoAkSoAx:
[22:17] <a|wen> which country is that?
[22:18] <RoAkSoAx> a|wen, Peru
[22:20] <a|wen> cool
[22:21]  * a|wen thinks he has seen some developer from peru on planet ubuntu
[22:21] <RoAkSoAx> a|wen, yes he is one of the few who work with open source, this one is nxvl
[22:22] <a|wen> RoAkSoAx: cool ... then i didn't remeber completely wrong
[22:23] <RoAkSoAx> a|wen, yep.. so that's my goal, become a MOTU too :)
[22:26] <a|wen> always good with some goals
[22:49] <SFauconnier> hi all, can anyone help me out with setting up a DHCP server? I've posted it on the forums as well: http://ubuntuforums.org/showthread.php?p=7213788
[22:50]  * dayo is reading SFauconnier forum post
[22:52] <dayo> SFauconnier: what ubuntu release are u using?
[22:52] <SFauconnier> ubuntu server 9.04
[22:54] <dayo> SFauconnier: your dhcp server is between your clients and the internet and gives out IPs via eth1, right?
[22:55] <SFauconnier> indeed
[22:55] <SFauconnier> eth1 is connected to the internet externally
[22:55] <SFauconnier> eth0 internally
[22:55] <SFauconnier> and should give out IP's in the network
[22:56] <dayo> SFauconnier: aah, so LAN IPs come to your clients from eth0, then?
[22:56] <SFauconnier> yes
[22:56] <dayo> eth1-----DHCP Server-----eth0[22:56] <dayo> ^ ?
[22:57] <SFauconnier> indeed
[22:57] <ken___> hi, how do i enable wireless to come up without someone logging in locally?
[22:58] <dayo> SFauconnier: the interfaces config u posted, is that your dhcp server?
[22:58] <SFauconnier> no that's /etc/network/interface
[22:58] <SFauconnier> * /etc/network/interfaces
[22:59] <dayo> SFauconnier: the /etc/network/interfaces file that is on your dhcp server?
[22:59] <SFauconnier> yes indeed
[23:00] <dayo> SFauconnier: well, there are a few problems with that config. first, please check /etc/sysctl.conf and see if the line "net.ipv4.conf.forwarding=" is set to 0 or 1
[23:01] <RoAkSoAx> kirkland, i have tested it on my ppa, and it builds succesfully: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/371879 So I guess you can sponsor my upload :)
[23:01] <dayo> SFauconnier: it needs to be set to 1, to enable packet forwarding.
[23:02] <SFauconnier> #net.ipv4.ip_forward=1
[23:02] <SFauconnier> it's commented
[23:02] <dayo> SFauconnier: uncomment it
[23:02] <dayo> SFauconnier: what's between your DHCP server and the internet?
[23:03] <SFauconnier> cable modem
[23:03] <SFauconnier> no idea what the correct english word is.. something my ISP installed and I can't remove
[23:03] <SFauconnier> but other than that nothing
[23:03] <dayo> so, u've got two network cards on your dhcp and eth1's connected to your modem, while eth0 is connected to a switch or a client?
[23:04] <SFauconnier> a switch, yes
[23:05] <SFauconnier> now that I've uncommented it, shall I restart the services and try again? or do I need to change/add things in my interfaces file?
[23:05] <dayo> SFauconnier: does your modem hand out a static IP or a dynamic IP to your server?
[23:05] <SFauconnier> static
[23:05] <dayo> SFauconnier: yeah, we need to change your interface file
[23:06] <dayo> hang on.
[23:06] <SFauconnier> ok
[23:07] <kirkland> RoAkSoAx: cool, i'll take a look
[23:09] <dayo> SFauconnier: ok, backup your interfaces file, disconnect your DHCP from your modem and switch, then make your interfaces file look like this: http://paste.ubuntu.com/164508/
[23:10] <dayo> after that, plug you modem into *eth0* on your dhcp, and your switch into *eth1* on your dhcp, then restart dhcp
[23:11] <dayo> also i think we'll have to set up routing. we'll see.
[23:12] <RoAkSoAx> kirkland, btw i've just added a new debdiff fixing somthing in the changelog that forgot to modify :)
[23:12] <kirkland> RoAkSoAx: cool, i'll take a look a bit later today
[23:12] <RoAkSoAx> kirkland, ok awesome, thanks :)
[23:12] <kirkland> RoAkSoAx: merge review is a non-trivial effort :-)
[23:13] <SFauconnier> dayo: ifconfig says the broadcast is 255.255.255.255, is that possible?
[23:13] <RoAkSoAx> kirkland, haha indeed
[23:13] <SFauconnier> dayo: also, I have no idea what I should fill in in network (derived from my static ip), any idea how I could find out?
[23:14] <dayo> SFauconnier: is that ifconfig off the old interfaces file?
[23:14] <SFauconnier> yes
[23:14] <SFauconnier> (didnt know those two were connected)
[23:15] <SFauconnier> (I mean, didnt know ifconfig used the interfaces file)
[23:15] <dayo> SFauconnier: for network, i'd say make it the same as the static IP, except change the last digits to 0   e.g.: static: 192.168.1.23  network: 192.168.1.0
[23:16] <SFauconnier> k
[23:16] <SFauconnier> but
[23:16] <SFauconnier> dont know if this is related
[23:16] <SFauconnier> but my isp gives me my static IP trough DHCP I think, it's binded to my mac address
[23:17] <mac9416> Hey, ya'll I want to get Server via shipit, but my hardware isn't 64bit. Is that a permanent policy, or temporary?
[23:17] <dayo> SFauconnier: u can leave out the 'network' part in the eth0 block.
[23:18] <SFauconnier> ok, and what about broadcast?
[23:18] <dayo> leave that out for now. also we need to add a gateway, which would be your modem's IP.
[23:19] <SFauconnier> (btw thanks a bunch for helping me out, if I could, I'd send you flowers and chocolate through DCC :))
[23:19] <dayo> let me revise the eth0 block
[23:19] <SFauconnier> k, thanks
[23:19] <dayo> SFauconnier:  lol, no problem.
[23:21] <dayo> ok, make your eth0 block look like this: http://paste.ubuntu.com/164515/
[23:21] <dayo> i've never used a cable modem before, but i'm guessing it'll have an IP. that IP needs to go into 'gateway'
[23:23] <SFauconnier> I dont think it has one, and are you sure I can't set eth0 to use DHCP? my ISP hands out my static IP thruogh DHCP
[23:23] <dayo> basically, the gateway is your dhcp's backup plan. that is if u've got clients and they send a request to your dhcp, the following happens:  if it's a request that can be handled on your LAN, i.e. internally, e.g. "please let me ssh into clientB, then your server takes care of that by itself. however, if the request is something like "log me into IRC", then your server passes the request on to the gateway.
[23:24] <SFauconnier> k, I'll look it up and I'll try to find out if it has an IP
[23:25] <dayo> SFauconnier: well, u could try making your eth0 block look like your old eth1 block. let's see if that works. if it does, then your modem's IP doesn't matter for the rest of the config
[23:26] <SFauconnier> k, I'll try that first
[23:28] <SFauconnier> gonne get disconnected from IRC though, have to put the switch behind the server again
[23:28] <SFauconnier> but brb
[23:33] <dayo> ok
[23:35] <dayo> forgot to plug my laptop's power cord ........ suddenly the screen went dark. lol
[23:36] <dayo> brb
[23:43] <dayo> hmm. just noticed that we might need to change the 'INTERFACES' line in /etc/default/dhcp3-server
[23:46] <SFauconnier> dayo: didnt work
[23:47] <dayo> SFauconnier: did u ever change the /etc/default/dhcp3-server file?
[23:47] <SFauconnier> yes
[23:48] <dayo> what is 'INTERFACES=' set to? should be eth1, now
[23:48] <SFauconnier> eth0
[23:48] <SFauconnier> which is the one that's connected to the internal network (the switch)
[23:48] <dayo> SFauconnier: change it to eth1. your dhcp is now set to hand out dhcp's thru eth1
[23:48] <dayo> SFauconnier: exactly
[23:49] <SFauconnier> it fails to restart the dhcp server now
[23:50] <dayo> SFauconnier: try to restart networking
[23:50] <SFauconnier> k
[23:50] <dayo> sudo /etc/init.d/networking restart
[23:50] <SFauconnier> might drop out of irc then though, if so, brb
[23:50] <dayo> ok
[23:51] <SFauconnier> still fails
[23:52] <dayo> SFauconnier: pastebin your /etc/network/interfaces  and your /etc/default/dhcp3-server  and your /etc/dhcp3/dhcpd.conf  files, respectively
[23:52] <SFauconnier> syslog says something in the lines of ignoring requests on eth1, if this is not what you want, please write a subnet declaration in your dhcp.conf.... not configured to listen to any interfaces
[23:52] <dayo> also do this:  ifconfig eth0   and paste the output
[23:53] <dayo> aah
[23:53] <dayo> ok, then paste just your /etc/dhcp3/dhcpd.conf file for now
[23:53] <SFauconnier> well, that's gonna get tough, I'm logged in into the terminal now using irssi and dont have a graphical interface :o)
[23:53] <dayo> ok, try this:  sudo aptitude install pastebinit
[23:53] <SFauconnier> but I'm connected to it with my laptop through ssh
[23:54] <SFauconnier> so I can type it
[23:54] <SFauconnier> in links
[23:54] <SFauconnier> :D
[23:54] <dayo> hmm, ok wait
[23:54] <dayo> scp the dhcpd.conf to your laptop and install pastebinit on your laptop
[23:54] <SFauconnier> k
[23:56] <dayo> once u've done that, in the directory where u copied dhcpd.conf to (on your laptop) type:  pastebinit dhcpd.conf
[23:56] <dayo> SFauconnier: it'll give u a link, post that link in here
[23:57] <dayo> my AC's intermittently spitting tiny ice chunks at my temple. brb
[23:58] <SFauconnier> my dhcpd.conf: www.pastebin.com/f2deb3dcb