/srv/irclogs.ubuntu.com/2010/01/18/#ubuntu-server.txt

=== rberger__ is now known as rberger
=== erichammond1 is now known as erichammond
jMylesI'm using dnsmasq for DHCP - how can I list all the devices on my network with their hostnames?01:26
jMyles....or, more properly, all the devices that are DHCP, not static devices01:26
twbjMyles: you need to tell dnsmasq to maintain a lease file.01:44
twbjMyles: then, you simply cat the lease file.01:44
twbNote that you will need to restart dnsmasq to turn the leasefile option on -- meaning that unless it's already on, you can't extract the current leases.01:45
jMylestwb: yeah, I thought it was strange that there was no file with this info :-)  where do I do this?  dnsmasq.conf?01:45
jMylestwb: that's no problem01:45
jMylestwb: I could have a grep-fest with nmap if I was really feeling energetic, but I knew there was an easier way01:45
twbAlso note that if you have the leasefile turned on (and not read-only), restarting dnsmasq will no longer clear the lease database within dnsmasq.  This can be REALLY confusing when you forget about it.01:45
twbjMyles: yes, it's in dnsmasq.conf, see the options in the dnsmasq(8) manpage.01:46
twbjMyles: you can also look at your current ARP table for hints01:46
jMylestwb: I looked at man, but I guess I searched for the wrong phrase01:46
twb"sudo arp"01:46
twbErm, ARP assuming you're using Ethernet.01:47
jMylestwb: Awesome, found it.  Another question (and again, I looked at man but maybe I missed it): how can I get dnsmasq to log to some place other than syslog?01:49
twbI doubt you can.01:50
twbWhy would you want to?01:50
jMylestwb: just to stay organized01:50
twbWhat does that mean?01:50
jMylestwb: syslog gets so bloated :-\01:50
twbUm, are you talking about the *service* called syslog, or a file?01:50
jMylestwb: I'd rather have dnsmasq-dns.log and dnsmasq-dhcp.log01:50
twbOK, all you need to do in that case is configure syslog.01:51
jMylesI don't think I know the difference :-\01:51
jMylesthe only way I find dnsmasq logs is by catting syslog01:51
jMyleswhich is very inefficient01:51
twbDaemons use a system call (called syslog, too, IIRC), and a daemon (syslogd, rsyslogd or syslog-ng) "hears" them and puts them in files.01:52
jMylesahh, I see01:52
twbSo if you want to put log entries in a different file, you configure rsyslog.01:52
jMylesso I need to have a little heart-to-heart with rsyslog01:52
jMylesright01:52
twbPersonally I usually just grep dnsmasq.*DHCP /var/log/daemon or so01:52
jMylesI don't understand that last statement - can you explain?01:53
twbjMyles: are you familiar with grep(1)?01:54
jMylesperhaps not - the (1) is foreign to me01:54
twb(1) just means its in the first chapter of the manual01:54
twb(See man(5)).01:54
jMylesI see01:56
jMyleswell, since we're on the topic - how does one search for a string in man?01:57
jMyles(like ctrl-f in firefox or ctrl-w in nano)01:57
twbapropos(1)?01:59
twbIf you mean within the displayed manpage, then it depends on your pager.  The default pager is less(1), so use / for forward searching, and ? for backward searching.02:00
twbC-/ or / should also work in firefox, FWIW.02:00
twbYou can use a different pager (e.g. w3m), or have man generate PDFs or HTML, of course.02:00
jMylesphew.  I'm learning many new server applications at once, and I really want to come to terms with all of them and have a good grasp.  I have a gateway running dnsmasq (and apache) and now I'd like to set up openvpn.  I've read the guides, and I've tried, but restarting openvpn is giving me [fail].02:20
jMylesIs there a specific guide for setting up openvpn on a computer that is a gateway / router?02:20
twbHave you looked at the Ubuntu Server Guide?02:24
twbIt's the fourth link in /topic02:24
jMylestwb: looking.02:31
jMylesthanks for all your help02:31
twbnp02:32
jMylesI am running into frustration over the bridging in openvpn - the documented setup seems to be for a server with one NIC connected to a router.  In my case, I can't create the extra device br0 because I already have a bridge between eth0 (WAN) and eth1 (LAN).  I don't think I need the bridging stuff at all, but I don't know how to use openvpn without it.02:35
jMylesI really just want openvpn to listen on eth0, that's it02:35
twbI don't do much with OpenVPN, sorry.02:37
a|3xhi all02:50
a|3xi have a bit of a problem with the official kernel and iscsi targed daemon, hoping somebody can help...02:51
sabgentonshould my hostapd config be in /etc/hostapd/hostapd.conf02:52
sabgentonit doesn't seem to take there02:52
twb!anyone > a|3x02:52
ubottua|3x, please see my private message02:52
sabgentonwith /etc/init.d/hostapd start02:52
twbsabgenton: I don't know.  What does the manpage say?02:53
sabgentonnothing02:54
twbstrace the daemon, then.02:54
sabgentonI only can get it  working with hostapd /etc/hostapd/hostpad.conf02:54
a|3xi have vmware installed on an ubuntu server installation with iscsi target daemon, but every time my vm tries to use the iscsi target i get console message that says soft lockup, cpu #x stuck for 11s, and istd has 100% cpu usage, any ideas what could be causing this?02:54
sabgentonbut I want to use it via /etc/init.d/hostapd02:55
twbsabgenton: my default position would be to blame vmware, because I hate it02:55
twbOops, bad completion02:56
twba|3x: does it work if you take VMware out of the equation?02:56
sabgenton?02:56
sabgentonoh ok02:56
sabgenton:P02:56
a|3xi cant02:59
sabgentontwb I asked this earlyer but when hostapd appers in /etc/init.d/hostapd is that sometimes becouse ubuntu/ the deb put it there or is that what would happen if I intalled it from source02:59
sabgentongenerally i mean02:59
sabgentonas the man has nothing about /etc/init.d/hostapd03:00
sabgentonis it debian people that made the deb installer setup a space in /etc/init.d/ for it03:00
twbsabgenton: I don't know.  I don't install packages from source.03:00
sabgentonfor better management03:00
twbYou could find out by inspecting the upstream source.03:01
sabgentonok03:01
a|3xtwb: i could set up a test system on the side but i was wondering maybe its something easy03:02
twba|3x: I don't know.03:02
twbiscsi is pretty complicated.  If I had to deal with network block devices, my gut position would be to steer towards AoE.03:03
twbThat's assuming your nbd doesn't need to cross networks, of course.03:04
a|3xtwb: the problem is vmware is a fart when it comes to support for >2tb virtual drives03:20
a|3xtwb: that is why i had to use iscsi in the first place03:22
ruben23hi03:34
ruben23jmarsden: hi03:34
jmarsdenhi03:35
ruben23jmarsden: the one you test me about the mount cifs.. it worked but with my fstab when reboot03:40
ruben23it didnt work im getting erro like this-->error connecting to IPv4 socket , cifs mount failed error code = -11303:41
jmarsdenruben23: So now if you do   sudo mount /media/share   # what happens?03:43
jmarsdenruben23: -113 sounds like "wrong IP address or remote XP box is not there" kind of a problem, but I'm not really sure.03:43
ruben23jmarsden:--> mount media share i can mount it03:45
ruben23but with auto mount upon reboot i cant..03:45
ruben23my fstab is this-->http://pastebin.com/m594509e703:46
jmarsdenruben23: Interesting.  Sounds like a timing issue, maybe some other service is not up when the mount is tried at reboot.   I don't have any great ideas on that.  The fstab entry looks fine to me.03:47
jmarsdenAs an "ugly" workaround, you could try doing something like    sleep 60 && mount -a     in /etc/rc.local03:48
ruben23 jmarsden: the windows unit is up already while the system is rebooting03:48
ruben23ow ok03:48
ruben23ill try it03:48
jmarsdenThat will wait for one minute and then try the mount again... it might help.03:49
twbjmarsden: isn't upstart supposed to magically fix boot order issues?03:50
jmarsdenYes... but I lack time right now to troubleshoot it, and ruben23 just needs something that works for a personal server :)03:50
twbI was just bitching03:51
jmarsdentwb: If you can work with him on a full diagnosis and non-ugly fix for this, go for it :)03:51
jmarsdenOK...03:51
ruben23 jmarsden:thanks ill try the work around..03:52
kingjmkingjm06:16
kingjm12:1306:16
kingjmI am looking for some help to do with VPNs I have started a forum discussion as I could not find a previous one. http://ubuntuforums.org/showthread.php?t=138356006:16
kingjmcan somone see me now?06:16
kingjmis anyone in here?06:18
twb!anyone > kingjm06:22
ubottukingjm, please see my private message06:22
kingjmI am trying to setup two VPN's one using PPTP and the other IPSEC/XL2TP I have started a forum thread with what I have done. however I cannot connect using Snow Leopard or windows Mobile. Can someone please help?06:25
twbkingjm: can you connect using Ubuntu Server?06:26
kingjmI havn't tried that I did not think that I could connect to my own server that I am serving the vpn from. I will try06:26
kingjmtwb well I am having trouble with that too I don't know how to connect on ubuntu terminal.   I have install pptp-linux06:35
twbUh, PPTP, IPSec and L2TP are all different protocols.06:37
twbAFAIK you can't (for example) connect a PPTP client to an L2TP server.06:37
kingjmtwb I am starting with pptp shoudl be the easiest…. it06:38
kingjmsudo pptp 192.168.0.10006:38
kingjmTerminated06:38
twbHave you configured your server to serve PPTP?06:39
kingjmI thought so. if you click this link it will show exactly what I did. don't worry. I have the only post atm06:40
kingjmhttp://ubuntuforums.org/showthread.php?t=138356006:40
twbkingjm: the link you provided sets up three completely different VPN tunnels.06:41
twbIt also contains bugs, so if you followed it you would've seen errors and tried to deal with them.06:41
kingjmI realize that. I am just trying to start with pptp. My goal is to get all of them working06:42
twbkingjm: so pptpd is installed?06:42
kingjmyep it is installed06:42
twbAnd you edit /etc/ppptpd.conf, /etc/ppp/options, /etc/ppp/chap-secrets and /etc/sysctl.conf as advised by that page, and restarted pptpd?06:43
kingjmyep just as that page says06:43
twbDid you activate the changes to sysctl.conf?06:44
kingjmwith /etc/init.d/networking restart06:44
twbThat's wrong.06:44
kingjmoh06:44
twbHere it is managed by the procps init script.06:45
kingjmso how do I activate the changes?06:46
twb17:45 <twb> Here it is managed by the procps init script.06:46
kingjmsudo /etc/init.d/procps restart06:47
kingjm * Setting kernel variables...06:47
kingjm   ...done.06:47
kingjmsudo pptp 192.168.0.10006:49
kingjmTerminated06:49
kingjmtwb anything else that you can see might be wrong?06:49
twbkingjm: maybe you should look at the log files06:50
twbkingjm: and inspect the open ports (with ss or netstat) and firewall.06:50
kingjmI looked in var/log/messages nothing there anywhere else?06:54
kingjmtcp        0      0 0.0.0.0:1723            0.0.0.0:*               LISTEN      -06:58
twbkingjm: that will depend on how your daemon does logging.07:00
jmarsdenkingjm: /var/log/daemon.log is one possibility.  Read /etc/syslog.conf to see where else your syslog daemon might be logging things, or man pptpd to see where pptpd is supposed to log things.07:02
kingjmauth,authpriv.*/var/log/auth.log07:04
kingjm*.*;auth,authpriv.none-/var/log/syslog07:04
kingjm#cron.*/var/log/cron.log07:04
kingjmdaemon.*-/var/log/daemon.log07:04
kingjmkern.*-/var/log/kern.log07:04
kingjmlpr.*-/var/log/lpr.log07:04
kingjmmail.*-/var/log/mail.log07:04
kingjmuser.*-/var/log/user.log07:04
jmarsdenDon't spam the channel :)  Read it and then check the relevant log files on your server for pptp related log entries!07:04
kingjmI was just putting it up there so that you would know where to logs are going. as you may know which ones to check07:05
jmarsdenNever post more than 2 lines to the channel.  For anything more than that use pastebin.07:06
kingjmpastebin what is that?07:06
jmarsdenIt would have been faster to grep pptp /var/log/*log than to spam us with syslog.conf entries anyway...07:06
jmarsden!pastebin07:06
ubottuFor posting multi-line texts into the channel, please use http://ubuntu.pastebin.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from  command line | Make sure you give us the URL for your paste - see also the channel topic07:06
kingjmthanks I will07:07
kingjmhttp://ubuntu.pastebin.com/d1e9f0d5a this is the grep pptp07:10
jmarsdenOK.  So now you can go through that and fix anything you find relating to "error" or to missing or unrecognized options, etc.07:12
kingjmI am going through this, I don't understand much…. I do really appreciate that you are walking me through how to find my own errors.07:17
kingjmIn file /etc/ppp/pptpd-options: unrecognized option 'localip'  but this is needed for localip and remoteip. what can I change?07:18
jmarsdenAre you sure that is the right option in the right file?  man pptpd and check.  Maybe it is spelled local-ip or maybe the intent is that you replace the string "localip" with your actual local IP address 1.2.3.4 or something ?07:20
jmarsdenIt has been years since I ran a pptpd so the man page will be more accurate than I am.07:20
twbIsn't PPTP the one with the gaping cleartext-password-type holes?07:23
jmarsdentwb: I think the really bad holes were cleared up a while back, but since it is basically a Microsoft protocol, it wouldn't be surprising if there are still some issues with it.07:25
kingjmI think I got it thanks sudo pptp 192.168.0.100 did not return any errors07:26
jmarsdentwb: http://www.sans.org/security-resources/malwarefaq/pptp-vpn.php    May be worth a look for SANS ideas on improving its security...07:27
twbHa, a security group is using PHP07:27
kingjmhow do I check or close the pptp connection07:28
twbYou can close it by pulling the cable out and waiting an hour07:31
jmarsdenkingjm: You are trying to write a wiki article about doing this stuff, but don't know how to start and stop PPTP, nor how to test it?  Seems odd... perhaps you should leave writing wiki articles about VPNs to folks who have experience with them?  You could kill the pptp client, to close the connection rather rapidly :)07:31
twbjmarsden: I think he was writing up what he *tried*, rather than having to repeat it all here07:32
kingjmI would love to however no one else has done so. That is why I am using the forums to figure it out07:32
twbForums are worse than IRC!07:32
twbThey are populated by people too stupid to configure a newsreader.07:32
jmarsdenkingjm: Did you Google for    ubuntu pptp server      and see how many hits there are?  "noone else has done so?"07:33
kingjmI have gotten pptp to work and connect via snowleopard07:33
kingjmI did google that is where I started. then I went to the wiki, then to the forums, and now here07:33
jmarsdenkingjm: OK.  So you know there are plenty of people who have written this up.  Mostly a long time ago, because few people use PPTP any more, it being considered too insecure...07:35
bericHi, Something moved my syslog.conf to syslog.conf.0 , I guess some unattended upgrade. where can I read about protecting my config files from things like that ?07:39
twbThe Debian Policy ought to prevent that :-/07:40
jmarsdentwb: That's what I was thinking... "is that *allowed*?"07:41
jmarsdenberic: What kind of automated unattended updating software are you using on your Ubuntu server that you think did this?07:41
bericapt-cron07:41
twbapt-cron is basically an obsolete version of unattended-upgrades.07:42
twbIt shouldn't do anything like that -- it basically just does an "apt-get update && apt-get upgrade"07:42
twbNow, if you have cowboy third-party repositories enabled, their postinsts could do any kind of crack-addled thing...07:43
bericit's 8.04 LTS. I know it's old but can't upgrade anything07:43
kingjmI would just like to say thanks for all those who helped. good night07:43
jmarsdenkingjm: Goodnight.07:43
berictwb: sounds reasonable, It has turnkey linux repositories . what can I do about that in the future ?07:45
jmarsdenberic: You might want to check what version of syslogd you have and where it came from?  And make frequent backups of /etc :)07:45
jmarsdenberic: You may also be able to use pinning to restrict which pacakges the 3rd party repositories can update, to ONLY the few you really need from there.  man apt_preferences for more on pinning.07:47
twbThe obvious solution is not to use those shitty "turnkey" repos07:48
twbOr, to not enable auto-upgrading, or at least disable it for everything by hardy-security07:49
twbaptitude install '~i ~S ~VTARGET ~Ahardy-security' (untested)07:50
bericok. I'll consider that07:50
twbPinning ought to work for that, too, but it always makes my brain hurt07:50
jiboumansgood morning09:17
=== ewook_ is now known as ewook
Helix001hi is anyone using squid and likewise open with active directory?10:02
ragsHello, I am running BIND 9.4 on Hardy, I'm getting this messages in the logs : "named[30429]: unexpected RCODE (SERVFAIL) resolving '31.59.243.72.in-addr.arpa/PTR/IN': 97.66.48.58#53"10:21
ragsI've totally locked down the server - query and recursion only from local net and bind is listening only on the local host and n/w, but I keep getting these messages in the logs...10:21
jiboumanssoren, ping?10:40
jiboumanssoren: LP question. do you know why http://qa.ubuntu.com/reports/team-assigned/canonical-server-assigned-bug-tasks.html isn't listing https://bugs.launchpad.net/ubuntu/+source/ec2-init/+bug/494185 ?10:41
sorenjiboumans: /me looks10:46
sorenjiboumans: Probably because it's listed as fixed in Lucid.10:46
jiboumanshmm, but not in karmic, which is half of the bug =/10:46
sorenjiboumans: It says "Status tracked in Lucid", so whatever the status is in Lucid is what matters here, I believe.10:46
jiboumanssoren: thanks for explaining.. damn this falling through the cracks. so if i say 'status tracked in karmic', it should pop up again?10:47
sorenjiboumans: You can do that?!?10:48
jiboumanssoren: i have no idea10:48
jiboumansall i know is there's a bug that's 50% fixed and it's not showing up in reports10:48
sorenjiboumans: I don't think you can. I think it's just telling you that that's how it is.10:49
jiboumansi see. damn.10:49
jiboumanssoren: could you check with the QA folks if there's a report they generate that does include things like this?10:49
sorenjiboumans: I'd bother the good people in #launchpad. I'm sure there's a bug open about it already (I remember seeing one to this effect), but I don't remember the bug no.10:49
jiboumansok, i'll ask there10:49
sorenta10:49
tarskianyone here have any luck or know about installing ruby 1.9.1 with rails on ubuntu server?13:56
jiboumanstarski: you're running karmic?14:02
tarskino i downloaded hardy14:02
tarskijiboumans: but it's not working, so many errors with gems, and such14:03
tarskijiboumans: think i should use karmic?14:03
jiboumanstarski: depends on what you are looking for. Hardy's an LTS; the software will be older, but stable14:03
jiboumansKarmic's the latest release, so will have the newest versions of ruby & co that were available14:03
tarskijiboumans: well im looking for the newest ruby, i  can install ruby1.9.1 on hardy from the karmic repos but rails wont work and some other gems i need14:04
jiboumanstarski: your best bet to run the newest gems/rails/ruby is to use karmic14:04
tarskijiboumans: thought so. im going to be installing 10.04 when it's out so no i dont need lts right now14:05
tarskijiboumans: thanks14:05
jiboumanstarski: happy to help. good luck14:05
Ash-FoxPerhaps someone else can figure this out - I have an external 1TB USB harddrive, it works perfectly on my other systems with the same distro, doesn't matter what kernel I use however on this specific machine, the drive eventually becomes inaccessible. I have tried tweaking max_sectors, but that doesn't seem to help at all. Here is a copy of my syslog:15:31
Ash-Foxhttp://ash-fox.pastebin.com/d1fc9a24015:31
zulsoren: ping15:37
sorenzul: hey.15:43
zulsoren: i just uploaded the latest mysql 5.1 from debian testing can you add it to your testsuite thing?15:49
sorenzul: It's already there, isn't it?15:49
zuli dunno how can i check?15:50
sorenzul: Don't you get build failures for mysql-dfgs-5.1 each morning?15:50
sorenAnyhow, the authoritative sources is:15:50
zullemme check15:50
sorenhttps://edge.launchpad.net/~ubuntu-server-qa/+archive/regression-test15:51
sorenYup, mysql 5.1 is already there.15:51
zulsoren: cool thanks15:51
kaffiencan apt-get be used to install applications with make flags?16:06
ZimCSHello.  I am running ubuntu server on a small home server that I just built.  What is a good option to backup files from remote PC's?16:07
kaffienI used to use samba16:08
kaffienthen use a backup software on the other machines to backup to the network share16:08
ZimCSthanks16:09
ZimCSkaffien: i setup samba last night and the file transfer was extremely slow.  did you ever run into that problem?16:13
kaffiendefine slow16:13
ZimCS160GB would take 22 hours16:14
kaffienthe fastest way i have transferred to to a linux system was on an ftp program via the SCP protocol16:14
kaffienjesus16:15
kaffienthat should take about 4 hours with the right hardware16:15
ZimCSyeah16:15
kaffienwhat kind of a server do you have?16:15
kaffienyou must consider all points16:15
ZimCSwhat do you mean what kind16:15
kaffiencpu, ram, hdd speed (do they have bad sectors etc)  speed of network switch,  cables, nic cards etc16:15
kaffienall of those can slow a transfer to a halt16:16
kaffienone of the biggest mistakes folks make is using a 10/100 switch / router16:16
ZimCSoh, an amd sempron single core 2.2ghz 2 gb ram 10/100/1000  with 2 sata drives16:16
kaffienwhat speed of sata drives?16:16
ZimCSyes, unfortunately my router is a wrt50g so the switch is 10/10016:16
ZimCS3.0GB16:17
kaffienthats a majour bottle neck16:17
ZimCSeven for home use?16:17
kaffienyes16:17
kaffiengigabyte switches are cheep16:17
mike3.16:17
mike3how can i remove the motd of permanently. It keeps generating a new message in MOTD.16:17
kaffienid connect all computers to switch then one cord to the router for internets16:17
kaffienalso make sure your workstations / desktops have gigabyte ethernet cards or a gb switch is pointless16:18
ZimCSyes, they do.  i guess i'll trade my router in then.16:19
kaffienno no16:19
kaffienyou still need the router16:19
ZimCSi mean just to one that has 10/100/100016:20
kaffienunless you can find a gigabyte ethernet router16:20
kaffienif not just get a switch ... its more hardware but it might be cheaper16:20
ZimCSa lot of my transfers from my laptop will be wireless16:21
kaffienahh16:22
kaffienmake sure you got wireless N on your net router then16:22
kaffienwireless is generally slower than wired still16:22
alvinAre those remote pc's running Linux? NFS would be a better choice for that.16:23
mike3What keeps generating in my /etc/motd ? How can I remove it permanently?16:23
kaffienscp will transfer faster than nfs16:24
ZimCSalvin; windows16:24
kaffiensetup scp on the linux box and get winscp for windows (its free)16:24
alvinkaffien: It will most certainly not. scp (SFTP) uses encryption.16:25
ziesemer_mike3: What version of Ubuntu?  And do you only want to remove parts, or the entire thing?16:26
kaffienFTP and scp are different16:26
mike3the entire thing16:26
kaffiensftp is slooooow compaired to scp16:26
alvinactually, they are the same16:26
kaffiendefinately faster over here16:26
kaffienmaybe its the way winscp handles them16:26
ziesemer_Well, /etc/motd.tail is part of it, and I just cleared that.  That way I can still see package update notifications, etc.16:26
kaffieni usually get about 17MBs16:27
ziesemer_So you want to remove from just SSH, or all shell logins?16:27
alvinNo, it's just ssh. winscp should not be faster than the scp command, or FileZilla.16:28
mike3ziesemer_: where to i tell it to use a different motd? Which file is doing this?16:28
ziesemer_Either way, at least under Karmic, look in /etc/pam.d.  In both "login" and "sshd", there are references to pam_motd.so that could be commented out.16:28
Picimike3: look at the manpage for motd.tail, it explains the process as to how the motd is generated.16:29
subIn my experience I've never been able to get winscp to exceed 10Mbps16:29
subor maybe it was MBps, i don't quite remember16:29
ivoksif you want to remove it just from sshd16:30
ivoksedit /etc/ssh/sshd_config16:30
ivoksPrintMotd no16:30
mike3Pici: okay thanks16:31
kaffienalvin, its not im saying that SCP is faster than regular ftp and or windows transferring to a samba share16:31
kaffienvia drag and drop16:31
ZimCSthanks for the help.  i have one more question.  this server primarily does hosting for my website, backups and file sharing.  but it has an hdmi out and I'd like to use it to watch movies on my hdtv.  but since boxee needs x-windows to run, do i need to install a gui?16:32
ivoksman, don't do that16:32
ivoksdon't mix webhosting and divix :)16:32
ZimCSits just for my site though, nothing important16:33
mike3Pici: okay i found that, but I am still getting system information in there that I don't want..16:33
ivoksmplayer can output to svga :)16:33
ivoksaai is nice too :D16:33
alvinkaffien: Ah, you were saying it was faster than NFS, and NFS is faster than CIFS (marginally). I didn't mention FTP. What I meant was that FileZilla can do SFTP (=SCP) too.16:34
ivokssftp != scp16:34
mike3okay nm, i just removed /etc/motd all together16:35
mike3i still would like to know where it generates the system information from. /etc/motd.tail doesn't contain this info16:35
ziesemer_ /etc/update-motd.d16:35
ivoksit depends on version of ubuntu and packages you installed16:35
ziesemer_https://wiki.ubuntu.com/UpdateMotd .  But is slightly outdated for Karmic, as it no longer uses cron.16:35
mike3ziesemer_: oh okay.. hrm..16:36
kaffienalvin wouldn't he be better off using scp to transfer files as big as 160gb?16:36
ziesemer_And I'm not sure that just removing /etc/motd will work like you expect.  It might, but I'm not sure.  You'd be better off removing the lines I mentioned from the pam.d files.16:36
alvinkaffien: I don't know. In his case, I would use Windows file sharing in combination with backup software. The built-in backup solutions of Windows will probably be good enough.16:38
alvinI would use SCP over an untrusted link only.16:38
ivoksin any case, use scp always instead of sftp16:39
kaffienseems to be that his problem is his 10/100 router16:39
kaffien160gb transfer took 22 hours16:39
mike3ziesemer_: in ssh  right?16:40
=== blackxored is now known as Guest15704
ziesemer_Depends.  Who do you want to disable it for?  SSH users only, or all users?16:40
mike3let's say ssh users16:40
mike3what do i need to do?16:40
alvinkaffien, ivoks: Apparently I'm wrong. SCP is older than SFTP (faster, but less features). I thought it was the same.16:40
mike3because PrintMotd is already no16:41
ziesemer_Did you restart sshd?16:41
mike3it was already set16:41
mike3it was never yes16:41
ivoksoh really?16:41
ivokshm...16:41
ziesemer_And you're still seeing it?  Then I'd try disabling it in the pam.d files I mentioned above, e.g. /etc/pam.d/sshd .16:42
ivoksi consider that as a bug16:42
mike3ziesemer_: okay thanks..16:42
mike3found it16:42
mike3sec16:42
ivoksah... it's not16:42
mike3okay that worked16:43
mike3sweet16:43
ziesemer_mike3:  See also:  https://bugs.launchpad.net/ubuntu/+source/pam/+bug/39907116:43
mike3now on to my next problem... I want to install talkd but it wants to install the openbsd inetd which I do not want to use. I want to use xinetd16:44
ivoksinstall xinetd first16:44
mike3ivoks: it's installed already, but apt-get wants to remove it and intsall inetd16:45
bogeyd6Anyone have a guide on how to have a linux server running bind be a backup dns server for active directory?16:45
ivoksmike3: inetutils-talkd16:46
mike3sec16:46
Aisoncan I use dhcp3-server also for ipv6?!?18:09
geniiAison: not yet18:11
Aisonso I need this "wide-dhcpv6-server" ?18:12
geniiAison: As far as i know, yes18:13
kingjmI have a problem wtih pppd "Cannot determine ethernet address for proxy ARP" how do I define proxyarp in /etc/ppp/options?18:18
kingjmcan I use arp --use-device --set 192.168.0.100 eth0 pub.  etho 192.168.0.100 is server address18:21
mike3I'm having issues getting talkd to work..18:29
mike3I need to use xinetd18:29
mike3in.talkd is nowhere to be found...18:37
jfeltHail.19:00
jfeltI'm trying to gather some more information about the Cloud functionality of Ubuntu 9.10 server.19:00
jfelthas anyone implemented anything with it, yet?19:00
=== NotADJ is now known as TheDJACR
kpettitCan anybody recommend a good systems monitor that's easy to script?  Basically I want to say "do XYZ if system is down..." type of stuff19:23
=== WALoeIII_ is now known as WALoeIII
jMylesI need to know how to reset my password for ldap.  I am getting "Invalid credentials".  I have looked and looked, but many of the guides seem to reference an outdated configuration using /etc/openldap/slapd.conf, which no longer exists.19:40
Jeniczekhi guyz19:50
Jeniczekam tryon to solve an installation problem19:51
Jeniczekanybody around?19:51
JeniczekI wasnt successful on ubuntu channel :(19:51
guntbertJeniczek: the rules are the same - just ask :)19:51
JeniczekI have a Fujitsu RX300S4 server with 4 SAS drives. Both of the drives are put into 2 mirror RAIDS. During installation, I do partition the first RAID to / , swap and /home and the second RAID to /var . After successful install the server reboots and then all it says during boot is Fatal protection error at 0000:0000. I have tried to Low level format all hardrives, so its not an MBR issue.. Or at least doesnt looks so... The GRUB i19:51
Jeniczekthats it ;)19:51
Jeniczekhm :P20:01
Jeniczekwell, g2g, bb guyz20:21
Maz3MikeHow is it going everybody?20:27
Maz3MikeI had some issues installing Fedora 12 with graphics, and I thought I would give Ubuntu a chance20:28
Maz3MikeI have a Nvidia 7800 installed...any advice?20:28
guntbertMaz3Mike: this is primarily support for the server version20:28
Maz3Mikeguntbert: That is what I am wanting to install20:29
guntbertMaz3Mike: I was confused - where does graphics come into the picture?20:30
Maz3Mikeguntbert: I used to have a teamspeak server on fedora 9, but I wanted to upgrade...it didnt work..so I am going to give UbuntuServer a shot20:30
Maz3Mikeguntbert: I was just wanting to have a monitor hooked up to it20:31
guntbertMaz3Mike: I see - and what exactly is your problem?20:32
Maz3Mikeguntbert: Since I have been fooling around with the linux the last couple of years..I always run into issues with graphic cards20:32
Maz3Mikegunbert:installing it right now20:33
guntbertMaz3Mike: with the CLI? very rare - I'd say just go ahead :)20:33
Maz3Mikeguntbert:already like the intial config...got opensuse working before this but I didnt like it either20:35
Maz3Mikeguntbert: question...I have one 300GB disc that I wont the os to go on...and I have a 500GB disc that I want to keep stuff on there such as pictures..videos...ISOs..random things for the most part..set it up as a file share throught samba..but I want to ecrypt all of the 500GB disc20:37
Maz3Mikeguntbert: what would be the best way of doing this...I am at the partition disk menu right now20:38
guntbertMaz3Mike: no experience with encryption on server here - but I'd say install to the 300GB and leave the other one untouched for now - you should be able to handle that later20:39
Maz3Mikek20:39
Maz3Mikeguntbert: I will encrypt that sucker later...just have to use fdisk20:40
Maz3Mikefigured it out20:44
Maz3Mikejust partion the disk and then encrypt what volumes you want20:44
* RoyK never uses X on servers unless they run opensolaris20:49
RoyKsometimes I even turn it off on those suckers20:49
EtienneGhey guys, I feel like an idiot20:49
guntbertRoyK: and?20:49
RoyKEtienneG: wanna talk about it?20:50
EtienneGI just built a three host cloud (CLC/CC/SC/Walrus, and two NC)20:50
EtienneGRoyK, oh yes!20:50
* RoyK hands EtienneG paper towels20:50
EtienneGso anyway, I used the installer integration, it works fine20:50
EtienneGonly thing: no networking to the instances, except from the frontend20:51
EtienneGit's like it is not routing between the public IP, and the instances private IP20:51
EtienneGyet, sysctl says net.ipv4.ip_forward = 120:51
* RoyK really has no idea about setting up clouds20:52
EtienneGRoyK, it's all good, mathiaz, kirkland, nurmi or someone else will surely help eventually20:52
EtienneGit's worth saying that both VNET_PUBINTERFACE and VNET_PRIVINTERFACE are set to eth020:53
EtienneGso I wonder if that has something to do with it ...20:54
kpettitany good tools to say something like so "If ping 192.168.0.XX dpesm20:55
kpettitIf ping doesn't give me a response restart system?20:55
RoyKkpettit: heh - no20:55
kpettitI'm having a hard time finding something simple to do that.  Most of the systems are very bloated.  Don't really want nagios or zabbix for something like that20:55
RoyKkpettit: what is this, from a server?20:55
RoyKif you can't ping x.x.x.x, it's most likely (as in 99,lots%) something else than linux that is the problem20:56
kpettitI've got this VirtualBox client VM that seems to die every so often.  The process stays running but windows locks up.  SO I want to do a ping test and send a restart to the client if it doesn't respond20:56
kpettitBasically I want the Linux host to ping the Windows guest and restart it if it doesn't respond20:56
guntbertkpettit: there is c20:57
guntbertsorry20:57
RoyKkpettit: nagios would be neat, but it really is a short script to do it manually20:57
kpettit:)  If I had to code something I'd use python, it's the only thing I know well enough to do something usefull in.  But I hate re-inveting the wheel20:57
guntbertkpettit: there is a complete CLI instruction set - so a "simple" script should do it20:58
EtienneGkpettit, something I do not understand is: how will you restart the unresponsive machine?21:00
EtienneGit's unresponsive, after all21:01
kpettitThe linux server would still be running.21:01
EtienneGkpettit, yes.  How will it restart the Windows machine?21:01
kpettitIt's the VirtualBox guest that dies.  The guest gets it's own IP address, I can't ping it when it locks up21:01
kpettitSo normally I have to kill the process and restart it.21:01
EtienneGkpettit, ok, that make sense21:01
EtienneGthen you would use a script that does something like:21:02
EtienneGif ! ping -c 1 ip.of.virtualbox.guest; then21:02
EtienneG# do something21:02
EtienneGfi21:02
kpettitexactly21:02
EtienneGthen run it from cron every minute, or something?21:02
kpettityes, not that often but something like that.21:03
EtienneGkpettit, cool!21:03
kpettitI just know it'll take me 1/2 a day to code something that's decent and doesn't give me a bunch of false postives or negatives.  That's why I was looking21:04
RoyKkpettit: http://karlsbakk.net/pingtest.sh.txt21:04
RoyKkpettit: that took me a little less than half a day :þ21:05
kpettitcool. I'll test it out.21:05
kpettitI'm not a very good programmer though :)21:05
RoyKjust replace the stuff in function restart...21:05
kpettitBut I can copy and paste with the best of them21:05
RoyKit shouldn't be too hard21:05
RoyKit's hardly any more 'programming' than the usual linux commandline21:06
kpettitinterpreting the ping results is what I was worried about21:06
RoyKoh21:06
RoyKnever mind21:06
RoyKping returns an error code21:07
RoyK0 on success, 1 on error21:07
RoyKso21:07
kpettitah cool21:07
kpettitthat's perfect then.  Didn't know it did that, was thinking I'd have to parse the result line or something21:07
RoyKif [ `ping blah > /dev/null 2>&1` ]; then echo success; else echo fail; fi21:07
RoyKthat's the simple way21:07
kpettitsweet21:07
RoyKthat's unix basics :)21:08
RoyKmost commands follow that regime21:08
kpettitgood to know21:09
Maz3Mikealright guys..just got the server21:12
Maz3Mikeedition installed21:12
Maz3Mikehopefully it works with my nvidia 780021:12
RoyKerm21:12
RoyKisn't this a server?21:12
RoyKor do you plan to do some fancy 3d games with it as well?21:13
Maz3Mikeno..it is a server21:13
Maz3Mikehow do i enable Xserver?21:13
RoyKfirst question is "WHY?"21:14
Maz3Mikewant to have the gui interface21:14
RoyKMaz3Mike: https://help.ubuntu.com/community/ServerGUI21:15
RoyKit's possible but not recommended21:15
RoyKthere's no need for a gui on a server21:15
ivoksgui interfaces to unix services are... bad21:16
Maz3Mikeyes21:16
ivoksyou can't have that many checkboxes :)21:16
ivoksso, why bother?21:16
=== cyphermox_ is now known as cyphermox
ivoksjust learn to use real unix UI - CLI21:16
EtienneGmathiaz, we had that discussion a little while back on UEC topology.  Sorry, I am amnesic, I do not remember the conclusion, but am I correct in thinking that the public and private interface cannot be the same?21:17
ivoksvimtutor is a good start21:17
Maz3Mikeif you forgot your root password...what is the easiest way to reset it?21:17
mathiazEtienneG: hm - they could be the same21:17
ivoksMaz3Mike: live cd21:17
Maz3MikeI know how to do this on solaris..use disc..mount the drive...delete the password out of the shadow file21:18
Maz3MikeIs that the disc I used to install with?21:18
mathiazEtienneG: I was able to run a UEC setup with one network only21:18
EtienneGmathiaz, glad to her that - somehow, on my flat install (all interface on the same "public" network), the frontend is not routing traffic to the instance private IP (172.19.1.2).  Any ideas?21:18
mathiazEtienneG: what's you configuration?21:19
ivoksMaz3Mike: the same is with ubuntu21:19
EtienneGmathiaz, stock from the installer21:19
mathiazEtienneG: ie where are your CC/Walrus/CLC located?21:19
EtienneGmathiaz, all on the same machine21:19
mathiazEtienneG: separate CLC and CC?21:19
EtienneGmathiaz, no, all on the same machine.  that's what the installer does21:19
mathiazEtienneG: and what are you trying to do?21:19
mathiazEtienneG: for karmic or lucid?21:20
RoyKMaz3Mike: if you haven't set a root password on ubuntu, single user mode lets you straight in21:20
RoyKotherwise, just boot on a live cd21:20
EtienneGmathiaz, instance is started fine, except I cannot ssh/ping whatever to it.  Security group, checked21:20
EtienneGmathiaz, karmic!21:20
mathiazEtienneG: are you trying to ping/ssh the private instance IP or the public instance IP?21:20
EtienneGmathiaz, the public IP, from another machine (not the frontend).  Pinging/sshing works fine on the frontend, using both the public or private instance IP21:21
sorenEtienneG: Can you get out from it?21:21
Maz3Mikecrap21:21
Maz3Mikethought i set the password21:21
Maz3Mikeshould be su -..right?21:22
Maz3Mikefor root21:22
EtienneGsoren, good question, I shoudl try that21:22
RoyKmaxb: sudo su -21:22
RoyKMaz3Mike: that was for you21:22
maxbmis-bing?21:22
maxbrigh21:22
EtienneGsoren, mathiaz: when checking iptables output, I can see that no packet goes through the FORWARD chain.  Is that normal?21:22
RoyKmaxb: sorry :)21:22
mathiazEtienneG: yes21:22
maxbWhy do people think 'sudo su -' is a good idea?21:22
RoyKMaz3Mike: sudo su -, then use your own password21:22
mathiazEtienneG: things are handled in the nat table21:22
RoyKmaxb: because it's neat21:22
mathiazEtienneG: try iptables -t nat -nL:21:23
maxbIt's like "Become root and become root and run a shell"21:23
RoyKmaxb: you get root's environment that way21:23
RoyKsudo sh doesn't give you that21:23
EtienneGmathiaz, yeah, did that, some packets are indeed going through the POST/PREROUTING chain21:23
EtienneGmathiaz, soren might be on to something .... maybe traffic is just not coming *out* of the instance somehow21:24
maxbI guess sometimes you want that. However I frequently use 'sudo -s' and find it actively useful that my $HOME is my own21:24
RoyKmaxb: it's probably another fancy way to do that, but sudo su - works21:24
ivokssudo -i21:24
ivokssudo -s can be tricky21:24
mathiazEtienneG: are you able to ssh into the Cloud Frontend?21:24
maxbdefine tricky21:24
RoyKwell, that's what I want, most of the time, to use root's environment21:24
EtienneGmathiaz, sure21:24
ivoksif you run a command that drops something in ~, it will end up in user's home with root permissions21:25
mathiazEtienneG: ie does the Cloud frontend knows how to route to your workstation?21:25
ivoksfor example, firefox :)21:25
maxbeek21:25
ivoksor some cli tools - vim21:25
RoyKsudo -i I didn't know21:25
RoyKneat21:25
mathiazEtienneG: is there a dhcp server running on the network?21:25
maxbI would never run something huge and gui under sudo21:25
mathiazEtienneG: the instance may have gotten the wrong IP address21:25
EtienneGmathiaz, grrrrr!  I hate you!21:25
EtienneGmathiaz, of cours ethere is one ... :(21:25
* EtienneG bang head21:25
EtienneGthere we are21:25
* RoyK helps banging EtienneG's head21:26
ivoksmaxb: find ~ -user root21:26
EtienneGIf it wasn't for the CoC, I would transcribe the litany of swears that just came out of me21:27
EtienneGit was very pittoresque21:27
EtienneGmathiaz, in any case, thanks a bunch21:27
jMylesI'm really in need of help with LDAP.  I'm pretty lost.  It never asked me for a password during installation, and now I can't even get started with it because I don't know the password.  Also, I want to understand it more / better.21:27
RoyKjMyles: afaicr it asks for the initial password during install21:28
ivoksjMyles: dpkg-reconfigure slapd21:28
Maz3MikeJust want to say...thanks for all the help so far.....guys in the fedora channel werent that helpful21:29
RoyKMaz3Mike: :)21:29
RoyKubuntu!21:29
RoyKMaz3Mike: http://en.wikipedia.org/wiki/Ubuntu_(philosophy)21:30
=== luis__lopez is now known as luis_lopez
jMylesRoyK, ivoks: dpkg-reconfigure slapd doesn't ask me to set credentials.  I am essentially having the exact problem described in this forum, but I do not understand the solution (although it is marked "SOLVED"): http://ubuntuforums.org/showthread.php?t=129593421:35
ivoksjMyles: dpkg-reconfigure -plow slapd21:36
RoyKwtf is plow? manpage doesn't list it21:37
ivokspriority21:37
ivokslow21:37
jmarsdenRoyK: priority of questions low21:37
RoyKk21:37
ivoksplow - ask everything21:37
* RoyK thought of plowing21:37
ivoksphigh - ask only essential21:37
RoyKI see - just getting late21:37
* jMyles *is* plowing21:37
jMylesivoks: Even after plowing, I am not asked for credentials21:38
jmarsdenjMyles: For ldap in 9.10 you are not supposed to be... the way it works changed, didn't it?21:38
EtienneGmathiaz, that was not it, after all21:38
EtienneGmathiaz, the instance does have a private IP.  It can ping the frontend (172.19.1.1), but nowhere else21:39
ivoksjMyles: true... i haven't installed slapd on karmic yet21:39
ivoksthis worked on 8.0421:39
mathiazEtienneG: can you ssh into the instance from the frontend?21:39
EtienneGmathiaz, I am starting to think there is something fishy with my security group or something21:39
EtienneGmathiaz, yes21:39
RoyKjmarsden: https://help.ubuntu.com/community/OpenLDAPServer <-- this says how to reset it21:39
ivoksmathiaz: how do we setup root pass in slapd in karmic? :D21:39
mathiazEtienneG: I'd check the routing table on the instance then21:39
mathiazivoks: olcRootPW21:39
EtienneGmathiaz, ubuntu@172:~$ ip route show21:40
EtienneG172.19.1.0/27 dev eth0  proto kernel  scope link  src 172.19.1.221:40
EtienneGdefault via 172.19.1.1 dev eth0  metric 10021:40
EtienneGthat seems kosher21:40
mathiazivoks: man slapo-config <- has the list of parameter21:40
bogeyd6can lts run cloud?21:40
ivoksoh, tree configuration21:40
EtienneGbogeyd6, no, it was introduced in jaunty21:41
mathiazEtienneG: well - it seems that the instances are set correctly21:41
EtienneGbogeyd6, but you can run LTS *kin* the cloud, ie on EC2, or your own private cloud21:41
EtienneGmathiaz, indeed.21:41
mathiazEtienneG: I'd use tcpdump on the instance/NC/CC to check where the network stops21:42
bogeyd6ok21:42
bogeyd6so i need 9.1021:42
EtienneGmathiaz, I did: it stops on the frontend21:42
jmarsdenRoyK: Be careful, there is "old" and "new" documentation around at the moment... that page says "This page may contain outdated information." ...21:43
mathiazEtienneG: have you enabled ssh traffic in your security groups?21:43
jmarsdenjMyles: The steps presented by xingmu in the forum thread you linked to look like the "new" way to do things... did you try them?21:43
EtienneGmathiaz, etienne@curst:~$ euca-describe-groups21:43
EtienneGGROUPadmindefaultdefault group21:43
EtienneGPERMISSIONadmindefaultALLOWStcp2222FROMCIDR0.0.0.0/021:43
EtienneGPERMISSIONadmindefaultALLOWStcp8080FROMCIDR0.0.0.0/021:43
EtienneGGROUPadmindemoDemo security group21:43
EtienneGso, yes21:43
EtienneGhold on21:44
RoyKjmarsden: i know, just trying to help the guy21:44
mathiazEtienneG: is your instance running in the demo group?21:44
EtienneGwhat does the "tcp 22 22" means?  hopefully, it is not the source port21:44
RoyKjmarsden: you, that is21:44
EtienneGmathiaz, no, in the default group21:44
Maz3Mikewtf man21:44
Maz3MikeI log in and use my user account and try to sudo to root but it wont work21:45
mathiazEtienneG: you can check the iptables rules on the CC21:45
Maz3Mikei keep getting su authentication failure21:45
EtienneGmathiaz, sure.  Should I dump it here?21:45
mathiaz!paste | EtienneG21:45
ubottuEtienneG: For posting multi-line texts into the channel, please use http://ubuntu.pastebin.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from  command line | Make sure you give us the URL for your paste - see also the channel topic21:45
jmarsdenMaz3Mike: sudo or su ?  They are two different things...21:45
Maz3Mikesu21:46
EtienneGubottu, thanks, nice RTFM you have here!21:46
ubottuError: I am only a bot, please don't think I'm intelligent :)21:46
Maz3Mikeshould su -21:46
Maz3Mikefor root right?21:46
jmarsdenMaz3Mike: No.  Not in Ubuntu.21:46
jmarsden!root21:46
ubottuDo not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo21:46
RoyKhttp://uncyclopedia.wikia.com/wiki/Rtfm21:46
RoyKheh21:46
Maz3Mikeso what would I type?21:46
RoyKjust remember that without any root password set, you can get right through all 'security' by just booting into single21:47
EtienneGmathiaz, http://ubuntu.pastebin.com/m331fc57721:47
jmarsdenMaz3Mike: as a Ubuntu server admin you need to learn, not just type.  Did you read https://help.ubuntu.com/community/RootSudo21:47
RoyKMaz3Mike: sudo -i and type your own password21:47
ivoksonly members of admin group have sudo privileges21:48
ivoksso if you aren't member of admin group, sudo won't work21:48
EtienneGmathiaz, notice nothing gets into the FORWARD chain, hence nothing gets to be processed trough admin-default.  Is that normal?21:48
mathiazEtienneG: I don't think so21:49
mathiazEtienneG: what's the routing table on the CC?21:49
Maz3Mikelove it..nice got root access21:49
EtienneGmathiaz, lots of stuff through PRE/POSTROUTING21:49
Maz3Mikeman the ubuntu website seems sloooow21:49
EtienneGmathiaz, cloudmaster@uec-frontend:~$ ip route show21:49
EtienneG172.19.1.0/27 dev eth0  proto kernel  scope link  src 172.19.1.121:49
EtienneG10.153.108.0/24 dev eth0  proto kernel  scope link  src 10.153.108.21021:49
EtienneGdefault via 10.153.108.1 dev eth0  metric 10021:49
EtienneG(I just love flooding the channel!)21:50
Maz3Mikesee...its always the little things that you need to know21:50
henriquevEtienneG: you shouldn't21:50
Maz3MikeThanks guys..now on to figuring out the xserver setup21:50
EtienneGhenriquev, I know ... :-/21:50
ivoksMaz3Mike: xserver setup?21:50
RoyKMaz3Mike: true, one should be able to play tetris on ones server21:50
* RoyK sniggers21:51
ivoksjust install xorg package :)21:51
Maz3Mikelol..dont make fun of me guys..i am on the gui crutch but i will get off of it soon enough21:52
Maz3Mikeneed to get teamspeak 3 working on it21:52
mathiazEtienneG: I think it's because your public instance IPs are shared by the network IPs21:52
mathiazEtienneG: the CC doesn't do any routing21:52
ivokssudo apt-get install xorg21:52
RoyKMaz3Mike: https://help.ubuntu.com/community/ServerGUI21:52
EtienneGmathiaz, yes, that could well be ...21:52
EtienneGmathiaz, ok, so I will try with another IP range, like 192.168.something21:53
mathiazEtienneG: is ip_forward enabled on the cC?21:53
EtienneGmathiaz, that makes a lot of sense indeed, and remind me of something21:53
RoyKhttp://www.lamebook.com/wp-content/uploads/2010/01/weekendwin4.png21:53
ivoksah, time for bed21:53
EtienneGmathiaz, in fact, i am pretty sure I had this problem before indeed21:53
mathiazEtienneG: yeah - try to allocate instance public IP in a non-used network21:53
EtienneGmathiaz, yes, CC is routing, I checked that first!21:53
ivoksbye21:54
EtienneGbye ivoks21:54
mathiazEtienneG: if the FORWARD chain isn't hit, it means that things are fishy at the kernel routing level21:54
EtienneGmathiaz, yes, i got that indeed21:54
mathiazEtienneG: you could try to see if packets *leave* eth0 on the CC21:55
EtienneGmathiaz, they aren't, I checked21:56
mathiazEtienneG: I don't remember exactly under which circumstances packets go through the FORWARD rule21:56
jMylesjmardsen, ivok, royk, et. al.: I think I need to take a step back.  For LDAP, do I need to go through this process (the "people.ldif" thing from the forums) every time I want to create an account?  All I really want is 1) for the users / groups on my server to be authoritative across the network and 2) to be able to use that user list for a few other things (authenticating a wifidog portal, logging in to mediawiki, etc)21:56
mathiazEtienneG: does the kernel say anything special?21:56
EtienneGmathiaz, no, completely silent21:57
mathiazEtienneG: I don't know then21:58
mathiazEtienneG: try to use instance public IP from a different network21:58
EtienneGmathiaz, but I think you got it ... it has to be the PUBLICIP range overlap21:58
RoyKjMyles: there are better ways to administer ldap than using ldif files, but you need to look it up. I really have no idea22:05
EtienneGgah! now I have the 403 bug ...22:06
RoyKEtienneG: 403 bug?22:07
EtienneGRoyK, jMyles: there is not, really.  There are a couple of toolchains for managing user/group in LDAP, but they all suck.  smbldap-tools suck the least22:07
EtienneGRoyK, jMyles: there is a blueprint to get a better toolchain in Ubuntu, but we are not there yet22:08
EtienneGRoyK, in EUC22:08
jMylesEtienneG: I guess I assumed that the process was going to be that the userlist on the server was going to just work on other computers.  I don't really mind using ldif files - I'll just have to learn how.22:08
EtienneGjMyles, what you describe is more like NIS, the older network directory.  It is deprecated, though.22:09
RoyKjMyles: we're still using NIS in our network22:10
RoyKworks like a dream22:10
* RoyK underlines the fact that not dreams are good22:10
sorenDo you dream in black and white?22:10
sorenand 320x200?22:10
RoyKno, it's colour22:10
RoyKcyan and magenta is nice22:11
RoyKCGA FTW!22:11
sorenYup, those are colours.22:11
* soren doesn't miss CGA much22:11
jMylesEtienneG, RoyK: Thanks for walking me through these baby steps.  I think I think LDAP because it seems to be compatible where I need it: starting with wifidog and mediawiki, which both support it.  What is the best practice for securing and authentication wireless clients?  We want to do everything with one set of credentials per user.  (Background: My girlfriend and I are starting SlashRoot: The Grassroots Tech Cafe, where we se22:11
jMylesrve organic, fair trade coffee and open source software)22:11
sorenIncidentally, I don't miss NIS much either. Coincidence?22:11
sorenjMyles: Where?22:12
jMylessoren: New Paltz, NY, USA22:12
jMylessoren: Hudson Valley Region22:12
RoyKjMyles: http://luma.sourceforge.net/ <-- nothing has happened there recently, but it might work22:13
sorengoogle maps refuses to give me directions. I miss the times when it would tell you to swim from somewhere in France to New York or whatnot.22:13
RoyK:)22:14
RoyKsoren: are you danish or perhaps norwegian?22:14
sorenRoyK: Danish.22:14
sorenhttp://googlesystem.blogspot.com/2007/03/google-maps-shows-funny-directions.html22:15
RoyKmakes sense - Søren isn't really a very common name up here22:15
sorenNo, you're all named Sven. Everyone knows that.22:15
sorenWell..22:15
sorenExcept for those named Olaf.22:15
RoyKheh22:16
RoyKsoren: seems those aren't so popular anymore http://www.ssb.no/navn/fylke/Hele_landet_2008-menn.html22:17
sorenRoyK: Bah. Statistics.22:18
sorenRoyK: http://dst.dk/Statistik/Navne/NamesPop.aspx fwiw22:18
* soren tries to get back on topic22:18
RoyKlies, damn lies and statistics...22:18
EtienneGmathiaz, excuse me again, I am abusing your time today.  I changed VNET_PUBLICIPS in eucalyptus.conf, restarted the services, rebooted even, and euca-describe-addresses still returns the old public IP.  Do we need to do some voodoo to have the new public IP setting applied?22:21
mathiazEtienneG: try to restart eucalytpus with CLEAN=122:21
mathiazEtienneG: network information is presistant accross reboot22:21
mathiazEtienneG: you'd have to clean everything22:21
EtienneGmathiaz, yeah, I see that!22:22
mathiazEtienneG: check eucalyptus init script the get the exact CLEAN syntax22:22
mathiazEtienneG: (CLEAN=1 IIRC)22:22
EtienneGmathiaz, ok, looking22:22
EtienneGmathiaz, but there is nothing in the init script about CLEAN22:23
EtienneGwould that be an environment variable?22:23
* RoyK corrects incidence 22:24
* RoyK corrects incorrect instead22:24
mathiazEtienneG: hm - you're right22:24
mathiazEtienneG: we've added the CLEAN env in lucid22:25
EtienneGmathiaz, isn't it an upstart job now anyway?22:25
mathiazEtienneG: yes - but it still works the same way22:25
mathiazEtienneG: see bug 49125422:25
EtienneGchecking ...22:25
mathiazEtienneG: well - it should in karmic actually22:26
mathiazEtienneG: have you installed the latest version from karmic-updates?22:27
EtienneGmathiaz, aaaaah, victory!22:27
EtienneGmathiaz, yes, I did22:27
EtienneGok now, running instances22:27
EtienneGmathiaz, VICTORY!!!22:35
EtienneGnote to self: VNET_PUBLICIPS range shall not be in your publicépriv interface subnet22:36
EtienneGnow, what is the URL of MediaWiki on the demo appliance?22:38
sorenhttp://whatever/mediawiki/22:42
sorenhttp://whatever/mediawiki/22:45
sorenWhoops.22:45
EtienneGsoren, yeah, I got that22:47
EtienneGI am defacing my own wikipedia!22:52
* RoyK takes EtienneG's coke22:53
EtienneGcrack, man, crack22:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!