Go to advanced search

by Roken
Sun Mar 04, 2018 7:08 pm
Forum: Python
Topic: Pi Lite
Replies: 0
Views: 164

Pi Lite

So, despite killing my SDCard (snapped in two), I've been able to get a USB boot going, and since the SDCard was broken whilst trying out my newly donated Pi Lite, this is the first time I've had to test it. Good to say, it works, and some sample scripts do the job. Now, my Pi has pulseaudio install...
by Roken
Sun Mar 04, 2018 6:03 pm
Forum: General discussion
Topic: SDCard died
Replies: 4
Views: 460

Re: SDCard died

I tried using it in other devices, then it snapped, so I'm guessing physically damaged. Until the new sdcards arrive, I got a lite image to a 4Gb card I have, and enabled USB boot. Then I went through the whole process of shrinking my 32Gb image to fit on a 16Gb thumb drive, and I have the system bo...
by Roken
Sat Mar 03, 2018 8:42 pm
Forum: General discussion
Topic: SDCard died
Replies: 4
Views: 460

Re: SDCard died

fdisk shows 30Mb.

Code: Select all

Disk /dev/sdg: 30.6 MiB, 32096256 bytes, 62688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
and blkid doesn't see anything :(
by Roken
Sat Mar 03, 2018 7:21 pm
Forum: General discussion
Topic: SDCard died
Replies: 4
Views: 460

SDCard died

I'm not even blaming the Pi, I'm blaming beer. Got a hat, and taking the Pi out of it's case,I forgot to remove the sdcard first, and something has gone pear shaped with it. Plugged it in to my Linux machine, and my 32Gb card reads as 30Mb. Downside is, I have no spares, so two ordered. Plus side is...
by Roken
Fri Mar 02, 2018 11:34 pm
Forum: General discussion
Topic: My new zero cost backup system (tada!)
Replies: 9
Views: 1375

Re: My new zero cost backup system (tada!)

I cheat. I have 2.5 Tb of drive in my desktop, and another 500Gb on my NFS drive, so a complete dd image of my sdcard costs less than £0.001. OK, not zero cost, but as near as damn it.
by Roken
Fri Mar 02, 2018 11:21 pm
Forum: Off topic discussion
Topic: What was your first computer?
Replies: 408
Views: 149529

Re: What was your first computer?

What's more telling is that, before I even got my first home computer, I trained on an IBM 1966 mainframe, learning true machine code (even some binary programming) and went on to cut my teeth using COBOL on an IBM 2966 at British Aerospace. If I'd been smart (and not employed otherwise) in 1999, I ...
by Roken
Fri Mar 02, 2018 10:53 pm
Forum: Off topic discussion
Topic: What was your first computer?
Replies: 408
Views: 149529

Re: What was your first computer?

