#raspbian IRC Log

Index

IRC Log for 2013-08-07

Timestamps are in GMT/BST.

[0:02] * bertrik (~quassel@rockbox/developer/bertrik) Quit (Ping timeout: 256 seconds)
[0:25] * tinti (~tinti@pdpc/supporter/student/tinti) Quit (Remote host closed the connection)
[0:26] * passstab (~coplon@c-68-80-38-97.hsd1.pa.comcast.net) has joined #raspbian
[0:29] * vagrantc (~vagrant@freegeek/vagrantc) Quit (Quit: leaving)
[0:32] * PhotoJim (~Jim@devonport.ip6.photojim.ca) has joined #raspbian
[0:41] * Skelli (~Skelli@p5B3E0BDE.dip0.t-ipconnect.de) Quit (Ping timeout: 268 seconds)
[0:41] * zZz_Skelli (~Skelli@p5B3E0B3B.dip0.t-ipconnect.de) has joined #raspbian
[0:41] * zZz_Skelli is now known as Skelli
[0:50] * techman2 (~gj@unaffiliated/techman2) has joined #raspbian
[0:54] * optimusprimem (~globo_com@unaffiliated/optimusprimem) Quit (Quit: Saindo)
[0:55] * optimusprimem (~Ubuntu@177.53.180.133) has joined #raspbian
[0:55] * optimusprimem (~Ubuntu@177.53.180.133) Quit (Changing host)
[0:55] * optimusprimem (~Ubuntu@unaffiliated/optimusprimem) has joined #raspbian
[1:08] * harris (~harris@unaffiliated/harris) has joined #raspbian
[1:14] * twikz (~twikz@client-88b4f61b360542db.pool.twikz.com) Quit (Remote host closed the connection)
[1:15] * harris (~harris@unaffiliated/harris) Quit (Quit: Leaving)
[1:23] * darkbasic (~quassel@niko.linuxsystems.it) Quit (Read error: Connection reset by peer)
[1:23] * darkbasic (~quassel@niko.linuxsystems.it) has joined #raspbian
[1:24] * [1]biacz (~biacz@p5DDF95F9.dip0.t-ipconnect.de) has joined #raspbian
[1:27] * biacz (~biacz@p5DDF96B4.dip0.t-ipconnect.de) Quit (Ping timeout: 245 seconds)
[1:27] * [1]biacz is now known as biacz
[1:56] * petersaints (~quassel@a95-94-157-119.cpe.netcabo.pt) Quit (Remote host closed the connection)
[1:56] * petersaints (~quassel@a95-94-157-119.cpe.netcabo.pt) has joined #raspbian
[2:01] * Chat9180 (~Chat9180@69.41.182.131) has joined #raspbian
[2:01] <- *Chat9180* Hi guys
[2:01] * Chat9180 (~Chat9180@69.41.182.131) Quit (Client Quit)
[2:16] * Mogwai (~mogwai@206.248.185.182) has joined #raspbian
[2:34] * cads (~m@adsl-74-160-112-174.asm.bellsouth.net) Quit (Ping timeout: 264 seconds)
[2:35] * verysoftoiletppr (~verysofto@unaffiliated/softtoiletpaper) Quit (Quit: verysoftoiletppr)
[2:36] * verysoftoiletppr (~verysofto@unaffiliated/softtoiletpaper) has joined #raspbian
[2:48] * txt-file1 (~txt@i59F6C562.versanet.de) has joined #raspbian
[2:50] * txt-file2 (~txt@i59F6AE3D.versanet.de) Quit (Ping timeout: 264 seconds)
[3:01] * ReggieUK (ReggieUK@2.216.66.55) Quit ()
[3:06] * verysoftoiletppr (~verysofto@unaffiliated/softtoiletpaper) Quit (Quit: verysoftoiletppr)
[3:07] * passstab (~coplon@c-68-80-38-97.hsd1.pa.comcast.net) Quit (Remote host closed the connection)
[3:30] * joshskidmore (~joshskidm@chat.josh.sc) Quit (Ping timeout: 240 seconds)
[3:32] * joshskidmore (~joshskidm@chat.josh.sc) has joined #raspbian
[3:41] * mike_t (~mike@pluto.dd.vaz.ru) has joined #raspbian
[3:51] * kroq-gar78 (~kroq-gar7@pool-71-170-199-93.dllstx.fios.verizon.net) has joined #raspbian
[3:56] * kroq-gar78 (~kroq-gar7@pool-71-170-199-93.dllstx.fios.verizon.net) Quit (Remote host closed the connection)
[3:59] * kroq-gar78 (~kroq-gar7@pool-71-170-199-93.dllstx.fios.verizon.net) has joined #raspbian
[4:35] * techman2 (~gj@unaffiliated/techman2) Quit (Quit: leaving)
[4:35] * sologuy3 (768b770a@gateway/web/freenode/ip.118.139.119.10) has joined #raspbian
[4:37] * sologuy3 (768b770a@gateway/web/freenode/ip.118.139.119.10) Quit (Client Quit)
[4:41] * Mufamba (~quassel@31-19-16-111-dynip.superkabel.de) has joined #raspbian
[4:45] * Lupinedk is now known as lupinedk
[4:45] * Mufamba (~quassel@31-19-16-111-dynip.superkabel.de) Quit (Ping timeout: 245 seconds)
[4:56] * Yamba (~Yamba@31.25.23.229) Quit (Read error: Connection reset by peer)
[5:01] * Yamba (~Yamba@31.25.23.229) has joined #raspbian
[5:13] * kroq-gar78 (~kroq-gar7@pool-71-170-199-93.dllstx.fios.verizon.net) Quit (Ping timeout: 240 seconds)
[5:15] * twikz (~twikz@client-d13fdedc8ee23745.pool.twikz.com) has joined #raspbian
[5:19] * twikz (~twikz@client-d13fdedc8ee23745.pool.twikz.com) Quit (Ping timeout: 245 seconds)
[5:20] * pitelpan (~panagioti@unaffiliated/pitelpan) Quit (Ping timeout: 240 seconds)
[5:21] * pitelpan (~panagioti@79.103.48.156.dsl.dyn.forthnet.gr) has joined #raspbian
[5:24] * grache28_ (~grache28@c-76-106-131-0.hsd1.fl.comcast.net) Quit (Ping timeout: 268 seconds)
[5:41] * baloond (~heetrow@S0106602ad098373d.ed.shawcable.net) has joined #raspbian
[5:41] * baloond (~heetrow@S0106602ad098373d.ed.shawcable.net) Quit (Client Quit)
[5:51] * StathisA (~StathisA@athedsl-370993.home.otenet.gr) has joined #raspbian
[5:56] * mike_t (~mike@pluto.dd.vaz.ru) Quit (Remote host closed the connection)
[6:01] * mike_t (~mike@pluto.dd.vaz.ru) has joined #raspbian
[6:08] * txt-file1 (~txt@i59F6C562.versanet.de) Quit (Quit: Leaving.)
[6:10] * piney0 (~piney0@unaffiliated/piney0) Quit (Read error: Connection reset by peer)
[6:10] * piney0 (~piney0@unaffiliated/piney0) has joined #raspbian
[6:30] * hsp (~holgi@77-21-12-114-dynip.superkabel.de) has joined #raspbian
[6:35] * \\Mr_C\\ (mrc@adsl-98-89-35-42.mgm.bellsouth.net) Quit ()
[6:35] * StathisA (~StathisA@athedsl-370993.home.otenet.gr) Quit (Ping timeout: 246 seconds)
[6:37] * lupinedk is now known as Lupinedk
[6:44] * larsgk (~lgk@212-60-115-150.ip.cust.zensystems.net) has joined #raspbian
[6:46] * themill (~stuart@unaffiliated/themill) Quit (Ping timeout: 252 seconds)
[6:47] * rela_ (~x@pD9E56566.dip0.t-ipconnect.de) has joined #raspbian
[6:52] * dexta (D3XTA@this.is.my.ircbouncer.com) Quit (Ping timeout: 256 seconds)
[6:54] <hifi> jerd: I think I have my first test image working now
[6:56] * blkaway is now known as blkhawk
[7:01] * techman2 (~gj@unaffiliated/techman2) has joined #raspbian
[7:10] * flinder (~flinder@app5.chatmosphere.org) has joined #raspbian
[7:10] <- *flinder* Jug
[7:11] * flinder (~flinder@app5.chatmosphere.org) Quit (Client Quit)
[7:23] * techman2 (~gj@unaffiliated/techman2) Quit (Quit: leaving)
[7:34] * Guest9564 (~Guest9564@69.41.182.137) has joined #raspbian
[7:35] <Guest9564> hello :)
[7:35] * Guest9564 (~Guest9564@69.41.182.137) Quit (Client Quit)
[7:48] * BManojlovic (~steki@opensuse/member/bmanojlovic) has joined #raspbian
[7:50] * bob_binz (~bob_binz@cpc2-stkp10-2-0-cust744.10-2.cable.virginmedia.com) has joined #raspbian
[7:59] * rela_ (~x@pD9E56566.dip0.t-ipconnect.de) Quit (Read error: Connection reset by peer)
[8:02] * taza (~zap@unaffiliated/taza) Quit ()
[8:08] * twolife` is now known as twolife
[8:12] * lek__ (~pi@dhcp-077-248-094-111.chello.nl) Quit (Ping timeout: 240 seconds)
[8:16] * Shanx (~Shanx@unaffiliated/shanx) has joined #raspbian
[8:16] <Shanx> hello
[8:16] <Shanx> I’d like to start my RP on tty
[8:16] <Shanx> I have edited /etc/inittab
[8:16] <Shanx> and modified « The default runlevel »
[8:16] <Shanx> id:2:initdefault: by defaults
[8:17] <Shanx> I have try with 1, it booted on tty… but in root :/
[8:17] * FR^2 (~frquadrat@farsquare.de) has joined #raspbian
[8:19] <Shanx> oh, I found sudo raspi-config
[8:19] <Shanx> I try
[8:19] <hifi> are you going to run it headless
[8:20] <Shanx> I didn’t work
[8:20] <Shanx> *It
[8:20] <hifi> as a server of somekind
[8:20] <Shanx> yes, something like that
[8:20] <hifi> https://github.com/hifi/raspbian-ua-netinst use that instead
[8:21] <Shanx> so I used sudo raspi-config to disable automatic boot to desktop
[8:24] * Mogwai` (~mogwai@206-248-185-182.dsl.teksavvy.com) has joined #raspbian
[8:24] * nitdega_ (nitdega@2602:306:2423:7481:dddd:64e0:7b08:4a5e) has joined #raspbian
[8:25] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[8:26] * Mogwai (~mogwai@206.248.185.182) Quit (Read error: Connection reset by peer)
[8:27] * XpineX (~XpineX@2-104-249-182-static.dk.customer.tdc.net) Quit (Ping timeout: 240 seconds)
[8:27] * XpineX (~XpineX@2-104-249-182-static.dk.customer.tdc.net) has joined #raspbian
[8:27] * nitdega (nitdega@2602:306:2423:7481:dddd:64e0:7b08:4a5e) Quit (Ping timeout: 240 seconds)
[8:43] * Nik05 (~Nik05@unaffiliated/nik05) has joined #raspbian
[8:45] * nitdega_ is now known as nitdega
[8:50] * bertrik (~quassel@rockbox/developer/bertrik) has joined #raspbian
[8:53] <Shanx> Ok, now it works
[8:53] * Broken_Biscuit (~Oliver@94-192-128-116.zone6.bethere.co.uk) has joined #raspbian
[8:53] <Shanx> Now I’d like to have some scripts launch when booting
[8:54] <Shanx> I have put them in /etc/init.d, and when I do sudo service MY_SCRIPT start|restart it works, but they aren’t launched automatically.
[8:54] <Shanx> I have thy to put a symbolical link between /etc/init.d/script and /etc/rc2.d, but… no :(
[9:02] <BManojlovic> Shanx: update-rc.d
[9:04] <Odie_> thats the name of the link under rc2.d?
[9:09] <Shanx> BManojlovic, done
[9:09] <Shanx> doesn’t work
[9:11] <Shanx> Odie_, I don’t understand
[9:11] <Shanx> when I do update-rc.d my_script defaults, it doesn’t make any link in rc2.d. Is it normal ?
[9:14] <BManojlovic> did you done enable?
[9:17] * thopiekar (~quassel@2001:638:50a:32:225:d3ff:fe71:dca1) has joined #raspbian
[9:21] <hifi> jerd: the new image is up btw.
[9:23] <Shanx> BManojlovic, I don’t think so. How do I enable ?
[9:24] * rootcoma (~rootcomaa@unaffiliated/rootcoma) has joined #raspbian
[9:26] <Shanx> sudo update-rc.d script enable didn’t change anything
[9:29] <Odie_> Shanx: ls -l /etc/rc2.d
[9:30] <Odie_> whats the name of the script?
[9:30] * steki (~steki@opensuse/member/bmanojlovic) has joined #raspbian
[9:30] * BManojlovic (~steki@opensuse/member/bmanojlovic) Quit (Ping timeout: 246 seconds)
[9:30] <Odie_> eg. it starts with capital S right?
[9:30] <Odie_> like S99mycoolscript
[9:31] <Shanx> nop
[9:31] <Odie_> there is your problem then
[9:31] <Shanx> Its name is datalogger-serveur
[9:31] <Odie_> S99datalogger-servur
[9:31] <Odie_> S = start when entering runlevel
[9:31] <Odie_> 99 = sequence number when the script should be ran
[9:32] <Odie_> 99 = after the rest of the basic stuff has ben ran
[9:32] <Odie_> alternatively you can edit rc.local to run your script directly too
[9:33] <Odie_> and you can remember, when you are looking solutions, you can consider raspbian as debian
[9:33] <Odie_> same advices works
[9:33] <Odie_> = more help on the internet
[9:33] <Shanx> yeah, but on #debian they said I should go here :p
[9:33] <Odie_> you should not have mentioned that its raspberry
[9:34] <Odie_> there are some specific issues with the raspberry, that relate to vidoe drivers, booting and lower amount of memory
[9:34] * BManojlovic (~steki@opensuse/member/bmanojlovic) has joined #raspbian
[9:35] <Odie_> but mostly its just regular debian box
[9:35] * steki (~steki@opensuse/member/bmanojlovic) Quit (Ping timeout: 246 seconds)
[9:35] <Shanx> Odie_, it didn’t work :(
[9:36] <Shanx> ls -l /etc/rc2.d shows the link
[9:36] <Odie_> compare it to the other scirpts?
[9:36] <Shanx> but when I reboot it don’t work
[9:36] <Shanx> I have taken the model
[9:36] <hifi> is your file executable
[9:36] <Shanx> yeah
[9:36] <hifi> and the link is properly made
[9:37] <hifi> no broken relative path
[9:37] <Shanx> It’ ok
[9:37] <Shanx> *It’s
[9:37] <Odie_> how did you name the link?
[9:38] <Shanx> It was made by update-rc.d
[9:38] <Shanx> its name is S03S99datalogger-serveur
[9:39] <Shanx> (because I have name the script S99datalogger-serveur)
[9:40] <Odie_> most simple solution is to add the script at the end of: /etc/rc.local
[9:40] <Odie_> I prefer to add some echo or debug info so that I can see what its trying to do
[9:41] <Odie_> its not that hard to mess up with environment variables etc so some commands may not work
[9:41] <Odie_> PATH would be simple one
[9:47] <Shanx> Odie_, it works when I use rc.local. BUT, my script is a daemon, so it monopolize the tty…
[9:51] * Broken_Biscuit (~Oliver@94-192-128-116.zone6.bethere.co.uk) Quit (Read error: Connection reset by peer)
[9:51] <Shanx> And I can’t close it… :/
[9:52] <Odie_> :-p
[9:52] <Odie_> so it works now but you cant log in to console?
[9:53] * Broken_Biscuit (~Oliver@94-192-128-116.zone6.bethere.co.uk) has joined #raspbian
[9:54] <Shanx> yes
[9:54] <Shanx> and I can’t do anything, like edit rc.local
[9:54] <Shanx> I’m totally blocked :s
[9:54] * odin_ (~Odin@93-97-168-38.zone5.bethere.co.uk) Quit (Quit: Leaving)
[9:55] <Shanx> Shit.
[9:58] <Shanx> Happily I can use ssh
[10:01] <Odie_> then just edit it and make it not hog the tty
[10:03] <Shanx> I have delete the line but it is still launched…
[10:03] <Odie_> your script finally works? :)
[10:03] <Odie_> in rc2.d
[10:04] <Shanx> It seems so
[10:04] <Shanx> but it monopolize the tty, so it’s not cool
[10:04] <Odie_> you need to start the daemon to background
[10:04] <Shanx> yes
[10:04] <Odie_> and close the tty from it
[10:04] <Shanx> how can I do this ?
[10:04] <Odie_> backgrounding is just daemon &
[10:04] <Odie_> to the script
[10:05] <Odie_> this is the basic linux stuff I was trying to hint you towards at first
[10:05] <Shanx> this is a python script
[10:06] <Shanx> where do I put the & ? In /etc/init.d/script ?
[10:06] <Odie_> if you want to do that in python, you need to make it daemonize itself
[10:06] <Odie_> I think its something like fork() and closing the outputs and letting the child live even thought the parent finishes
[10:07] <Odie_> or
[10:07] <Odie_> you can make a shell script that does it for you
[10:07] <Odie_> shell script version: #!/bin/sh
[10:07] <Odie_> /home/pi/mycool-python.py &
[10:09] <Odie_> if you dont want to see the output from the program on your tty, you can modify the last line a bit
[10:10] * twolife is now known as twolife`
[10:10] <Odie_> /home/pi/mycool-python.py > /dev/null 2>&1 &
[10:10] <Odie_> http://www.netzmafia.de/skripten/unix/linux-daemon-howto.html
[10:11] <Odie_> there is instructions how you make daemon from the python directly
[10:20] <Shanx> thanks Odie_, it works well :)
[10:21] * Broken_Biscuit (~Oliver@94-192-128-116.zone6.bethere.co.uk) Quit (Read error: Connection reset by peer)
[10:21] * Broken_Biscuit (~Oliver@94-192-128-116.zone6.bethere.co.uk) has joined #raspbian
[10:25] * Broken_Biscuit (~Oliver@94-192-128-116.zone6.bethere.co.uk) Quit (Read error: Connection reset by peer)
[10:29] * Broken_Biscuit (~Oliver@94-192-128-116.zone6.bethere.co.uk) has joined #raspbian
[10:49] * odin_ (~Odin@2a01:348:261:32:2967:a0d7:2a73:71f0) has joined #raspbian
[10:50] * kensanata (~user@fsf/member/kensanata) has joined #raspbian
[10:52] * hsp (~holgi@77-21-12-114-dynip.superkabel.de) Quit (Remote host closed the connection)
[10:53] * Mogwai` is now known as Mogwai
[11:05] * verysoftoiletppr (~verysofto@unaffiliated/softtoiletpaper) has joined #raspbian
[11:21] * TheJH (znc@thejh.net) Quit (Excess Flood)
[11:22] * TheJH (znc@thejh.net) has joined #raspbian
[11:22] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Quit: Computer has gone to sleep.)
[11:25] * nils_2_ (~nils_2@unaffiliated/nils-2/x-2480262) has joined #raspbian
[11:25] * ReggieUK (ReggieUK@2.216.66.55) has joined #raspbian
[11:27] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) Quit (Ping timeout: 268 seconds)
[11:30] * nils_2_ is now known as nils_2
[11:32] * Lupinedk is now known as lupinedk
[11:34] * kensanata (~user@fsf/member/kensanata) Quit (Remote host closed the connection)
[11:35] * pitelpan (~panagioti@79.103.48.156.dsl.dyn.forthnet.gr) Quit (Changing host)
[11:35] * pitelpan (~panagioti@unaffiliated/pitelpan) has joined #raspbian
[11:37] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[11:39] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Client Quit)
[11:41] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[11:43] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Client Quit)
[11:44] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[11:46] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Client Quit)
[11:47] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[11:49] * tinti (~tinti@pdpc/supporter/student/tinti) has joined #raspbian
[11:50] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Client Quit)
[11:51] * BCMM (~BCMM@unaffiliated/bcmm) has joined #raspbian
[11:51] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[11:54] * twolife` is now known as twolife
[11:56] * slystone is now known as kick
[12:01] * kick is now known as slystone
[12:14] * ragedragon (4ed6941b@gateway/web/freenode/ip.78.214.148.27) has joined #raspbian
[12:53] * twikz (~twikz@manz-590f1e16.pool.mediaWays.net) has joined #raspbian
[12:55] <Shanx> Using Windows, how can I make a backup of my raspbian ?
[12:55] * BCMM (~BCMM@unaffiliated/bcmm) Quit (Quit: Konversation terminated!)
[12:56] <Shanx> I’d like to have an iso with my personnal file, installation and config
[12:56] <Shanx> in order to install it on other RPi
[12:58] * twikz (~twikz@manz-590f1e16.pool.mediaWays.net) Quit (Ping timeout: 276 seconds)
[12:58] <thopiekar> Shanx: well, if you were using Linux you can make a Image very fast..
[12:58] <thopiekar> using dd.. You can google about dd for windows..
[12:58] <thopiekar> think there was a project about that
[12:59] <Shanx> thopiekar, the problem is that my actual card has a size of 32Go.
[12:59] <Shanx> So when I make an image using dd, I have an image of ~30 Go
[13:00] <Shanx> even if I use only 2,5 Go on the card
[13:00] * ragedragon (4ed6941b@gateway/web/freenode/ip.78.214.148.27) Quit (Ping timeout: 250 seconds)
[13:01] <thopiekar> if you were using dd on linux there would be the possibility to compress the data on-fly, meaning that you backup you image directly into a 7z file using strong compression..
[13:02] <thopiekar> you also might think about using dd to create this 32GB image and use a tool to shirk this partition into it's minimal size
[13:02] <hifi> it would took quite some time to read a 32GB image and compress it with lzma on-the-fly
[13:02] <hifi> take*
[13:03] <hifi> plain old gzip will provide faster compression and reasonable file size
[13:03] <thopiekar> got to leave now.. see yaa
[13:04] * thopiekar (~quassel@2001:638:50a:32:225:d3ff:fe71:dca1) Quit (Remote host closed the connection)
[13:04] <Odie_> Shanx, get virtualiztaion software, and install linux into that
[13:05] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Quit: Computer has gone to sleep.)
[13:05] <Odie_> my favourite is vmware player, free and has all the features you'd need when you are dealing with linux desktop setup
[13:06] <hifi> virtualbox is also open source
[13:06] <Shanx> Odie_, and when you have linux you use dd ?
[13:06] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[13:06] <Odie_> yes
[13:06] <Odie_> and you can mount the card
[13:06] <Odie_> and edit files
[13:06] <Shanx> dd copy only what is actually used and not ALL the card ?
[13:06] * \\Mr_C\\ (mrc@adsl-98-89-69-176.mgm.bellsouth.net) has joined #raspbian
[13:06] <Odie_> update files
[13:07] <Odie_> it will take the entire card, you can gzip it if you like
[13:07] <Odie_> then it will take less space
[13:07] <Shanx> The fact is that now I have a 32 Go card
[13:07] <Shanx> so the image will be around 30 Go
[13:07] <Shanx> but after I’d like to put it in a 4 Go card
[13:08] <Shanx> because the system only uses 2,5 Go
[13:08] <hifi> then you need to shrink it as thopiekar said
[13:08] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Client Quit)
[13:08] <Odie_> the good part here is that you can take copy of the filesystem with dd
[13:08] <Odie_> and do the magic operations to that image
[13:08] <Odie_> instead of the actual disk
[13:09] <Odie_> linux allows you to mount that image as a filesystem etc
[13:09] <Odie_> yo ushould be able to just copy the files to new media
[13:09] <Odie_> and setup it so that it boots
[13:09] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[13:10] <Odie_> but I'm not familiar of the raspberry boot mechanic, so I don't know how that needs to be setup
[13:10] <hifi> it just need the partitions to have the proper files
[13:10] <hifi> so there is no special mbr or any magic
[13:10] <Odie_> ext2 filesystem?
[13:11] <hifi> the first partition needs to be fat32 with the firmware and bootloader
[13:11] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Client Quit)
[13:11] <Odie_> and you can just copy those over from the 1st card?
[13:11] <hifi> yup, create the partitions and copy data
[13:12] <hifi> or just shrink the image and dd it in as you also suggested, but that's more complicated
[13:19] * mike_t (~mike@pluto.dd.vaz.ru) Quit (Remote host closed the connection)
[13:25] * jinie (~jinie@2a00:f10:103:201:ba27:ebff:fe3b:4af) Quit (Quit: ZNC - http://znc.in)
[13:28] * jinie (~jinie@2a00:f10:103:201:ba27:ebff:fe3b:4af) has joined #raspbian
[13:28] * rela (~x@pdpc/supporter/active/rela) has joined #raspbian
[13:33] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[13:35] * laurent\ (~laurent@unaffiliated/laurent/x-4048133) Quit (Ping timeout: 264 seconds)
[13:37] * laurent\ (~laurent@unaffiliated/laurent/x-4048133) has joined #raspbian
[13:40] * themill (~stuart@unaffiliated/themill) has joined #raspbian
[13:48] * grache28_ (~grache28@c-76-106-131-0.hsd1.fl.comcast.net) has joined #raspbian
[13:53] * cads (~m@adsl-74-160-112-174.asm.bellsouth.net) has joined #raspbian
[13:57] * cads (~m@adsl-74-160-112-174.asm.bellsouth.net) Quit (Max SendQ exceeded)
[13:57] * rela (~x@pdpc/supporter/active/rela) Quit (Read error: Connection reset by peer)
[13:57] * rela (~x@pdpc/supporter/active/rela) has joined #raspbian
[13:58] * cads (~m@adsl-74-160-112-174.asm.bellsouth.net) has joined #raspbian
[13:58] <Shanx> Odie_, http://raspberrypi.stackexchange.com/questions/8885/image-of-the-system-to-use-it-on-smaller-sd-card
[13:59] <Shanx> Here are all the clues
[14:00] <Odie_> just make parititions to the 2nd card
[14:00] <Odie_> and copy the files over
[14:00] <Odie_> you are done
[14:01] * nicdev (user@2600:3c03::f03c:91ff:fedf:4986) has joined #raspbian
[14:01] <Shanx> how can I copy the files ?
[14:02] <Odie_> on the vfat parition that should not be issue
[14:02] <Shanx> so…
[14:02] <Odie_> mount the partition
[14:02] * ragedragon (4ed6941b@gateway/web/freenode/ip.78.214.148.27) has joined #raspbian
[14:03] <Odie_> cp -r /mntpoint1 /mntpoint2
[14:03] <Shanx> but on wich computer ?
[14:04] <Odie_> seems that you are not too familiar with linux
[14:04] <Odie_> so whats the exact thing you want to happen?
[14:05] <Odie_> install raspberry to smaller card and copy your home directory there?
[14:05] <Shanx> Not really.
[14:07] <Shanx> I have a raspbian with a particuliar configuration (script while booting) and some packages installed (for python2 and python3).
[14:07] <Odie_> if you dont know how to copy files over from filesystem to another
[14:07] <Odie_> maybe it would be easier for you to just install fresh set of rapsbian and copy those 10 files you modified manually?
[14:07] <Odie_> like over scp
[14:08] <Shanx> I’d like – in the better case – have a simple image to install it with win32 disk imager
[14:09] <Shanx> the thing is that this is not for me
[14:09] <Shanx> that’s why it should be better to have an image we can use out-of-the-box
[14:10] <Odie_> and would it be hard to make it like how i describe it?
[14:10] <Odie_> or you dont have 4G card?
[14:10] <Odie_> but you want 4G image?
[14:11] <Shanx> I have a 4G card
[14:11] <Odie_> so install os there, copy those 10 files over
[14:11] <Odie_> take image
[14:11] <Odie_> and you have 4G image?
[14:11] <Shanx> there are more than 10 files…
[14:11] <Shanx> packages, configuration files…
[14:12] <Odie_> man dump ; man restore
[14:12] <hifi> maybe you have the wrong approach
[14:12] <Shanx> I have also a setup for python
[14:12] <Odie_> or man cpio
[14:12] <Odie_> = take backup from the files and store them over ssh to another box
[14:13] <Odie_> you have usb sdcard reader?
[14:13] <Odie_> does that work on your raspberry?
[14:14] * nickoe (nicko@2001:700:300:7:4c27:ab6a:c42c:9dfb) Quit (Quit: No Ping reply in 180 seconds.)
[14:14] * nickoe (nicko@caracal.stud.ntnu.no) has joined #raspbian
[14:14] <Odie_> so you could dump |restore the files directly on the raspberry
[14:17] <Shanx> No, I don’t have usb sdcard reader
[14:19] <hifi> so how did you image the card in the first place?
[14:19] <Shanx> I use an other computer with Windows
[14:19] <Shanx> and win32 Disk Imager
[14:19] <hifi> the reader is integrated?
[14:21] <Shanx> yes
[14:24] <hifi> ok
[14:25] * rela (~x@pdpc/supporter/active/rela) Quit (Read error: Connection reset by peer)
[14:27] * mike_t (~mike@80.234.119.11) has joined #raspbian
[14:29] * twikz (~twikz@client-010660dd27a5e579.pool.twikz.com) has joined #raspbian
[14:32] <Odie_> laptop? it might be usb device which would allow vmware to attach it to linux vritual
[14:33] <Shanx> I have an other laptop with linux
[14:33] <Odie_> with sdcard reader?
[14:33] <Shanx> (Archlinux)
[14:33] <Shanx> No.
[14:33] <Shanx> this is the problem.
[14:33] <Odie_> actually
[14:33] <Odie_> hmmh, can fdisk make partitions to file?
[14:34] <PhotoJim> you can just dd the first 512 bytes of the raw device to save the partitions.
[14:34] <Odie_> so you could make 3G file with dd and add partitions to it and copy the files over from the raspbian install
[14:34] <Odie_> and you could copy that fle then to windows and use it as the base
[14:36] <Odie_> one additional way is to intall basic raspbian to the smaller sdcard
[14:36] * BManojlovic (~steki@opensuse/member/bmanojlovic) Quit (Ping timeout: 246 seconds)
[14:36] <Odie_> boot with the larger on the raspbian and copy files over to the linux-laptop via dump 0f - | ssh dd of=backup
[14:36] <Odie_> and then swap the smaller card to the raspberry and do the reverse on that
[14:37] <Shanx> How can I do the reverse ?
[14:37] <Odie_> ssh laptop dd if=backup | restore fx -
[14:37] <Shanx> There is no system installed on the smaller card
[14:37] <Shanx> There is no system installed on the smaller card
[14:37] <Odie_> thats easy to fix
[14:37] <Odie_> isn't it?
[14:38] <Shanx> So I install Raspbian, and then I restore the bachup ?
[14:38] <Shanx> It’s not really logical…
[14:38] <Odie_> your problem is that you try to hammer nails with screwdriver
[14:38] <Odie_> (fiddle around linux installation on sdcard using windows)
[14:39] <hifi> Odie_: yes
[14:39] * LucasCozy (~LucasCozy@unaffiliated/lucascozy) Quit (Quit: Leaving)
[14:39] <hifi> that's how I create raspbian-ua-netinst images
[14:40] * LucasCozy (~LucasCozy@unaffiliated/lucascozy) has joined #raspbian
[14:40] <Odie_> (the command line options are from my memory, I haven't used dump/restore in 6years or so)
[14:52] * hid3 (~arnoldas@78.157.71.116) has joined #raspbian
[14:53] <hid3> Hello everyone. Any ideas if I can monitor some pins for resistance and take some actions based on it, e.g. execute a command or write a file? In fact I need to monitor an UPS. It shorts two pins when the power failure happens.. Any clues?
[14:55] <Odie_> you are looking info for gpio pins I take it
[14:55] <Odie_> I think those allow digital input only though
[14:57] <hid3> Oh.. Bad..
[14:57] <hid3> So basically it can't monitor just two of the GPIO pins shorted (or open), right?
[14:58] <Odie_> well, that sounds pretty digital to me
[15:00] * BManojlovic (~steki@opensuse/member/bmanojlovic) has joined #raspbian
[15:02] * blkhawk is now known as blkaway
[15:02] * OliverJW (~Oliver@94-192-128-116.zone6.bethere.co.uk) has joined #raspbian
[15:04] <hid3> Okay. Simpliest thing is to see if Raspberry can see say +5V or +3.3V on some of the GPIO pins. Any ideas if/how can I monitor that?
[15:04] <hifi> you can only monitor shorting as Odie_ said
[15:04] * piney0 (~piney0@unaffiliated/piney0) Quit (Read error: Connection reset by peer)
[15:05] * piney0 (~piney0@unaffiliated/piney0) has joined #raspbian
[15:06] <Odie_> if you lookup on gpio on search engines, you should find it easily how they are read
[15:06] * BManojlovic (~steki@opensuse/member/bmanojlovic) Quit (Ping timeout: 246 seconds)
[15:06] <Odie_> and Ithink you shouldn't use 5V with goio
[15:06] <Odie_> gpio
[15:06] * Broken_Biscuit (~Oliver@94-192-128-116.zone6.bethere.co.uk) Quit (Ping timeout: 276 seconds)
[15:06] <hid3> +3.3 then
[15:09] * rela (~x@pdpc/supporter/active/rela) has joined #raspbian
[15:18] * blkaway is now known as blkhawk
[15:21] * kensanata (~user@fsf/member/kensanata) has joined #raspbian
[15:23] * BCMM (~BCMM@unaffiliated/bcmm) has joined #raspbian
[15:30] * blkhawk is now known as blkaway
[15:32] * passstab (~coplon@c-68-80-38-97.hsd1.pa.comcast.net) has joined #raspbian
[15:45] * themill (~stuart@unaffiliated/themill) Quit (Ping timeout: 256 seconds)
[15:48] * larsgk (~lgk@212-60-115-150.ip.cust.zensystems.net) Quit (Ping timeout: 264 seconds)
[15:48] * kensanata (~user@fsf/member/kensanata) Quit (Remote host closed the connection)
[15:50] * simone_ (~simone@host166-133-dynamic.0-87-r.retail.telecomitalia.it) has joined #raspbian
[15:53] <jerd> hifi: Thanks, I will take a look at if after dinner :)
[15:54] * rela (~x@pdpc/supporter/active/rela) Quit (Read error: Connection reset by peer)
[15:55] * twikz (~twikz@client-010660dd27a5e579.pool.twikz.com) Quit (Remote host closed the connection)
[15:55] * ragedragon (4ed6941b@gateway/web/freenode/ip.78.214.148.27) Quit ()
[15:55] * hrebicek_ (~hrebicek_@ip4-83-240-6-28.cust.nbox.cz) Quit (Read error: Connection reset by peer)
[16:04] <hifi> jerd: ok, nice
[16:18] * optimusprimem (~Ubuntu@unaffiliated/optimusprimem) Quit (Read error: Connection reset by peer)
[16:29] * jevin (~jevin@72.12.217.220) has joined #raspbian
[16:38] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Quit: Computer has gone to sleep.)
[16:40] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[16:41] * FR^2 (~frquadrat@farsquare.de) Quit (Quit: Connection reset by peer)
[16:42] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Client Quit)
[16:44] * jevin (~jevin@72.12.217.220) Quit (Quit: Textual IRC Client: www.textualapp.com)
[16:45] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[16:46] * wad (~wad@vps.zerbat.com) has joined #raspbian
[16:46] * jevin (~jevin@72.12.217.220) has joined #raspbian
[16:50] * SirLagz (~SirLagz@ppp121-45-232-136.lns20.per1.internode.on.net) has joined #raspbian
[17:06] * twikz (~twikz@client-2da238d651b7d054.pool.twikz.com) has joined #raspbian
[17:06] * verysoftoiletppr (~verysofto@unaffiliated/softtoiletpaper) Quit (Quit: verysoftoiletppr)
[17:09] * twolife is now known as twolife`
[17:10] * twikz (~twikz@client-2da238d651b7d054.pool.twikz.com) Quit (Ping timeout: 245 seconds)
[17:17] * vagrantc (~vagrant@freegeek/vagrantc) has joined #raspbian
[17:24] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Quit: Computer has gone to sleep.)
[17:24] * blkaway is now known as blkhawk
[17:24] * blkhawk is now known as blkaway
[17:32] * Artpicre (~Artpicre@jar10-1-82-241-186-156.fbx.proxad.net) has joined #raspbian
[17:40] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[17:44] * FR^2 (~fr@farsquare.de) has joined #raspbian
[17:51] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Quit: Computer has gone to sleep.)
[17:52] * twikz (~twikz@manz-590f1e16.pool.mediaWays.net) has joined #raspbian
[17:52] * twikz (~twikz@manz-590f1e16.pool.mediaWays.net) Quit (Client Quit)
[17:53] * SirLagz (~SirLagz@ppp121-45-232-136.lns20.per1.internode.on.net) Quit (Quit: Leaving)
[17:53] * mike_t (~mike@80.234.119.11) Quit (Remote host closed the connection)
[17:54] * twolife` is now known as twolife
[17:54] * twikz (~twikz@client-ec51ae3def150ef3.pool.twikz.com) has joined #raspbian
[18:21] * litelot (5d106b40@gateway/web/freenode/ip.93.16.107.64) has joined #raspbian
[18:22] <litelot> hello my raspbery ssh connection hangs without password prompt. In order to fix i need to manually restart. Is anyone experiening similar issues?
[18:24] * jaegeri (~gfgf@as12-248.tontut.fi) Quit (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ))
[18:25] <litelot> useless these ircs tss
[18:31] <jerd> Useless?
[18:31] <Odie_> be more verbose
[18:32] <Odie_> your open ssh session crashes due inactivity?
[18:32] <Odie_> (freezes, eg. your nat box tcp timeout time is too short)
[18:32] <Odie_> (nat/firewall)
[18:35] * twikz (~twikz@client-ec51ae3def150ef3.pool.twikz.com) Quit (Remote host closed the connection)
[18:42] * brainwash_ (~brainwash@unaffiliated/brainwash) has joined #raspbian
[18:43] * BManojlovic (~steki@fo-d-130.180.254.37.targo.rs) has joined #raspbian
[18:43] * BManojlovic (~steki@fo-d-130.180.254.37.targo.rs) Quit (Changing host)
[18:43] * BManojlovic (~steki@opensuse/member/bmanojlovic) has joined #raspbian
[18:44] * brainwash (~brainwash@unaffiliated/brainwash) Quit (Ping timeout: 245 seconds)
[18:44] * brainwash_ is now known as brainwash
[19:06] * simone_ (~simone@host166-133-dynamic.0-87-r.retail.telecomitalia.it) Quit (Ping timeout: 240 seconds)
[19:11] <litelot> Hi odie
[19:12] <litelot> No, ssh does not actually crash. It just hangs without prompting me
[19:13] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[19:14] * twikz (~twikz@client-4ce4c9e0bebff6f9.pool.twikz.com) has joined #raspbian
[19:15] <litelot> Hey guys seriously there is a communication issue
[19:15] <vagrantc> you're on the same network?
[19:15] <litelot> No
[19:16] <vagrantc> probably a firewalling issue
[19:16] <litelot> There is no firewall issue
[19:16] <vagrantc> dnat or snat
[19:16] * Artpicre (~Artpicre@jar10-1-82-241-186-156.fbx.proxad.net) Quit (Quit: IRC :: Intelligence Répartie Communément)
[19:16] <litelot> No NAT. When i restart raspberry it will work
[19:16] <hifi> your whole pi crashes
[19:16] <litelot> the ssh will work
[19:16] <hifi> it's not an ssh issue
[19:16] <litelot> I think so then
[19:16] <hifi> have you overclocked it
[19:17] <litelot> possibly i have
[19:18] <litelot> It's running lot of services, i'm worried it because it runs out of memory or something..
[19:18] <hifi> remove overclocking, assure it has enough ram to run
[19:18] * simone_ (~simone@host165-191-dynamic.37-79-r.retail.telecomitalia.it) has joined #raspbian
[19:18] <litelot> How can I assure ram? I obviously left least possible for the VGA or what it was
[19:19] <hifi> don't overflow your pi with memory hogging stuff
[19:20] <hifi> monitor the memory usage
[19:20] <litelot> ok
[19:20] <litelot> I will check the overclock issue.Thanks
[19:20] <hifi> while overclocking will generally work it can cause instability and sd corruption
[19:21] <litelot> It is weird as I can remotely connect via eclipse remote debug to the application..
[19:21] <hifi> oh java
[19:21] <hifi> then it's definitely running out of memory
[19:21] <litelot> it is a small program im not running any application server such as tomcat
[19:24] <hifi> you could have a memory leak
[19:24] <hifi> and remote debugging sounds heavy with java
[19:24] <hifi> but if you can connect to it by other means when ssh is stuck then the pi hasn't crashed
[19:25] * richardbranson (~server@host81-129-92-9.range81-129.btcentralplus.com) Quit (Ping timeout: 240 seconds)
[19:33] * taza (~zap@unaffiliated/taza) has joined #raspbian
[19:41] * litelot (5d106b40@gateway/web/freenode/ip.93.16.107.64) Quit (Quit: Page closed)
[19:41] * zer0-day (~Network@unaffiliated/zer0-day) Quit (Ping timeout: 264 seconds)
[19:41] * zer0-day (~Network@166.27.165.83.dynamic.mundo-r.com) has joined #raspbian
[19:41] * zer0-day (~Network@166.27.165.83.dynamic.mundo-r.com) Quit (Changing host)
[19:41] * zer0-day (~Network@unaffiliated/zer0-day) has joined #raspbian
[19:49] * ZIPY (~ZIPY@unaffiliated/zipy) Quit (Read error: Operation timed out)
[19:50] * ZIPY (~ZIPY@unaffiliated/zipy) has joined #raspbian
[19:53] * hsp (~holgi@77-21-12-114-dynip.superkabel.de) has joined #raspbian
[19:53] * vagrantc (~vagrant@freegeek/vagrantc) Quit (Quit: leaving)
[19:57] * passstab (~coplon@c-68-80-38-97.hsd1.pa.comcast.net) Quit (Remote host closed the connection)
[20:00] * ribamar (~ribamar@177.206.249.50.dynamic.adsl.gvt.net.br) Quit (Ping timeout: 245 seconds)
[20:01] * ZIPY (~ZIPY@unaffiliated/zipy) Quit (Remote host closed the connection)
[20:03] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Quit: Computer has gone to sleep.)
[20:09] * ZIPY (~ZIPY@unaffiliated/zipy) has joined #raspbian
[20:13] * ribamar (~ribamar@177.158.150.5) has joined #raspbian
[20:23] * optimusprimem (~globo_com@177.53.180.133) has joined #raspbian
[20:23] * optimusprimem (~globo_com@177.53.180.133) Quit (Changing host)
[20:23] * optimusprimem (~globo_com@unaffiliated/optimusprimem) has joined #raspbian
[20:24] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspbian
[20:27] * optimusprimem (~globo_com@unaffiliated/optimusprimem) Quit (Excess Flood)
[20:28] * ZIPY (~ZIPY@unaffiliated/zipy) Quit (Remote host closed the connection)
[20:28] * optimusprimem (~globo_com@unaffiliated/optimusprimem) has joined #raspbian
[20:34] * twikz (~twikz@client-4ce4c9e0bebff6f9.pool.twikz.com) Quit (Remote host closed the connection)
[20:35] * ZIPY (~ZIPY@unaffiliated/zipy) has joined #raspbian
[20:59] * Natch_l (~Natch@c-10cfe155.25-4-64736c10.cust.bredbandsbolaget.se) has joined #raspbian
[21:01] * bob_binz (~bob_binz@cpc2-stkp10-2-0-cust744.10-2.cable.virginmedia.com) Quit (Quit: Leaving)
[21:01] * blkaway is now known as blkhawk
[21:01] * Natch (~Natch@c-10cfe155.25-4-64736c10.cust.bredbandsbolaget.se) Quit (Ping timeout: 248 seconds)
[21:01] * Natch_l is now known as Natch
[21:29] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Quit: Computer has gone to sleep.)
[21:30] * Skelli is now known as zZz_Skelli
[21:37] * lupinedk is now known as Lupinedk
[21:39] * Mufamba (~quassel@31-19-16-111-dynip.superkabel.de) has joined #raspbian
[21:40] * Mogwai` (~mogwai@206-248-185-182.dsl.teksavvy.com) has joined #raspbian
[21:41] * Mogwai (~mogwai@206-248-185-182.dsl.teksavvy.com) Quit (Read error: Connection reset by peer)
[21:48] * ZIPY (~ZIPY@unaffiliated/zipy) Quit (Remote host closed the connection)
[22:02] * eggy (eggy@unaffiliated/eggy) Quit (Quit: Good Bye, I'm done.)
[22:05] * hsp (~holgi@77-21-12-114-dynip.superkabel.de) Quit (Ping timeout: 264 seconds)
[22:07] * ZIPY (~ZIPY@unaffiliated/zipy) has joined #raspbian
[22:14] * twolife is now known as twolife`
[22:19] * OliverJW (~Oliver@94-192-128-116.zone6.bethere.co.uk) Quit (Read error: Connection reset by peer)
[22:20] * eggy (eggy@unaffiliated/eggy) has joined #raspbian
[22:41] * andatche (~andatche@mule.andatche.com) Quit (Excess Flood)
[22:42] * andatche (~andatche@mule.andatche.com) has joined #raspbian
[22:46] * Syliss (~Home@dpncorp1.digitalpath.net) has joined #raspbian
[22:55] * blaircse (~blaircse@stjhnf0148w-142134079122.dhcp-dynamic.FibreOP.nl.bellaliant.net) has joined #raspbian
[22:59] * Mufamba (~quassel@31-19-16-111-dynip.superkabel.de) Quit (Ping timeout: 256 seconds)
[23:04] * lazybear (~lazybear@2002:ae8f:f3b3::1) Quit (Ping timeout: 264 seconds)
[23:04] * lazybear (~lazybear@2002:ae8f:f3b3::1) has joined #raspbian
[23:08] * blkhawk is now known as blkaway
[23:21] * themill (~stuart@unaffiliated/themill) has joined #raspbian
[23:24] * BManojlovic (~steki@opensuse/member/bmanojlovic) Quit (Quit: Ja odoh a vi sta 'ocete...)
[23:30] * verysoftoiletppr (~verysofto@unaffiliated/softtoiletpaper) has joined #raspbian
[23:40] * Mogwai` is now known as Mogwai
[23:55] * verysoftoiletppr (~verysofto@unaffiliated/softtoiletpaper) Quit (Quit: verysoftoiletppr)
[23:55] * lazybear (~lazybear@2002:ae8f:f3b3::1) Quit (Ping timeout: 240 seconds)
[23:56] * lazybear (~lazybear@2002:ae8f:f3b3::1) has joined #raspbian
[23:58] * biacz (~biacz@p5DDF95F9.dip0.t-ipconnect.de) Quit (Ping timeout: 264 seconds)

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