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 Mon 20 May 2019, 14:39
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 35 of 97 [1452 Posts]   Goto page: Previous 1, 2, 3, ..., 33, 34, 35, 36, 37, ..., 95, 96, 97 Next
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Sun 03 Sep 2017, 13:17    Post subject:  

*** Update mklive-stretch ***

Added to GUI "Full DebianDog Openbox_Xfce-Jwm version" option, very similar (but with some fixes) as 32 bit version shared here:
http://murga-linux.com/puppy/viewtopic.php?p=959770#959770
I synced 64 bit custom repository much more with the 32 bit repo, to make a 64 bit Openbox_Xfce-Jwm version build also possible.

Didn't expect when I started this a month ago, that building a full 'Dog' would be possible Smile
Inspired by what jd7654 found out here:
http://murga-linux.com/puppy/viewtopic.php?p=965985#965985
(that way the Base Install field includes many packages)

Other changes:
- Add user 'puppy' (prompt for setting the password)
- Multi-user support improved
- The packages 'gnome-mplayer' and 'transmission' have version number in the name(different for 32 and 64 bit), now there no need to specify that number, so can be added to install list as just e.g: 'gnome-mplayer'

New mklive-stretch:
mklive-stretch script

GUI:


Fred
Back to top
View user's profile Send private message 
jd7654

Joined: 06 Apr 2015
Posts: 297

PostPosted: Sun 03 Sep 2017, 14:52    Post subject:  

fredx181 wrote:
*** Update mklive-stretch ***

Added to GUI "Full DebianDog Openbox_Xfce-Jwm version" option, very similar (but with some fixes) as 32 bit version shared here:
http://murga-linux.com/puppy/viewtopic.php?p=959770#959770
I synced 64 bit custom repository much more with the 32 bit repo, to make a 64 bit Openbox_Xfce-Jwm version build also possible.


Awesome! The script has now come full circle. A complete Dog construction set with many examples/recipes from basic Dog to full DD, and full flexibility for anything inbetween.

I did a 64-bit DD from the gui, added my usual exfat and firmware-nonfree to that. Also removed browser and used my firefox-esr sfs module instead.
Looks to be working great.

Yeah, that's a big package list! I was trying to reduce the full SD package dump I did before to a smaller parent package only list, but gave up on the script as my feeble skills were no match.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Sun 03 Sep 2017, 16:24    Post subject:  

Hi jd,

Quote:
The script has now come full circle. A complete Dog construction set with many examples/recipes from basic Dog to full DD, and full flexibility for anything inbetween.


Yes, turned out pretty nice now, lots of diversity.
Thanks again for your input !!

Quote:
Yeah, that's a big package list! I was trying to reduce the full SD package dump I did before to a smaller parent package only list, but gave up on the script as my feeble skills were no match.


I thought of that, parent package only list, it's a pity you can't really compare with the other configs, maybe it's possible to make it as compact as possible, don't have a clue how though.

Fred
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1274

PostPosted: Sun 03 Sep 2017, 16:44    Post subject:  

fredx181 wrote:
Hi Dan,

Can be that your network interface is other than eth0, perhaps eth1
If so, you need to change to that in peasywifi.
Nothing strange I see in the build conf that could be the cause of your problem.

Fred


No, its not the name. I tried a couple of different things and it made no difference.

I created another one with the newest script and same packages. Ethernet didn't work.

I created a totally stock with your JWM configuration (posting from it now) and it does work. Clicking the "i/f" button says "your ethernet is eth0".

So, there isn't a bug in peasywifi or your script, just something missing or conflicting in the packages I chose. Another mystery that may someday get solved, but unless there is an obvious ting to try, I am going to put it aside for now.

edit: it's not chrome or gksu that is causing the problem. I ran another one and only removed firefox and flashplayer choice and added chrome and gksu. The ethernet worked just fine. I'll try removing a few more things I removed in the config that failed and see if I can run it down as time permits.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Sun 03 Sep 2017, 18:23    Post subject:  

dancytron wrote:
So, there isn't a bug in peasywifi or your script

That's a relief. Open a terminal and run
Code:
/etc/rc.d/rc.network

Are you still using bash as the shell?
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1274

PostPosted: Sun 03 Sep 2017, 19:52    Post subject:  

rcrsn51 wrote:
dancytron wrote:
So, there isn't a bug in peasywifi or your script

That's a relief. Open a terminal and run
Code:
/etc/rc.d/rc.network

Are you still using bash as the shell?


I assume I am still using bash, I haven't done anything to change it.

