XenialDog 64bit (Ubuntu 'Xenial Xerus' LTS, 64-bit)

A home for all kinds of Puppy related projects
Message
Author
newsted44
Posts: 1
Joined: Fri 27 Jan 2017, 02:35

Best of the best.

#41 Post by newsted44 »

Wow. XenialDog 64bit was put together by some very talented people. This operating system is an instant contender for best of the best.

Thanks a million!

Mike

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Re: XenialDog 64 Wifi: WEP Password doesn't take

#42 Post by mcewanw »

mikeslr wrote:Hi fredx181 & anyone,

My apologies if this creates a moment of anxiety spoiling your well earned break. XenialDog 32-bit works so well I was hoping 64-bit would do like-wise. But as I have other options for an operating system, there's no urgency.
Hello mikeslr,

if no really no urgency I'll try and help since I'm keen to install and try out XenialDog64 but I'm too busy for the coming week. Hopefully, from what you write, it will not be too difficult to sort out without needing frisbee or WiCD. Of course someone may have a solution or can help sooner.

Cheers, William
github mcewanw

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

frisbee on xenial64

#43 Post by zagreb999 »

hi mikeslr

take frisbee from synaptic

for me it works perfectly

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

frisbee @ github

#44 Post by mikeslr »

Thanks zagreb999,

:lol: Now why didn't I think of that? :oops:

Via a different OS, downloaded the deb and will try it ASAP.

Just to put things in prospective, it took me 30-odd years to figure out why, when you're searching for something, it's always in the last place you look. Because, then you stop looking. :lol:

mikesLr

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#45 Post by fredx181 »

Hi mikeslr,

It appears that the program 'wifibox' hasn't been tested well enough (probably only with WPA).
It's taken from Slitaz, and William and I have been working on it to adapt it for XenialDog.
One of the changes I made was key encryption, this means that in the wpa config file (/etc/wpa/wpa.conf) an encrypted key is shown rather than the "real" one.

I made new package (wifibox_1.0.5_amd64.deb) with some changes that will reverse back to original (no key encryption) and other change which has to do with required quotes for WEP ( psk="key" )
There's a good chance it will work now for you.

