FatdogArm Beta1/2/3/4- 16 April 2016

A home for all kinds of Puppy related projects
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#21 Post by 01micko »

I think you miss something Mr Nelson.

FatDog-Arm uses pkgtool (official slackware), GSlapt and slapt-get (3rd party slackware) tools as a matter of choice (by jamesbond) instead of adapting FatDog Package Manager. I believe because it is a simple system.

In *no way* does FatDog Arm support SlackwareArm packages; they are built for armv5. That doesn't mean they wont run, but I wouldn't bother trying. I would rather, if I desired a package from there, compile the package using the slackbuild script and adapting that script into a native (to FatDog Arm) pkgbuild script for consideration by Mr Bond for the repository.

I guess now you understand that apt (etc) is not, nor ever will be, at least in the immediate future, considered for use in FatDog-Arm. (Of course I am in no way speaking for jamesbond, but I don't *think* his response would be much different in substance, perhaps more comprehensive).

No one can tell you how to spend your hard earned, but I happen to love this software on my Odroid. I actually have 2 micro SD cards with FatDog-Arm on them now; nuked Ubuntu.

Cheers
Puppy Linux Blog - contact me for access

User avatar
jeff-nelson
Posts: 20
Joined: Thu 21 Feb 2013, 23:59
Location: South Lake Tahoe, CA
Contact:

#22 Post by jeff-nelson »

Sounds awesome.

I'm thinking of putting together a home server based on this distribution, with features like mail server, web server, media sharing, video player, etc.
[url]http://www.jeff-nelson.com[/url]
[url]http://blog.jeff-nelson.com[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#23 Post by Ted Dog »

yep and home brew wireless access point and or mesh networking... Its somewhat like the golden age of the pre IBM pc and Microsoft.. Everybody is hacking together a thing called a computer and could do it on the cheap if you did not mind having to do stuff on our own.
I have made a promise not to buy another computer like gadget or a year or until I pour the foundation for my own house... I am think a really really small house like a tumbleweed home could work.. I can add on later :D in a week it will only be 8 more months...

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#24 Post by jamesbond »

IHaveU3 - your dongle rtl8192cu is supported (mine is also rtl8192). But your disconnection - why did you need to use the "manual" configuration to create the wpa_supplicant configuration file? Do you connect to a hidden SSID?

01micko, you are absolutely correct :) I have nothing else to add :)
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

IhaveU3
Posts: 12
Joined: Sat 08 Mar 2014, 02:17
Location: Sydney

wifi

#25 Post by IhaveU3 »

Fred again
Hi James :D
No I don't have hidden SSID, however was trying to connect after the install.sh would not let me establish a connection.
Tried to connect without any encryption settings on the wifi router.