It seems, that if I add synaptic back in, that it works (assuming it wasn't viewnoir which I also added back in for that build). That leads me to believe that what is missing is some dependency of synaptic.
Quote:

Original failing version:

root@live:~# /etc/rc.d/rc.network
SIOCADDRT: File exists
eth0: ERROR while getting interface flags: No such device
udhcpc: SIOCGIFINDEX: No such device
eth0: ERROR while getting interface flags: No such device
udhcpc: SIOCGIFINDEX: No such device


Quote:
Non-failing version with synaptic added:

root@live:~# /etc/rc.d/rc.network
SIOCADDRT: File exists
udhcpc (v1.22.1) started
Sending discover...
Sending select for 192.168.1.2...
Lease of 192.168.1.2 obtained, lease time 259200
SIOCDELRT: No such process
root@live:~#
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Sun 03 Sep 2017, 20:01    Post subject:  

jd7654 wrote:
Quote:
Yeah, that's a big package list! I was trying to reduce the full SD package dump I did before to a smaller parent package only list, but gave up on the script as my feeble skills were no match.


fredx181 wrote:
I thought of that, parent package only list, it's a pity you can't really compare with the other configs, maybe it's possible to make it as compact as possible, don't have a clue how though.


I changed the ddog.conf. Has much better overview now IMO
Kept the old one also on github, just in case (renamed to ddog.conf.old).
https://debiandog.github.io/MakeLive/configs/

Fred
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Sun 03 Sep 2017, 20:40    Post subject:  

@dancytron: That's strange. I thought that creation of network interfaces would occur in kernel-space and would be independent of software like synaptic.

Does "dmesg" show any clues?

I'm guessing that dhcpcd works because it puts back the missing dependency.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Mon 04 Sep 2017, 05:40    Post subject:  

Hi Dan,

I tested your minimal google-chrome setup without synaptic and for me it's the same, no network connection.
Found out what's wrong, it's the cryptic network names that newer systems handle by default.
If you click on the 'Names' button in peasywifi you'll see the cryptic name(s), see pic
The interface names are different for everyone.
I can't explain exactly why it happens without having synaptic installed, but anyway I noticed that the workaround to avoid the cryptic names failed because of missing directory /etc/systemd/network (the script creates a symlink there to force the traditional network names to e.g. eth0, wlan0)
Code:
ln -s /dev/null /etc/systemd/network/99-default.link # traditional network interface names

Fixed by creating the directory /etc/systemd/network first in the script.
And thanks again for finding, you seem to have talent to detect hidden bugs !

New mklive-stretch:
mklive-stretch script

Another thing, about chrome to run as user puppy, this works for me also

Code:
#!/bin/sh

xhost +local:puppy

su puppy -c "/usr/bin/google-chrome-stable --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"


That way there's no need to have gksu installed (however it doesn't make much difference in space used, chrome package is huge anyway !)

Fred
network_names.jpg
 Description   network interface 'cryptic' names
 Filesize   54.27 KB
 Viewed   664 Time(s)

network_names.jpg


Last edited by fredx181 on Mon 04 Sep 2017, 09:13; edited 1 time in total
Back to top
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 437
Location: Yugoslavija

PostPosted: Mon 04 Sep 2017, 07:08    Post subject: frisbee  

hi fred,
peasywifi is absolutely worst
wifi manager... it can not work...
tested many times...
please, include frisbee...
it is the best in linux world!!!

------------------
greetings!

all the best!
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3918
Location: holland

PostPosted: Mon 04 Sep 2017, 08:44    Post subject:  

zagreb999 wrote:
hi fred,
peasywifi is absolutely worst
wifi manager... it can not work...
tested many times...
please, include frisbee...
it is the best in linux world!!!


Well, that's much too easy, in my opinion, to blame peasywifi.
There are a few other possible reasons for a failure of getting wireless connection, e.g. not having the correct firmware installed etc...

Quote:
please, include frisbee...


Looks like you are missing the point about the purpose of this project.
It's about building a live system to include exactly what you choose.
So, go ahead and choose frisbee, wicd, or whatever to include in the build.

Fred
Back to top
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 437
Location: Yugoslavija

PostPosted: Mon 04 Sep 2017, 09:22    Post subject: frisbee  

hi fred
your interpretation is wrong...

that is not only my opinion,
but from linux forums...

regards.


http://www.linuxforums.org/forum/applications/191985-frisbee-network-manager.html

http://antix.freeforums.org/ceni-wont-work-from-hotel-frisbee-works-but-cant-install-t6784.html
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Mon 04 Sep 2017, 09:26    Post subject:  

Thanks guys.

@dancytron: The PWF main screen has an Info button. It would have showed you the cryptic interface name, which is a clue that something had changed in your setup.

[Edit] I stand corrected. The Info button runs the Puppy "ipinfo" program. It only shows the active interfaces. In your case, you had none. You would need to run Ethernet > I/F to see the cryptic name.

@Fred: Systemd is a dependency of synaptic. I wonder if omitting synaptic from the build has other side effects.
Back to top
View user's profile Send private message 
jd7654

Joined: 06 Apr 2015
Posts: 297

PostPosted: Mon 04 Sep 2017, 13:51    Post subject:  

fredx181 wrote:
I changed the ddog.conf. Has much better overview now IMO
Kept the old one also on github, just in case (renamed to ddog.conf.old).
https://debiandog.github.io/MakeLive/configs/


Looks good. Yeah, that is much better, easier to read and edit.
I did kinda get a package parent reducer script working. But I think that since the mklive script handles redundant packages just fine, it's probably better to leave them in the configs to show what is intending to be put in the recipe for clarity anyway.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1274

PostPosted: Mon 04 Sep 2017, 14:08    Post subject:  

fredx181 wrote:
Hi Dan,

I tested your minimal google-chrome setup without synaptic and for me it's the same, no network connection.
/snip/
And thanks again for finding, you seem to have talent to detect hidden bugs !

New mklive-stretch:
mklive-stretch script

Thanks, I'll give it a try later today. I thought I tried the ens2 name, but maybe I didn't do it right. Thanks to you and rcrsn51 for troubleshooting this.

fredx181 wrote:

Another thing, about chrome to run as user puppy, this works for me also

Code:
#!/bin/sh

xhost +local:puppy

su puppy -c "/usr/bin/google-chrome-stable --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"


That way there's no need to have gksu installed (however it doesn't make much difference in space used, chrome package is huge anyway !)

Fred


Thanks, I'll give that a try. I originally tried to use su and couldn't figure it out. Gksu does take a lot of space since it depends on python.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 35 of 97 [1452 Posts]   Goto page: Previous 1, 2, 3, ..., 33, 34, 35, 36, 37, ..., 95, 96, 97 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0686s ][ Queries: 13 (0.0203s) ][ GZIP on ]