Can you do me a favor and test this new version? (I can't test WEP)

Download (from other OS):
https://debiandog.github.io/xenialdog/P ... _amd64.deb

Then in XenialDog64
In terminal first remove old wifibox and traces of old config files:

Code: Select all

apt-get purge wifibox
# remove old config files
rm -f /etc/network.conf*
rm -rf /etc/wpa
Install, open terminal in directory where wifibox_1.0.5_amd64.deb is located

Code: Select all

dpkg -i wifibox_1.0.5_amd64.deb
If Edit Preferences is selected from The Wifi configuration window, what opens appears to be a text file. Under #Set default interface this appears: INTERFACE="eth0". Editing that to read INTERFACE="wlan0" and clicking OK doesn't stick. Trying to select my network again repors "ip address failed on etho". And checking preferences again reports INTERFACE="eth0".
The important entries (to be set for working WiFi) in /etc/network.conf are:
WIFI="yes"
WIFI_INTERFACE="wlan0" (or whatever)
WIFI_ESSID="......"
WIFI_KEY='.......'

But it should be done all automatically, no need to edit (only for e.g. set to static IP maybe).
If all is well of course, sorry for the inconvenience.
Laughing Now why didn't I think of that? Embarassed

Via a different OS, downloaded the deb and will try it ASAP.
Frisbee package (64bit) is here, (synaptic won't work from other OS, e,g, XenialDog 32bit, it will download 32bit frisbee)
https://debiandog.github.io/xenialdog/P ... /Included/

But again, please test first if new wifibox works, thanks!.

Fred

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Will test Wifi-box & other matters

#46 Post by mikeslr »

Hi Fred & zagreb999,

First, thanks again zagreb999 for the suggestion to use frisbee. It worked and I'm posting from Xenialdog64 now because it did. :D

To download frisbee from Xenialdog64's repo while running under a different OS, I had to cut and paste (not paste and go) the link to XenialDog64's ISO from the post into a webbrowser, backspace to reach folders on github rather than download the ISO, and then hunt around.

Of course, once you're on the internet, doing that isn't necessary because synaptic works. But it could still be convenient to people like me who (a) have problems with wifi-box, and/or (b) mess around a lot so like to keep commonly used packages in storage for when I screw up and have to start from scratch. For example, I've got a weird monitor. It's factory specs suggest that its maximum resolution is 1680 x 1050 and booting into a fresh 0S uses that. But the display results in the 1/5 of the screen (usually on the left, but sometime half on each side) being blank. 1600 x 1200 fills the screen. But I have to remember to set refresh rate to 60. Auto tries at 75 and on reboot I get an "out of range" notice and nothing else. Forgot this time and had to delete the Changes folder to boot into XenialDog64.

Short version: it may help if a specific link to the repo was on XenialDog64's first post -- just in case.

The first thing frisbee did when I installed it was remove wifi-box. So I'm not sure "first removing" it may be necessary. But I'll try. Actually, I guess I'll have to try a variation of the instructions to remove frisbee. But I wonder if that should be the case.

I know the general preference in Linux is efficiency: one application for one purpose. But there's a lot to be said in favor of resiliency: Alternatives having slightly different abilities for when "one" just doesn't cut it.

At any rate, I'll test Wifi-box and report back.

One other thing, also --and I stress-- no urgent need to address it. Now that I've modified my screen resolution, the desktop drive-icons are about an inch and a half above the task bar. That current placement isn't aesthetically pleasing. I like the convenience of desktop drive Icons; but can live without them -- as I do when using xfce-thunar. I've tried different choices under Desktop Manager and different settings under each choice. But I haven't found anyway to turn them off or move them. Any ideas?

Thanks again for your efforts.

mikesLr

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

Re: Will test Wifi-box & other matters

#47 Post by belham2 »

mikeslr wrote:
One other thing, also --and I stress-- no urgent need to address it. Now that I've modified my screen resolution, the desktop drive-icons are about an inch and a half above the task bar. That current placement isn't aesthetically pleasing. I like the convenience of desktop drive Icons; but can live without them -- as I do when using xfce-thunar. I've tried different choices under Desktop Manager and different settings under each choice. But I haven't found anyway to turn them off or move them. Any ideas?

mikesLr

Hi Mike,

I am not sure if I am understanding correctly what you're saying about the 'desktop-drive-icons', but in case I am, have you tried just 'right-clicking' which ever icon you want to move? You get back a full control dialog letting you do whatever you please with the icon (you can even make it disappear via the commands, eliminating automount)?

Here's a pic of what you get when you right-click on a desktop-drive-icon:
Attachments
right-click-your-desktop-drive-icon.jpg
(33.24 KiB) Downloaded 1196 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#48 Post by fredx181 »

mikeslr wrote:Short version: it may help if a specific link to the repo was on XenialDog64's first post -- just in case.

The first thing frisbee did when I installed it was remove wifi-box. So I'm not sure "first removing" it may be necessary. But I'll try. Actually, I guess I'll have to try a variation of the instructions to remove frisbee. But I wonder if that should be the case.
There is already link to the repo in first post:
XenialDog custom packages repository: Here
Ah, you installed frisbee already, assuming you have working internet connection now you can just install wifibox with apt-get and frisbee automatically will be removed again.
better remove possibly old config files from wifibox, (if there are any left), so altogether:

Code: Select all

# remove old config files
rm -f /etc/network.conf*
rm -rf /etc/wpa
apt-get update # might be required
apt-get install wifibox # will install latest version 1.0.5
You will need to setup wireless again (choose network, enter password) because wifibox works different)

Edit: I had no connection at some point when I tested this (first installed frisbee over wifibox, then again installing wifibox over frisbee) , solved it by resetting my router (turned it off, waited 10 seconds and turned back on again)

Fred

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Wifi-box still not working

#49 Post by mikeslr »

Hi belham2,

Thanks for the instruction about moving the drive icons.

Hi Fred,

Installing wifi-box automatically removed frisbee. But I ran the commands you suggested anyway.

Then, as Wifi-box still wouldn't connect to my network, I followed your suggestion to disconnect my router for 10 seconds. Wifi-box still doesn't accept my WEP password and reports "ip address failed on eth0". Edit preferences shows the same, and editing preferences doesn't.

By the way, as long as your working on wifi box I have a request to change its Graphical User Interface. I find double-clicking difficult. Would much prefer to select a network (high-lighting it) and then click a connect button.

While I'm happy using frisbee, let me know if you want further tests regarding wifi-box.

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

wifibox

#50 Post by zagreb999 »

Hi fred

I tested wifi box. It is very unstable.
In remastered iso with quick remaster

Wifibox can not reconnect automatically.

I noticed this fact: network manager
From trinity desktop from q4os and
From pclinuxos trinity work perfectly.
You can tray this one in debiandog.

regards.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#51 Post by fredx181 »

Hi mikeslr and zagreb999,

Pity wifibox still doesn't connect, thanks for testing anyway!

I'll have to give up on it until I can test myself with WEP.
Added to Changes and Fixes list bug report and recommendation to install frisbee

Fred

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#52 Post by mcewanw »

fredx181 wrote: It appears that the program 'wifibox' hasn't been tested well enough (probably only with WPA).
It's taken from Slitaz, and William and I have been working on it to adapt it for XenialDog.
Hi, just downloaded XenialDog 64 and it booted up fine and found and connected to my wifi without any problem. However, as I now realise, I also only have WPA and have only ever tested using that. I'm afraid I also don't have any means to test wifi-box with WEP encryption, sorry.

I'll keep using this for a while at least and will report any problems I have or find of course!

Cheers, William
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#53 Post by mcewanw »

Hi Fred,

All running well and smoothly thus far. My only complaint is that you put me to the trouble of having to install wex and weav from the repository! ;-)
Good news is that wex worked perfectly (including perfectly synced embedded webcam) - just like in XenialDog32. Of course I also needed libav-tools (which provided avconv/ffmpeg functionality) - used the sfs version of that. I'll continue to report back more if anything crops up.

