Page 13 of 41
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sun Nov 06, 2011 11:56 pm
by BuZz
Ubuntu and Xubuntu 11.10 released. note I did xfce in the end instead of lxde. Xserver kept crashing with chrome with lxde, and no doubt a graphics driver bug, but it doesn't seem to happen with xfce, so in the end I went with that. (there were a few other issues on lxde also). xfce is closer to the last ubuntu release anyway in terms of look/feel.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Mon Nov 07, 2011 6:38 pm
by FyodorNinian
Hi, I loaded this up and it works fine. Thanks for all the effort. One question though - is the squeezeplayer install script in there somewhere? I couldn't find it.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Tue Nov 08, 2011 12:42 am
by BuZz
on ubuntu unity 2d ? yeh it should be in /usr/local/bin - it's just an arse to add stuff to unity, and adding the installing didn't seem right, as it is a one off, so. rather you than me with unity 2d on the joggler though

Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Tue Nov 08, 2011 6:07 pm
by gegs
BuZz - is there a reason for preferring Xubuntu to Lubuntu?
I know that Xubuntu was supposedly designed as a lightweight distro using less resources but according to Wikipedia:
"Like Xubuntu, Lubuntu is intended to be a low-system-requirement, low-RAM environment for netbooks, mobile devices and older PCs - but tests show it can use half as much RAM as Xubuntu making it an attractive choice for installing on older hardware being refurbished for charitable distribution."
If the above is true, Lubuntu sounds ideal for the Joggler.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Tue Nov 08, 2011 6:49 pm
by BuZz
I explain on the site and a few posts above why I went for xubuntu. actually there were other reasons too, like the netbook session not working at all, lxlauncher not working as well as i thought it might, and lack of vfs stuff in for network browsing etc. in the end, xubuntu just worked better.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sat Nov 12, 2011 12:05 pm
by tmohammad
Hi Buzz,
Excellent build. I was using your ubuntu 11.04 build. Now I'm on 11.10 (Ubuntu).
Thanks for all the work that you have put into this. It makes our jogglers so much more useful.
I noticed that in the new build screensaver was missing (As I use it as a photo frame when idle), so I found something called XScreensaver which works a treat. One thing that I cant figure out is how to save the screen brightness, every time I reboot, it goes back to 32 (ie the max).
Is there any way of fixing it to say 5?
Thanks again, your efforts are greatly appreciated.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sat Nov 12, 2011 12:16 pm
by BuZz
add
echo "5" >/sys/class/backlight/bopenframe-bl/backlight
to /etc/rc.local (before the exit 0)
no screensaver in oneiric. it may or may not have screen power management by default. i think it should have but i dont run it so can't check now - the screensaver thing is a known thing for ubuntu with unity/gnome3 -
http://www.liberiangeek.net/2011/10/ena ... ic-ocelot/
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sat Nov 12, 2011 12:33 pm
by tmohammad
Thanks Buzz, When I go in to edit with gedit, it tells me I cant save the file as its read only. How do I go in as root?
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sat Nov 12, 2011 12:39 pm
by BuZz
do it from the commandline with "sudo" for example -
http://www.psychocats.net/ubuntu/permissions
I would suggest reading some ubuntu / linux tutorials online - you could also get help from other ubuntu users online on their forums and irc.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sat Nov 12, 2011 3:35 pm
by tmohammad
Thanks for the info Buzz. I resorted to sudo vi... as I still seem to remember that from my old programming days!
By the way, the file is called brightness and not backlight, so the cammand to place in the file was:
echo "5" >/sys/class/backlight/openframe-bl/brightness
Works a treat now. Thanking you again.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sat Nov 12, 2011 3:41 pm
by BuZz
aah ok. well I was close. i did that from memory

Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sat Nov 12, 2011 6:53 pm
by tomaszd
Fantastic work as usual, I've been using your builds for a long while and figured it would be a good time to upgrade to xubuntu 11.10, the btrfs edition, as we have no usual means of receiving kernel security updates without you rebasing, rebuilding the kernel and releasing a new image (considered a PPA for the joggler kernel perhaps?), so at least I have a more or less secure server
There is a critical issue with how the free space is calculated by some packages when btrfs is used, I could not for the life of me install deluge-common, which claimed it was out of space. I installed the ext4 version where no such issues exist, thankfully.
So now that I had that issue out of the way I wanted to configure the ubuntu firewall (really powerful tool and simple syntax), but when enabled it claims init issues and simply blocks all traffic. You didn't build the kernel module for ufw, did you?

