« first day (420 days earlier)      last day (4528 days later) » 

1:00 PM
Proudly powered by python
 
It says that your OS should take the file with that name in this current directory.
 
you need a webcam that shows the display ;)
 
@StefanoPalazzo Uhm
How do i set that one up?
Now it shows "OMFG PYTHON"
 
@WilliamHilsum Because / is the root, so you're not going from the current directory, but rather the top of the file system, it's like typing C:\Folder\Folder\File.exe only it's /Folder/Folder/File
Now, to blow your mind a little: You don't need /etc/init.d - try just service ssh stop
 
@AmithKK if you've got one lying around, that should be pretty easy
 
1:01 PM
@StefanoPalazzo I have one
 
just have a script that saves pictures to the web-server
with the same filename, then put an <img> tag on the page
 
@MarcoCeppi You're mean. :D
 
@StefanoPalazzo It will replace the image every 1 second?
 
how ever often you like
 
@MarcoCeppi and @OctavianDamiean Sorry, I get that / is root folder, but, in Windows, if I was in the directory, a local .exe file would take preference over the path - so, I just don't get why the /usr/bin/ssh is taking preference over the local ssh file
ahh... I just need to learn this, if that is how it works, that is how it works! I can't change anything - just got to adapt to it! ... need to shut up and get on!!!
 
1:04 PM
sudo apt-get install streamer
streamer -f jpeg -o ~/image.jpeg
 
@WilliamHilsum Because of ambiguity, Windows says local trumps environment. On linux, path trumps local :)
 
and have the second command run every second (or however often), either via a bash script or a cron job (I recommend the bash script)
 
@StefanoPalazzo Heh, I can haz script?
And how do i make it refrest the pic every 1 sec?
 
@WilliamHilsum Also, /usr/bin/ssh is a binary which is executed and what is inside of /etc/init.d/ is a shell script which just controls the ssh daemon. :)
 
while true; do streamer -f jpeg -o ~/image.jpeg ; sleep 2; done
 
1:07 PM
meh, beat me to it.
 
and then you can hit Ctrl+Z to put it in the background, type "bg" to make it start again, then type "disown -a" before you close the terminal, so that it will keep running
 
Could run bg too
But I don't think that disowns it
 
whoopsie, yes
corrected. Ctrl+Z will stop the process
 
O.o
Im gettting my tvtuner output
 
hehe
You just created a streaming tv service. Congratulations.
 
1:10 PM
Really, how can i do it
 
looks like streamer will just grab /dev/video0
 
I'm sure you can tell streamer which input device it should take.
 
streamer -c /dev/video1 -f jpeg -o ~/image.jpeg
this could work
 
\o/ works.
 
1:13 PM
The problem now is it turns off and turns on the webcam every second
Therefore the webcam has no time to init
 
Maybe you should increase the rate at which it takes a snapshot
 
it can turn off?
 
yes
still I get black
@MarcoCeppi Its taking one as soon as the webcam turns on(which it cant do)
 
cloning the vm seems to work, I wish there was an option to make 8 clones at once
it takes a couple of minutes
 
@MarcoCeppi Now you said that, that makes a lot of sense!
@OctavianDamiean Thanks
 
1:17 PM
@AmithKK I'm in your webcam watching you!
 
yeah.. right
 
@AmithKK try adding this to the streamer command: -s 640x480
at the very end will work, after "image.jpeg"
there you go, that works
nice!
 
Now mount the cam to be in a fixed position.
 
no unicode? :P
 
How can i increase the brightness?
 
1:24 PM
Ah, interesting
 
@StefanoPalazzo No, I cant fit all of the chars onto the SUPER small memory
 
