[00:25] <hallyn> kirkland: do you have that liveusb image for the uec demo posted somewhere?
[00:27] <hallyn> ah, i see it on the uds blueprint, thx
[00:59] <corpse> hey, im trying to set up a file server using a guide. its telling me to run command echo server1.example.com > /etc/hostname /etc/init.d/hostname.sh start  even using sudo i get -bash /etc/hostname: permission denied
[01:02] <Pici> corpse: echo "server1.example.com" | sudo tee /etc/hostname
[01:03] <corpse> thanks man =]
[01:05] <corpse> now when i run start hostname i get start: unable to connect to system bus: failed to connct to socket /var/run/dbus/system_bus_socket: no such file or directory
[01:08] <corpse> never mind i think i got it. but when i run hostname i get fireserv   then when i run hostname -f i get fileserv.example.com. the guide says they should both return fileserv.example.com
[01:46] <corpse> i cannot seem to get my interfaces files setup right inorder to run the server
[01:47] <corpse> and i dont understand why, cuase its pretty stright forward
[01:48] <kirkland> hallyn: yeah, it *mostly* works
[01:48] <kirkland> hallyn: there's something non-deterministic about the behavior at this point
[01:48] <kirkland> hallyn: ie, boot it in a vm, if it doesn't "just work", kill the vm, and try again
[01:48] <kirkland> hallyn: right now, it takes 2-3 tries
[01:51] <Izinucs> Is there a way to boot to the server installer from usb on a headless machine and then ssh into it to do the install?  I already have the installer prepared on a usb stick..
[03:42] <DrDamnit> Installing 10.04 LTS x64 server on HP ML150 G6 from USB drive created with PenDriveLinux Universal Installer. "Load installer components from CD" fails. How do I get past this?
[03:44] <ScottK> DrDamnit: Why didn't you use usb-creator to make the USB image?
[03:44] <DrDamnit> usb-creator crashes with a segmentation fault on 10.04 desktop.
[03:46] <corpse> hey, when i ifconfig it shows that my eth0 is up and runing but when i try to apt-get upgrade i get faliure resolving errors. is there any way to trouble shoot my network connection?
[03:47] <corpse> DrDamnit: i just did this last night formate the drive to FAT32 and use UNetbootin. that ended up working for me
[03:48] <corpse> DrDamnit: i was using a ISO d/led from ubuntu.com though not cd
[03:53] <DrDamnit> corpse: I am using the ISO too. I'll try UBetbootin
[03:56] <DrDamnit> corpse: 10.04_Live_x64?
[04:05] <corpse> DrDamnit: yes i used both desktop and server ed
[04:06] <corpse> are you formating the drive prior to runing UNetbootin?
[04:07] <DrDamnit> I used the HP format tool to format the drive to FAT32, and then put server x64 on it. Just booted, and it says "Your installation CDROM couldn't be mounted. This probably means tha thte CDROM was no in the drive. I fso you can inserti it and try again."
[04:07] <DrDamnit> I used Unetbootin to put server x64 on it.
[04:10] <DrDamnit> still no joy.
[04:10] <DrDamnit> any thoughts? I am using a 4GB stick...
[04:11] <corpse> dumb question but did you set your bios to load the usb first?
[04:11] <DrDamnit> Not a dumb question. Perfectly valid. And... let me check. I assumed that since it was booting from the USB stick that it was, indeed, doing that. But not setting it might confuse it during the install. Let's try it out....
[04:12] <corpse> also after making the disk i had to run this command      sudo syslinux -sf /dev/your_device   (your device being the drive name eg sda sdb sdb1 etc)
[04:12] <corpse> yeah you want to make sure that the first device it is booting from is the usb
[04:12] <DrDamnit> I am making this USB on Windows. That's all I have available at the moment.
[04:12] <corpse> ah
[04:12] <DrDamnit> but it should still work.
[04:12] <corpse> yeah
[04:13] <DrDamnit> It is booting from the USB stick...
[04:13] <corpse> im not exaclty sure, im sure you can google it, but that command i just gave was to make the drive bootable
[04:14] <corpse> you might need to do that but im not sure how to in windows
[04:14] <DrDamnit> In BIOS: USB Device Boot Pririty = High.
[04:14] <DrDamnit> there's a syslinux.exe that does it.
[04:14] <DrDamnit> syslinux just makes it bootable.
[04:14] <corpse> ah
[04:14] <DrDamnit> It appears to be that anaconda is failing to detect the setup files on the USB drive, and / or is defaulting ot the cdrom.
[04:14] <DrDamnit> which it should be doing because we are no tinstalling from a cdrom.
[04:14] <DrDamnit> ...methinks....
[04:14] <corpse> when booting and your at the bios splash screen try hitting f8 to see if you have a bootlist selector
[04:15] <corpse> yeah i had the same problem. i litterly spent 24 hours trying to get my usb to boot
[04:16] <ntenis> hello quys
[04:16] <ntenis> has anyone installed remote desktop to a server installation ?
[04:16] <corpse> im about to try to once i get my networking working on my server =P
[04:17] <DrDamnit> ntenis: remote desktop uses vnc or some other type of software that "broadcasts" the xserver. So, there's no point since X is not install on server.
[04:17] <corpse> the network says its up but i cant connect to apt-get update
[04:17] <ntenis> i tried to installed gnome and vnc but when i do that then i am no longer able to ssh to the server
[04:17] <DrDamnit> corpse: the repos have been having issues lately.
[04:17] <ntenis> does anyone know why?
[04:18] <DrDamnit> try to manually connect from another machine to see if they are up.
[04:18] <corpse> yeah i have it running on this machine right now
[04:20] <corpse> yeah i have it running on this machine right now;1 droped:0 overruns:0 frame:1  is there anyway to see that error?
[04:20] <corpse> oops
[04:21] <corpse> when i run ifconfig i get RX packets:863 errors:1
[04:21] <DrDamnit> on which machines?
[04:21] <corpse> my server
[04:21] <corpse> i have a box right next to me that im trying to set up a fileserver
[04:22] <corpse> and its been fighting me every step of the way
[04:22] <DrDamnit> the one with the network problem....
[04:22] <corpse> yes
[04:22] <DrDamnit> has it ever worked (i.e., on 9.10?)
[04:22] <corpse> nope this is my first attempt
[04:23] <corpse> using 10.04 server
[04:23] <ScottK> DrDamnit: If you didn't get it working yet, I understand usb-creator-kde doesn't crash.
[04:23] <DrDamnit> try 9.10 first. It's quite nice. I am starting to have my doubts about 10.04. It's shiney and new, but seems to be buggy.
[04:24] <DrDamnit> ScottK: Haven't gotten it to work yet. Tried the Universal USB installer from PenDriveLinux, and now working with Unetbootin. I'll try that next. apt-get install usb-creator-kde?
[04:24] <DrDamnit> ScottK: the issue doesn't seem to be the bootable USB key thing... it appears anaconda is upset with me using a USB key rather than a CDROM. What do you think?
[04:24] <ScottK> Yes.
[04:25] <ScottK> I've done installs from usb sticks before.  The error sounded like it was confused about the path to the device.  That's why I was thinking there may be some data point that usb-creator sets that other methods don't.
[04:26] <ScottK> Although, in fairness, my usb installs were desktops/netbooks, not servers.
[04:26] <DrDamnit> corpse: I am booting with 10.04 Desktop into live mode to see if the live mode will work, and then see if I can see the CDROM and HDs, etc...
[04:26] <DrDamnit> Yes. I have done USB on netbooks and desktops. This is the first server.
[04:26] <DrDamnit> I agree it is confused about the path.
[04:26] <DrDamnit> I also have a smart array i400P RAID controller n this.
[04:26] <DrDamnit> so that may be making a difference.
[04:29] <DrDamnit> booting into live mode doesn't see the raid controller.
[04:30] <DrDamnit> nope. nevermid. It shows up as cciss not hdx sdx or scsix.
[04:30] <DrDamnit> kernel supports the controller...
[04:30] <DrDamnit> so that's good.
[04:31] <ScottK> You could just install using the desktop installer and remove the desktop when you're done.
[04:31] <deslector> hi, is there any ubuntu-based asterisk distribution out there?
[04:33] <DrDamnit> corpse: on your file server that cannot access the repos... how many NICs do you have?
[04:33] <corpse> DrDamnit: one
[04:33] <DrDamnit> deslector: I am a dCAP. Not that I know of. Digium uses #PoundKey, which is based on rPath, which is based on Redhat.
[04:34] <corpse> DrDamnit: im just kinnda new to linux so im running out of commands to help troubleshoot
[04:34] <DrDamnit> are you wanting something like Trixbox?
[04:34] <deslector> dragondon, dCAP?
[04:35] <deslector> DrDamnit,
[04:35] <DrDamnit> corpse: no worries. That doesn't mean that you won't either 1) have the answer or 2) light a firecracker in my brain causing an 'ah-ha' moment ot fix it. :-)
[04:35] <DrDamnit> dCAP = Digium Certified Asterisk Professional.
[04:35] <deslector> DrDamnit, oh, I see
[04:35] <deslector> DrDamnit, yeah, something like trixbox would be nice, but based on ubuntu
[04:35] <deslector> I like ubuntu much better
[04:36] <DrDamnit> Not that I know of. Trixbox should be named KludgeBox. It sucks.
[04:36] <DrDamnit> It's easier to just build what you need and write scripts to assemble it.
[04:36] <DrDamnit> http://www.idlebraintime.com/2009/06/how-to-install-asterisk-16-on-ubuntu-904-server/
[04:36] <DrDamnit> from my blog.
[04:36] <DrDamnit> after that, grab freepbx.
[04:36] <DrDamnit> and you should be good to go.
[04:36] <DrDamnit> that most of what trixbox offers anyway.
[04:37] <DrDamnit> what features do you specifically need?
[04:37] <corpse> DrDamnit: so far i have set my static ip adress and host info. i am able to run a network restart without error. but i still can not connect to anything
[04:37] <ScottK> I haven't tried it, but I know some effort went into the last cycle to get asterisk working well on Ubuntu.
[04:38] <deslector> DrDamnit, well... not sure, only the basic stuff... basically, freepbx + fax
[04:38] <deslector> conferencing would be nice too
[04:39] <DrDamnit> corpse: I have had that issue before. It acts like there is an IP address conflict. Set the nic back to DHCP, and delete the static info that you put in there. Then get an address from your DHCP server, then reset the static ip address. Does the trick for me.
[04:39] <DrDamnit> ScottK: Asterisk has always worked well on Ubuntu. At least since v7.
[04:39] <DrDamnit> deslector: follow the guide i gave you. That will get asterisk working in Ubuntu.
[04:39] <DrDamnit> Then install FreePBX according to its docs.
[04:40] <deslector> DrDamnit, is it apt-get upgrade safe?
[04:40] <|corpse|> sorry kicked the powercord out of the wall
[04:40] <deslector> DrDamnit, the main thing I have againts CentOS-based stuff is that I'm never sure whether I can upgrade or not
[04:40] <deslector> s/againts/against/
[04:40] <DrDamnit> fax is still a bit nebulous, but you can buy the fax license from Digium, and it works REALLY well. It's relatively cheap. If you do the free one, you might be in for some headaches. The cheapest thing to do for fax; however, is to get an ATA and plug it into a real fax machine.
[04:40] <|corpse|> lol i guess im dumb. after the reboot on my server from that power fail i can now update the repos
[04:41] <DrDamnit> apt-get upgrade is safe. I do it all the time.
[04:41] <DrDamnit> corpse: that's fantastic.
[04:41] <DrDamnit> thank your foot.
[04:41] <deslector> DrDamnit, oh, ok! thank you very much... I'll give it a try
[04:41] <|corpse|> the guide im using donst state to reboot the pc, just to reset the network
[04:42] <DrDamnit> deslector: if you ever blow asterisk up.....
[04:42] <DrDamnit> just recompile and reinstall.
[04:42] <DrDamnit> ./configure && make && make install && service asterisk restart
[04:42] <DrDamnit> from the source dir.
[04:42] <|corpse|> DrDamnit: do you know if its possible/ok to run a server as both a file server and a proxy for the rest of the network?
[04:46] <DrDamnit> corpse: I don't see why not from a functional standpoint. From a security standpoint...probably not a great idea.
[04:46] <|corpse|> ok, trying to maximize security with anonnymity
[04:47] <|corpse|> and i really dont want somthing like tor running on my server
[04:47] <DrDamnit> corpse: maximize security means you need to have a dedicated proxy.
[04:47] <deslector> DrDamnit, just out of curiosity, any idea why most asterisk-distros prefer CentOS & Co.?
[04:48] <DrDamnit> CentOS is based on Redhat. Asterisk was originally developed on a Redhat based system.
[04:48] <DrDamnit> Digium has standardized on redhat based technologies.
[04:48] <DrDamnit> but...what's interesting... is that most of the tech people who are there all prefer debian / ubuntu.
[04:49] <DrDamnit> I assume the reason is because CentOS is RHEL's free version.
[04:49] <deslector> DrDamnit, yeah, I know about RH-CentOS
[04:50] <DrDamnit> corpse: are you going to anonymize your IP using the proxy?
[04:50] <deslector> DrDamnit, I just don't see any advantage to use RedHat either
[04:50] <DrDamnit> deslector: it's really personal preference.
[04:50] <deslector> DrDamnit, yep... you're right
[04:50] <DrDamnit> there's no disadvantage either.
[04:51] <deslector> it is still weird that all of them (at least the ones I've seen) run on RH-based stuff
[04:51] <deslector> someone should start an Ubuntu-based one :-)
[04:52] <DrDamnit> someone should :-)
[04:52] <deslector> ubuntisk
[04:52] <deslector> lol
[04:53] <DrDamnit> corpse: have you considered: http://www.endian.com/en/community/
[04:55] <|corpse|> thanks ill check that out
[04:55] <|corpse|> do you know how to change a bootlist on a device from the server command prompt?
[04:55] <|corpse|> i can only boot to server with the usb stick in. it did not install the grub to the disk i installed ubuntu into.
[04:56] <|corpse|> i just did an fdisk -l and relized that the its not listed under device boot
[04:57] <DrDamnit> not off the top of my head, but I am guessing you can google it pretty easy. You need to install grub.
[04:57] <|corpse|> yeah, iv been looking, thanks for the help. that endian looks really nice
[05:15] <DrDamnit> ScottK: You da man! usb-creator-kde worked.
[05:15] <ScottK> DrDamnit: Thank rgreening_.  He's the primary developer of the KDE front end for usb-creator.
[05:15] <ScottK> Glad I could help.
[05:16] <rgreening_> :P
[05:17] <DrDamnit> done and done.
[05:17] <DrDamnit> PM'd him.
[05:18] <rgreening_> ty DrDamnit
[05:18] <rgreening_> nice to see it useful
[05:44] <|corpse|> hey, is anyone good with samba? im triny to install a server and when i do sudo smbpassw -a sample_user i enter the new password twice then i get the return " failed to add entry for user sample_user
[06:18] <DrDamnit> corpse: did you say that you were just gietting a blinking cursor?
[06:18] <corpse> nope
[06:19] <corpse> i almost have the server all set up but now i just cant get my computer to connect to it properly
[06:21] <DrDamnit> yeah. I got 10.04 installed, and now after boot, the cursor just blinks.
[06:21] <corpse> my server comes up in networks and i can open that and see the workgroup file but i get cannot retrive share list
[06:21] <corpse> hmm, i havnt run into that problem yet
[06:24] <ScottK> DrDamnit: Try a different VT.  IIRC there's a boot time VT switching bug.
[06:24] <DrDamnit> rolling back to 9.10.
[06:24] <DrDamnit> VT?
[06:25] <DrDamnit> ScottK: What VT?
[06:25]  * ScottK doesn't recall which.  
[06:25] <ScottK> There aren't that many to check.
[06:26] <DrDamnit> ScottK: What is VT?
[06:27] <ScottK> Virtual Terminal
[06:27] <ScottK> You switch with alt (or ctrl alt, I'm really tired and don't recall) and F1 - F7.
[06:27] <DrDamnit> gotcha.
[06:27] <DrDamnit> I'll try
[06:28] <DrDamnit> ctrl+alt says my ubuntu laptop....
[06:28] <DrDamnit> F1-F6 are terminals, F7 X.
[06:29] <DrDamnit> It posts, and looks like it is at the grub loading stage, but I never see grub, and I never see a boot.
[06:30] <DrDamnit> VT's are all a cursor (if they are even loaded).
[06:30] <DrDamnit> 10.04 appears too buggy for a production box.
[06:34] <jbrouhard> DrDamnit, I find 10.04 to be perfectly fine
[06:34] <jbrouhard> it could easily be a variety of problems in your case, unless you seriously investigate it instead of writing it off as "buggy"
[06:34] <DrDamnit> jbrouhard: Works well on three other boxes, but I have been banging against one issue after another with this particular box. Rolling back to 9.10 to see if it is the version or the hardware.
[06:35]  * jbrouhard suspects hardware
[06:35] <jbrouhard> Or possibly the drive
[06:35] <DrDamnit> already tested the drives. THey are brand new, and came back clean.
[06:35] <DrDamnit> show up as cciss, and parition and format just fine. Live CD sees them and can work with them.
[06:36] <jbrouhard> hmm
[06:36] <jbrouhard> is there any thing different between the known-working boxes and the problem child ?
[06:37] <DrDamnit> Completely different sets of hardware. The problem child is an HP ML150 G6, and the others are various ASUS and Intel boards. All 64bit.
[06:37] <jbrouhard> I'd search forums for these
[06:37] <DrDamnit> The primary issue is usually the hardware controller, and I know that 9.10 works well with this hardware set because I have an ML370 with the same configs and it works like a charm in 9.10. Ergo, why I am testing with 9.10.
[06:38] <DrDamnit> *hard drive controller
[06:38] <DrDamnit> When I installed 9.10, it installed without a hitch, then made me a cup of coffee, and drew me a picture of a smiley face.
[06:38] <DrDamnit> ...on the ML370 that has the same HD smart array controller.
[06:40] <DrDamnit> also, the other boxes were all updated using do-release-upgrade not a fresh install.
[06:42] <DrDamnit> In Anaconda on the software seelction screen, What does "Virtual Machine Host" install? VMWare?
[06:50] <DrDamnit> jbrouhard: 9.10 insalled like a charm.
[06:51] <jbrouhard> sounds like a driver issue.
[06:51] <jbrouhard> Doesn't make it buggy
[06:51] <jbrouhard> isn't the ML150 a bit old ?
[06:52] <DrDamnit> It's a G6.
[06:52] <DrDamnit> brand new version
[06:56] <DrDamnit> thanks for everyone's help. I am going to bed. :-)
[07:18] <ruben23> hi guys how do i install this atheros ethernet card on my ubuntu-server 8.04------> http://pastebin.com/6RwKtran
[07:18] <ruben23> any idea how to make it be detected
[07:18] <ruben23> and can be used
[07:31] <ruben23> hi guys..?
[07:42] <deslector> hi, do you guys have any suggestion about good squid reports generator?
[07:45] <Ian___> There is one in smoothwall ... may B U could find out what that is
[07:47] <deslector> Ian___, is smoothwall based on ubuntu?
[07:48] <Ian___> not sure
[07:48] <Ian___> I should check .. have machine downstairs dedicated to just that
[07:50] <Ian___> Based on Redhat originally
[12:15] <aliverius> what remote management tools are there for ubuntu server? how well do they integrate?
[14:46] <Andrew-by> As I see there is no Server Guide for the 10.4 version yet, is it?
[15:22] <guntbert> !serverguide | andol
[15:23] <guntbert> soory, wrong nick
[15:23] <andol> guntbert: no problem
[15:24] <guntbert> that other guy was away so quick....
[15:27] <dragondon> @dselector Not sure what that meant but that would mean I'm not the DD you are looking for :)
[16:22] <Maleko> i have a question about manually compiling binaries in ubuntu server
[16:25] <Maleko> when you compile stuff locally (with --prefix) does the resulted binaries usually contain hard coded path of their dir
[16:25] <guntbert> Maleko: that would completely depend on the author's choice
[16:26] <guntbert> Maleko: but I don't expect that often
[16:28] <Maleko> well i am curious if the app that i have locally compiled on my server would work another ubuntu server
[16:28] <Maleko> both are running the same ubuntu version
[16:29] <guntbert> Maleko: I'd say "yes" generally, but why don't you just try?
[16:37] <elnur> http://pastebin.com/BWA3nv9J It works with this configuration and asks for auth. But if I uncomment LimitExcept, I get Forbidden by default. But it's supposed to allow me for GET PROPFIND OPTIONS REPORT
[16:38] <elnur> Any ideas why?
[16:42] <elnur> http://pastebin.com/BWA3nv9J It works with this configuration and asks for auth. But if I uncomment LimitExcept, I get Forbidden by default. But it's supposed to allow me for GET PROPFIND OPTIONS REPORT. Any ideas why?
[16:51] <elnur> http://pastebin.com/BWA3nv9J It works with this configuration and asks for auth. But if I uncomment LimitExcept, I get Forbidden by default. But it's supposed to allow me for GET PROPFIND OPTIONS REPORT. Any ideas why?
[17:01] <elnur> Solved my problem by removing 'AuthzSVNAccessFile /srv/authz' line from the config
[19:45] <Oddfellows> What is the command for enabling a module?
[19:45] <Oddfellows> in apache
[19:47] <ScottK> Any clamav users here with 10.04 willing to help out with some testing?
[19:49] <deslector> Oddfellows, a2enmod
[19:54] <RoyK^> Oddfellows: don't remember - the manual way is to make a symlink to it in /etc/apache2/mods-enabled (from mods-available)
[19:54] <RoyK^> then restart or reload apache
[19:56] <RoyK^> Oddfellows: https://help.ubuntu.com/8.04/serverguide/C/index.html <-- read that friendly manual :þ
[20:00] <Scunizi> to manually set a static IP address are there any additional files to edit other than /etc/network/interfaces and etc/resolv.conf?
[20:02] <guntbert> Scunizi: if you change the network too you will have to adapt the routes  -- please see https://help.ubuntu.com/10.04/serverguide/C/network-configuration.html
[20:05] <Scunizi> guntbert: thanks for the link.. the addressing will be within the same subnet as the dhcp'd computers.. I just want to fix the ip address to a higher static IP like 192.168.0.222 or similar.. keeping dns etc the same as the rest of the network
[20:06] <guntbert> Scunizi: then you should be fine - but I "always" check against the guide (doing it too seldom....)
[20:08] <Scunizi> guntbert: I know what you mean.. I had a 'hidden' server in the house with 8.04 for a while but havent used it in a while.. when I tried to fire it up to install 10.04 it was 2 hours of hardware diagnostics and swapping power supplies & ram around from other door stops that I have.. finally got one working and am in the middle of install now..
[20:08] <dae_> Hi, I'm working on setting up SMTP-AUTH with postfix, basically following https://help.ubuntu.com/10.04/serverguide/C/email-services.html. The server has two interfaces, one towards the outside and one towards my internal network. What I want to achieve is to disable the support to accept a plaintext password send on the external interface. I'm using Dovecot SASL with mechanisms plain and login that in turn uses PAM. Following the g
[20:08] <dae_> uide it seems I can login with a plaintext password now, but I only want to support that when using TLS.
[20:08] <Scunizi> guntbert: on a side note.. when I sudo tasksel and choose FTP server.. which server is installed? and how much additional configuration is needed to actually get it working?
[20:09] <dae_> So, I was thinking about using port 587 and require TLS on that port and only setup SMTP AUTH on port 587, and never allow relays on mail coming in on port 25. Will this work? Better solutions?
[20:10] <guntbert> Scunizi: man tasksel tells you how to get most of that info
[20:10] <Scunizi> guntbert: thanks
[20:10] <guntbert> Scunizi: have fun :-))
[20:11] <Scunizi> guntbert: thanks.. :0
[20:11] <Scunizi> :)  Wish I could hit the shift key propertly.. fat fingers today
[20:12] <guntbert> Scunizi: lucky if they are only today :-))
[20:26] <dae_> Sorry for the long questions, setting smtpd_tls_auth_only = yes is actually all is takes to accomplish what I wanted to achieve
[20:35] <Oddfellows> I have bind configured and installed, but if I dig my domain name it does not show my A record, what is wrong?
[20:41] <Oddfellows> (Is this just a slow moment, or just am I disconnected?)
[20:43] <baccenfutter> hi, what's my searchterm, if I want my local bind9 to resolve my dyndns internally and point the clients directly to the internal IP?
[20:56] <Scunizi> guntbert: when restarting the netowrk service the link you gave me before used init.d like the older systems.. on 9.10 to present isn't is sudo service networking restart?
[20:56] <Oddfellows> I have bind configured and installed, but if I dig my domain name it does not show my A record, what is wrong?
[20:57] <guntbert> Scunizi: the traditional command will give you a hint "you can do it with  .... as well"
[20:57] <Scunizi> guntbert: ok.. I'm use to the old way but getting use to the new way... if you don't play you forget :/
[21:01] <guntbert> Scunizi: I just tried: etc/init.d/networking does its job, then there is sudo service networking ..., and then there is sudo restart networking
[21:04] <axisys> how do I auto update the non critical pkgs.. currently i get notified through screen/email/motd and then run aptitude manually
[21:04] <yosi1234> hi all
[21:05] <yosi1234> Question - If I need to install the driver for the LSI RAID Controller 9260-8i on Ubuntu , which driver would be compatible from tehir website
[21:05] <yosi1234> http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/6gb_s_value_line/sas9260-8i/
[21:05] <guntbert> axisys: on a server thats a sensible thing I'd say
[21:05] <yosi1234> Adaptec and LSI don't seem to have Ubuntu drives, just every other Linux OS - whats with that?
[21:06] <axisys> guntbert: manual update ?
[21:07] <guntbert> axisys: changing running applications is not that easy - so you choose the time when you want to do the upgrades
[21:07] <axisys> i like to do auto update non critical pkgs.. like for example bybou
[21:08] <axisys> i see some hints in here
[21:08] <axisys> https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo
[21:08] <Scunizi> guntbert: FYI.... sudo service networking restart wasn't recognized... sudo /etc/init.d/networking restart worked with no prompt for an alternate command
[21:09] <guntbert> Scunizi: I didn't ask what version you are running
[21:09] <Scunizi> 10.04
[21:10] <axisys> what i want to do is find a way to give the autoupdate a list of pkgs then I like to autoupdate.. but not all
[21:10] <guntbert> Scunizi: same here - but the "new" commands seem to have some issues
[21:10] <Scunizi> when initially logging in on the main box or via ssh.. server presents some system information.. how do I manually call that up when I want?
[21:12] <guntbert> axisys: look at the aptitude part - you could even try to put aptitude safe-upgrade into a cron-job -- that never broke anything for me
[21:12] <axisys> guntbert: cool!
[21:13] <axisys> guntbert: thank you
[21:13] <guntbert> axisys: no problem and Good luck :-)
[21:13] <axisys> guntbert: so it does not upgrade kernel right.. let me read the man
[21:13] <axisys> guntbert: so it does not upgrade kernel right?
[21:14] <baccenfutter> hi, what's my searchterm, if I want my local bind9 to resolve my dyndns to the internal IP of my www server instead of passing the request to the authority?
[21:15] <guntbert> axisys: hmm - without command switches it asks me "do you want to do that" -- which is bad in a cron job -- please really read the man page - as my "server" is only a VM I just do it manually
[21:16] <axisys> markauto looks a good option
[21:16] <axisys> so i can just pick my pkgs that i want to install automatically
[21:16] <axisys> or upgrade
[21:21] <yosi1234> Question
[21:21] <yosi1234> If the Kernel 2.6.32 has native support for a device (MEgaRAID), you don't need another driver in the OS?
[21:22] <ScottK> That should be correct.
[21:22] <yosi1234> i come form the windows worls
[21:22] <yosi1234> so just trying to learn
[21:22] <maddhat> I'm trying to create a user for backups (need to ssh to the system).  how can i create a user with read only access to ALL files on the filesystem?
[21:22] <yosi1234> u normally need a driver for everything
[21:27] <ScottK> yosi1234: It's no problem for asking.
[21:31] <Scunizi> I'm now having scp over ssh issues... mostlikely just me or something I haven't configured yet.. I can ssh into my server and ... scp my_machine@<IP Address>:/etc/samba/smb.conf server@<ip address>:/etc/samba/  ... is this the wrong syntax?
[21:32] <maddhat> Scunizi: it looks right to me
[21:32] <maddhat> but are you sure you have permissions to write in the destination location?
[21:33] <Scunizi> maddhat: can you use sudo in conjunction with the scp command?
[21:33] <guntbert> Scunizi: asfaik scp works only when one side is local so scp /etc/samba/smb.conf user@server:/etc/samba/
[21:33] <Scunizi> ah.. syntax.. I'll try again..
[21:33] <guntbert> Scunizi: where user should be root in this case
[21:34] <Scunizi> guntbert: maddhat .. ok it worked.. sudo scp <user@IP Address:/etc/samba/smb.conf /etc/samba   ...
[21:35] <Scunizi> makes sense now... but going the other direction the system should ask for a password for the machine on the receiving end.. right?
[21:37] <guntbert> Scunizi: no, always for the far end, as you are locally authenticated anyway
[21:39] <Scunizi> guntbert: I think that's what I mean.. If I'm on machine A that is ssh'd into machine B via terminal then in that terminal if I want to copy a file from B to A the previously mentioned syntax would be reversed and machine A would ask for a password (if copying to a "root" location).. Am I correct in that?
[21:40] <Scunizi> ls
[21:41] <guntbert> Scunizi: sorry, thats getting a little complicated for the local time of day :-), disregard what happened before and where your body is. just look at "where do I initiate scp  - that is local" and "where is the other side - thats remote"
[21:42] <Scunizi> :) ok..
[21:44] <Scunizi> guntbert: I just tested scp /etc/testfile.txt <username>@192.168.x.x:/etc/ .. that would be copying from the remote machine to the machine I'm at... it prompts me for a password and then says Permission Denied.. what am I doing wrong?
[21:46] <maddhat> change the destination folder to the home directory of the user you are logging in as. see if you get the same error
[21:46] <guntbert> Scunizi: remember "local" is the machine where the scp executable is occupying the cpu, "remote" is elsewhere - you always need to give user and password for the remote side
[21:50] <Scunizi> guntbert: so local would be the machine that I'm ssh'd into because it thinks I'm there locally.... so when copying to the remote machine (the one I'm sitting at) scp gets a reqeust for a password from the remote machine.. no user name is mentioned most likely because I put that in the syntax.. ie. user@IP address:.. still says permission denied when I enter the password
[21:51] <ruben23> hi giys anyone setup a production web server using apache2
[21:53] <guntbert> Scunizi: try it local-local (at the machine where your body is): scp somefile localhost:~/someothername, should ask you for *your* password, than you can try the same approach from the other machine
[21:54] <guntbert> Scunizi: but you can always initiate the transfer from the other machine too
[21:54] <guntbert> s/too/as well/
[21:57] <Scunizi> guntbert: I get the systems to ask for a password but after it's entered it is denied.. the pass on both machines is the same.. will that make a difference?
[21:58] <guntbert> Scunizi: no difference - try with ssh localhost  - does that work?
[21:59] <Scunizi> guntbert: I'll do that again.. didn't use localhost just a directory reference..
[22:00] <ruben23> i giys anyone setup a production web server using apache2
[22:00] <Scunizi> guntbert: yes that worked.. using local host.. it asked to add the RSA key and then asked for the password
[22:01] <guntbert> Scunizi: and now try scp (with localhost) again, maybe the missing key was the issue
[22:04] <Scunizi> guntbert: it did do it the first time with localhost after accepting the key.  and now functions the same without asking for acceptance of the key so it is stored.. however trying it from the machine that I'm sitting at in my terminal (not the ssh'd terminal).. and going to the remote machine, I'm prompted for the password, it's entered, then denied
[22:05] <guntbert> Scunizi: and users on both machines are the same? and ssh in the same direction works?
[22:08] <Scunizi> guntbert: users are different..  in the ssh terminal I just did a test..  scp /etc/testfile.txt <user>@192.168.x.x:/home/mark/ and it worked machine to machine .. . then I tried ... scp /etc/testfile.txt <user>@192.168.x.x:/etc/  .. it asked for the password and then it denied the transfer.. ???
[22:09] <Scunizi> the only difference between the two is the location of where the file is going on the same machine.
[22:10] <guntbert> Scunizi: you have to give the correct username for the target (where the scp executable is NOT occupying the cpu) and the appropriate password
[22:10] <Scunizi> guntbert: so if I'm copying to a root location the user would be "root"?
[22:11] <guntbert> Scunizi: yes, I think I said that some time ago :-))  but maybe it was in another conversation
[22:12] <Scunizi> guntbert: tried that but it also didn't work :(
[22:12] <Scunizi> guntbert: I tried the user name (the only user on the system) and root .. both ask for a password and both are denied.
[22:14] <guntbert> Scunizi: please pastebin two lines for me: the command you use to ssh from your body to the server, and the command you give to initiate scp in the same direction (and please don't obfuscate usernames and addresses if possible)
[22:18] <Scunizi> guntbert: http://ubuntu.pastebin.com/hczB6KsD
[22:19] <guntbert> Scunizi: that was the scp part, now please with ssh (and once mark, once root)
[22:20] <Scunizi> guntbert: how do you mean with ssh? how I actually log into the server?
[22:21] <guntbert> Scunizi: yes, as scp use the same protocol as ssh I expect to get some info from that
[22:22] <guntbert> Scunizi: I expect something like ssh mark@192.168.0.50 ....., and then ssh root@192.168.0.50....
[22:24] <Scunizi> guntbert: http://ubuntu.pastebin.com/Tjr3q5V0
[22:26] <guntbert> Scunizi: thats the other direction - I need the same direction as with scp
[22:27] <Scunizi> .50 is the machine I'm sitting at.. can I ssh into this same machine?  .200 is the headless server
[22:30] <guntbert> Scunizi: of course you could try - starting from the .200
[22:33] <Scunizi> guntbert: didn't know if that was going to work but it did.. http://ubuntu.pastebin.com/2Z85Jaxy
[22:33] <Scunizi> confusing redundancy if I had to do that all the time :)
[22:36] <Scunizi> That is.. I ssh'd into the 200 machine and once there ssh'd back to the machine that I was on.
[22:36] <guntbert> Scunizi: no , on .200 you type ssh mark@192.168.0.50 ..... then exit and type ssh root@192.168.0.50 .... and exit
[22:37] <Scunizi> guntbert: ah.. the 200 is a headless server.. it would take me a few minutes to setup the monitor, keyboard and mouse.
[22:38] <guntbert> Scunizi: nononono! just do it from your existing ssh session!!
[22:40] <Scunizi> guntbert: ok.. I'm on the .50 machine.. here's the paste of me sshing into myself... http://ubuntu.pastebin.com/D0ZzNYRz
[22:44] <Scunizi> guntbert: server=200 machine.. while ssh'd into the 200 I can ssh into mark@192.168.0.50 (where I'm sittting) but I can't ssh into root@192.168.0.50.    From a normal terminal on the 50 machine (where I'm sitting) I can ssh into server@192.168.0.200 but not root@192.168.0.200.. does that help?
[22:45] <guntbert> Scunizi: thats not exactly what I wanted but it should do - you will have to enable root login via ssh - SECURITY RISK - edit (with root permissions) /etc/ssh/sshd_config: look for # Authentication: ..PermitRootLogin yes
[22:46] <Zelest> having root logins enabled is indeed _very_ bad.
[22:47] <Scunizi> guntbert: ok.. so as an admin of a headless server how does the admin take care of file transfers in the real world without PermitRootLogin=yes ??
[22:47] <Scunizi> to a root location that is
[22:47] <guntbert> Zelest: indeed
[22:47] <Zelest> Upload it as a user. :)
[22:47] <Zelest> then login and use sudo/su to move it to wherever it's needed.
[22:48] <Scunizi> Zelest: ah ok.. a dual step process
[22:48] <Zelest> Well
[22:48] <Zelest> What files does requre root access normally?
[22:48] <guntbert> Scunizi: upload it as a user ^^ , then ssh into the machine and copy/move the files where they should go
[22:48] <Zelest> Most services Linux has to offer normally runs as non-root users and offer the services to user-account.
[22:49] <cloakable> Well, PermitRootLogin yes and PasswordAuthentication no
[22:49] <cloakable> :)
[22:50] <guntbert> cloakable: was going to be the next step ... but I'm calling it a day now
[22:50] <guntbert> Scunizi: have fun
[22:50] <Scunizi> guntbert: ok.. but being a headless server I would ssh into it and copy files as a user to /home then move it with sudo to the right location.. thanks for the help guntbert.. it's appriciated
[22:50] <guntbert> Scunizi: no problem -- g'night
[22:51] <Scunizi> Zelest: If you're trying to copy a file from machine A to a root location on machine B I think you're saying that you can't do that unless you PermitRootLogin=yes.. do I have that right?
[22:52] <Zelest> Scunizi, Logon to machine B, su up to root, then run scp to copy files from machine A. ;-)
[22:53] <Scunizi> Zelest: ah the proverbial "assign root a password" thingy huh?  or is it sudo -i type thing
[22:53] <Zelest> Scunizi, I still don't see what files we're talking about really.
[22:53] <Zelest> Scunizi, I have assigned root a password on my machines as I'm not a fan of sudo. :-)
[22:53] <Scunizi> Zelest: a smb.conf file on one machine that I want to move to anther
[22:53] <Zelest> o_O
[22:54] <Scunizi> Zelest: or say.. an entire cms package that needs copying to /var/www ..
[22:54] <Zelest> You dislike a "dual step process", yet takes time to discuss how to do this the fastest way possible.. when it's infact ONE file you want to move? o_O
[22:55] <Zelest> mkdir /var/www/foobar.tld && chown user /var/www/foobar.tld
[22:55] <Zelest> ;)
[22:55] <Scunizi> Zelest: wasn't looking for the fastest method.. just how to do it.. I wasn't being successful with scp
[22:56] <Zelest> Ah
[22:56] <Scunizi> Zelest: yes unless the cms package is already downloaded on desktop machine A and you need to move it to headless server B
[22:56] <Zelest> How does that affect things? Simple create the root for the website and change the ownership of it before you upload it?
[22:57] <Scunizi> Zelest: that would be almost the same as moving it to /home then cp to /var/www..
[22:58] <Zelest> Yep.
[22:58] <Scunizi> Can you use sudo in a scp command?
[22:58] <Zelest> Nope.
[22:58] <Scunizi> ah well.. it's always a learning experience isn't it?
[22:58] <Zelest> Personally I run FreeBSD (doesn't matter really) on my webserver and have configured each website to the owners home-dir.
[22:59] <Zelest> E.g, /home/zelest/foobar.com/
[22:59] <Zelest> Then map the website in Apache's configuration
[22:59] <Scunizi> Zelest: is that because /home is a different partition/drive?  more room?
[23:00] <Zelest> That too, but mostly to eliminate the issue you're describing about having to move stuff around after it's uploaded.
[23:00] <Zelest> I can simply manage web content with scp/winscp.
[23:00] <Scunizi> Zelest: so does apache take care of the security access to your /home?
[23:01] <Zelest> I've chmodded each homedir so only the user and www group can access it.
[23:01] <Scunizi> 744?
[23:02] <Zelest> The www user has uid 80 in FreeBSD. :-P
[23:02] <Scunizi> I was thinking of the permissions.. not the uid..
[23:03] <Zelest> Oh
[23:03] <Zelest> 750
[23:03] <Scunizi> ah
[23:04] <Scunizi> and do you make www-data a member of your group or do you chown the directories to www-data and become a member of that?
[23:05] <Zelest> Normally a friend or relative wonders if I can host a site for them.. then I reconfigure apache, create the dirs, chmod them, etc.. then give them the username/password.
[23:05] <Zelest> Then they can upload/edit/whatever their data themselfs.
[23:07] <Scunizi> nice.. you must be using a bussiness class internet service with static ip's or possibly using something like dydns.com ?
[23:08] <penguin42> Scunizi: some ISPs provide fixed IPs for only a little extra
[23:09] <Scunizi> penguin42: unfortunately Cox Communications wants you to "upgrade" to business class (ie tiered bandwidth cost) before getting a static ip .. :(
[23:09] <Scunizi> I get much better bandwidth on their home service...
[23:16] <MTecknology> how secure is samba?
[23:19] <Zelest> Scunizi, I use my home connection with dynamic IP. ;-)
[23:19] <Scunizi> Zelest: I do to..
[23:19] <Zelest> I run a Ubuntu server for KVM, where I run several FreeBSD instances, each with a dynamic IP from my ISP (I get 10 IP's) .. :-)
[23:20] <Zelest> The Ubuntu server also acts as a firewall as well as gateway for my personal LAN.
[23:20] <MTecknology> Zelest: I could get 10 ip's if i wanted - but instead i just stick wioth the extra $5/mo and get 5
[23:20] <Zelest> As for the dynamic part, the IP's only change if one of the machines is offline for more than 30 minutes or so.. and if that happens, I got bigger problems. :-)
[23:21] <Scunizi> I have yet to create a fstab line to mount a samba share successfully with mount.cifs .. any advice?
[23:21] <Zelest> MTecknology, I can't choose less IP addresses.. also, got 100Mbit/s uncapped as well. :-P
[23:22] <MTecknology> Zelest: nice, what's that cost?
[23:22] <Zelest> ~$57/mo
[23:22] <MTecknology> wow
[23:23] <MTecknology> Zelest: how do you pull that off?
[23:23] <Zelest> I live in Sweden. :P
[23:23] <MTecknology> I'm paying $40/mo for my personal connection for 15/1
[23:23] <MTecknology> my business connection is 10/10
[23:23] <Zelest> What country do you live in?
[23:24] <MTecknology> us
[23:24] <Zelest> Mind downloading something from my site in order to test what speed you get?
[23:24] <MTecknology> ok
[23:24] <Zelest> My guess is that my ISP's international routing sucks. ;)
[23:24] <MTecknology> probably
[23:25] <MTecknology> I'm streaming music now too - so I think that eats up 1mb
[23:26] <JanC> I pay 35 € / month for 20/1 now
[23:26] <Zelest> http://www.ifconfig.se/random.junk
[23:26] <JanC> well 30 € for internet + 5 € for raw copper
[23:26] <Zelest> (dd if=/dev/urandom bs=1024 count=100000 of=./random.junk)
[23:28] <MTecknology> Zelest: i assume you're watching the speed?
[23:28] <Zelest> now I am.. lol
[23:28] <Zelest> ~350
[23:28] <Zelest> oh, nvm
[23:28] <MTecknology> jnettop :)
[23:28] <Zelest> peaked 1.2MB/s :o
[23:28] <Zelest> or someone else downloaded at the same time
[23:28] <MTecknology> Zelest: ya, about 350k
[23:28] <MTecknology> Zelest: started off ~200
[23:29] <Zelest> someone's downloading in 500-700Kb/s atm :P
[23:29] <jpds> iperf is your friend.
[23:29] <MTecknology> probably closer to you
[23:29] <Zelest> As stated above, I run FreeBSD.. so I use systat ;)
[23:29] <Zelest> systat -ifstat 1
[23:29] <Zelest> :D
[23:29] <MTecknology> jpds: pretty
[23:30]  * MTecknology goes off to take out trash and make eats
[23:30] <Zelest> MTecknology, well, works for being across the ocean and both of us using private connections :)
[23:34] <JanC> Zelest: I get about 870 KB/s from you  ;)
[23:34] <JanC> well more actually
[23:35] <Zelest> JanC, What country?
[23:38] <JanC> Zelest: from Belgium
[23:38] <Zelest> Ah, nice. :-)
[23:38] <Zelest> I remember when I was using another ISP, I had 10/10 but anyone outside Sweden could only push 150kb/s at most from me.
[23:39] <MTecknology> Zelest: ya
[23:42] <Scunizi> Ok.. # /etc/init.d/samba restart & /etc/init.d/smb restart & sudo service samba restart & sudo service smb restart doesn't work to restart samba.. How is it done in the server?
[23:43] <jpds> Scunizi: Wasn't it smbd?
[23:43] <Scunizi> jpds: on the desktop version of (k)ubuntu it's just samba... I'll try the smbd and see on the server
[23:44] <Scunizi> jpds: that did it.. is that a change from 9.10 to 10.04?
[23:45] <jpds> Possibly, with the Upstart changes.
[23:47] <bondiblueos9> is there a package I can install to take snapshots from my usb webcam?
[23:47] <bondiblueos9> from the command line
[23:52] <failover> mplayer
[23:53] <failover> https://help.ubuntu.com/community/Webcam
[23:57] <Scunizi> what file do I look for my "network" name in?
[23:59] <Scunizi> sorry "workgroup" name