Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 20 Sep 2019, 20:22
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
EasyOS Buster 2.1.3 released, September 15, 2019
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 90 of 122 [1827 Posts]   Goto page: Previous 1, 2, 3, ..., 88, 89, 90, 91, 92, ..., 120, 121, 122 Next
Author Message
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9023
Location: Perth, Western Australia

PostPosted: Sun 03 Feb 2019, 06:33    Post subject: Re: Huawei E173z-1 can not be detected by EasyOS 1.0  

alibadrelsayed wrote:
Barry K, I Go to /etc/init.d and change the properties of 'rc.networkmanager' to non executable
reboot
choose Internet Connection Wizard
the modem detected correctly but when I click connect this is the output :
--> WvDial: Internet dialer version 1.61
--> Warning: section [Dialer wireless] does not exist in wvdial.conf.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT 7200000
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Sun Feb 3 07:24:32 2019
--> Pid of pppd: 12835
--> Disconnecting at Sun Feb 3 07:24:33 2019
--> The PPP daemon has died: No ppp module error (exit code = 4)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 4)

Iany solution for this error ??
thank you for your support.
[/img]


Gee, it seems like it is almost there. It is years since I used usb-modeswitch and wvdial. Memory of how to use them getting a bit hazy.

This line looks important:

Quote:
The PPP daemon has died: No ppp module error


...you can google that.

You might have to manually load some kernel modules, for example:

Code:
# modinfo ppp_async


...I did a quick google and someone reported having to manually load ppp-async, someone else said ppp_generic

You can do this in a terminal to see what is already loaded:

Code:
# lsmod


He is a related post:

http://murga-linux.com/puppy/viewtopic.php?p=838228#838228

So, you could try this, before trying to use wvdial:

Code:
# modprobe ppp_generic

and/or:
Code:
# modprobe ppp_async


I'm wondering what has gone wrong here. The appropriate kernel module used to load, can't recall, I thought there was one called 'ppp', but there isn't now, perhaps that is the problem.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9023
Location: Perth, Western Australia

PostPosted: Sun 03 Feb 2019, 06:36    Post subject:  

EasyApps is now internationalized:

http://bkhome.org/news/201902/easyapps-internationalized.html

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
alibadrelsayed

Joined: 29 Jan 2019
Posts: 12

PostPosted: Sun 03 Feb 2019, 13:51    Post subject: Huawei E173z-1 can not be detected by EasyOS 1.0  

Barry K, thank you for your support, I load all ppp kernel modules,
ppp_generic
ppp_async
ppp_deflate

the problem still there.
I'll try to tweak some configurations and packages like modeswitch and
wvdial and comparing some xenialpup 7.5 kernel modules with EasyOS 1.0
to see what's going on. I will be back if I find a solution,
till that any suggestions will be appreciated.
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3445

PostPosted: Sun 03 Feb 2019, 18:11    Post subject:  

Nice! If you extract/use portable firefox inside the easy containers shared folder ... then it isn't included as part of the containers snapshot (nor the main session snapshots).

You can also run it from both sides, but not at the same time. Not sure you'd want to though (i.e. just run it in the container only).

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3445

PostPosted: Sun 03 Feb 2019, 19:06    Post subject:  

Barry. Seems odd that root inside the easy container cannot edit /.control/easy, but spot can (su spot and then edit the file).

That aside my question is, how/what creates that easy file after a container rollback? It suggests that dir2sfs does within the file itself, but editing that doesn't reflect the changes after a rollback. (Fundamentally I just want it to contain

#!/bin/bash
cwm

after a rollback as that is the window manager I'm using).

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3445

PostPosted: Sun 03 Feb 2019, 22:02    Post subject:  

Barry.

Sorry, another question. Inside the Easy Container do you need to run pup-advert-blocker and firewall_ng ... or are the main sessions firewall/ad blocker adopted?

Seems like they're separate, if I add 127.0.0.1 google.com to the main host file I can still access google from inside the Easy container. Yet when I run firewall_ng inside the container it doesn't seem to retain the values (activate it, close and reopen firewall_ng .. and it still shows as being off).

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
alibadrelsayed

Joined: 29 Jan 2019
Posts: 12

PostPosted: Tue 05 Feb 2019, 02:33    Post subject: Huawei E173z-1 can not be detected by EasyOS 1.0  

