/srv/irclogs.ubuntu.com/2007/05/29/#ubuntu-server.txt

=== slackwarelife [n=slackwar@host210-117-dynamic.56-82-r.retail.telecomitalia.it] has joined #ubuntu-server
=== sahafeez [n=sahafeez@ip68-6-223-156.sd.sd.cox.net] has joined #ubuntu-server
=== qman [n=qman@66-227-157-119.dhcp.bycy.mi.charter.com] has joined #ubuntu-server
=== jsgotangco [n=jsg123@121.97.250.198] has joined #ubuntu-server
=== ||arifaX_ [n=||arifaX@p54B5A5F0.dip0.t-ipconnect.de] has joined #ubuntu-server
=== infinity2 [n=adconrad@cerberus.0c3.net] has joined #ubuntu-server
=== Felarin [n=sean@ntsvr1.abs.org.sg] has joined #Ubuntu-server
=== Felarin [n=sean@ntsvr1.abs.org.sg] has joined #Ubuntu-server
=== sahafeez [n=sahafeez@ip68-6-223-156.sd.sd.cox.net] has joined #ubuntu-server
qmanI have a question about dhclient-exit-hooks06:43
qmanwhere is the script supposed to be, such that it will actually be called? I'm getting a lot of conflicting information06:44
fooI'd check the man page07:01
qmanit doesn't go into detail07:14
qmanit seems like it just wants /etc/dhcp3/dhclient-exit-hooks, but some other files hint at it being just in /etc, and there is a /etc/dhcp3/dhclient-exit-hooks.d/ directory07:16
=== infinity [n=adconrad@cerberus.0c3.net] has joined #ubuntu-server
=== JuanTao [n=chatzill@69-9-151-186.dsl.mind.net] has joined #ubuntu-server
JuanTaoI've tried several attempts to setup a firewall and do NAT on eth1 for my LAN including the instructions at https://help.ubuntu.com/7.04/server/C/ip-masquerading.html and firewallhttp://www.section6.net/wiki/index.php/Setting_up_a_Firewall_NAT_using_IPTables but i've only succeeded in breaking stuff (three ffr's) any recommendations?07:56
=== svschwartz [n=svschwar@217.147.21.82] has joined #ubuntu-server
qmanAll I can tell you is, I've spent the last few weeks doing basically the same thing, and I finally gave in and read about a dozen manuals on iptables08:12
qmannone of the programs that are supposed to make it simpler have worked08:12
JuanTaoqman, one of the sysadmins where I used to work wrote a script for me that worked beautifully - but for the last two years I've run FreeBSD. Now that I'm switching back to Linux, he's going to re-send it to me. Do you want to try it if it works?08:17
qmanno thanks, I've already done it the hard way08:19
qmanbut I appreciate the offer08:19
JuanTaoqman: did you say 'do some reading'? Ack...08:19
qmanI've spent a total of around 30 hours reading just on iptables08:20
qmanno lie08:20
JuanTaohat's off!08:20
qmanat least it's knowledge that can be put to good use in more than just one situation :)08:20
JuanTaoyes. I seem to be a pretty slow learner, but the notebook i've kept has been valuable. I will keep pluggin away. (or chmod a+x my friend's script when it arrives ; - )08:24
qmanheh08:25
qmanfor some reason, iptables is just one of those things that doesn't make sense until you've put a LOT of time into it08:25
JuanTaothanks for the encouragement, I'm off to bed - lot's of reading in my future ...08:34
=== JuanTao [n=chatzill@69-9-151-186.dsl.mind.net] has left #ubuntu-server []
=== stephanbuys [n=stephanb@196.44.1.98] has joined #ubuntu-server
=== infinity2 [n=adconrad@cerberus.0c3.net] has joined #ubuntu-server
=== [miles] [n=miles@bcn1.entorno.es] has joined #ubuntu-server
=== stephanbuys [n=stephanb@196.44.1.98] has joined #ubuntu-server
=== ivoks [n=ivoks@32-246.dsl.iskon.hr] has joined #ubuntu-server
=== qiyong [n=qiyong@fc-cn.com] has joined #ubuntu-server
qiyongis there any web interface to manipulate virtual users for postfix?10:03
qiyongor any other MTA10:03
ivoksafaik, no10:18
ivoksbut you can always write one your self :)10:18
ivoksor try ispconfig10:18
=== [miles] [n=miles@bcn1.entorno.es] has joined #ubuntu-server
=== mdz [n=mdz@yttrium.canonical.com] has joined #ubuntu-server
=== ||arifaX [n=||arifaX@inetpop1.witron.de] has joined #ubuntu-server
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-server
=== lozzy [n=lozzy@host86-143-55-42.range86-143.btcentralplus.com] has joined #ubuntu-server
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== Felarin [n=sean@cm33.sigma192.maxonline.com.sg] has joined #Ubuntu-server
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-server
=== Kamping_Kaiser [n=kgoetz@gnewsense/friend/kgoetz] has joined #ubuntu-server
=== fernando [n=fernando@unaffiliated/musb] has joined #ubuntu-server
fernandomoin all03:14
svschwartzfernando03:22
=== lparry [n=lparry@88-109-54-239.dynamic.dsl.as9105.com] has joined #ubuntu-server
lparryhey can someone help me with svn. I have got it working successfully, but I want to know how I can use it to monitor a web directory, that I can browse and update using svn03:28
=== leonel [n=leonel@189.155.98.96] has joined #ubuntu-server
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== kupesoft [n=dave@red-gw.cs.toronto.edu] has joined #ubuntu-server
=== mathiaz [n=mathiaz@dsl-151-121.aei.ca] has joined #ubuntu-server
=== svschwartz [n=svschwar@217.147.21.82] has left #ubuntu-server []
=== tideline [n=tideline@65.98.69.13] has joined #ubuntu-server
=== steveire [n=stephen@unaffiliated/steveire] has joined #ubuntu-server
steveireHey. I've installed an AMP stack on my laptop, because I want to try out a few cmses for a website. I'd like for it to be possible for my friends to be able to connect wirelessly to the server on my laptop from their windows laptops. Is it possible?05:36
mralphabetsteveire: sure05:36
steveireDo I need to install samba or anything?05:37
=== h4wk0 [n=h4wk@84.13.255.104] has joined #ubuntu-server
=== sacater [n=sacater@105.245.131.213.static.inetbone.net] has joined #ubuntu-server
=== YourMomsHero [n=cirish@phx1.redefining-it.net] has joined #ubuntu-server
steveiremralphabet: A little help?05:44
shawarmasteveire: It should just work.05:44
shawarmasteveire: If they have network access to your machine, it should be all good.05:45
steveireHow do I give them network access to my machine?05:45
shawarmaEr... Be on the same network as them :)05:45
steveireImagine I'm in a room with them. We all have wireless network cards in our laptops. There is no router or anything. Next what?05:46
steveireNo existing network05:46
mralphabetwireless is not limited by an existing network05:47
=== sacater [n=sacater@213.131.245.105] has joined #ubuntu-server
steveireOK. I type 127.0.0.1 in my browser to access the server on my own laptop. How do I access it from the other laptop?05:51
shawarmasteveire: I suggest you ask in #ubuntu how to set up networking between you.05:53
steveireshawarma: I have to set up some kind of ad-hoc network then, yes?05:53
=== sacater [n=sacater@colchester-lug/member/sacater] has joined #ubuntu-server
shawarmasteveire: probably, yes.05:54
steveireThanks for the help. I seem to be going in circles.06:01
leonelsteveire: first setup your wireless 06:09
steveireleonel: My wireless card? Network? Do I need samba?06:10
leonelno06:10
leonelweel06:10
leonelwell06:10
leonelhow  are you going yo update the contents ?06:11
leonelmost of the CMS  update their content using the  html forms provided 06:12
steveireI'm trying out some cms software. Some friends and I want to make a website. I've installed ubuntu-lamp and some cmses on my laptop and they work fine. I'd want them on their windows laptops to be able to see what I put up there. That's about it.06:13
leonelthat's with  apache  only06:13
steveirehmm?06:13
leoneluse the browser  on the windows machines06:13
leoneland point  to the  wireless ip 06:14
steveireOk. I think someone on #ubuntu suggested that too. I'll try 192.168.x.x. 06:14
steveireAren't ip addresses usually assigned by a router though...?06:15
leonelyou can  set up that in  /etc/network/interfaces 06:16
leonelso the wireless can be static06:16
leonelor in the router  assing the same ip to  your wireless with the  ARP06:17
steveireOK. There won't be any router, just three laptops. I'll have a look at /etc/network/interfaces06:17
steveireSo I add something like http://pastebin.ca/519246 to the file?06:22
steveireActually I'm not so sure about that any more.06:25
steveireq06:25
leonelthat's right 06:27
steveireother man pages like wireless and iwconfig seem to say wireless is different/separate. I'll turn off the router here and have a go anyway. Cheers06:28
=== steveire [n=stephen@89.100.40.115] has joined #ubuntu-server
steveireleonel: Hey. That entry in /etc/network/interfaces didn't change anything.06:42
leonel??06:42
steveireI turned off the router here, and tried to access the apache server on my ubuntu laptop from my windows laptop after editing /etc/network/interfaces like this: http://pastebin.ca/51924606:44
leoneldid  you restart the network ?06:44
steveireI don't know the command-line way. I used knetwork manager to go to offline mode and online mode again. I thought that would reparse the config file. ifconfig didn't show anything about a 192.168.1.20 ip address after that. I don't know what else to look for.06:46
leonelok 06:48
leonel /etc/init.d/networking  restart06:48
leoneland  then check the ip   with  ifconfig 06:48
steveireright so. That'll probably disconnect me.06:49
leonel  it will06:50
steveireIt didn't O_o06:50
steveireI'll disconnect my router and try again.06:51
=== turox [n=chatzill@dslb-084-057-252-090.pools.arcor-ip.net] has joined #ubuntu-server
=== steveire_ [n=stephen@89.100.40.115] has joined #ubuntu-server
steveire_http://pastebin.ca/519321 <<< There's the output06:55
=== steveire_ is now known as steveire
steveireAm I missing something obvoius that I need in the interfaces file?06:57
=== kupesoft [n=dave@red-gw.cs.toronto.edu] has joined #ubuntu-server
shawarmasteveire: It's really not within the scope of this channel. You should try #ubuntu. When you get to the apache bit, you can come back here :)07:02
steveiresigh. Alright. Didn't get any answers from them though. Cheers.07:03
leonellet me understand 07:06
leonelyou want  wireless to wireless communication ?07:06
leonelsteveire: ?07:06
steveireleonel: Yes.07:06
steveireleonel: Is that something specifically difficult?07:08
leonelyou need to setup  your wireless as  ad-hoc07:09
steveireOK. How?07:10
steveireDo I edit /etc/network/interfaces to do that?07:11
leonel check this link  http://justlinux.com/forum/archive/index.php/t-147208.html07:12
steveireAlright thanks. I'll think about how that applies to me. When he says he gives the wireless network adapter a certain configuration, that means editing interfaces, right?07:16
leonelyes07:18
leonelor use  iwconfig 07:18
steveireleonel: I followed this: http://ubuntuforums.org/showpost.php?p=841459&postcount=5 which was linked to in that one. Here's the output: http://pastebin.ca/51943907:29
steveireI don't know what the error means07:29
=== coNP [n=conp@unaffiliated/conp] has joined #ubuntu-server
=== steveire [n=stephen@89.100.40.115] has joined #ubuntu-server
leonelsteveire: 07:35
leonelleonel@ubuntu:~$ sudo iwconfig eth1 mode ad-hoc07:35
leonelno errors here07:35
leonelwhat wireless card you have ?07:35
steveireEthernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)07:37
steveireaccording to lspci07:37
steveireI'm gonna have to give up.07:46
steveirecheers.07:46
=== sahafeez [n=sahafeez@67.109.14.227.ptr.us.xo.net] has joined #ubuntu-server
=== sacater [n=sacater@colchester-lug/member/sacater] has joined #ubuntu-server
=== YourMomsHero [n=cirish@phx1.redefining-it.net] has joined #ubuntu-server
=== cirish [n=cirish@phx1.redefining-it.net] has joined #ubuntu-server
=== YourMomsHero_ [n=cirish@phx1.redefining-it.net] has joined #ubuntu-server
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-server
hansin321http://myy.helia.fi/~karte/ubuntu_pxe.html08:53
=== ph1zzle [n=ph1zzle@lan.tolemedia.net] has joined #ubuntu-server
ph1zzlehey guys08:56
ph1zzleI have a small problem with feisty server I was hoping someone could help me with, I just installed a new hard disk in this server and copied everything from the old one to the new one, now /var is a seperate partition like it was on the old system but mountkernfs is complaining because it cannot find /var/run and /var/lock I think was the other one, in order to mount them tmpfs, does anyoen know what I shoud do?08:58
qmancheck /etc/fstab to make sure it's correct for the new disk09:00
qmanyour partition labels may have changed, and if it uses UUIDs, they will be different for sure09:01
ph1zzleyes I setup uuid's and I just found the problem09:03
ph1zzleubuntu needs /var/run and /var/lock to exist even if they are mounted over, I don't know why09:04
=== mrpoundsign [n=chatzill@92dhcp179.chordiant.com] has joined #ubuntu-server
ph1zzleif you look at the /etc/rcS.d/S01mountkernfs.sh it will mount /var/run and /var/lock as tmpfs even though the /var is not mounted till S35mountallfs.sh09:06
mrpoundsignhow do I tell dhclient to renew on an interface?09:11
=== RobNyc-work [n=arch@65.98.0.130] has joined #ubuntu-server
ivoksph1zzle: er...09:14
ivoksph1zzle: you need to have mountpoint to mount something in it09:14
=== ||arifaX [n=||arifaX@p54B59E6E.dip0.t-ipconnect.de] has joined #ubuntu-server
ph1zzleivoks, yes I do09:15
ph1zzleglad you noticed09:15
qmanwhat he's saying is, /var/run and /var/lock need to exist before /var is mounted09:15
ivoksah... :)09:15
qmanI was unaware of this, too09:15
ph1zzleI had to do some greping and readnig of shell scripts to find out09:15
ph1zzleI actually kind of thought it a little odd that they would mount that but not allow me to mount /var first but it works now and I have other shit to do so I will let it go the way it's meant to 09:16
ph1zzleI had a spammer abuse my mail server yesterday which seems is fun...09:17
ph1zzleon one hand I when I came home from boating (me lives in Fort Lauderdale) the companies /var partition was so full all company mail had stopped moving, but on the other hand a) the boss bought a bigger hard drive and I see a vital flaw I misunderstood in the configuration09:18
ivokswell... true...09:20
ivoks /var/run is mounted before /var09:20
ivoksbut is cleaned after that09:20
=== infinity3 [n=adconrad@cerberus.0c3.net] has joined #ubuntu-server
=== slackwarelife [n=slackwar@host138-96-dynamic.56-82-r.retail.telecomitalia.it] has joined #ubuntu-server
=== tideline [n=tideline@65.98.69.13] has joined #ubuntu-server
=== rainbow` [n=ra1nb0w@213-156-55-129.fastres.net] has joined #ubuntu-server
=== h4wk0 [n=h4wk@84.13.246.112] has joined #ubuntu-server
=== ph1zzle [n=ph1zzle@lan.tolemedia.net] has left #ubuntu-server ["Leaving"]
=== Mussi [n=bah@unaffiliated/mussi] has joined #ubuntu-server
=== Mussi [n=bah@unaffiliated/mussi] has left #ubuntu-server ["Client]
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
=== YourMomsHero [n=cirish@phx1.redefining-it.net] has joined #ubuntu-server
=== spiekey [n=spiekey@91.89.147.172] has joined #ubuntu-server
spiekeyhello!10:37
spiekeyi am trying to smbldap-populate my box but get: failed to add entry: no global superior knowledge at /usr/sbin/smbldap-populate line 495, <GEN1> line 2.10:38
spiekeyany idea why?10:38
=== kupesoft [n=dave@CPE00119583e9ae-CM0013718cb08a.cpe.net.cable.rogers.com] has joined #ubuntu-server
=== ivoks [n=ivoks@20-252.dsl.iskon.hr] has joined #ubuntu-server
=== dashaun [n=dashaun@70.249.165.65] has joined #ubuntu-server
=== dashaun needs postgres help
dashaunpostgres isn't starting, installed binaries with apt-get, try to start the service, status confirms that service did not start11:06
dashauni did have logs before today, at some point, something went whacko11:06
dashaunmy /var/lib/postgresql dir is empty11:07
dashaunthats not good11:07
=== CharlieSu [n=charlie@pool-71-114-226-5.austtx.dsl-w.verizon.net] has joined #ubuntu-server
CharlieSucould anyone help me w/ a PAM problem?  please look at http://pastebin.ca/520158   I'm trying to login via SSH w/ a publickey instead of password auth..  11:16
dashaunyou are trying to login as root?11:18
=== r00tintheb0x [n=king@198.170.183.130] has joined #ubuntu-server
=== dashaun [n=dashaun@70.249.165.65] has left #ubuntu-server ["Kopete]
=== r00tintheb0x [n=king@198.170.183.130] has joined #ubuntu-server
qmangenerally, remote root logins are disabled by default, for security11:23
qmantry doing it with another user11:23
BurgundaviaCharlieSu: using root is a bad idea, in general11:25
CharlieSuBurgundavia: understand.. besides that though?11:25
CharlieSuany idea?11:25
Burgundaviaare you having issue siwth general users?11:25
=== r00tintheb0x [n=king@198.170.183.130] has joined #ubuntu-server
=== r00tintheb0x_ [n=king@198.170.183.130] has joined #ubuntu-server
CharlieSuBurgundavia: no regular users login w/ keys.. only passwords..  and that is LDAPed11:29
Burgundaviaahh11:29
Burgundaviahmm11:29
CharlieSuit is a PAM config error.. i was wondering if you knew of any part of that config file in the paste bin that would stop keys from logging in.. now when i try and use the key it prompts for password still instead.11:31
=== fujin [n=aj@123.100.64.22] has joined #ubuntu-server
=== ||arifaX_ [n=||arifaX@p54B59E6E.dip0.t-ipconnect.de] has joined #ubuntu-server
=== h4wk0 [n=h4wk@84.13.250.136] has joined #ubuntu-server
=== turox [n=chatzill@dslb-084-056-235-086.pools.arcor-ip.net] has joined #ubuntu-server

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