Hmm. :(
:O Gnome-Shell!
 
@OctavianDamiean ??
 
Isn't that Gnome-Shell?
 
No, its XFCE
lol
 
1:27 PM
Oh.
 
FORTRAN time?
 
Stopped output
send
BBT
 
1:48 PM
I know i'm in AskUbuntu but is anyone here a FreeBSD junkie??
 
Oli
Anybody have any experience forwarding incoming email to one server onto an external mailbox? I've been playing around with postfix's virtual_alias_domains but this just bounces the emails (so if there's a SPF record, GMail et al drops it as spam). I'm looking for a way to forward each message as if it were sent by the server, rather than bouncing.
 
@rlemon You may want to visit Unix and Linux.
 
ahh, was looking for that site - must have scrolled right past it (I was also searching for that BSD keyword)
ok, now anyone wanna join the chat and help me out :P lol
 
i kid... well not really but kinda
 
2:10 PM
@rlemon what does one of these cost?
 
2:22 PM
Right... I have changed the IP on one machine, and done "service ssh stop" then "service ssh start" and I still can't connect in... What have I done wrong? I am pretty sure the IP is working as I can now ping it, but, I can't work out what I need to do to bind SSH to it? :/
 
2:35 PM
@WilliamHilsum Is the port open?
 
Bounty offered: How do I set my bluetooth keyboard's layout setting? http://askubuntu.com/questions/69671/how-do-i-set-my-bluetooth-keyboards-layout-setting #keyboardlayout
 
2:48 PM
Public Service Announcement: Ask Mark starts in 10 minutes, in #ubuntu-classroom and #ubuntu-classroom-chat on Freenode IRC. That's 15:00 UTC.
 
@MarcoCeppi Yes, certain it is open, I just changed the IP on three machines, and, it dropped me off of SSH instantly (of course), but, I can't seem to work out how to restart SSH on the new IP.. I am certain it is unblocked
 
3:26 PM
... I just tried changing the IP via ifconfig, but, it resets upon the machine rebooting... I thought ifconfig would do something similar and make it permanent, but, is it via /etc/network/interfaces then?
 
@WilliamHilsum I believe so
It's been a while since I've needed to hard-code ip addresses on Ubuntu servers
 
the server guide is absolutely excellent
you can just change the URL, swap out 10.04 for 11.10, as well
if you're not at Ask Mark, you're missing out :D
> <sabdfl> vala is ok. Go is the future.
 
Hehe
Where he is right he is right.
 
3:43 PM
this was in response to a question saying that people are moving from python to vala
keeps calm
people might take it seriously (:
 
@StefanoPalazzo Not sure I can get on to IRC from work :( I just need to get HAProxy working! (This is what the whole project is about!) ... but, been meaning to learn Ubuntu/Linux for years, ... so... doing it all at once!
 
don't worry about the IRC then. you're not going to care about most of the questions if you're not pretty well invested in the ubuntu community
he said boldy
but you should definitely have a look at the Server Guide, it's the best place to start.
 
@StefanoPalazzo ... Well, I want to be! If you don't know me, look at my SE profile - I happily help people/get involved, but, I have just never known enough about Linux to be here! If I had the knowledge, I would be here every day!... just... I don't have it yet!
 
don't worry about that. you'll be fluent in a couple of weeks if you keep going like that ;)
 
hey all,
 
3:55 PM
@StefanoPalazzo Is there any way to tell if a hash is a sha1 or md5sum ?
 
how do i get a list of connected serial devices, is this possible with a console command?
 
@rlemon Do they show up in lsusb ?
 
@MarcoCeppi yes, a sha1 hash is 40 hex characters, an md5 hash is 32 (20 bytes / 16 bytes)
 
What other types of hashes are out there that are used for file checks?
 
I'd use sha256 (a variant of the "sha2" suite, also includes sha224, sha384 and sha512)
 
3:58 PM
So, how can I tell, from a hash, what algo was used? or can I?
 
only by their length,
 
@MarcoCeppi nope, but I didn't expect it too. I have a motherboard setup, I want to see If I can write to the CF on it from my linux box via serial / terminal
 
the sha2 hashes are 56, 64, 96 or 128 characters long
 
each has a unique length?
 
don't even know if thats possible.
 
3:59 PM
Ok... I screwed up file permissions! I modified /etc/network/interfaces on one machine perfectly, I typed it up on another then forgot to sudo first, so, I saved it to a temp file then sudo replaced the real one with it... but... I think I mixed up permissions
 
there are also other types of hashes, like RIPEMD160, Whirlpool, Skein, ...
you never really know
but md5, sha1 and sha256 are like 90% of what you'll find in the wild
 
I don't mind fixing it myself, but, what do I need to type on the real one to see what I need to make it to? I tried CHMOD, but, I can only set, not see what they currently are (unless I missed that switch?)
 
I'm just going to use the 90%
 
@StefanoPalazzo you know that setup I sent you?
 
@MarcoCeppi if you develop something new, and you have a choice, always use sha256. it'll be secure for quite a while. whereas sha1 is on the brink of being broken (a couple of years perhaps)
 
4:00 PM
@StefanoPalazzo I'm not, I'm trying to write a bash function
 
@rlemon first time I've seen one. and I want one now! :)
 
Is it possible to connect something like that to my Linux box via serial port and write to the CF on the system?
I don't want to have to take out my CF, re-write it from my pc, then plug er back in.
 
phew, no idea. maybe the manufacturer will sell you an expensive piece of cable for that
 
Or do I need some underlying code to communicate back with linux... yea, nevermind. stupid question.
 
you can get these USB flash cables for some serious enterprise mainboards,
 
4:03 PM
Hey all
 
they're pretty pricey. maybe the manufacturer of this thing sells something similar
and they typically come with software (the idea is: you plug in the cable, hit one button, and it does the rest automatically. so that you can deploy 20 boards quickly)
or so I heard
 
CompactFlash?
 
<sabdfl> yes, i agree, we need a new icon theme
 we have agreed to do a proper study on iconography, with the university of reading
hooray
 
@StefanoPalazzo on which channel?
 
@AmithKK you're in the right place, but you've just missed it
it ended a minute ago :)
 
4:08 PM
@StefanoPalazzo Thanks
 
type_hash()
{
        local DIRTY="$1"

        case $DIRTY in
                *[![:xdigit:]]* | "" )
                        echo false
                        return 1
                ;;
                * )
                        case ${#DIRTY} in
                                ( 32 )
                                        echo md5
                                ;;
                                ( 40 )
                                        echo sha1
                                ;;
                                ( 64 )
 
if it's calling "sha1sum", won't that give you the filename on the same line?
~:$ sha1sum test.py
0d1f0b2262d8d852c5662f90047d5a9579851f40  test.py
 
4:25 PM
Its Online!
 
@StefanoPalazzo This assumes you're just passing it a hash
 
Hey @RolandTaylor
 
@StefanoPalazzo when you finish victory chat's release, we need a charm for it
also, someone made a generic django charm
 
@AmithKK hi
 
@JorgeCastro Agree!
 
4:28 PM
looks good. it might not be right every time, but that's fine as long as you know about it. the other types of hashes are really rare at the moment
 
@MarcoCeppi JuJu doesent work here
 
@JorgeCastro You might have seen me and Octavian trying to install VictoryChat. it was seriously complicated
 
@JorgeCastro Tell @Oli he uses Django all the time
@AmithKK What doesn't work?
 
@StefanoPalazzo it's ok, we only have to figure it out ONCE.
:)
@MarcoCeppi let's get Oli writin' some charms
 
absolutely :)
 