I spend all day trying to make Huawei E173z-1 work in EasyOS 1.0 , but the problem still there, I go back to Xenialpup 7.5 and it works in less than a minute, Barry's new post
http://bkhome.org/news/201902/networkmanager-removed-from-easyos.html
seems good news (for me I guess Smile . I'll return to EasyOS as soon as he uploads the new img file, to check if that solve the problem.or not, thanks again for Barry K and rufwoof for their help and support.
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3445

PostPosted: Tue 05 Feb 2019, 17:52    Post subject:  

Barry

Comment out line 216 in /usr/local/easy-containers/start-container
Code:
# rm -f ${DIRSESSION}/root/Choices/ROX-Filer/* 2>/dev/null

Change the Easy containers /.container/easy file to ... (i.e. comment out the PuppyPin backup copies near the top, and changed code towards the bottom
Code:
#!/bin/sh
#this script generated by /usr/local/sfsget/dir2sfs
#PuppyPin backup...
#if [ -f /root/Choices/ROX-Filer/PuppyPinBACKUP ];then
# touch /root/Choices/ROX-Filer/PuppyPin
# if [ "$(grep 'defaultbrowser' /root/Choices/ROX-Filer/PuppyPin)" == "" ];then
#  cp -a -f /root/Choices/ROX-Filer/PuppyPinBACKUP /root/Choices/ROX-Filer/PuppyPin
# fi
#fi
cp -a -f /root/Choices/ROX-Filer/PuppyPin /root/Choices/ROX-Filer/PuppyPinBACKUP
#181115 xenialpup puppy package manager needs this...
FREEM="$(df -m / | tail -n 1 | tr -s ' ' | cut -f 4 -d ' ')"
echo -n "${FREEM}" > /tmp/pup_event_sizefreem
#unexpected change of screen dimensions may cause desktop drive icons to be displaced...
SCRNXY="`xwininfo -root | grep -o '\-geometry .*' | tr -s ' ' | cut -f 2 -d ' ' | cut -f 1 -d '+'`"
SCRN_X="`echo -n "$SCRNXY" | cut -f 1 -d 'x'`"
SCRN_Y="`echo -n "$SCRNXY" | cut -f 2 -d 'x'`"
echo -n "$SCRN_X" > /tmp/pup_event_frontend_scrn_x #read by frontend_change.
echo -n "$SCRN_Y" > /tmp/pup_event_frontend_scrn_y #read by frontend_change.
if [ -f /var/local/pup_event_frontend_scrn_x ];then
 oldSCRNX="$(cat /var/local/pup_event_frontend_scrn_x)"
 oldSCRNY="$(cat /var/local/pup_event_frontend_scrn_y)"
 [ "$SCRN_X" != "$oldSCRNX" ] && echo "ICONWIPE" > /var/local/pup_event_icon_change_flag
 [ "$SCRN_Y" != "$oldSCRNY" ] && echo "ICONWIPE" > /var/local/pup_event_icon_change_flag
 #.../var/local/pup_event_icon_change_flag is read by /sbin/clean_desk_icons (see below).
fi
echo -n "$SCRN_X" > /var/local/pup_event_frontend_scrn_x
echo -n "$SCRN_Y" > /var/local/pup_event_frontend_scrn_y
#make sure /usr/local/bin in path:
[ "$(echo -n "$PATH" | grep '/usr/local/bin')" == "" ] && export PATH="/usr/local/bin:${PATH}"
/usr/bin/desk-delayedrun & #this will launch tray applets.
#relocates right-side icons to actual right-side of screen...
/usr/sbin/fixPuppyPin /root/Choices/ROX-Filer/PuppyPin
CR='
'
#start rox...
#181013 don't know how, rox picks up wallpaper etc from host rox (but corrupted)...
#181105 weird, but have to start rox, start jwm, kill then restart rox...
cp -f /root/Choices/ROX-Filer/globicons /root/.config/rox.sourceforge.net/ROX-Filer/
cp -f /root/Choices/ROX-Filer/PuppyPin /root/.config/rox.sourceforge.net/ROX-Filer/

#galculator &
#V=$!
#sleep 0.5
#kill $V
sakura --geometry 1x1 -x killall sakura # wake up gtk
rox -p /root/Choices/ROX-Filer/PuppyPin
jwm

and in a xterm you can run jwm -exit to end the container, it loads/starts quicker, and changing the wallpaper, desktop icons, jwm theme etc. works better.

Running and then killing a X program doesn't 'fix' things, looks like it could be gtk that needs waking up inside the container. starting/killing a gtk program (such as galculator or sakura as I used above), seems to fix Xephyr.

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3445

PostPosted: Wed 06 Feb 2019, 20:01    Post subject: Easy 1.0 remstered frugal x86_64  

EDIT 17th Feb 2019 : Latest version has mc inside init and chroot's the main desktop. Boots to normal setup .. or if you exit X and run 'twin' it sets up a tmux on ctrl-alt-F1, main X on ctrl-alt-F4, easy container X on ctrl-alt-F3. Currently hard coded in /usr/local/bin/twin to mount sda3 from within the init, so sda3 becomes inaccessible to any of the X sessions (mounted and mounted to a mount point that is inaccessible to X, can only access it via the tmux window).

====================================================================

EDIT 11th Feb 2019 : Another version uploaded (still same links as before). This one has ~/.tmux.conf moved to /etc/tmux. Also includes the preserving of the Easy containers /mnt/wkg/home contents when a snapshot is made and then restored. Standard EasyOS 1.0 doesn't preserve anything under /mnt, to work around preserving /mnt/wkg/home its been set to save that in the snapshot to /mntwkghome and then when the Easy container is started if it sees /mntwkghome then it moves that to /mnt/wkg/home

====================================================================

EDIT 10th Feb 2019 : newer version uploaded ... that also includes vlc and audacity (expands the easy.sfs to 435MB. Download (tar file) is 445MB (includes vmlinuz and initrd)

For reference/interest :

high xz compressed easy sfs : 435MB
normal (gzip) compressed : 543MB
lzo level 1 compressed : 659MB (what I'm running as its very snappy)
Uncompressed : 1636MB

====================================================================

In reflection of Barry removing NetworkManager I used the remove built in packages menu option to do likewise. Remastering and easy.sfs filesize of 362MB (using a modified easy-remaster with a additional -b 524288 compression parameter for the x86 option). My version also fixes the Easy container to work better (JWM Deskmanager icons, background, jwm theme and icon additions/removals (such as removing sfsget desktop icon that shouldn't be in the container) all work as expected)

My version is still buggy, but the fixes are relatively minor.

1. In easy container right click the Rox File manager icon and edit it to a valid folder such as setting the 'argument to pass' value to --dir=/

2. Right click and remove the sfs desktop icon inside the easy container

3. Create a exit-container script in /root containing
#!/bin/sh
jwm -exit
.. and make that executable (I drag that to the desktop so its to hand)

4. I also install firefox portable into the container and use that instead of seamonkey, as it auto updates.

5. On the main (full/real root) desktop I also fire up Menu, Filesystem, Easy Container Manager and at the top remove both the console and www containers, as I have no need for them and opine that they're not that secure.

I frugal boot (HDD, using grub4dos/menu.lst), so only use the initrd, vmlinux and easy.sfs files for that. If anyone else wants a copy here's a tar file containing the initrd, vmlinuz and easy.sfs for x86_64. Not many seem to be bothering however, perhaps because of having to manually open/edit/close the initrd content if you haven't already got a EasyOS up and running (to use its in built click on initrd to automatically have it edited to the correct settings).

For me, BIOS/amd64/grub4dos, for manually configuring initrd its a case of running blkid in order to get the uuid of where I frugal boot from, and then entering that into menu.lst

title EasyOS-1.0 (sda1)
uuid 3f8f077d-7a7d-4e7a-9cb5-a8b94e1f1c87
kernel /easy/1.0/vmlinuz
initrd /easy/1.0/initrd

If you don't know if sda1 is ext2, 3 or whatever then run gparted to find out.

Also you need to run fdisk -l /dev/sda ... to note the Disk Identifier.

With that info you then have to open initrd

# mkdir initrd-tree
# cd initrd-tree
# cat ../initrd | cpio -i -d -m
# cd ..

Edit it (this is one of Barry's images for 0.9.10). Common errors are putting slashes where they're not supposed to be in the boot or working directory entries, or specifying the wrong type (ext4 instead of ext3 or whatever)



and then close it up using

# sync
# rm initrd
# cd initrd-tree
# find . | cpio -o -H newc > ../initrd
# sync
# cd ..

Next time (or if you change the folder where you boot EasyOS), it's a lot easier as within EasyOS you can just click on the initrd and it does it all for you. Its just the first time install/runs that are trying and seem to put many off.

Once booted/setup, typically I mainly load/use the Easy container to browse etc. Only using the main system (that you alt-F6 from the Easy container to get to that) for admin type activities or other things that cannot be done inside the Easy container. Menu, Filesystem, Easy Version Control is the other thing to get used to. You can snapshot the main system (restores need a reboot), and/or snapshot the Easy container (rollbacks don't require a reboot, just that the Easy container must be closed before making a snapshot or restoring a snapshot. A bit like remastering, but very quick, and you can roll forward/backward between snapshots).

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh

Last edited by rufwoof on Sun 17 Feb 2019, 14:54; edited 4 times in total
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3445

PostPosted: Wed 06 Feb 2019, 21:30    Post subject:  

That remaster has tmux installed. The default configuration is OK, but I create my own as per this post (/root/.tmux.conf) that I at least think looks nicer. mc is also installed. There's also a fbgrab utility that grabs a snapshot image/picture of the console. That only works from within the main (real root) session/desktop (Easy container doesn't have the permissions to see the console). So for example if you ctrl-alt-F2 and login as root (you do change the default woofwoof puppy root password to something else don't you Smile i.e. run passwd as root and enter a new password (twice)), and then start up tmux perhaps, then ctrl-alt-F4 back to the X/gui/desktop and in a terminal run the command
fbgrab -s 5 some.png ... which sets off a 5 second delay, and the ctrl-alt-f2 again so that it grabs a picture (as some.png filename) after 5 seconds (no warning/info that the picture has been taken, you just have to mentally count to 5).

I add a menu.lst kernel boot parameter of video=800x600 (or 640x480) so that my virtual consoles are set to that resolution (I find the default resolutions too small). tmux has many useful features, especially for collaborating or running things on multiple different boxes. In the tmux configuration file mentioned above the control key that is usually ctrl-b has been remapped to the backtick key, as I prefer that. In a script where you might want to type in a backtick such as in a execute command that does however mean having to press backtick twice in order for it to print a backtick character.

Common tmux commands are backtick - to split a window horizontally, backtick | for a vertical split (again those are my definitions), backtick and a arrow key to step between panes. backtick z to zoom/unzoom a pane. I've set F11 to add another tmux window, F12 to step between tmux windows. There are many others, but fundamentally those are the ones I use the most.

Attached is a fbgrab image (clickable thumbnail) of my 800x600 console with three panes. Switch to any one of them and backtick z full screens that pane, backtick z again to restore it. Personally I don't tend to use panes that much myself, instead I prefer to just have multiple maximised windows and F12 between them. Similar to in X .. I just tend to have each window maximised and alt-tab between them.


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9023
Location: Perth, Western Australia

PostPosted: Wed 06 Feb 2019, 22:04    Post subject:  

I have thrown out NetworkManager:

http://bkhome.org/news/201902/networkmanager-removed-from-easyos.html

It does not really bring anything new "to the table" that is not already achieved by the network management tools inherited from Puppy Linux.

The Puppy tools, such as SNS (Simple Network Setup) do have issues, and I will work on tackling those.

Right now, I am investigating the network management utilities in
'minibase'. These are tiny static utilities:

http://bkhome.org/news/201902/minibase-super-tiny-static-system.html

The author has completely re-thought the basics of a Linux distro, including networking.

For example, he has written 'wsup', which replaces 'wpa_supplicant' -- the latter, I have had much trouble with -- which is why I investigated 'iwd' another replacement, however it is very complex, and immature, and I couldn't get it to work.

I am probably going to be busy with this for a week or two.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9023
Location: Perth, Western Australia

PostPosted: Wed 06 Feb 2019, 22:10    Post subject:  

rufwoof wrote:

Common tmux commands are backtick - to split a window horizontally, backtick | for a vertical split (again those are my definitions), backtick and a arrow key to step between panes. backtick z to zoom/unzoom a pane. I've set F11 to add another tmux window, F12 to step between tmux windows. There are many others, but fundamentally those are the ones I use the most.


Just a quick note: minibase has 'vtmux', which maybe does same as tmux. But I don't know, just briefly read about it.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
step

Joined: 04 May 2012
Posts: 1197

PostPosted: Thu 07 Feb 2019, 07:30    Post subject:  

@rufwoof, thank you for the remastered version download, and for your last two posts, which explain very clearly how to install and use your remastered version of frugal EasyOS. I read most of your posts about Fatdog + tmux and now EasyOS + tmux ++, and these last two posts of yours are the best summary one could find.
_________________
Fatdog64-802|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3445

PostPosted: Thu 07 Feb 2019, 09:20    Post subject:  

What I used to do in Debian is have a main sfs that was empty, and store everything else in the save area. Debian live-boot uses a save partition, so what I'd do is a full install to a partition, then install live-boot and create a empty main.sfs within the /live folder ... with the save area set to the main partition. That way I could boot either as a full install (handy for updates), or as a live-boot (handy for being able to try things out and not save at the end of the session).

Minibase sounds neat. A mini-base like EasyOS that was enough to just boot, network connect, and manage containers, could then go on to load up other things such as racy, xenial, full style easyOS (jwm/rox desktop) ...etc.). Could even perhaps load two containers, one for the main/real like jwm/rox, the other as a restricted. An alternative to having the real and container easyos on the same ctrl-alt-F4 is to map the container to ctrl-alt-F3 i.e. run something like X :1 -br -nolisten tcp -nolisten local vt3 & before running DISPLAY=:1 empty -f ec-chroot easy.

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3445

PostPosted: Thu 07 Feb 2019, 12:37    Post subject:  

Installing the fs icon theme within the Easy container and using jwmdesk to set the desktop icons to that ... looks a nice set of icons IMO
fs.png
 Description   
 Filesize   112.02 KB
 Viewed   416 Time(s)

fs.png


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 90 of 122 [1827 Posts]   Goto page: Previous 1, 2, 3, ..., 88, 89, 90, 91, 92, ..., 120, 121, 122 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3980s ][ Queries: 13 (0.1983s) ][ GZIP on ]