Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pyperdown

Pages: 1 2 3 [4] 5
46
General Support / Re: Installing on a system with no wireless
« on: April 23, 2013, 10:54:22 AM »
Layer 8 problem.  Forgot to change the /etc/networking/interfaces file.  The only active interface was the wireless.  doh!

47
General Support / Installing on a system with no wireless
« on: April 22, 2013, 02:48:39 PM »
We attempted to install on a system with only a 10/100 card in it, and the system just hangs.  Any thoughts?

48
Development and Scripting / Re: Push out update to firefox?
« on: April 05, 2013, 02:09:42 PM »
Well, my approach worked, and also didn't :/

System works but not surprisingly lost the aufs stuff in grub2, despite telling it to keep the current setup, so I'm sure there's a step or 12 that I missed.

Will take a stab at your approach.  Also working on system-wide install of the SBACSecureBrowser,  if you have any ideas there or ways to globally add items to the desktop/menu that would be awesome.

Thanks again Jim!

49
Development and Scripting / Re: Push out update to firefox?
« on: April 04, 2013, 04:46:26 PM »
Gonna add your repo shortly.  A realted question, in a sense, would be the appropriate procedure for updating the system as a whole.  Bad idea?

Normally I run something akin to apt-get update -y && apt-get dist-upgrade -y && apt-get autoremove -y

Trying on one of our netbooks, if I break it I can always reimage, but would be nice to be able to do that to keep the systems up to date.  Or am I barking up the wrong tree here?

I also appear to be getting a boatload of "dpkg ... files list file for package <package name> missing" errors.

50
Q&A / Re: provisioning per-user autostart scripts? solved (maybe)
« on: January 10, 2013, 05:10:27 PM »
Well somebody didn't read the .desktop file spec.

2 things

tilde needs to escaped, along with some other characters
even with the tilde, it does not expand to the homedir

what I did find is that changing the Exec to just bash ./.cleanup worked.

http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables

51
Q&A / provisioning per-user autostart scripts?
« on: January 10, 2013, 11:56:59 AM »
This should be simple, but for some reason it doesn't appear to run.

The goal here in our shared netbook environment is to
a) disable the password requirement on the screen saver
b) cleanup any leftover files (lock and .parentlock) in the user's browser profile

The script works when run from a terminal, but does not run at login despite a .config/autostart entry to launch it...

The autostart file (.cleanup.desktop) contains:


[Desktop Entry]
Type=Application
Exec=bash ~/.cleanup.sh
Hidden=false
NoDisplay=true
X-GNOME-Autostart-enabled=true
Name[en_US]=cleanup
Name=cleanup
Comment[en_US]=cleanup
Comment=cleanup
~                 

And the .cleanup.sh script contains:

#!/bin/bash
sleep 10
echo -en "\07"
killall -KILL firefox-bin
killall -KILL firefox

find ~./.mozilla/ -iname ".parentlock" -exec rm -f {} \;
find ~./.mozilla/ -iname "lock" -exec rm -f {} \;
find ~./.mozilla/ -iname "places.sqlite" -exec rm -f {} \;
find ~./.mozilla/ -iname "places.sqlite-journal" -exec rm -f {} \;
touch ~/I_RAN

#This is for 12.04LTS
gsettings set org.gnome.desktop.screensaver lock-enabled false

# this is for 10.04LTS
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/blank_screen false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/gnome_keyring_hibernate false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/gnome_keyring_suspend false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/hibernate false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/suspend false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/use_screensaver_settings true
gconftool-2 --type boolean -s /apps/gnome-screensaver/lock_enabled false


52
My tech is all smiles - we were imaging them (about 80 of 'em) with clonezilla and while it worked fine it was rather slow.  I did like 6 keys in 45 minutes.  Actually used one of the netbooks to clone the keys by booting to clonezilla and pointing at the key image I made.

53
General Discussion / Cloning USB Keys - DD no work-ey, Clonezilla does?
« on: January 03, 2013, 03:58:27 PM »
Ok, So I must be doing something wrong.

I put in my modified key.  dd if=/dev/sdb of=my_key.img.  done

I now put a fresh key in, reverse the process (flip dd if and of arguments).  Takes forever.  ANd then will not boot.

On a hunch I boot the netbook into clonezilla and make a backup of the key that way.  Much faster (odd, that).  Put in a fresh key, and reverse the process.  WAAAY faster than dd.  And it works.

I suspect I have tripped over one of the many gaps in my knowledge - can anyone enlighten me as to where I went wrong? 

BTW, once I got the key backed up with clonezilla, I stuck as many keys as I could into the netbook, and did the one to multiple restore.  quick.  Nice trick for making a bunch of keys, though I somehow suspoect this too is common knowledge. :/

54
Q&A / Re: Making changes permanent/restorable...
« on: November 28, 2012, 10:45:12 AM »
I get a root prompt...  The problem is that keystrokes do not echo to the screen.  Wondering if I have no keymap set.  Typing blind is not a huge deal but something is not right...

55
General Discussion / Disable nm-applet by group?
« on: November 27, 2012, 03:22:38 PM »
I was messing with polkit to disable nm-applet so kids don't kill networking for the next student to use the device or themselves...  We're using a shared device model so this is kind of important.  Any ideas what I might be missing to achieve this?  The info I found had me do the following...

File: /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla

[nm-applet]
Identity=unix-group:adm
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=no
ResultActive=yes

but users not in the adm group still get the applet, and are still able to disable networking...

Ideas?  Am I barking up the wrong tree?

56
Q&A / Re: Making changes permanent/restorable...
« on: November 27, 2012, 09:19:44 AM »
interestingly, there was no keyboard echo to the screen...But it appeared to work.  Will have to try out the restore and see

57
Q&A / Re: Making changes permanent/restorable...
« on: November 27, 2012, 07:52:08 AM »
Perfect!  I had tarred up /etc and then booted the generic kernel and untarred (I mistakenly went with my gut instinct on this).  It was not happy about mounting /dev/sd1...  Will knock this out this morning.

58
Q&A / Making changes permanent/restorable...
« on: November 26, 2012, 02:48:17 PM »
I'm probably being dense, but once I get customization done, what is the best way to make it "restore-able"?
ie copy /etc from -aufs to -generic?  Or am I going about this all wrong?

59
libnss-ldapd appears to be the fix.  libnss-ldap is the apparent cause.

60
Q&A / Re: directory authentication
« on: November 02, 2012, 04:09:06 PM »
OK...  libnss-ldapd IS the fix IF you need to automount ldap homedirs... 

Always nice to end a week on a "I killed a bear" note...

Pages: 1 2 3 [4] 5