This is really bugging me, I know I can (and I did) set up firewall rules on the router, but I'd love an additional layer of security.
Apart from that, great job as always!
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sat Nov 12, 2011 11:36 pm
by BuZz
ppa for the joggler kernel is possible but risky. due to the custom boot stuff i would have to handle that, and it would be some work to script. not many remote kernel exploits really though to worry about, unlike the recent remote udp root exploit for windows even on closed ports

but if you are using it as a server, firewall is good, and of course make new host keys etc if needed (i generally ship with ssh server disabled so it can be installed and keys generated)
i didnt build any specific ubuntu stuff in sorry - ufw just uses usual iptables no ?. how about just using a simple iptables firewall script or another firewall ?
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sun Nov 13, 2011 5:48 pm
by tomaszd
BuZz wrote:ppa for the joggler kernel is possible but risky. due to the custom boot stuff i would have to handle that, and it would be some work to script. not many remote kernel exploits really though to worry about, unlike the recent remote udp root exploit for windows even on closed ports

but if you are using it as a server, firewall is good, and of course make new host keys etc if needed (i generally ship with ssh server disabled so it can be installed and keys generated)
i didnt build any specific ubuntu stuff in sorry - ufw just uses usual iptables no ?. how about just using a simple iptables firewall script or another firewall ?
Oh well, I'll manage. What I find unacceptable is that when the Joggler suffers a power loss it completely removes my wired network connection in network-manager and substitutes it with a standard Auto connection. I use manual configuration without dhcp, so every time I have to input my values again.
Is there any way to save my network connection permanently? I've been trying to do it with previous images with varying degrees of success by disallowing n-m to write new values in various places, modifying your script to always assign the same MAC address, but almost nothing worked. The best I could achieve was to have a separate entry with my values in the drop-down list, but it was impossible to enable the connection using that profile. Help

Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sun Nov 13, 2011 5:52 pm
by BuZz
should be able to set your own connect to connect automatically on network manager, and disable the auto one. I don't think that is a joggler issue.
my script does assign the same mac address. its only generated on the first boot and then saved in /etc/network/joggler-eth - you can always put your own value in there and it will always be used. no script modification needed.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Sun Nov 13, 2011 6:40 pm
by tomaszd
I think putting the same mac address as the one that appears when I try editing the auto connection (which is different from the actually set mac address which appears in connection information) in that config file fixed it. Thanks.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Thu Dec 08, 2011 2:30 pm
by roobarb!
Interesting - EMGD v1.10 is out!
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Thu Dec 08, 2011 3:38 pm
by BuZz
excellent. ill get packaging/testing. It's still for xserver 1.9, so you will be able to upgrade automatically from my ppa.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Thu Dec 08, 2011 5:45 pm
by BuZz
Packaged and uploaded. I didn't notice anything different yet mind. the pvr xorg driver version is the same - although the library sizes are different. emgd driver has newer kernel build fixes (meaning I dont need the patchset i had for it anymore), and some additional code. release notes didn't shed much light on new stuff really.
unfortunately there is a massive delay on launchpad with the builders due to hardware issues, so it could be up to 11 hours for the new updates to be built.
Re: Ubuntu / Xubuntu for the O2 Joggler.
Posted: Thu Dec 08, 2011 6:23 pm
by roobarb!
BuZz wrote:Packaged and uploaded. I didn't notice anything different yet mind. the pvr xorg driver version is the same - although the library sizes are different. emgd driver has newer kernel build fixes (meaning I dont need the patchset i had for it anymore), and some additional code. release notes didn't shed much light on new stuff really.
Fantastic - cheers, BuZz!