My first home computer was a ZX81, later replaced by a Spectrum 48k, replaced by Amiga 500, followed by an A1200 which I heavily customised by hacking a PC case back panel apart and re-assembling to fit the back panel of both the A1200 MB and Zorro board and gfx card (also had a 68060, IDE interface...
by Roken
Mon Feb 19, 2018 10:03 pm
Forum: Beginners
Topic: how do I uninstall programs?
Replies: 15
Views: 11907

Re: how do I uninstall programs?

I haven't checked availability, but if you did, indeed, install it yourself (not using apt or the package manager), then you can try sudo dpkg -r jmri Assuming that you at least used dpkg to install. If you didn't, and followed some tutorial that had you manually copying files around your system, th...
by Roken
Thu Feb 15, 2018 1:48 pm
Forum: General discussion
Topic: Raspbian has a little problem.
Replies: 9
Views: 1305

Re: Raspbian has a little problem.

Voted "No", but then I've been using Linux exclusively for maybe 15 years, so something crops up, I fix it.
by Roken
Fri Feb 02, 2018 11:10 pm
Forum: General discussion
Topic: Changing ip address after cloning.
Replies: 5
Views: 772

Re: Changing ip address after cloning.

jbudd wrote:
Fri Feb 02, 2018 8:37 am
But if you need static IP addresses, it's usually best to reserve the IP for each Pi's MAC address in your router setup, assuming you have access to that.

This is literally the easiest solution, and my whole home network is set up this way where I need static IPs.
by Roken
Fri Feb 02, 2018 10:53 pm
Forum: General discussion
Topic: I dont remember the password what can I do about this?
Replies: 11
Views: 1198

Re: I dont remember the password what can I do about this?

erikswed wrote:
Sat Jan 20, 2018 7:08 pm
Thanks the raspberry password seams to work but installation fails with an error message saying something like:
cannot get private lock on package backend , close any other open package program.
That suggests an interrupted update to me.

Code: Select all

sudo dpkg --configure -a
may fix it.
by Roken
Thu Feb 01, 2018 8:22 pm
Forum: General discussion
Topic: Is it possible to use both wifi & bt connection at the same time?
Replies: 7
Views: 955

Re: Is it possible to use both wifi & bt connection at the same time?

You could probably script it by checking if wlan0 has an IP address, and switching if it doesn't (or switching back if it does). Thanks a lot! Will it be so difficult for the programming? A bash script should be enough. I haven't worked with BT, but a simple bash test for wlan0 could be: WLAN=`ifco...
by Roken
Thu Feb 01, 2018 2:27 pm
Forum: Networking and servers
Topic: Not able to find ip address of pi
Replies: 11
Views: 1305

Re: Not able to find ip address of pi

DougieLawson wrote:
Thu Feb 01, 2018 2:11 pm

Code: Select all

 ifconfig | awk '/broadcast/ {print $2}'
looks easier to me.
That'll work, too. I'm more of a sed man than awk, so I didn't know about that filtering option.
by Roken
Thu Feb 01, 2018 2:24 pm
Forum: Off topic discussion
Topic: This forum is insane
Replies: 41
Views: 6594

Re: This forum is insane

I apologise if I offended you with my use of a word in a context that has just been added to the Oxford English Dictionary.
by Roken
Thu Feb 01, 2018 1:58 pm
Forum: Networking and servers
Topic: Not able to find ip address of pi
Replies: 11
Views: 1305

Re: Not able to find ip address of pi

Try

Code: Select all

ifconfig | grep inet | grep broadcast | awk '{print $2}'
by Roken
Thu Feb 01, 2018 1:54 pm
Forum: Off topic discussion
Topic: This forum is insane
Replies: 41
Views: 6594

Re: This forum is insane

It was never intended to offend. I didn't realise we had so many snowflakes here.
by Roken
Wed Jan 31, 2018 9:47 pm
Forum: Beginners
Topic: Please help a confirmed GUI addict. How do I ...
Replies: 20
Views: 1602

Re: Please help a confirmed GUI addict. How do I ...

But I still see a lot of cruft in the file system, whose function I have forgotten, but which I am wary about deleting because I do not know what dependencies may exist between them and other stuff that I want to keep. apt-file search FILE_NAME Will tell you if the file is owned/required by a packa...
by Roken
Wed Jan 31, 2018 9:29 pm
Forum: General discussion
Topic: Is it possible to use both wifi & bt connection at the same time?
Replies: 7
Views: 955

Re: Is it possible to use both wifi & bt connection at the same time?

You could probably script it by checking if wlan0 has an IP address, and switching if it doesn't (or switching back if it does).
by Roken
Wed Jan 31, 2018 9:20 pm
Forum: Off topic discussion
Topic: This forum is insane
Replies: 41
Views: 6594

Re: This forum is insane

I'm offended by people being offended for no good reason, but I'm not quite sure how to fight the issue.
by Roken
Tue Jan 30, 2018 8:59 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.14
Replies: 161
Views: 85697

Re: Moving Linux kernel to 4.14

I've been using 4.14 for a while on an Arch Desktop without issues. 4.15 dropped in today, which at the moment is working, but not long enough for issues. However, 4.15 introduces support for the Pi touchscreen (not an issue for my headless use, but probably of interest to some). - https://www.phoro...
by Roken
Tue Jan 30, 2018 8:53 pm
Forum: Off topic discussion
Topic: This forum is insane
Replies: 41
Views: 6594

This forum is insane

It's not a criticism, just an observation, and possibly testament to how popular Pi is now. I run two home machines(desktop and Laptop) on Arch, and a VPS on Debian. Since I joined the Pi world, I also have Raspbian. I'm a member of the Arch forums, the Debian forums, and here of course. And I tend ...
by Roken
Thu Jan 25, 2018 9:25 pm
Forum: Beginners
Topic: Please help a confirmed GUI addict. How do I ...
Replies: 20
Views: 1602

Re: Please help a confirmed GUI addict. How do I ...

You could always go back to Windows, which shields the user from almost anything. Having said that, where's the fun in that?
by Roken
Sat Jan 13, 2018 8:33 am
Forum: Bare metal, Assembly language
Topic: What can be realistically programmed in assembler today?
Replies: 39
Views: 6590

Re: What can be realistically programmed in assembler today?

Writing in assembly, especially for someone just learning, is an exercise in futility, these days. The last time I used assembly was back on my Spectrum 48K, where I needed a fast routine to swap out sprite banks, giving me as many sprites as memory would allow, rather than the hardware limit. Befor...
by Roken
Wed Jan 10, 2018 9:04 pm
Forum: Beginners
Topic: Show Us Your Conky!
Replies: 16
Views: 5134

Re: Show Us Your Conky!

It's a subject that tends to crop up on every Linux based distro. Personally, I love conky, though no point in posting my Pi one, it doesn't exist on a headless (and VNC free) install. I do have it on my Arch machines, though, to keep track of what I find important, both for info and early debugging.

Go to advanced search