Here is the output from wpa_supplicant:
----------------------------------------------------------------------------------------------------------
wpa_supplicant v2.0
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/network-setup/access/wlan0-Dogsbreath' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/network-setup/access/wlan0-Dogsbreath' -> '/etc/network-setup/access/wlan0-Dogsbreath'
Reading configuration file '/etc/network-setup/access/wlan0-Dogsbreath'
ctrl_interface='DIR=/var/run/wpa_supplicant GROUP=users'
update_config=1
Line: 10 - start of a new network block
ssid - hexdump_ascii(len=10):
44 6f 67 73 62 72 65 61 74 68 Dogsbreath
key_mgmt: 0x4
auth_alg: 0x1
Priority group 0
id=0 ssid='Dogsbreath'
WEXT: cfg80211-based driver detected
wext: interface wlan0 phy: phy0
rfkill: Cannot open RFKILL control device
WEXT: RFKILL status not available
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0x1f flags 0x0
netlink: Operstate: linkmode=1, operstate=5
wlan0: Own MAC address: 00:a8:2b:00:00:c3
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0 sec 100000 usec
WPS: Set UUID for interface wlan0
WPS: UUID based on MAC address - hexdump(len=16): e7 fe f9 4b 00 a3 50 11 9b 9d a3 61 77 e0 db 2f
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
ctrl_interface_group=500 (from group name 'users')
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=8
wlan0: State: DISCONNECTED -> SCANNING
---------------------------------------------------------------------------------------------------------
Here is output of dmesg:
---------------------------------------------------------------------------------------------------------
wlan0: authenticate with 00:1b:9e:08:70:95
Mar 25 15:14:03 fatdog-arm-d41 kern.info kernel: [ 488.347121] wlan0: send auth to 00:1b:9e:08:70:95 (try 1/3)
Mar 25 15:14:03 fatdog-arm-d41 kern.info kernel: [ 488.349319] wlan0: authenticated
Mar 25 15:14:03 fatdog-arm-d41 kern.info kernel: [ 488.349425] rtl8192cu 1-3.1:1.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
Mar 25 15:14:03 fatdog-arm-d41 kern.info kernel: [ 488.349431] rtl8192cu 1-3.1:1.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
Mar 25 15:14:03 fatdog-arm-d41 kern.info kernel: [ 488.350996] wlan0: associate with 00:1b:9e:08:70:95 (try 1/3)
Mar 25 15:14:03 fatdog-arm-d41 kern.info kernel: [ 488.365552] wlan0: RX AssocResp from 00:1b:9e:08:70:95 (capab=0x401 status=0 aid=1)
Mar 25 15:14:03 fatdog-arm-d41 kern.info kernel: [ 488.367123] wlan0: associated
Mar 25 15:14:03 fatdog-arm-d41 kern.info kernel: [ 488.367144] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mar 25 15:14:16 fatdog-arm-d41 kern.info kernel: [ 501.413392] wlan0: deauthenticating from 00:1b:9e:08:70:95 by local choice (reason=3)
Mar 25 15:14:16 fatdog-arm-d41 kern.info kernel: [ 501.440822] cfg80211: Calling CRDA to update world regulatory domain
Mar 25 15:19:03 fatdog-arm-d41 kern.info kernel: [ 788.472391] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

I must not be holding my nose right :)
Confused Fred

IhaveU3
Posts: 12
Joined: Sat 08 Mar 2014, 02:17
Location: Sydney

wifi

#26 Post by IhaveU3 »

Yippy yip yippy
WiFi dongle now working :D
It appears to have been caused by running wpa_supplicant more then once:
Did a ps aux | grep wpa
Output: wpa_supplicant -B -i wlan0 -Dnl80211 -c/etc/network-setup/access/lan0-Dogsbreath
Than used:
dhcpcd -t 30 -h fatdog -d wlan0
Wifi now associated
Happy Fred :D

mories
Posts: 70
Joined: Mon 21 Dec 2009, 12:51

minor problem with pkeys

#27 Post by mories »

The pkeys parameter does not work properly. In rc.sysinit is used

Code: Select all

ls /lib/keymaps/${pkeys}*
what do not exist.

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#28 Post by Mercedes350se »

When I purchased my U3 I also bought the Ubuntu SD card with the intention of installing FatdogArm.

Gparted shows the following:

unallocated 2MiB
/dev/sdd1 fat32 size 128MiB used 7.53MiB
/dev/sdd2 ext2 size 4.10GiB used 3.85GiB
unallocated size 3.19GiB

However /dev/sdd2 has a warning triangle which if information is clicked gives

Warning:
e2label: Filesystem has unsupported feature(s) while trying to open /dev/sdd2
Couldn't find valid filesystem superblock.


I haven't tried the SD card in the U3 - the eMMC works as expected.

I assume, because there are issues with the filesystem, that is why, when I /mnt/sdd2, I see nothing in that partition.

Just curious before I install FatdogArm.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#29 Post by jamesbond »

IhaveU3 wrote:Yippy yip yippy
WiFi dongle now working :D
Glad you have made it to work, Fred, congrats!
It appears to have been caused by running wpa_supplicant more then once:
Did a ps aux | grep wpa
Output: wpa_supplicant -B -i wlan0 -Dnl80211 -c/etc/network-setup/access/lan0-Dogsbreath
Than used:
dhcpcd -t 30 -h fatdog -d wlan0
I wouldn't have guessed that you run wpa_supplicant twice. I was beginning to think that your dongle isn't correctly initialised because I don't see the "loading firmware" message. But glad you make it work.