Cheers, William
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Setting system clock to display correctly using timedatectl

#54 Post by mcewanw »

Hi All,

I had trouble getting my XenialDog64 clock to display correctly on my "Linux dual-boot with Windows OS" system - a common problem we've come across before, I know...

Indeed, there have been many posts about system time being displayed improperly, and especially when using a dual-boot with Windows system. Unfortunately, many of the 'possible solutions' provided have been more confusing than helpful because the methodology used to set system time seems to have changed on more recent Linux systems (or certainly in Xenial using systemd - I'm not sure about sysvinit systems but the following worked for me on both default XenialDog32 and XenialDog64 systems). Note that there was no more need to play about with files in /etc hierarchy such as /etc/default/rcS (e.g. setting UTC=no in there no longer works in these systems I tested...):

My menu.lst was as follows:

title PorteusDog Xenial64 openbox (sda7)
root (hd0,4)
kernel /xenial64/casper/vmlinuz noauto from=/xenial64/ changes=EXIT:/xenial64/casper/
initrd /xenial64/casper/initrd1.xz


STEPS TO FIX YOUR CLOCK IN XENIALDOG...

SUMMARY:

BEGIN
During Boot, set your RTC (BIOS) clock to your actual local time.
Boot into XenialDog and set your timezone (e.g. using XenialStartMenu -> Settings -> Set TimeZone).
Then open a terminal and run the command:

Code: Select all

timedatectl set-local-rtc 1 --adjust-system-clock
Finally, save your new settings with save2flash or similar.
For further info (e.g. to instead change Windows to use UTC...) see here:
http://ubuntuhandbook.org/index.php/201 ... indows-10/
END - All should now be fine...

NOTE: Having written the above, I've since discovered "The Flying Cat" briefly pointing to almost the same solution for Time setting.

http://murga-linux.com/puppy/viewtopic. ... 657#928657

EDIT: I originally included some details using the timedatectl command on its own to show the various results at each stage, but I made a mess of it and lost the correct results. The main thing is that when you run timedatectl on its own the last line may originally indicate: "RTC in local TZ: no" when what you usually want is "RTC in local TZ: yes". The commandline:

Code: Select all

timedatectl set-local-rtc 1 --adjust-system-clock
arranges that RTC localtime "yes" for you.

William
github mcewanw

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#55 Post by fredx181 »

Thanks William!

To add:
There's also built in timeserver for systemd, I made it by default disabled on XenialDog, to enable back again:

Code: Select all

timedatectl set-ntp true
See also here:
https://wiki.archlinux.org/index.php/systemd-timesyncd

Btw, I personally never set timezone, always make sure the time in the BIOS is set to my local time.
But as Flying Cat says, it's better indeed to set the timezone as it might be required for e.g. Twitter.

Fred

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#56 Post by mcewanw »

Hi Fred,

I'm trying to puzzle out how systemd starts up X in XenialDog64, but I so far haven't been able to determine that. Somehow, somewhere, .xsession (symlink) has to be called, but I have no idea how. Any idea?

I'm becoming interested in systemd and want to understand it better, but this is a bit of a stumbling block. Is it simply falling back to using rc files in /etc/init.d or what? I was expecting something about graphical.target (not that i know what happens then anyway.

The command

Code: Select all

systemctl cat graphical.target
did print out some info including saying wants display-manager.service, so I tried:

Code: Select all

systemctl cat display-manager
but reported back "no files found for display-manager.service and in /etc/systemd/system, display-manager.service just seems to be a dead symbolic link.

Now, I hasten to add, I don't have a clue really what I'm doing - just playing with some systemd commands/explanations I've read about, but a bit lost in no-mans-land so far...

Please (anyone) let me know if you have any better clue about this, since understanding XenialDog64 boot process in some detail would make me happy since I hate to feel so ignorant...!

William
github mcewanw

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#57 Post by fredx181 »

Hi William,
I'm trying to puzzle out how systemd starts up X in XenialDog64, but I so far haven't been able to determine that. Somehow, somewhere, .xsession (symlink) has to be called, but I have no idea how. Any idea?
....
X is not started by systemd on XD.
It's startx, part of 'xinit' package. startx is called from /etc/profile
Have to say I don't know much about systemd, but AFAIK systemd will start at boot any display-manager (if installed and chosen as default) e.g. slim or lightdm

Also, in case you wonder about how autologin is done in XD, the configuration is in /etc/systemd/system/getty.target.wants/getty@tty1.service

Code: Select all

ExecStart=-/sbin/agetty --noclear -a root %I $TERM
So official "systemd" way would be to install a display-manager, edit /etc/systemd/system/getty.target.wants/getty@tty1.service (remove the "-a root") and remove the last block (containing startx) from /etc/profile .

Fred

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#58 Post by mcewanw »

Thanks Fred,

I forgot X could have been started via /etc/profile - also thanks for the autologin info.

William
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Facebook photo click issue in Firefox? Or just my laptop?

#59 Post by mcewanw »

I have a weird bug, but this could well be something wrong with my old HP Elitebook 2530P laptop (maybe keyboard sticking or something). However, I've only noticed the problem thus far when using XenialDog64 and only in Firefox (the one provided I think) and when using Facebook. So I'm posting just in case there is a bug that anyone else has encountered. What happens is that if I click on a Facebook photo post to see it bigger size etc, then Facebook keeps cycling back and forth into the small size then the big size every second or two, on and on... I'm currently back in XenialDog32 (rather than XenialDog64) trying to see if the same issue comes up, but not so far. I'll report back if the issue persists and seems to be OS rather than my laptop... So if anyone else has come across such an issue please let me know. I'm betting on it just being my laptop though... though possibly the version of Firefox?

Cheers, William

EDIT: Seems to be a bug on the system right enough - though don't know yet if it is Firefox (version used in XenialDog64 is 27.0?). After googling, I came across the following forum thread about same issue. The first post gives a Facebook link that illustrates the issue (at least on my system). I don't think it a fault on my laptop and I have no Firefox extensions at this time:

https://forum.palemoon.org/viewtopic.ph ... 7b69ee22a4

The last page of that palemoon thread suggests they came up with a fix.

I'm going to try upgrading Firefox to latest version (rather than continuing to use 64bit version of Firefox 27.0) to see if bug goes away...
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#60 Post by mcewanw »

Have now upgraded to Firefox ver 45.0.2 (not the latest version) and the infinite reloading in Facebook photo posts seems to have gone away on XenialDog64. I'll upgrade now to the latest FF I can get and I expect that should be fine too.

William

EDIT: Yeah, that was fine too (with 64bit Firefox ver 51.0.1) so looks like there is an issue with earlier 64bit Firefox 27.0 at least.
github mcewanw

Post Reply