#raspbian IRC Log

Index

IRC Log for 2013-02-26

Timestamps are in GMT/BST.

[0:01] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Remote host closed the connection)
[0:03] * troyt (~troyt@2001:1938:240:3000::3) has joined #raspbian
[0:05] * wiiguy (~fake@unaffiliated/wiiguy) Quit (Quit: I just broke my connection, but no worries, we can rebuild it. We have the technology.)
[0:31] * anunnaki (~anunnaki@174.55.35.255) Quit (Read error: Connection reset by peer)
[0:31] * ksclarke (~kevin@pdpc/supporter/active/ksclarke) Quit (Quit: Leaving.)
[0:35] * anunnaki (~anunnaki@174.55.35.255) has joined #raspbian
[0:51] * aidalgol (~user@pdpc/supporter/student/aidalgol) Quit (Quit: Restarting Emacs...)
[0:52] * aidalgol (~user@pdpc/supporter/student/aidalgol) has joined #raspbian
[0:52] * aidalgol (~user@pdpc/supporter/student/aidalgol) Quit (Remote host closed the connection)
[0:52] * wad (~wad@vps.zerbat.com) Quit (Quit: Leaving)
[0:53] * aidalgol (~user@pdpc/supporter/student/aidalgol) has joined #raspbian
[0:55] * sam_ (~sam@gue23-1-78-231-1-238.fbx.proxad.net) Quit (Remote host closed the connection)
[0:58] * plugwash (~plugwash@2001:5c0:1400:a::a6d) Quit (Remote host closed the connection)
[1:02] * zZz_Skelli (~Skelli@p5B3E4B8D.dip.t-dialin.net) Quit (Ping timeout: 244 seconds)
[1:04] * zZz_Skelli (~Skelli@p5B3E4AA9.dip.t-dialin.net) has joined #raspbian
[1:04] * zZz_Skelli is now known as Skelli
[1:23] * RagingComputer (~RagingCom@ip98-161-50-39.om.om.cox.net) Quit (Ping timeout: 256 seconds)
[1:29] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[1:30] * RagingComputer (~RagingCom@98.161.50.39) has joined #raspbian
[1:34] * carlism (~carlism@173.62.188.158) has joined #raspbian
[1:35] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Quit: Leaving.)
[1:38] * carlism_ (~carlism@pool-173-62-188-158.phlapa.fios.verizon.net) has joined #raspbian
[1:38] * carlism (~carlism@173.62.188.158) Quit (Ping timeout: 245 seconds)
[1:38] * carlism_ is now known as carlism
[1:39] <carlism> Can someone explain to me why me /etc/inittab says the default runlevel is 2, yet after booting the run level command responds 5
[1:44] * lollo64it (~lorenzo@93-58-3-33.ip156.fastwebnet.it) Quit (Read error: Connection reset by peer)
[1:51] * anunnaki (~anunnaki@174.55.35.255) Quit (Read error: Connection reset by peer)
[1:51] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[1:54] * anunnaki (~anunnaki@c-174-55-35-255.hsd1.pa.comcast.net) has joined #raspbian
[1:56] * chandoo (~chandoo@65.248.151.250) Quit (Read error: Connection reset by peer)
[2:02] * Skelli (~Skelli@p5B3E4AA9.dip.t-dialin.net) Quit (Ping timeout: 244 seconds)
[2:04] * zZz_Skelli (~Skelli@91.62.51.88) has joined #raspbian
[2:04] * zZz_Skelli is now known as Skelli
[2:04] * Viliny (~chatzilla@62.142.72.110) Quit (Ping timeout: 246 seconds)
[2:04] * anunnaki (~anunnaki@c-174-55-35-255.hsd1.pa.comcast.net) Quit (Read error: Connection reset by peer)
[2:05] * anunnaki (~anunnaki@174.55.35.255) has joined #raspbian
[2:05] * int3nz0r (~int3nz0r@86.86.66.141) Quit (Quit: Computer has gone to sleep.)
[2:05] * Viliny (~chatzilla@62.142.72.110) has joined #raspbian
[2:08] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Quit: Leaving.)
[2:10] * JohnWayne__ (~quassel@209-58-242-194.static-ip.telepacific.net) Quit (Ping timeout: 255 seconds)
[2:13] * carlism (~carlism@pool-173-62-188-158.phlapa.fios.verizon.net) Quit (Quit: carlism)
[2:18] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[2:20] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Client Quit)
[2:21] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[2:22] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Client Quit)
[2:24] * N0_Named_Guy (~Someone@a89-153-113-53.cpe.netcabo.pt) Quit (Ping timeout: 264 seconds)
[2:24] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[2:50] * N0_Named_Guy (~Someone@a89-153-114-251.cpe.netcabo.pt) has joined #raspbian
[2:53] * aidalgol (~user@pdpc/supporter/student/aidalgol) Quit (Quit: ERC Version 5.3 (IRC client for Emacs))
[3:03] * aidalgol (~user@pdpc/supporter/student/aidalgol) has joined #raspbian
[3:15] * DaQatz (~DB@pool-71-161-101-80.cncdnh.east.myfairpoint.net) Quit (Ping timeout: 264 seconds)
[3:17] * DaQatz (~DB@71.181.90.133) has joined #raspbian
[3:34] * passstab (~coplon@c-68-63-125-131.hsd1.pa.comcast.net) Quit (Read error: Connection reset by peer)
[3:35] * DaQatz (~DB@71.181.90.133) Quit (Ping timeout: 248 seconds)
[3:37] * DaQatz (~DB@d-burl-bng2-64-223-166-22.ngn.east.myfairpoint.net) has joined #raspbian
[3:52] * N0_Named_Guy (~Someone@a89-153-114-251.cpe.netcabo.pt) Quit (Ping timeout: 276 seconds)
[3:55] * aidalgol (~user@pdpc/supporter/student/aidalgol) Quit (Quit: home)
[3:56] * DaQatz (~DB@d-burl-bng2-64-223-166-22.ngn.east.myfairpoint.net) Quit (Remote host closed the connection)
[3:59] * N0_Named_Guy (~Someone@a95-94-5-229.cpe.netcabo.pt) has joined #raspbian
[4:01] * DaQatz (~DB@d-burl-bng2-64-223-166-22.ngn.east.myfairpoint.net) has joined #raspbian
[4:01] * mike_t (~mike@pluto.dd.vaz.ru) has joined #raspbian
[4:16] * DaQatz (~DB@d-burl-bng2-64-223-166-22.ngn.east.myfairpoint.net) Quit (Read error: Operation timed out)
[4:18] * bizarro_1 (~bizarro_1@36.Red-83-49-231.dynamicIP.rima-tde.net) Quit (Quit: Leaving)
[4:18] * DaQatz (~DB@d-rev-bng-70-20-46-88.ngn.east.myfairpoint.net) has joined #raspbian
[4:19] * vagrantc (~vagrant@c-98-232-129-196.hsd1.or.comcast.net) has joined #raspbian
[4:19] * vagrantc (~vagrant@c-98-232-129-196.hsd1.or.comcast.net) Quit (Changing host)
[4:19] * vagrantc (~vagrant@freegeek/vagrantc) has joined #raspbian
[4:25] * DaQatz (~DB@d-rev-bng-70-20-46-88.ngn.east.myfairpoint.net) Quit (Ping timeout: 248 seconds)
[4:27] * DaQatz (~DB@71.161.206.238) has joined #raspbian
[4:36] * DaQatz (~DB@71.161.206.238) Quit (Ping timeout: 245 seconds)
[4:38] * DaQatz (~DB@pool-70-109-152-163.cncdnh.east.myfairpoint.net) has joined #raspbian
[4:38] * [7] (~quassel@rockbox/developer/TheSeven) Quit (Disconnected by services)
[4:39] * TheSeven (~quassel@rockbox/developer/TheSeven) has joined #raspbian
[4:44] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Quit: Leaving.)
[4:50] * hrebicek (~hrebicek_@ip4-83-240-6-28.cust.nbox.cz) Quit (Remote host closed the connection)
[4:52] * N0_Named_Guy (~Someone@a95-94-5-229.cpe.netcabo.pt) Quit (Ping timeout: 246 seconds)
[4:59] * N0_Named_Guy (~Someone@95.94.5.229) has joined #raspbian
[5:07] * vagrantc (~vagrant@freegeek/vagrantc) Quit (Quit: leaving)
[5:08] * hrebicek (~hrebicek_@ip4-83-240-6-28.cust.nbox.cz) has joined #raspbian
[5:11] * hrebicek (~hrebicek_@ip4-83-240-6-28.cust.nbox.cz) Quit (Remote host closed the connection)
[5:14] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[5:19] * Lupinedk is now known as lupinedk
[5:35] * ReggieUK (ReggieUK@5aca56e7.bb.sky.com) Quit ()
[6:17] * lupinedk is now known as Lupinedk
[6:20] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 246 seconds)
[6:20] * jschneider (~jschneide@80.149.172.178) has joined #raspbian
[6:30] <mike_t> hello
[6:30] <mike_t> is it possible to write event handler for GPIO?
[6:40] * Datalink|Elsewhe is now known as Datalink
[6:43] * monkeycoder (~monkeycod@178.120.67.36) has joined #raspbian
[6:48] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[6:51] * gko (~user@220.228.255.202) has joined #raspbian
[6:54] * daveee123 (~daveee123@ip-209-203.oberlin.net) Quit (Remote host closed the connection)
[7:16] * sadbox (~jmcguire@sadbox.org) Quit (Quit: leaving)
[7:24] * hero616 (~Quink@183.62.57.116) has joined #raspbian
[7:26] * imperia (~imperia@93-152-153-38.ddns.onlinedirect.bg) has joined #raspbian
[7:27] * wiiguy (~fake@unaffiliated/wiiguy) has joined #raspbian
[7:39] * mythos (~mythos@unaffiliated/mythos) Quit (*.net *.split)
[7:39] * Yamba (~Yamba@31.25.23.229) Quit (*.net *.split)
[7:39] * eggy (matt@unaffiliated/eggy) Quit (*.net *.split)
[7:39] * rolloTomasi (~rolloToma@bas1-kitchener09-2925040673.dsl.bell.ca) Quit (*.net *.split)
[7:40] * netw1z (~the@cpe-74-73-231-93.nyc.res.rr.com) Quit (Quit: Leaving)
[7:42] * eggy (matt@198.23.230.103) has joined #raspbian
[7:42] * eggy (matt@198.23.230.103) Quit (Changing host)
[7:42] * eggy (matt@unaffiliated/eggy) has joined #raspbian
[7:43] * mythos (~mythos@unaffiliated/mythos) has joined #raspbian
[7:43] * twolife` is now known as twolife
[7:51] * Yamba (~Yamba@31.25.23.229) has joined #raspbian
[7:51] * rolloTomasi (~rolloToma@bas1-kitchener09-2925040673.dsl.bell.ca) has joined #raspbian
[7:56] * Skelli is now known as zZz_Skelli
[7:57] * PasNox (~PasNox@beg33-4-78-237-93-55.fbx.proxad.net) has joined #raspbian
[8:11] * garply (garply@unaffiliated/garply) Quit (Ping timeout: 264 seconds)
[8:13] * garply (garply@unaffiliated/garply) has joined #raspbian
[8:15] * blkaway is now known as blkhawk
[8:24] <dexta> morning
[8:26] <hero616> afternoon
[8:29] * plugwash (~plugwash@2001:5c0:1400:a::a43) has joined #raspbian
[8:34] * hrebicek (hrebicek__@nat/redhat/x-ajeptftylgdgbizt) has joined #raspbian
[8:34] <Viliny> so ubuntu is begging for donations on download page and the cd image requires overburn to fit on a cd -.-
[8:34] <Viliny> does debian have a livecd version? because im just getting this to rescue a HD on a laptop
[8:37] * level20peon (~level20pe@97-034.vpn.rwth-aachen.de) has joined #raspbian
[8:37] <level20peon> hey, where can I find a changelog for raspbian ?
[8:39] <plugwash> Short answer: you can't
[8:40] <level20peon> that's unfortunate
[8:40] <Aldaron> uhh..
[8:40] <plugwash> We don't attempt to generate a global changelog and even if we did I think it would be way too big for anyone to read.
[8:41] <Aldaron> is this in line with Debian?
[8:41] <level20peon> can I gather the information about significant changes otherwise ?
[8:41] <plugwash> I don't think they attempt to generate a global changelog either
[8:42] * larsgk (~lgk@212-60-115-150.ip.cust.zensystems.net) has joined #raspbian
[8:42] <Viliny> plugwash: "we" - are you behind raspbian directly?
[8:42] <muep> at least such a full changelog for whole Debian would be huge
[8:42] <plugwash> Viliny, yes
[8:42] <Aldaron> muep: well, between major versions yes
[8:43] <Viliny> plugwash: thank you for you work :)
[8:43] <muep> raspbian is kind of between two major debian versions
[8:44] <muep> because wheezy is still being worked on, and that is what rasbian is derived from
[8:44] <Viliny> will raspbian take a leap into newer versions and is there any need to?
[8:45] <muep> eventually you might want newer software than what ends up in wheezy
[8:45] <plugwash> The first priority of the raspbian project will be to deliver and maintain raspbian wheezy
[8:45] <Viliny> have you guys had some trouble with wifi dropping after 2 hours from boot?
[8:46] <level20peon> I have significant problems with my wifi adapter
[8:46] <nevyn> which wifi?
[8:46] <Viliny> i unplugged the wifi adapter and put it back in in the morning
[8:46] <plugwash> We do plan to start work on raspbian jessie at some point but there may well be a delay between debian opening the jessie repositories and raspbian doing the same.
[8:46] <level20peon> that's why I wanted to know about the changes
[8:46] <Viliny> seems to have worked for 10 minutes
[8:47] <Viliny> as opposed to 2 hours after booting the whole pi
[8:47] <Viliny> nevyn: it's a realtek asus usb dongle from 4 years back
[8:47] <Viliny> i haven't the exact model name at hand
[8:48] <Viliny> i set up cron to reset down/up the ifconfig for it every hour
[8:48] <Viliny> but doesn't seem to help
[8:48] <Viliny> what was the command to reset the radio itself?
[8:49] <level20peon> sudo modprobe -r 8192cu ; sudo modprobe 8192cu
[8:49] <level20peon> try this
[8:50] <level20peon> I got an asus usb-n10 (Realtek RTL8188SU) myself and it drops out after a few minutes, too
[8:50] <level20peon> haven't been able to fix it, yet...
[8:51] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 240 seconds)
[8:52] <adeus> my netwjork pico has worked great (for a couple of days now at least..)
[8:53] <Viliny> mine starts with a 6 or 7 in the model name
[8:53] <adeus> 8192cu I think
[8:53] <Viliny> adeus: good to know, i can get those cheap
[8:53] <adeus> no checking the forum RA5370
[8:53] <Viliny> i was looking at the usb-n10 as well, so thats also good information
[8:53] <Viliny> the sheer size of my dongle tells me it might be power hungry
[8:54] <adeus> right now it's on my desk acting as a 3g/wifi hotspot :)
[8:54] <Viliny> i have it connected to a hub that has a 2A power source though
[8:59] * BCMM (~BCMM@unaffiliated/bcmm) has joined #raspbian
[9:01] <level20peon> is anyone running an n10 without having trouble then ?
[9:04] <level20peon> http://www.element14.com/community/docs/DOC-44703/l/raspberry-pi-wifi-adapter-testing says that the n10 is working fine, that and the fact that it's small lead to my choice to buy it in the first place
[9:09] <Viliny> i just ordered a pico
[9:14] <level20peon> I'm not giving up on the n10 just yet :)
[9:22] * level20peon is now known as level19peon
[9:22] * Brianetta (~brian@188-222-62-25.zone13.bethere.co.uk) has joined #raspbian
[9:23] * hero616 (~Quink@183.62.57.116) Quit (Quit: 离开)
[9:24] <Brianetta> Hi folks. I just installed Raspbian a few minutes ago, and I notice that /etc/motd isn't as described in the manual, and that /etc/modt.tail (which contains "type 'startx' to launch a graphical session") is never displayed. Has something changed?
[9:24] <Brianetta> motd.tail, even
[9:32] <Aldaron> ugh, WHAT
[9:32] <Aldaron> ahh nevermind
[9:32] <Aldaron> that'd be ok
[9:39] * Datalink|Elsewhe (~Datalink@unaffiliated/datalink) has joined #raspbian
[9:41] * Datalink (~Datalink@unaffiliated/datalink) Quit (Ping timeout: 264 seconds)
[9:48] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[9:49] <Viliny> i just acquired a 80gb HD and a small circuit board to make it usb
[9:49] <Viliny> would using it as swap be of any real use?
[9:50] <Viliny> also, if you were to use it as mass storage
[9:50] <Brianetta> Depends what you mean by real.
[9:50] <Viliny> what filesystem would you prefer it had?
[9:51] <Viliny> Brianetta, the pi has a 100mb swap file thats not in use by default as i understand it, if i allowed it to swap on the external magnetic HD, would it perhaps allow some more load to take place on the PI?
[9:51] <Brianetta> You have to bear in mind that it's sharing 480Mbit/s with every other USB peripheral, including the network interface
[9:51] <Viliny> i mean, browsing heavy websites and junk probably fills the ram in no time
[9:51] <Aldaron> I'd like ext4. I don't think it's useful as swap, unless you intend to do really memory-intensive things maybe, and you've no swap elsewhere
[9:52] <Brianetta> If you're swapping *and* browsing heavy websites, you're going to have to show extraordinary patience.
[9:52] <Aldaron> Well, would you want to browse heavy websites constantly swapping from a usb disk.. :)
[9:52] <Viliny> okay, so it WILL be slow
[9:52] <Viliny> My only idea of an alternative is a pi running out of ram constantly
[9:55] <mike_t> you can try zram
[9:58] <Viliny> is it normal for an idling notebook HD to get around 50c in open room conditions?
[10:06] <Aldaron> I wouldn't be worried
[10:06] <Aldaron> it shouldn't generate much heat, but if there's no great cooling either, that may happen
[10:10] <Brianetta> If the temperature doesn't change, it's very unlikely to cause you trouble.
[10:18] * EndEng (~EndEng@mail.endeng.net) Quit (Ping timeout: 255 seconds)
[10:32] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 240 seconds)
[10:51] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 248 seconds)
[10:54] * int3nz0r (~int3nz0r@86.86.66.141) has joined #raspbian
[10:57] * monkeycoder (~monkeycod@178.120.67.36) Quit (Remote host closed the connection)
[10:57] * monkeycoder (~monkeycod@178.120.67.36) has joined #raspbian
[10:58] * FR^2 (~frquadrat@91.121.221.45) has joined #raspbian
[11:14] * gko (~user@220.228.255.202) Quit (Read error: Connection reset by peer)
[11:17] * hero616 (~Quink@183.62.57.116) has joined #raspbian
[11:17] * OutOfLin` (~user@82-220-74-46.dslplus.solnet.ch) Quit (Ping timeout: 276 seconds)
[11:18] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[11:23] * neue (~neue@89.30.119.34) has joined #raspbian
[11:23] * neue (~neue@89.30.119.34) Quit (Client Quit)
[11:23] * neue (~neue@89.30.119.34) has joined #raspbian
[11:33] * level19peon is now known as level18peon
[11:35] * RedR (~RedR@adsl-68-94-197-105.dsl.rcsntx.swbell.net) has joined #raspbian
[11:43] * mythos (~mythos@unaffiliated/mythos) has joined #raspbian
[11:44] * idstam (~johan@c-1b7772d5.027-359-73746f23.cust.bredbandsbolaget.se) Quit ()
[12:04] * discopig (~discopig@unaffiliated/discopig) Quit (Read error: Connection reset by peer)
[12:09] * bizarro_1 (~bizarro_1@79.152.244.115) has joined #raspbian
[12:11] * discopig (~discopig@unaffiliated/discopig) has joined #raspbian
[12:13] * Datalink|Zzz (~Datalink@unaffiliated/datalink) has joined #raspbian
[12:16] * Datalink|Elsewhe (~Datalink@unaffiliated/datalink) Quit (Ping timeout: 276 seconds)
[12:22] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 255 seconds)
[12:25] * Disconnect (~Disconnec@ipv6.from.sigkill.net) Quit (Quit: ZNC - http://znc.sourceforge.net)
[12:26] <Viliny> anyone have a handy way of putting my current ip of the raspberry into a variable in bash?
[12:30] <mike_t> many ways. for example IP=$(hostname -I)
[12:30] <Viliny> how does the output of that look like?
[12:30] <Viliny> rasp is at home so im just theorizing here for now
[12:31] <mike_t> "hostname -I" returns IP address
[12:37] <Viliny> that works nicely, thank you :)
[12:37] <Aldaron> hostname -i gives me 127.0.0.1 :D
[12:37] <Aldaron> technically correct
[12:39] <mike_t> Aldaron, -i vs -I ?
[12:41] <Viliny> how would you get ip addresses off of separate interfaces?
[12:42] <level18peon> ifconfig $NIC | sed 2q | sed '$!d' | sed -e 's/^.*inet addr://' -e 's/ .*$//
[12:43] <Viliny> that looks like a nightmare to me
[12:44] <Viliny> also, hostname -I | cut -f1 -d' '
[12:44] <Viliny> can anyone open up whats happening in that line and what peon just wrote?
[12:44] <level18peon> the hostname command doesn't return the interface name
[12:45] <Viliny> i see
[12:46] <Viliny> heh
[12:46] <Viliny> ifconfig is disabled on my shell machine
[12:46] <Viliny> or rather, shell provider
[12:46] <level18peon> ifconfig $NIC <- information about the nic you want (replace $NIC with the actual nic-name)
[12:46] <level18peon> sed 2q <- returns the top most two lines (which contain the ip adress for example)
[12:46] <level18peon> sed '$!d' <- returns the second (last) of that lines (which contains the ip adress)
[12:46] <level18peon> sed -e 's/^.*inet addr://' -e 's/ .*$// <- cuts the ip adress from the rest of information
[12:46] <level18peon> fyi
[12:47] * beardy (~beardy@unaffiliated/beardy) Quit (Ping timeout: 260 seconds)
[12:47] <level18peon> try "sudo ifconfig" although it normally should work without sudo
[12:48] <adeus> and it's in /sbin which isn't always in PATH by default
[12:48] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[12:51] <Viliny> actual nic-name = etho0 and wlan0?
[12:51] <level18peon> eth0
[12:51] <Viliny> yeah sorry, ment eth0
[12:51] <Viliny> caffeins taking over my keyboard it seems
[12:51] <level18peon> alternatively, if ifconfig doesn't work, try this:
[12:52] <level18peon> ip addr list $NIC | sed 3q | sed '$!d' | sed -e 's/^.*inet //' -e 's/\/.*$//'
[12:52] <Viliny> oh it will work, just not on my shell provider
[12:52] <Viliny> is there a manual for that parsing that you are doing?
[12:52] <Viliny> as it is, it makes no sense to me
[12:53] <level18peon> I'm just editing the output of some application, ifconfig or ip in this case
[12:53] <Viliny> i understand that
[12:53] <level18peon> I use sed in this example
[12:53] <level18peon> there are other ways, like grep or awk
[12:53] <Viliny> im just very uncomfortable with not understanding which part does what
[12:53] <level18peon> I explained this above
[12:54] <Viliny> don't get me wrong, i appreciate the help a lot, it's just that your explanation doesn't help me understand every single character you are using there
[12:54] <Viliny> what is this called if i google on it?
[12:54] <level18peon> depends ;)
[12:55] <level18peon> http://www.catonmat.net/blog/sed-one-liners-explained-part-one/
[12:55] <level18peon> http://www.catonmat.net/blog/sed-one-liners-explained-part-two/
[12:55] <level18peon> http://www.catonmat.net/blog/sed-one-liners-explained-part-three/
[12:55] <level18peon> that's helpful for using sed
[12:55] <level18peon> I don't know where you're at, scripting wise... so maybe you should start reading something more fundamental
[12:56] <Viliny> php, ruby, some C etc
[12:56] <Viliny> not very advanced though, regexp always caused me headache
[12:56] <level18peon> one term you could google for would be "bash scripting", but that's a VERY broad field
[12:57] <Viliny> oh i've done some bash scripting too
[12:57] <level18peon> http://linuxconfig.org/Bash_scripting_Tutorial
[12:57] <level18peon> http://mywiki.wooledge.org/Bashism
[12:57] <Viliny> this sed tutorial should use some examples
[12:58] <level18peon> I never learned anything from 0-100... I just learned what I needed as I moved along, so maybe I am not the best choice to tell you where to start
[12:58] <Viliny> i only learn what i need to finish my current project
[12:58] <Viliny> it's usually always for a real life application
[12:58] <Viliny> and i tend to forget it a week later
[12:59] <level18peon> yeah, I know what you mean... that's why I document everything I do
[12:59] <level18peon> I know I've done something sometime in the past and I know where to look for it then
[12:59] <Viliny> i usually dropbox my old scripts so i can go back and check
[12:59] <Viliny> i comment almost every part of my code
[13:00] <Viliny> this sed tutorial is really messing with my head, maybe im too tired after this work day to get into it
[13:01] <level18peon> there's a trick
[13:01] <level18peon> it's called "caffeine" :P
[13:01] <Viliny> i'm also overdosing on caffeine here right now, not making it easy to focus on that tuto :p
[13:02] <Viliny> i found this thing on the same site:
[13:02] <Viliny> http://www.catonmat.net/blog/golfing-the-extraction-of-ip-addresses-from-ifconfig/
[13:02] <Viliny> i'll bookmark it and give it a shot
[13:02] <level18peon> ewww
[13:02] <level18peon> don't use perl for something like that
[13:03] <Viliny> "This looks nicer but I was uselessly using grep, and calling awk twice." - why is using grep a bad thing?
[13:03] <level18peon> you could use awk, as I said above... I am just a fan of sed, because it's a challenge
[13:03] <Viliny> oh lol, i already hate parsing stuff like this and you throw challenges at me :)
[13:04] <level18peon> awk is ugly, too, trust me... it's just simpler for some operations like putting out the nth word or stuff like this
[13:04] * mike_t (~mike@pluto.dd.vaz.ru) Quit (Remote host closed the connection)
[13:04] <level18peon> well
[13:05] <level18peon> you don't need grep if you're using sed or awk anyways
[13:05] <Viliny> i'm demoralised
[13:05] <level18peon> grep is just a simple pattern matcher
[13:05] <Viliny> ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'
[13:05] <level18peon> sed and awk are more powerful
[13:06] <level18peon> that's ugly :P
[13:06] <Viliny> heh
[13:06] <Viliny> ip addr list $NIC | sed 3q | sed '$!d' | sed -e 's/^.*inet //' -e 's/\/.*$//'
[13:06] <Viliny> this was your suggestion
[13:06] <level18peon> yeah, it's so pretty :D
[13:07] <Viliny> okay so sed 3q brings me top three rows?
[13:07] <level18peon> y
[13:08] <Viliny> i don't think i'll ever bother learning this
[13:08] <Viliny> seems way to complicated for something small :/
[13:08] <level18peon> if you don't need to, why bother
[13:10] <Viliny> this seems nice
[13:10] <Viliny> ifconfig eth0 | awk -F ' *|:' '/inet addr/{print $4}'
[13:11] <Viliny> what does awk -F'* do?
[13:11] * Radix-wrk (~quassel@203.161.71.161.static.amnet.net.au) Quit (Read error: Connection reset by peer)
[13:11] <level18peon> it defines a delimiter
[13:12] * Radix-wrk (~quassel@203.161.71.161.static.amnet.net.au) has joined #raspbian
[13:12] <Viliny> i suppose this would be easier if i could actually see what ifconfig outputs
[13:12] <level18peon> maybe ;)
[13:13] <level18peon> http://en.wikipedia.org/wiki/Ifconfig#Usage
[13:15] * level18peon is now known as level20peon
[13:17] <Viliny> when you say delimiter
[13:18] <Viliny> can you explain that a little?
[13:18] <level20peon> abc,def,ghi,jkl
[13:18] <level20peon> if you use "," as delimiter
[13:18] <level20peon> you could say that "abc" is the first field of data
[13:19] <level20peon> "def" the second
[13:19] <level20peon> the "," delimits data sets
[13:20] <level20peon> but technically you don't have to use "," ... you can use various characters as delimiter, as long as they play well in what you're trying to do
[13:20] <level20peon> using "a" as delimiter wouldn't be a good idea for example
[13:20] <level20peon> because if you work with strings, it's probable that there are "a" all over the place
[13:20] <level20peon> get it ?
[13:20] <Viliny> yes
[13:20] <Viliny> ' and *
[13:20] <Viliny> how do those work as delimiters?
[13:21] <level20peon> they don't
[13:21] <Viliny> so getting back to awk -F ' * ?
[13:21] <level20peon> everything inside the quotes defines the delimiter in this case
[13:22] <level20peon> so the ' just marks the beginning and the end
[13:22] <level20peon> the * is a wildcard for pattern matching
[13:22] <level20peon> it wouldn't explicitly match an actual *
[13:22] <level20peon> unless it's escaped
[13:22] <level20peon> but that's another story
[13:22] <Viliny> i understand that part at least
[13:23] <Viliny> so whats happening here, it defines nothing as a delimiter?
[13:23] <level20peon> awk -F ' *|:'
[13:23] <Viliny> it's an unclosed quote with a wildcard :p
[13:23] <level20peon> *|:
[13:23] <level20peon> ^that's the delimiter
[13:23] <Viliny> oooh
[13:23] <Viliny> makes more sense
[13:23] <level20peon> a space, followed by any amount of characters
[13:23] * Cael (~Cael@69.14.43.38) has joined #raspbian
[13:24] <Viliny> i was just stuck on the |
[13:24] <level20peon> I honestly can't explain the pipe in this example
[13:24] <Cael> aanyone here have any luck using the xboxdrv on thier pi?
[13:24] <Viliny> whats and xboxdrv?
[13:24] <Viliny> an*
[13:24] <Cael> driver to use usb&wireless xbox controllers.
[13:25] <Viliny> level20peon: due to inexpierence in awk or?
[13:25] <level20peon> maybe
[13:25] <level20peon> I am not very good at this stuff
[13:25] <level20peon> I just do linux for fun
[13:26] <Cael> thers two diffrent maps one to bind to xwindow controlls and then normal., i dont know which is for CLI (no Xorg/Xwindows) and which is for XWindows.
[13:27] <level20peon> your example doesn't work for me at all, so maybe the author did it wrong in the first place :P
[13:27] <Cael> aka Keyboard mapping for "A" can be a=XK_a or a=BUTTON_A and trying to map the correct ones for using with cavestory (which refuses to run under xwindows)
[13:27] <Viliny> okay, thanks a lot for your time though level20peon, appreciated even if i feel more lost than ever :)
[13:28] <level20peon> you aren't lost, you're here ;)
[13:28] <Viliny> level18peon sed 2q <- returns the top most two lines (which contain the ip adress for example)
[13:28] <Viliny> level18peon sed '$!d' <- returns the second (last) of that lines (which contains the ip adress)
[13:28] <Viliny> level18peon sed -e 's/^.*inet addr://' -e 's/ .*$// <- cuts the ip adress from the rest of information
[13:29] <Viliny> okay, so im looking at the ipconfig output
[13:29] <level20peon> ifconfig
[13:29] <Viliny> 2q makes sense, the two first lines have what i want
[13:29] <level20peon> ipconfig is windows
[13:29] <Viliny> yeah sorry, brainfart
[13:29] <Viliny> sitting on an xp machine at work
[13:29] <Viliny> '$!d' <- returns the second (last) of that lines (which contains the ip adress)
[13:30] <Viliny> okay, so we get it narrowed down to the actual line holding the ip
[13:30] <level20peon> yeah, it basically says "delete everything but the last line"
[13:30] <Viliny> so q is amount of lines to keep?
[13:30] <level20peon> no, the n before the q is :P
[13:31] <level20peon> n=2, in this case
[13:31] <Viliny> wheres the n then
[13:31] <level20peon> 2q
[13:31] <level20peon> n=2
[13:31] <level20peon> here
[13:31] <Viliny> your whole thing was: ifconfig $NIC | sed 2q | sed '$!d' | sed -e 's/^.*inet addr://' -e 's/ .*$//
[13:31] <level20peon> yeah
[13:32] <Viliny> ah i get it...
[13:32] <level20peon> ok
[13:32] <Viliny> yeah n standing for the value
[13:32] * neue (~neue@89.30.119.34) Quit (Quit: Computer has gone to sleep.)
[13:32] <level20peon> y
[13:32] <Viliny> but giving q a numeral makes it parse only that amount of lines?
[13:32] <level20peon> n, in general describes a number (or integer, to be more precise)
[13:33] <level20peon> I think so (hope so)
[13:33] <Viliny> unrelated: i found a goldmine of 10 old laptops with 300gb HD's inside while i was fixing a broken USB hd which of from i salvaged the connector to make the HD's usb
[13:33] <Viliny> yes
[13:34] <Viliny> but q is what you use to define an amount of lines to include in the output
[13:34] <level20peon> yeah, it might be short for "queue" but that's just a wild guess
[13:34] <Viliny> okay cool
[13:35] <Viliny> so which part of '$!d' does what -
[13:35] <level20peon> $ is "the end"
[13:35] <Viliny> exploding that into $ and ! and d
[13:35] <level20peon> either end of line, or here end of lines (last line)
[13:35] <level20peon> d deletes
[13:35] <level20peon> ! negates
[13:36] <level20peon> so !d doesn't delete
[13:36] <level20peon> $!d doesn't delete the last line (but everything else)
[13:36] <Viliny> thats kind of weird and awesome at the same time
[13:36] <level20peon> it's kind of caveman talk
[13:36] <level20peon> end don't delete !
[13:37] <Viliny> and the fun part
[13:37] <Viliny> sed -e 's/^.*inet addr://' -e 's/ .*$//
[13:38] <level20peon> sed -e -> executes the following statement
[13:38] <level20peon> here it's a simple search and replace (with regexp)
[13:38] <level20peon> s/search for/replace with/
[13:38] <level20peon> ^ that's the general idea of search and replace
[13:38] <level20peon> expressed in sed
[13:38] <Viliny> i get that part
[13:39] <Viliny> as in, not in your command but what you just explained to me
[13:39] <Viliny> the first '
[13:39] <Viliny> is that supposed to be a quote to hold the regexp command or?
[13:39] <Viliny> im counting three '
[13:40] <level20peon> ^.*inet addr: <- everything from the beginning (^) with any character (.) repeated infinitely (*) until pattern (inet addr:)
[13:40] <level20peon> I left the last ' out by accident
[13:40] <level20peon> there's gotta be four
[13:40] <Viliny> sed -e 's/^.*inet addr://' -e 's/ .*$//'
[13:40] <Viliny> correct?
[13:41] <level20peon> y
[13:41] <Viliny> okay, i follow you so far
[13:41] <Viliny> and when it hits the pattern
[13:41] <Viliny> 's/ .*$//'
[13:42] <level20peon> sed -e 's/^.*inet addr://' <- deletes everything including the "inet addr:"
[13:43] <level20peon> and since there's a space after the ip, I used 's/ .*$//'
[13:43] <level20peon> which deletes everything (including the space) from the space to the end
[13:44] <level20peon> ok, three rows above: correction; deletes everything UP UNTIL the "inet addr:" (including "inet addr:")
[13:46] <Viliny> okay :)
[13:46] <Viliny> and 's/ .*$//'
[13:46] <Viliny> i get that $ means end now
[13:46] <Viliny> *$ infintely until end?
[13:46] <level20peon> you need the dot before it
[13:46] <level20peon> the * "empowers" the dot ;)
[13:47] <level20peon> the dot being a wildcard for any SINGLE character
[13:47] <Viliny> oh i was taking your example definitions in wrong order
[13:47] <level20peon> you need the dot in regexp, we are not in "normal" search mode here
[13:47] <Viliny> like i know what normal would be :)
[13:47] <level20peon> you can't just use * alone in regexp
[13:48] <Viliny> okay, i get that
[13:48] <level20peon> well normal as in type anything into the windows search
[13:48] <Viliny> this all works with the s/string/replacement right?
[13:48] <level20peon> any search that doesn't use regexp I would consider "normal"
[13:48] <level20peon> maybe there's a word for it, but I wouldn't know it
[13:48] <level20peon> s/string/replacement/
[13:48] <level20peon> you need 3 slashes
[13:48] <level20peon> not 2
[13:49] <Viliny> s/ .*$// would be "replace any character infinitely until end?
[13:49] <Viliny> with nothing
[13:49] <level20peon> starting with the space !
[13:49] <level20peon> with nothing <- right
[13:49] <Viliny> my head genuinely hurts :p
[13:50] <level20peon> I find it exciting that I know this out of the top of my head now
[13:50] <level20peon> wouldn't have thought about that some years ago
[13:51] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 246 seconds)
[13:52] <Viliny> hehe
[13:53] * larsgk (~lgk@212-60-115-150.ip.cust.zensystems.net) Quit (Ping timeout: 252 seconds)
[13:53] <Viliny> okay, i just got that
[13:54] <Viliny> you use the qualifier of "space" to start replacing with nothing (deleting) because the ip address has no space?
[13:54] <Viliny> i think i got it fully now
[13:55] * hsp (~holgi@77-20-198-147-dynip.superkabel.de) has joined #raspbian
[13:55] * ReggieUK (ReggieUK@90.202.86.231) has joined #raspbian
[13:56] <Viliny> hmm, my webcam produces 80mb of pictures in one day with the 5 minute interval it has now
[13:56] <Viliny> shouldn't be a problem for my 200gb dropbox account
[13:56] <level20peon> yeah, although space isn't a qualifier but a search pattern :P
[13:56] <Viliny> okay okay
[13:57] <Viliny> i'll pretend i understood that and just use the thing when i get home :)
[13:59] <level20peon> I could philosophize about that, but I think I'll pass
[14:01] <Viliny> thank you :)
[14:04] * tinti (~tinti@pdpc/supporter/student/tinti) has joined #raspbian
[14:07] * hero616 (~Quink@183.62.57.116) Quit (Remote host closed the connection)
[14:07] * neue (~neue@89.30.119.34) has joined #raspbian
[14:09] <adeus> "surely one grep is enough" and it started to bug me :)
[14:09] <adeus> ifconfig eth0| grep -oP 'inet addr:\K[\d\.]+(?= )'
[14:11] * ksclarke (~kevin@pdpc/supporter/active/ksclarke) has joined #raspbian
[14:13] <level20peon> I use my line in other systems, too... so I needed something cross-platform compatible
[14:14] <level20peon> the -P doesn't exist in busybox for example
[14:14] <adeus> yes
[14:14] <level20peon> but nice example, nonetheless
[14:14] <adeus> that was more of an exercise
[14:14] * mike_t (~mike@109.169.178.160) has joined #raspbian
[14:15] <level20peon> ok, now explain it to viliny :P
[14:24] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[14:24] <Viliny> heh
[14:25] * plugwash_ (Administra@e13aspg1.ee.umist.ac.uk) has joined #raspbian
[14:27] <Viliny> if you have the time i could do with a breakdown of that, but it's ok
[14:32] * Lupinedk is now known as lupinedk
[14:42] * netw1z (~the@cpe-74-73-231-93.nyc.res.rr.com) has joined #raspbian
[14:46] * 45PABW1WW (~gasper@seraph.uni-mb.si) Quit (Quit: Ex-Chat)
[14:48] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[14:48] * gsedej_work_ (~gasper@seraph.uni-mb.si) has joined #raspbian
[14:53] * hrebicek (hrebicek__@nat/redhat/x-ajeptftylgdgbizt) Quit (Quit: Leaving)
[15:00] * zZz_Skelli is now known as Skelli
[15:02] * jschneider (~jschneide@80.149.172.178) Quit (Remote host closed the connection)
[15:10] * ksclarke (~kevin@pdpc/supporter/active/ksclarke) Quit (Quit: Leaving.)
[15:10] * Cael (~Cael@69.14.43.38) Quit (Quit: Leaving)
[15:11] * ksclarke (~kevin@pdpc/supporter/active/ksclarke) has joined #raspbian
[15:24] * tubadaz (~quassel@pdpc/supporter/student/tubadaz) has joined #raspbian
[15:31] * PeterSilie (~quassel@2605:8900:5000:1001:8:0:6d:2) Quit (Remote host closed the connection)
[15:31] * PeterSilie (~quassel@2605:8900:5000:1001:8:0:6d:2) has joined #raspbian
[15:35] * twolife is now known as twolife`
[15:35] * Inglorious (~Ingloriou@535177EE.cm-6-2b.dynamic.ziggo.nl) has joined #raspbian
[15:38] * Shaan7 (~quassel@kde/shantanu) has joined #raspbian
[15:46] * blkhawk is now known as blkaway
[15:52] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 246 seconds)
[15:59] * pi__ (~pi@dsl-hkibrasgw2-50dfd6-53.dhcp.inet.fi) has joined #raspbian
[15:59] * pi__ is now known as Viliny_pi
[16:00] <Viliny_pi> whats the partition manager for raspbian?
[16:00] * PasNox (~PasNox@beg33-4-78-237-93-55.fbx.proxad.net) Quit (Quit: Leaving)
[16:02] * soypirate (~soypirate@75.94.81.12) has joined #raspbian
[16:04] * tubadaz (~quassel@pdpc/supporter/student/tubadaz) Quit (Remote host closed the connection)
[16:07] * level20peon (~level20pe@97-034.vpn.rwth-aachen.de) Quit (Quit: /join #real_life)
[16:08] * Viliny_pi (~pi@dsl-hkibrasgw2-50dfd6-53.dhcp.inet.fi) Quit (Ping timeout: 256 seconds)
[16:12] * fdnexa (~fdnexa@cs78205015.pp.htv.fi) has joined #raspbian
[16:14] * fdnexa (~fdnexa@cs78205015.pp.htv.fi) Quit (Quit: fdnexa)
[16:14] * Brianetta (~brian@188-222-62-25.zone13.bethere.co.uk) has left #raspbian
[16:16] <Patagonicus> Viliny: I guess fdisk is installed, maybe cfdisk. But gparted should be available.
[16:17] * tinti (~tinti@pdpc/supporter/student/tinti) Quit (Remote host closed the connection)
[16:18] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[16:21] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Ping timeout: 255 seconds)
[16:27] * tinti (~tinti@pdpc/supporter/student/tinti) has joined #raspbian
[16:28] * NiaTeppelin (~NiaTeppel@WiseOS/Founder/NiaTeppelin) has joined #raspbian
[16:30] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[16:35] * SuinDraw (~NiaTeppel@WiseOS/Founder/NiaTeppelin) has joined #raspbian
[16:35] * NiaTeppelin (~NiaTeppel@WiseOS/Founder/NiaTeppelin) Quit (Disconnected by services)
[16:35] * SuinDraw is now known as NiaTeppelin
[16:36] * blkaway is now known as blkhawk
[16:48] * NiaTeppelin is now known as Space
[16:48] * Space is now known as NiaTeppelin
[16:49] * PasNox (~pasnox@2a01:e35:8b4f:f2a0:b18f:473a:b3ba:f664) has joined #raspbian
[16:50] * passstab (~coplon@c-68-63-125-131.hsd1.pa.comcast.net) has joined #raspbian
[16:54] * Inglorious (~Ingloriou@535177EE.cm-6-2b.dynamic.ziggo.nl) Quit (Ping timeout: 240 seconds)
[16:57] * Inglorious (~Ingloriou@535177EE.cm-6-2b.dynamic.ziggo.nl) has joined #raspbian
[17:03] * bertrik (~quassel@rockbox/developer/bertrik) has joined #raspbian
[17:13] * Kaboon (kaboon@524A5520.cm-4-3b.dynamic.ziggo.nl) has joined #raspbian
[17:17] * Diaoul (~Diaoul@APuteaux-652-1-216-21.w90-44.abo.wanadoo.fr) Quit (Ping timeout: 272 seconds)
[17:18] * Diaoul (~Diaoul@APuteaux-652-1-11-203.w82-124.abo.wanadoo.fr) has joined #raspbian
[17:22] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 240 seconds)
[17:35] * BCMM (~BCMM@unaffiliated/bcmm) Quit (Quit: Konversation terminated!)
[17:40] * rela (~x@pdpc/supporter/active/rela) has joined #raspbian
[17:44] * FR^2 (~frquadrat@91.121.221.45) Quit (Quit: Connection reset by peer)
[17:45] * wad (~wad@vps.zerbat.com) has joined #raspbian
[17:46] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Remote host closed the connection)
[17:50] * imperia (~imperia@93-152-153-38.ddns.onlinedirect.bg) Quit (Ping timeout: 255 seconds)
[17:53] * OutOfLine (~user@82-220-73-221.dslplus.solnet.ch) has joined #raspbian
[18:02] * vagrantc (~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net) has joined #raspbian
[18:03] * vagrantc (~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net) Quit (Changing host)
[18:03] * vagrantc (~vagrant@freegeek/vagrantc) has joined #raspbian
[18:06] * neue (~neue@89.30.119.34) Quit ()
[18:10] * hsp (~holgi@77-20-198-147-dynip.superkabel.de) Quit (Remote host closed the connection)
[18:13] * hsp (~holgi@77-20-198-147-dynip.superkabel.de) has joined #raspbian
[18:18] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[18:20] * mike_t (~mike@109.169.178.160) Quit (Remote host closed the connection)
[18:32] * hrebicek (~hrebicek_@ip4-83-240-6-28.cust.nbox.cz) has joined #raspbian
[18:33] * NiaTeppelin (~NiaTeppel@WiseOS/Founder/NiaTeppelin) Quit (Quit: nia)
[18:45] * Shaan7 (~quassel@kde/shantanu) Quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
[18:46] * FR^2 (~fr@krlh-5f736554.pool.mediaWays.net) has joined #raspbian
[18:46] * Shaan7 (~quassel@kde/shantanu) has joined #raspbian
[18:51] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[18:54] * os2mac2 (~jim.macdo@70-13-35-149.pools.spcsdns.net) has joined #raspbian
[18:54] * Kaboon (kaboon@524A5520.cm-4-3b.dynamic.ziggo.nl) Quit (Ping timeout: 255 seconds)
[18:57] * N0_Named_Guy (~Someone@95.94.5.229) Quit (Ping timeout: 245 seconds)
[19:00] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Remote host closed the connection)
[19:00] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[19:03] * N0_Named_Guy (~Someone@a89-153-114-3.cpe.netcabo.pt) has joined #raspbian
[19:05] * twolife` is now known as twolife
[19:15] * soypirate (~soypirate@75.94.81.12) Quit (Ping timeout: 276 seconds)
[19:19] * marvinstuart (~marvinstu@cpe-184-57-132-151.cinci.res.rr.com) has joined #raspbian
[19:19] * Shaan7 (~quassel@kde/shantanu) Quit (Ping timeout: 248 seconds)
[19:19] * rela (~x@pdpc/supporter/active/rela) Quit (Read error: Connection reset by peer)
[19:21] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 240 seconds)
[19:25] * _nitti_ (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[19:29] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Ping timeout: 248 seconds)
[19:35] * _nitti_ is now known as _nitti
[19:35] * bertrik (~quassel@rockbox/developer/bertrik) Quit (Remote host closed the connection)
[19:36] * Uthark (~Uthark@190.0.58.186) has joined #raspbian
[19:37] * bertrik (~quassel@rockbox/developer/bertrik) has joined #raspbian
[19:44] * meti (~meti@gateway/tor-sasl/meti) Quit (Ping timeout: 276 seconds)
[19:44] * nils_2_ (~nils_2@unaffiliated/nils-2/x-2480262) has joined #raspbian
[19:46] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) Quit (Ping timeout: 260 seconds)
[19:47] * meti (~meti@gateway/tor-sasl/meti) has joined #raspbian
[19:49] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[19:50] * os2mac2 (~jim.macdo@70-13-35-149.pools.spcsdns.net) Quit (Ping timeout: 252 seconds)
[19:51] * Gallomimia (~gallo@key.cha0sgaming.net) Quit (Ping timeout: 255 seconds)
[19:52] * Gallomimia (~gallo@key.cha0sgaming.net) has joined #raspbian
[19:54] * netw1z (~the@cpe-74-73-231-93.nyc.res.rr.com) Quit (Read error: Connection reset by peer)
[19:54] * nils_2_ is now known as nils_2
[19:56] * netw1z (~the@cpe-74-73-231-93.nyc.res.rr.com) has joined #raspbian
[19:58] * marvinstuart (~marvinstu@cpe-184-57-132-151.cinci.res.rr.com) Quit (Quit: Leaving)
[20:07] * [SkG] (~sconde@unaffiliated/skg/x-897332) has joined #raspbian
[20:08] * _nitti_ (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[20:09] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Ping timeout: 276 seconds)
[20:11] * marvinstuart (~marvinstu@cpe-184-57-132-151.cinci.res.rr.com) has joined #raspbian
[20:19] * Kaboon (kaboon@524A5520.cm-4-3b.dynamic.ziggo.nl) has joined #raspbian
[20:20] * entrusc (~entrusc@ppp-82-135-66-239.dynamic.mnet-online.de) has joined #raspbian
[20:20] <entrusc> hi raspbians!
[20:21] * Kaboon (kaboon@524A5520.cm-4-3b.dynamic.ziggo.nl) Quit (Read error: Connection reset by peer)
[20:24] <entrusc> does anyone know where I can download the raspbian kernel sources?
[20:24] * laurent\ (~laurent@unaffiliated/laurent/x-4048133) Quit (Ping timeout: 255 seconds)
[20:25] <gnarface> entrusc: what happens when you type: apt-get source [kernel package name]
[20:25] <gnarface> entrusc: ?
[20:26] * meti (~meti@gateway/tor-sasl/meti) Quit (Ping timeout: 276 seconds)
[20:26] <entrusc> there is no kernel source package - at least I didn't find one ...
[20:26] * laurent\ (~laurent@unaffiliated/laurent/x-4048133) has joined #raspbian
[20:26] <gnarface> entrusc: are you SURE? because if i fire up my pi and type exactly what i just told you to type and get a kernel source package, i'm going to mock you openly
[20:27] <gnarface> entrusc: (note the source packages don't show up in apt-cache search)
[20:27] <gnarface> and [kernel package name] should begin with "linux-image-" i believe
[20:28] <entrusc> gnarface: ok then tell me the exact kernel package name - because my kernel is just called "Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l GNU/Linux"
[20:28] <entrusc> "dpkg -l | grep linux-image" returns nothing
[20:28] <entrusc> according to this, that I just found, there seems to be no package: http://raspberrypi.stackexchange.com/questions/1273/where-is-the-kernel-source-for-raspbians-default-3-1-9-kernel
[20:29] <gnarface> hmm. lemme check on that
[20:29] <gnarface> one would think there is a package...
[20:29] <entrusc> but wait - I read too fast - the page says there is a package ...
[20:30] <gnarface> the plot thickens!!
[20:30] <entrusc> hehe ...
[20:30] <gnarface> match the listed packages that have 'ii' in the left column with the version listed by uname -a
[20:30] * os2mac2 (~jim.macdo@107.34.151.185) has joined #raspbian
[20:30] <gnarface> its important the versions match if you're compiling stuff for the running kernel
[20:31] * meti (~meti@gateway/tor-sasl/meti) has joined #raspbian
[20:31] <gnarface> (the ones that don't have 'ii' in the left column aren't installed or aren't installed correctly)
[20:31] <entrusc> "dpkg -l | grep 3.2.27" returns also empty
[20:31] <gnarface> well is your running kernel a packaged one, or have you already compiled your own before?
[20:32] <entrusc> "It seems to me, there is no kernel 3.1.9+ source deb package in Raspbian repository. According to Alex Bradbury (asb) they built the Raspbian kernel based on https://github.com/raspberrypi/linux. Based on this kernel compilation documentation I did the following (as root):"
[20:32] <entrusc> from the page
[20:32] <entrusc> I just downloaded the image from the website ...
[20:32] <entrusc> the whole linux image
[20:32] <gnarface> oh
[20:32] <gnarface> so it wasn't packaged?
[20:33] <gnarface> that may have been a mistake
[20:33] * _nitti_ (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Ping timeout: 248 seconds)
[20:33] <entrusc> obviously not ... I think I'll clone the git repo now :)
[20:33] <gnarface> yes, my advice assumed you had a normally installed kernel in the first place. either way you do want to get the kernel source from the same place you got the kernel binary though, yes.
[20:33] <entrusc> but there is a git package!
[20:34] <entrusc> define normally installed please.
[20:34] <gnarface> incidentally, why are you compiling your own kernel? is there something missing from the stock one?
[20:34] <entrusc> yes: I want to get the patch working from this page: http://spritesmods.com/?art=rpi_arcade&page=2
[20:34] <gnarface> a normally installed kernel is installed via apt, comes as a deb (like everything else normally installed) and shows up in both apt-cache search ^linux-image as well as dpkg -l linux-image*
[20:35] <entrusc> I already have the display here - but now I need the framebuffer driver
[20:35] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 244 seconds)
[20:36] <entrusc> gnarface: I know - in a normal debian this is the case - but in raspbian it seems to be different ...
[20:36] <entrusc> ... but my image is a few weeks old - maybe there is now a package ...
[20:36] <gnarface> entrusc: no i don't think its THAT much different in raspbian, i think you've just followed unofficial documentation and now you're off the beaten path
[20:38] <entrusc> no: this image is pretty much vanilla - just installed openjdk and thats it ...
[20:39] <entrusc> gnarface: are you developing for the raspbian kernel?
[20:40] <gnarface> entrusc: no, which is why i'm wrong about this apparently
[20:40] <gnarface> i don't appear to have a kernel package either
[20:40] <entrusc> ok - so you did fire up your pi eventually ;)
[20:40] <gnarface> yea sorry
[20:40] <entrusc> np
[20:41] * Yamba (~Yamba@31.25.23.229) Quit (Read error: Operation timed out)
[20:41] <gnarface> entrusc: its possible they just changed the package name; my stock /boot/kernel.img is in a package named raspberrypi-bootloader along with what appears to be all the other stock kernel modules
[20:41] <entrusc> are there some developers around here sometimes?
[20:42] <gnarface> entrusc: yes, usually in the evening on the western hemisphere
[20:42] <gnarface> entrusc: but do you have a raspberrypi-bootloader package? maybe the only significant thing different is the package is named something else
[20:42] <entrusc> gnarface: I also guessed that the bootloader might be the kernel - but still there was no source package - so it was not really useful for me ...
[20:43] <entrusc> gnarface: yes I have this: "ii raspberrypi-bootloader 1.20121025-1 armel "
[20:43] * satellit_e (~satellit@72.0.185.15) Quit (Ping timeout: 260 seconds)
[20:43] <gnarface> hmm. no source package for it?
[20:44] * Yamba (~Yamba@31.25.23.229) has joined #raspbian
[20:44] <entrusc> no - just the bootloader package ...
[20:46] <entrusc> I'm now cloning the kernel - it's about 120M - if I would just know what version 3.2.27+ is - there is just a 3.2.27 branch ...
[20:48] <gnarface> entrusc: 3.2.27+ sounds like a custom-patched version of 3.2.27 but i don't know
[20:48] <gnarface> entrusc: http://elinux.org/RPi_Kernel_Compilation is this what you're doing?
[20:49] <gnarface> entrusc: oh, and it even links to an explanation of the '+' marker: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=26616
[20:49] <gnarface> entrusc: that page looks like it would be informative to you
[20:49] * basti (~basti@xdsl-89-0-83-66.netcologne.de) has joined #raspbian
[20:49] <gnarface> it looks like its pretty straightforward and apparently there is NOT a kernel source package yet...
[20:49] <gnarface> sorry
[20:50] <entrusc> gnarface: yes - thanks a lot. I was just following the clone instructions from the stackexchange page ...
[20:50] <gordonDrogon> the current foundation kernel is 3.6.11+ fwiw ...
[20:50] <entrusc> gnarface: hehe ... np - thanks for your help anyways!
[20:51] <entrusc> gordonDrogon: problem is: I don't know what kernel the author of http://spritesmods.com/?art=rpi_arcade&page=2 used ...
[20:51] <gnarface> entrusc: no problem. that's a neat display solution; no extra logic board needed. you seen anything like that in a higher res?
[20:52] <gordonDrogon> doesn't really matter - all currentl kernels support SPI.
[20:52] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 256 seconds)
[20:52] <entrusc> gnarface: not yet - but I didn't really search for it - it's my first display experiment ... but as far as I understand it the framebuffer "hack" should also work for higher resolutions - but it would be slower then ...
[20:53] <gordonDrogon> doh - that's not an spi display. just been reading a thread on the forums about spi displays - eek :)
[20:53] <entrusc> gordonDrogon: yes: no SPI
[20:54] <gnarface> the ideal display would take video and power from HDMI and be at least 1024x768 in resolution
[20:54] <gnarface> but i haven't seen anything even close yet
[20:54] <entrusc> gordonDragon: as far as I understand it it just paints everything in RAM and copies the colors then to the display via a simple data bus ...
[20:54] <gordonDrogon> yes - that's what the display (and the other SPI ones) are doing.
[20:54] <entrusc> gnarface: I'm not sure if HDMI even provides enough power for that?!
[20:55] <entrusc> gordonDrogon: but SPI should be slower then a 8-bit wide bus, right?
[20:55] <gnarface> entrusc: i'm not even sure HDMI provides power. but i can dream right?
[20:55] * mythos (~mythos@unaffiliated/mythos) has joined #raspbian
[20:55] <gnarface> is there such a thing as a USB display device?
[20:56] <entrusc> gnarface: a friend of mine just claimed that it would a few days ago ...
[20:56] <gordonDrogon> entrusc, it depends - more on the protocol than anything else - the pi will do 32Mb/sec over SPI.
[20:56] <gnarface> if they have USB capture cards and soundcards you would think there would be usb displays too
[20:57] <entrusc> gordonDrogon: right. What SPI display are you reading about?
[20:57] <entrusc> gnarface: there are USB displays as far as I know - but I think that they are not USB powered ;)
[20:57] <gordonDrogon> http://www.raspberrypi.org/phpBB3/viewtopic.php?f=44&t=33251
[20:57] <gnarface> entrusc: DOH! well that ruins half the point
[20:58] * satellit_e (~satellit@72.0.185.15) has joined #raspbian
[20:58] <entrusc> gnarface: I know :(
[20:59] <entrusc> gordonDrogon: the display I bought seems to also support SPI: http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=181020782601#ht_3631wt_1186
[20:59] <entrusc> gordonDogon: at least it also has MISO and MOSI connections ...
[21:00] <gordonDrogon> and parallel.
[21:01] <entrusc> yes - both!
[21:01] <gnarface> here is what i really want to do; wire a bunch of old ram up and use it as swap space
[21:01] <entrusc> question is: is there a SPI driver already built in in the current distro?
[21:01] <gnarface> (mounted as ramdisk or something)
[21:02] <entrusc> gnarface: that's also a nice idea ... I think I read sth about a similar thing in the arduino forum somewhere ...
[21:02] <gnarface> if it could be done it would make a nice low-power but relatively high-speed suppliment to cheap flash
[21:03] <gnarface> and i got a ton of otherwise useless old ram just setting around
[21:03] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[21:06] <entrusc> gnarface: I think most ppl have a lot of old ram. That really is a good idea!
[21:09] <gnarface> hmm. i've seen old pc-100-era riser cards for non-bios-supported ram expansion back in the day
[21:10] <gnarface> i wonder if you could find something like that for slightly newer ram, or maybe a daugher card from a laptop ... then somehow wire it to usb as a disk. WAY over my skill level with a soldering iron
[21:10] <gnarface> i'm curious if its possible though
[21:10] <gnarface> think what you could do with 2-4GB of even volatile storage, if it could saturate a USB bus
[21:11] <entrusc> I thinks RAM is a simple bus system with x-bit connection and address lane - but that's just a guess :)
[21:11] <gnarface> really?
[21:11] <gnarface> i'm gonna have to ask around about this
[21:11] <gnarface> if you could direct wire ram chips to a usb bus without any connecting logic that would be fucking incredible
[21:12] <entrusc> yes you should - but as it has to be fast - and the layout of the RAM board's connectors also support that theory I think ...
[21:13] <entrusc> x pins: address, y pins value + a few control lanes ...
[21:13] <gnarface> hmm.
[21:13] <gnarface> in theory then you could even supply power to them separately
[21:13] <gnarface> so you could keep data on them while the pi was rebooting/off
[21:13] <gnarface> that might be going overboard
[21:14] <gnarface> but like, if you booted then copied everything into it
[21:14] <gnarface> then ran from it
[21:14] <gnarface> that could be a significant improvement in IO and overall user experience once its up
[21:15] <gnarface> even if it all goes away once you shut down again
[21:16] <entrusc> gnarface: yes. I just read in the german wikipedia: my theory is more or less accurate: control lanes, address lanes and data lanes ...
[21:16] <entrusc> (for some reason the english wiki does not have this section)
[21:18] <gnarface> hmmm
[21:18] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[21:24] <entrusc> gnarface: hehe ... whatever: thanks for your help I got to go now. But I think after some research on the net your project is quite doable! I wish you good luck with that! :) cu!
[21:25] <gnarface> hah. yea later on man.
[21:25] * entrusc (~entrusc@ppp-82-135-66-239.dynamic.mnet-online.de) Quit (Quit: HydraIRC -> http://www.hydrairc.com <- Like it? Visit #hydrairc on EFNet)
[21:38] * Datalink|Elsewhe (~Datalink@unaffiliated/datalink) has joined #raspbian
[21:41] * Datalink|Zzz (~Datalink@unaffiliated/datalink) Quit (Ping timeout: 256 seconds)
[21:50] * hsp (~holgi@77-20-198-147-dynip.superkabel.de) Quit (Remote host closed the connection)
[21:50] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Remote host closed the connection)
[21:52] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[21:52] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Remote host closed the connection)
[21:54] * PasNox (~pasnox@2a01:e35:8b4f:f2a0:b18f:473a:b3ba:f664) Quit (Quit: Leaving - Best cross platform IDE http://monkeystudio.org)
[21:54] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[21:55] * JohnWayne__ (~quassel@209-58-242-194.static-ip.telepacific.net) has joined #raspbian
[21:58] * marvinstuart (~marvinstu@cpe-184-57-132-151.cinci.res.rr.com) Quit (Ping timeout: 260 seconds)
[22:01] * lupinedk is now known as Lupinedk
[22:06] * basti (~basti@xdsl-89-0-83-66.netcologne.de) Quit (Ping timeout: 256 seconds)
[22:08] * kazoo (brandon@cpe-76-90-92-84.socal.res.rr.com) has joined #raspbian
[22:10] * kazoo (brandon@cpe-76-90-92-84.socal.res.rr.com) Quit ()
[22:14] * Shinda (~Loup@60.33-136-217.adsl-dyn.isp.belgacom.be) has joined #raspbian
[22:15] * Shinda (~Loup@60.33-136-217.adsl-dyn.isp.belgacom.be) Quit (Changing host)
[22:15] * Shinda (~Loup@unaffiliated/toroop) has joined #raspbian
[22:22] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 252 seconds)
[22:27] * [SkG] (~sconde@unaffiliated/skg/x-897332) Quit (Read error: Connection reset by peer)
[22:27] * FR^2 (~fr@krlh-5f736554.pool.mediaWays.net) Quit (Quit: und weg...)
[22:39] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Remote host closed the connection)
[22:42] * satellit (~satellit@72.0.185.15) Quit (Ping timeout: 252 seconds)
[22:43] * Shinda (~Loup@unaffiliated/toroop) Quit (Read error: Connection reset by peer)
[22:43] * Shinda (~Loup@60.33-136-217.adsl-dyn.isp.belgacom.be) has joined #raspbian
[22:43] * Shinda (~Loup@60.33-136-217.adsl-dyn.isp.belgacom.be) Quit (Changing host)
[22:43] * Shinda (~Loup@unaffiliated/toroop) has joined #raspbian
[22:48] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) has joined #raspbian
[22:49] * Shinda_ (~Loup@unaffiliated/toroop) has joined #raspbian
[22:50] * twolife is now known as twolife`
[22:50] * Shinda (~Loup@unaffiliated/toroop) Quit (Read error: Connection reset by peer)
[22:52] * Multbrelch (~Multbrelc@146.19.69.86.rev.sfr.net) has joined #raspbian
[22:58] * Multbrelch (~Multbrelc@146.19.69.86.rev.sfr.net) Quit (Quit: Leaving)
[23:01] * int3nz0r (~int3nz0r@86.86.66.141) Quit (Quit: Computer has gone to sleep.)
[23:19] * Skelli is now known as zZz_Skelli
[23:24] * bertrik (~quassel@rockbox/developer/bertrik) Quit (Ping timeout: 276 seconds)
[23:27] * brguy (~brguy@187.39.188.34) has joined #raspbian
[23:27] * brguy (~brguy@187.39.188.34) Quit (Changing host)
[23:27] * brguy (~brguy@unaffiliated/brguy) has joined #raspbian
[23:28] * brguy (~brguy@unaffiliated/brguy) Quit (Client Quit)
[23:35] * wiiguy (~fake@unaffiliated/wiiguy) Quit (Quit: I just broke my connection, but no worries, we can rebuild it. We have the technology.)
[23:38] * meti (~meti@gateway/tor-sasl/meti) Quit (Remote host closed the connection)
[23:39] * meti (~meti@gateway/tor-sasl/meti) has joined #raspbian
[23:52] * jdawg (~Adium@ip70-190-57-19.ph.ph.cox.net) Quit (Ping timeout: 240 seconds)

These logs were automatically created by RaspbianLogBot on irc.freenode.net using the Java IRC LogBot.