By the way, why don't you use the network wizard from control panel? Why the need to run wpa_supplicant and dhcpcd manually?
mories wrote:The pkeys parameter does not work properly. In rc.sysinit is used

Code: Select all

ls /lib/keymaps/${pkeys}*
what do not exist.
Thank you for reporting the bug. I'll get this fixed.

@Mercedes350se,
I don't have the Ubuntu pre-loaded SD Card from HK, so I can't tell, but the Ubuntu image that I have (which I downloaded from HK forum), the FAT32 and the ext4 partitions can both be accessed without error.

@All,
I have updated Odroid's kernel package with driver for rtl8188eu (popularly known as TP-WN725N) wifi dongle.

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#30 Post by ally »

my odroid U3 being delivered today.....getting excited......

:)

mories
Posts: 70
Joined: Mon 21 Dec 2009, 12:51

Obconf problem

#31 Post by mories »

Fatdog running quite well in ODROID-u3. Very good job.

Obconf failed to find obconf.ui.
I think it's problem of change in source of gladedir by resourcedir.
Copying obconf.ui in the current directory works correctly.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#32 Post by jamesbond »

Thanks mories, fixed. You re-install obconf from the repo.
Still working on that pkeys thing, though.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#33 Post by ally »

hey guys

awesome work!

couple of Qs please

1. the image to tv through hdmi is over-scanning by about half an icon all round, how do I adjust?

2. sound, no sound out via hdmi - is this to b expected?

regards

:)

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

Re: minor problem with pkeys

#34 Post by jamesbond »

mories wrote:The pkeys parameter does not work properly. In rc.sysinit is used

Code: Select all

ls /lib/keymaps/${pkeys}*
what do not exist.
Fixed. Patch:

Code: Select all

--- fatdog-scripts/etc/rc.d/rc.sysinit
+++ fatdog-scripts/etc/rc.d/rc.sysinit
@@ -128,14 +128,15 @@
 
 # load keymaps and console fonts - rc.country no longer used
 # modified from original keymap loading code (c) Barry K
 [ -z "$pkeys" ] && [ -e /etc/keymap ] && read pkeys < /etc/keymap 
 if [ "$pkeys" ]; then
-       pkeys=$(ls /lib/keymaps/${pkeys}* | sed -ne '1 {s|^.*/||; p}')
+       pkeys_path="$(find /lib/keymaps/ -name "${pkeys}*" | head -n 1)"
+       pkeys=${pkeys_path##*/}
        if [ "$pkeys" ]; then
                echo ${pkeys%%.*} > /etc/keymap
-               zcat /lib/keymaps/$pkeys | loadkmap 
+               zcat $pkeys_path | loadkmap 
                case $pkeys in 
                        de*|be*|br*|dk*|es*|fi*|fr*|it*|no*|se*|pt*)
                                modprobe nls_cp850
                                zcat /lib/consolefonts/lat1-12.psfu.gz | loadfont
                                echo lat1-12.psfu > /etc/fontmap
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#35 Post by jamesbond »

ally wrote:hey guys

awesome work!
Thanks.
1. the image to tv through hdmi is over-scanning by about half an icon all round, how do I adjust?
Try to adjust your TV for "Just Scan". If there is no such thing, try to adjust to zoom factor on your TV. If you're using HDMI-to-VGA or HDMI-to-DVI, then I don't know ... don't have the hardware.
2. sound, no sound out via hdmi - is this to b expected?
There is sound. Open terminal and type "speaker-test -t wav -c 2" and you should hear something. If you mean sound from web-browser, launch "fatdog soundcard wizard" from control panel, choose the first entry (output, I think) and from there choose "fix rate at 44100". You should hear sound from web too.

Good luck.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#36 Post by ally »

thanks jb

both settings issues with the tv - my bad

I was hoping to stream from thedarewall.com but seamonkey is having difficulties, not sure if it's a flash issue (media files not playing on bbc.news website either) but package manager shows flash installed and youtube works ok?

pushing my luck but would a chrome be available in the future?

:)

edit: could the odroid be used as dlna server using the scripts from shinobar or do they have to be compiled for the arm?