4:29 PM
charm school next friday!
6
 
@MarcoCeppi George pinged you a few days ago
 
be there!
or be square!
 
Alright, let's learn Go. :)
 
Hopefully +Ask Ubuntu will remind everyone before it starts :)
 
@AmithKK I've talked to him since, it seems to be resolved
 
4:33 PM
All those job offers to develop Windows applications ... STOP BUGGING ME WITH THAT STUFF!! I don't care!
 
Nov 20 at 4:39, by Amith KK
JuJu error:
  error: Failed to start network default
 error: internal error Child process (dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override) status unexpected: exit status 2

    Command '['virsh', 'net-start', 'default']' returned non-zero exit status 1
 
Yup, that is a known problem.
 
Fix?
@JorgeCastro Want a logo?
 
> This tutorial gets you started with juju. A prerequisite is the access credentials to a dedicated computing environment such as what is offered by a virtualized cloud hosting environment.
is that so?
I don't have any of that, nor the requirements that follow
 
:( Am I the only one without an EC2
I NEED
CREDIT CARD!
 
4:40 PM
I suppose you could set up a private cloud made of VMs
 
@AmithKK Why would you be the only one without, I don't use EC2.
 
but it also says "For the moment, though, the only environment supported is EC2."
 
@StefanoPalazzo Not too much power here?
 
Could use local
 
Indeed!
 
4:41 PM
@OctavianDamiean You can
 
Oli
Yeah another non-EC2er here. Linode FTW.
 
Icanhaz free linode plz?
 
so is there a JuJu tutorial that doesn't require me to buy a bunch of servers?
apologies for my ignorance, I'm looking into it for the first time (:
 
@StefanoPalazzo You have a credit card?
 
I have a card, it's the other part of that which might be a bit problematic. "credit". :D
 
4:43 PM
Follow up : chat.stackexchange.com/transcript/message/2513955#2513955 : ^^ I have done both chgrp and chown on the file, and it still isn't working :/ Not sure what I have done wrong :/ Anyone know? (or worthy of a proper question?)
 
@StefanoPalazzo Get the EC2 Free for one year
 
@AmithKK Yea free one year if you choose a contract for at least two, right?
 
well I also have access to an ec2 machine, and I have a VPS, but I'd really rather do everything locally at first. all of these machines are busy and mustn't be disturbed. they might get angry.
 
I just got to say that @OctavianDamiean is one of the most awesome names ever! it sounds like a vampire! :D
 
@OctavianDamiean No, I dont think so
 
4:46 PM
You mean this? aws.amazon.com/free
 
@OctavianDamiean Yes
 
@OctavianDamiean Still need to put a credit card on the account
 
For charm development ou can simply setup a local provider
 
Which is what I tried. If only there wouldn't be that bug.
 
cool, I think that's what I want
 
Yea. I was trying to do that but apt-get suddenly decided to break.
Now I have to fix apt-get.
 
I'll remember to make a snapshot of the clean VM.
 
I wish I would've done that.
 
4:51 PM
amith@amith-desktop:~$ juju bootstrap
2011-11-23 22:20:44,501 INFO Bootstrapping environment 'local' (type: local)...
2011-11-23 22:20:44,502 INFO Checking for required packages...
2011-11-23 22:20:45,179 INFO Starting networking...
error: Failed to start network default
error: internal error Child process (dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-ov
 
hi! can anyone please run "sudo dpkg -S /usr/bin/ftp"?
 
@AmithKK I said this is a known issue.
 
How can I fix it
dpkg-query: no path found matching pattern /usr/bin/ftp.
 
Follow the steps in the Necessary Software - For attendees section.
 
@AmithKK thanks
 
4:52 PM
@OctavianDamiean Did that Before
 
Trolol! The apt-get problem is gone.
Without me doing something!
 
yikes, juju install 142 packages
among them x11-common. that can't be right
it's probably java or something. oh well.
 
I have 50 minutes
ubuntu@ip-10-12-15-185:~$ mkdir .juju
mkdir: cannot create directory `.juju': File exists
ubuntu@ip-10-12-15-185:~$ rm -rf .juju/u
ubuntu@ip-10-12-15-185:~$ juju bootstrap
2011-11-23 17:07:53,389 INFO Bootstrapping environment 'local' (type: local)...
2011-11-23 17:07:53,390 INFO Checking for required packages...
2011-11-23 17:07:54,030 INFO Starting networking...
Network default defined from /tmp/tmpYygdX9

error: Failed to start network default
error: internal error Network is already in use by interface virbr0
Oh, It doesent work there too?
 
5:11 PM
It worked for me.
sudo add-apt-repository ppa:juju/pkgs
sudo apt-get update && sudo apt-get install juju charm-tools apt-cacher-ng zookeeper libvirt-bin lxc
This is important!
 
@OctavianDamiean Did that!
 
This is impossible. The bug fix for just that problem is in that PPA.
 
I'm getting the same error
 
ok..
 
says "Network is already in use by interface virbr0"
could that have something to do with it running inside a virtual machine?
 
5:14 PM
Log out and log back in.
 
right, forgot about that
I'll reboot for good measure
 
No need to.
 
amith@amith-desktop:~$ sudo apt-get install juju charm-tools apt-cacher-ng zookeeper libvirt-bin lxc
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-cacher-ng is already the newest version.
zookeeper is already the newest version.
libvirt-bin is already the newest version.
lxc is already the newest version.
charm-tools is already the newest version.
juju is already the newest version.
The following packages were automatically installed and are no longer required:
 
the last message was this:
SSH authorized/public key not found.
2011-11-23 18:16:47,716 ERROR SSH authorized/public key not found.
it was very quick, about 20 seconds. now it says "environment is already bootstrapped"
 
@StefanoPalazzo That means you don't have an id_rsa.pub file
 
5:17 PM
Yup.
 
am I good to go ?
 
It works there....
 
@MarcoCeppi I do now
ran "ssh-keygen" after the (failed?) bootstrap
 
@OctavianDamiean Still doesent work
 
5:18 PM
Run a juju destroy-environment
Then bootstrap again.
 
Still the same error?
 
@AmithKK Well you have a problem with your apt repositories apparently.
Try to fix that.
 
great, thanks marco & octavian
 
@JorgeCastro cool thanks
 
just got a half day at work
 
BBT
 
actually, that was our editing frenzy iirc
 
yeah, during the MythTV Import
 
Anyone familiar with gitweb here?
I'm trying to set it up, but it wont identify my repos.
 
Just told my LoCo about the charm school.
Hopefully I can get them to join.
 
Disregard-- problem solved. Apache permissions.
 
Ads are much easier when you use inkscape, heh
I need someone to make an ubuntu app developer week one if someone is looking for something to do
 
5:32 PM
what do I type after juju deploy --repository?
 
you need a charm
install charm tools
sorry, charm-tools
 
I think I've got all of that
juju deploy --repository=charms/oneiric/mysql/ mysql
gives me this error:
 
@StefanoPalazzo the repository is the charms/ folder
 
DNS lookup failed: address 'store.juju.ubuntu.com' not found: [Errno -2] Name or service not known.
2011-11-23 18:33:20,549 ERROR DNS lookup failed: address 'store.juju.ubuntu.com' not found: [Errno -2] Name or service not known.
 
it'll pick distro and folder based on the charm name
 
5:34 PM
juju deploy --repository . local:mysql
 
and you need to use local:mysql :)
 
from your charms dir.
 
for 12.04 it will just be
 
so juju deploy --repository=charms/ local:mysql
 
5:34 PM
juju deploy cs:mysql
 
that worked, thanks :)
ERROR Ambiguous relation 'mediawiki mysql'; could refer to: ...
this is really helpful
 
mediawiki mysql:db
 
0
Q: Ubuntu - My /var/wiki folder has gone missing. Is this a Linux issue?

hamlin11I implemented a few installations of mediawiki in a parent folder called: /var/wiki I was alerted this morning that the wikis are no longer working. Upon a little research, the /var/wiki folder is gone. Is there any Linux-based reason why this folder would be removed? If not, I'll look at ho...

 
ouch
@MarcoCeppi hey, I got that same ambiguous relation error yesterday
 
yeah, it's because MySQL charm has two mysql interfaces, db and db-admin
So you need to tell it which interface to use, admin-db or just db
 
5:38 PM
Dude, juju is so awesome.
 
sorry to keep asking these questions guys
status now says "pending", what do I need to do next?
 
@StefanoPalazzo You're done :)
It's waiting on provider to boot up the machines
then it'll run the charms
after a few minutes the status will change to either error out, or completion
if you have a big enough screen you could do this: watch -n 15 "juju status"
 
Can you answer this? Cannot move Screenlets in GNOME Shell http://askubuntu.com/questions/81184/cannot-move-screenlets-in-gnome-shell #gnomeshell
 
how nice is that
thanks again
 
np!
 
5:40 PM
@MarcoCeppi ok so on the two interfaces, I wonder why I was getting those errors
 
(terminator -> ctrl+-, if you don't have a large screen)
 
[MySQL Charm]
    provides:
      db:
        interface: mysql
      db-admin:
        interface: mysql
So it doesn know which one you want to create a relationship for
Really what should happen, juju should see which interfaces the charm is requesting. Since mediawiki and thinkup don't have a db-admin interface requirement it should just use db and only show that message when there are two requirement interfaces with the same names
 
So everything works now?
 
Stupid question. How long can it take until the status changes from pending?
 
I was about to ask that too :)
 
5:45 PM
It depends on the provider
if it's ec2 it can take a little bit of time
 
For local?
 
A lot of time.
 
Oh, that's probably
 
5:46 PM
10
Q: How do I configure juju for local usage?

Jorge CastroI'm too cheap to pay for EC2, and I don't have enough servers to set up my own openstack, how do I configure juju to use Linux Containers (LXC) on something like my laptop?

 
local will be alot the first time
 
Dont know if anybody saw this yet, but its really neat. Graphical representation of sorting algorithms cs.uwaterloo.ca/~bwbecker/sortingDemo/index.html
 
this answers all my previous questions doh
 
after it caches the stuff it'll be faster the 2nd time
 
How did I miss that question?
 
5:48 PM
okay, in that case I'll have some dinner while juju is thinking. like a real sysadmin ;-)
 
heh
status started!
 
woo
 
New to chat and have a dumb question. I would to give a point for a good answer. How do I do that?
 
If you have enough reputation you can up-vote an answer.
If it is your own question then you can also accept the correct answer.
Welcome to the chat by the way!
 
Thanks! It is my question which was edited.
 
5:56 PM
Did I miss Ask Mark???
 
you have 41 rep, you should be able to vote up
@GeorgeEdison yeah this morning, I posted the logs
it's on there somewhere
 
Aw... I wanted to ask him about Wayland.
 
what do you want to know?
that one is easy
 
If there will be a tech preview in 12.04.
 

« first day (420 days earlier)      last day (4528 days later) »