edit2: I've just noticed that the bbc news website is transferring to the mobile (http://m.bbc.co.uk...) presumably because the chipset is from the galaxy s3, this may be why the streaming is proving difficult, can the browser be 'forced' in some way?

pps - sorry for lots of Qs! :)

mories
Posts: 70
Joined: Mon 21 Dec 2009, 12:51

obconf and pkeys

#37 Post by mories »

Thanks jb.

The new obconf working properly. Just a little extra detail: when called from fatdog-control-panel (with obconf %f) an error "unable to extract the file% f" occurs.
I think the solution is to modify obconf.desktop removing the% f.

Regarding pkeys parameter (in my case pkeys=es) finds an appropriate map, but then loadkmap gives an error "not a valid binary keymap".

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#38 Post by jamesbond »

ally wrote:both settings issues with the tv - my bad
No worries. Glad you can make it work.
I was hoping to stream from thedarewall.com but seamonkey is having difficulties, not sure if it's a flash issue (media files not playing on bbc.news website either) but package manager shows flash installed and youtube works ok?
Ok this is something I had to put in BIG CAPITAL letter in the first post (in fact I'm going to edit the post after this reply). I'm sorry if this is going to ruin your world. In the ARM world, with very rare exception, there is NO FLASH. Why? Flash performance on generic ARM cpu is *so bad* that it embarassed Adobe who decided to stop distributing ARM version of Flash for generic ARM a few years ago. Adobe still makes Flash for ARM of course, but:
a) only for Android devices that pay them license
b) only for select Linux manufacturers that pay them license
c) and those Flash player uses some kind of acceleration (either GPU or VPU), so it is very hardware/platform-specific (you can't get a Flash player from Cubieboard2 to run on Odroid, for example).

In FatdogArm, the only platform that has Flash player is OLPC XO-4. Not even OLPC XO-1.75 has it. Why? Because OLPC has paid blanket licensing for Flash player on OLPC XO-4, so you have it. Other platforms don't have it. Sorry :(
pushing my luck but would a chrome be available in the future? :)
No. I'm not aware of official ARM version of Chrome built by Google. The best we can do is Chromium - but beware that Chromium doesn't come with Flash either ...

On another note, somebody managed to fish Android's Flashplayer and run it under Linux using tricks similar to ndiswrapper (remember that?), using a special library (pepperflash or something) which tricks the Flash player to think that it is running on Android. I'll see if I can get this done, but firstly I need to find Flash player for Odroid if this is going to happen.

EDIT:
Alternatively, Mozilla is trying to break free from Flash: http://mozilla.github.io/shumway/ is a flash player built entirely on Javascript. It works, but it's still in early days and not usable for viewing youtube.
edit: could the odroid be used as dlna server using the scripts from shinobar or do they have to be compiled for the arm?
I haven't seen shinobar's scripts. If it is pure scripts (no binaries) then it should work; if it contains binaries (=compiled programs) then they all have to be recompiled for ARM. Note that the kernel may need some settings to be enabled too, I'm not too sure about it. Point me to the right link, I may look at it.
edit2: I've just noticed that the bbc news website is transferring to the mobile (http://m.bbc.co.uk...) presumably because the chipset is from the galaxy s3, this may be why the streaming is proving difficult, can the browser be 'forced' in some way?
You can use the usual add-ons to change user agents; but more often than not, mobile websites provide options to switch back to "desktop" views.
mories wrote:Thanks jb.

The new obconf working properly. Just a little extra detail: when called from fatdog-control-panel (with obconf %f) an error "unable to extract the file% f" occurs. I think the solution is to modify obconf.desktop removing the% f.
Of course. I will clean it. I think there are many more of them that slipped my notice.
Regarding pkeys parameter (in my case pkeys=es) finds an appropriate map, but then loadkmap gives an error "not a valid binary keymap".
This is after the patch, I presume? I need a way to test it that I can revert back to US keymap ... but I'll get back to you.
Last edited by jamesbond on Wed 02 Apr 2014, 16:27, edited 2 times in total.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#39 Post by ally »


jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#40 Post by jamesbond »

Re-compilation on ARM required. Source?
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

Post Reply