bodiebill Posted April 27, 2020 Share Posted April 27, 2020 1 hour ago, antonellocaroli said: try a dhcp configuration first, and then try static ip... Just did that. And as a last step before rebooting I disabled the hotspot in the GP web interface. This time the /etc/conf.d/net persisted after reboot. However the GP home menu shows eth0 (not br0) as being active, and the eth0 ip address (169.254.23,146) is not part of the home network. See pic: neither of the ip addresses can be reached/pinged. audio system Link to comment
bodiebill Posted April 27, 2020 Share Posted April 27, 2020 deleted, sorry audio system Link to comment
antonellocaroli Posted April 27, 2020 Author Share Posted April 27, 2020 16 minutes ago, bodiebill said: Just did that. And as a last step before rebooting I disabled the hotspot in the GP web interface. This time the /etc/conf.d/net persisted after reboot. However the GP home menu shows eth0 (not br0) as being active, and the eth0 ip address (169.254.23,146) is not part of the home network. See pic: neither of the ip addresses can be reached/pinged. maybe this will help you with the configuration:https://wiki.gentoo.org/wiki/Ethernet_plus_WiFi_Bridge_Router_and_Firewall and https://wiki.gentoo.org/wiki/Handbook:X86/Full/Networking GentooPlayer home Facebook Documentation Link to comment
bodiebill Posted April 27, 2020 Share Posted April 27, 2020 22 minutes ago, antonellocaroli said: maybe this will help you with the configuration:https://wiki.gentoo.org/wiki/Ethernet_plus_WiFi_Bridge_Router_and_Firewall A bit over my head I am afraid. Or at least stretching my patience... I think I will go back to AL (with systemd) for the server. I noticed that GP sounds better than AL on the endpoint, so thought it would be elegant to have GP on server also. But possibly it make no difference for SQ. audio system Link to comment
antonellocaroli Posted April 27, 2020 Author Share Posted April 27, 2020 2 hours ago, Wolf65 said: I use a Raspberry Pi 3, then it is probably a memory problem, as regards openmediavault I can still use it together with gentooplayer because the Raspberry is still connected via USB to the dac amp and used via LMS you can install samba like this: cd /tmp wget https://github.com/antonellocaroli/GP-packge-bin/releases/download/samba/samba.tar.xz tar xvf samba.tar.xz rsync -a binpkgs/* /var/cache/binpkgs/ emerge -K samba so you don't compile install the binaries I compiled for rpi3 GentooPlayer home Facebook Documentation Link to comment
Wolf65 Posted April 27, 2020 Share Posted April 27, 2020 39 minutes ago, antonellocaroli said: you can install samba like this: cd /tmp wget https://github.com/antonellocaroli/GP-packge-bin/releases/download/samba/samba.tar.xz tar xvf samba.tar.xz rsync -a binpkgs/* /var/cache/binpkgs/ emerge -K samba so you don't compile install the binaries I compiled for rpi3 I follow your istruction and after to finalize the setupo as the guide: Finalizing the setup Lastly, setup the directories: root #mkdir /home/samba root #mkdir /home/samba/public root #chmod 755 /home/samba root #chmod 755 /home/samba/public Starting the Samba service Now configure Samba to start at boot and then start it: OpenRC root #rc-update add samba default root #/etc/init.d/samba start systemd root #systemctl --now enable smbd.service root #systemctl --now enable nmbd.service Link to comment
antonellocaroli Posted April 27, 2020 Author Share Posted April 27, 2020 22 minutes ago, Wolf65 said: Then i receive this message systemctl doesn't center...gentooplayer uses openrc... did you edit the configuration file? https://forums.gentoo.org/viewtopic-t-338602-start-0.html Wolf65 1 GentooPlayer home Facebook Documentation Link to comment
Wolf65 Posted April 27, 2020 Share Posted April 27, 2020 37 minutes ago, antonellocaroli said: systemctl doesn't center...gentooplayer uses openrc... did you edit the configuration file? https://forums.gentoo.org/viewtopic-t-338602-start-0.html thank you very much for your help but honestly I don't know Linux I thought it was simpler to configure following simple instructions but I wouldn't even know how to edit the file you have indicated to me so I believe that I will give up proceeding. Eventually I will buy another Raspberry Pi4 to use as a network player with Gentooplayer and on the Pi3 that I have now I will only use it as a nas. Link to comment
bodiebill Posted April 27, 2020 Share Posted April 27, 2020 2 hours ago, antonellocaroli said: maybe this will help you with the configuration:https://wiki.gentoo.org/wiki/Ethernet_plus_WiFi_Bridge_Router_and_Firewall and https://wiki.gentoo.org/wiki/Handbook:X86/Full/Networking I perused the 2nd link to change the /etc/conf.d/net file as follows:# Configure bridge (man brctl for more details) bridge_forward_delay_br0=0 bridge_hello_time_br0=200 bridge_stp_state_br0=1 # Add ports to bridge bridge_br0="eth0 eth2" # Configure ports to null values so dhcp does not get started config_eth0="null" config_eth2="null" # Give bridge an address - you could use DHCP as well config_br0="dhcp" Still no luck, the result of ip addr looks as messy as before in the pic, and none of the ports can be reached/pinged. I let it go for now. Maybe will try again in a few days. Thanks for your help! audio system Link to comment
Aberrant-Decoder Posted April 27, 2020 Share Posted April 27, 2020 @antonellocaroli my laptop has 2 cores, possible to hyperthread. What would you recommend? That hyperthreading is disabled and I just let gentoo player decide on the IRQ and things like that, or should I choose a profile? i'm interested in whether Gentoo is different and better and handling these things then me trying to configure them if i dont actually have enough physical cores to dedicate a core to each of the main activities? I'm planning on running squeezelite2 for a while. Link to comment
antonellocaroli Posted April 28, 2020 Author Share Posted April 28, 2020 5 hours ago, Aberrant-Decoder said: @antonellocaroli il mio laptop ha 2 core, è possibile hyperthread. Cosa raccomanderesti? L'hyperthreading è disabilitato e lascio semplicemente che il lettore Gentoo decida sull'IRQ e cose del genere, o dovrei scegliere un profilo? that's okay Aberrant-Decoder 1 GentooPlayer home Facebook Documentation Link to comment
bodiebill Posted April 28, 2020 Share Posted April 28, 2020 With the last few GP versions, whenever I boot, the console runs through all the steps and then hangs for approx. one minute, on this message: haveged: haveged: stopping due to signal 15 As a result the boot process has become much slower (especially added to ram loading). Is there a way to avoid this? audio system Link to comment
antonellocaroli Posted April 28, 2020 Author Share Posted April 28, 2020 1 hour ago, bodiebill said: With the last few GP versions, whenever I boot, the console runs through all the steps and then hangs for approx. one minute, on this message: haveged: haveged: stopping due to signal 15 As a result the boot process has become much slower (especially added to ram loading). Is there a way to avoid this? no, it is a sleep that I entered for a specific reason. but the system is immediately reachable via ssh and / or web interface, which is then the normal use of a system without a graphic interface, that is to use it without a keyboard, monitor and mouse. GentooPlayer home Facebook Documentation Link to comment
bodiebill Posted April 28, 2020 Share Posted April 28, 2020 6 minutes ago, antonellocaroli said: no, it is a sleep that I entered for a specific reason. but the system is immediately reachable via ssh and / or web interface, which is then the normal use of a system without a graphic interface, that is to use it without a keyboard, monitor and mouse. ah, good to know, thanks. audio system Link to comment
bipet Posted April 28, 2020 Share Posted April 28, 2020 I have been alternating between GentooPlayer and Ropieee over the last few days and I am leaning towards Gentooplayer I think. I have noticed that it is running a bit warmer today, around 50c. I have a rpi4 in a metal case, no fans. It has been running around 44c when checking. Has something changed very recently? Link to comment
antonellocaroli Posted April 28, 2020 Author Share Posted April 28, 2020 14 minutes ago, rossco said: I have been alternating between GentooPlayer and Ropieee over the last few days and I am leaning towards Gentooplayer I think. I have noticed that it is running a bit warmer today, around 50c. I have a rpi4 in a metal case, no fans. It has been running around 44c when checking. Has something changed very recently? Yes, we're getting closer to summer and it's starting to get hotter and hotter...hopefully... GentooPlayer home Facebook Documentation Link to comment
luisma Posted April 28, 2020 Share Posted April 28, 2020 1 hour ago, bodiebill said: ah, good to know, thanks Just noticed your post, I got the bridge easily working with 2 interfaces, don't know about four, let me post the details below. I am currently working on bridging wireless and wired, that is another challenge, I got working briefly but now it is not so I have to go over it again, anyway The best article I found was this one: http://wikigentoo.ksiezyc.pl/Bridging.htm 1. Stop the hotspot service 2. As root:(you may have to add more interfaces) modprobe bridge emerge net-misc/bridge-utils /bin/ifconfig eth0 up /bin/ifconfig eth1 up /sbin/brctl addbr br0 /sbin/brctl addif br0 eth0 /sbin/brctl addif br0 eth1 /bin/ifconfig br0 up /sbin/brctl stp br0 on 3. Edit the network if you want static nano /etc/conf.d/net bridge_br0="eth0 eth1" config_br0=( "192.168.95.226/24" ) config_eth0=( "null" ) config_eth1=( "null" ) brctl_br0=( "stp on" ) depend_br0() { need net.eth0 } routes_br0="default via 192.168.95.1" ##bridge_forward_delay_br0=0 bridge_hello_time_br0=1000 bridge_stp_state_br0=1 4. Enter these ln -sf /etc/init.d/net.lo /etc/init.d/net.eth1 rc-update add net.eth0 default rc-update add net.eth1 default ln -sf /etc/init.d/net.lo /etc/init.d/net.br0 rc-update add net.br0 default /etc/init.d/net.br0 start 5. Restart to confirm it is working Feel free to provide comments I am just listing what worked for me Link to comment
bodiebill Posted April 28, 2020 Share Posted April 28, 2020 3 hours ago, luisma said: Just noticed your post, I got the bridge easily working with 2 interfaces, don't know about four, let me post the details below. I am currently working on bridging wireless and wired, that is another challenge, I got working briefly but now it is not so I have to go over it again, anyway The best article I found was this one: http://wikigentoo.ksiezyc.pl/Bridging.htm 1. Stop the hotspot service 2. As root:(you may have to add more interfaces) modprobe bridge emerge net-misc/bridge-utils /bin/ifconfig eth0 up /bin/ifconfig eth1 up /sbin/brctl addbr br0 /sbin/brctl addif br0 eth0 /sbin/brctl addif br0 eth1 /bin/ifconfig br0 up /sbin/brctl stp br0 on 3. Edit the network if you want static nano /etc/conf.d/net bridge_br0="eth0 eth1" config_br0=( "192.168.95.226/24" ) config_eth0=( "null" ) config_eth1=( "null" ) brctl_br0=( "stp on" ) depend_br0() { need net.eth0 } routes_br0="default via 192.168.95.1" ##bridge_forward_delay_br0=0 bridge_hello_time_br0=1000 bridge_stp_state_br0=1 4. Enter these ln -sf /etc/init.d/net.lo /etc/init.d/net.eth1 rc-update add net.eth0 default rc-update add net.eth1 default ln -sf /etc/init.d/net.lo /etc/init.d/net.br0 rc-update add net.br0 default /etc/init.d/net.br0 start 5. Restart to confirm it is working Feel free to provide comments I am just listing what worked for me Thanks! Simplest to execute so far. I followed above exact steps (except adding ln -sf /etc/init.d/net.lo /etc/init.d/net.eth0 as the first step under 4 and everywhere replacing eth1 with eth2). Alas, it resulted in the same pandemonium as before, as shown in the pic. None of the ip addresses can be reached. Strange, as in my setup it works effortlessly with Audiolinux (systemd). audio system Link to comment
bodiebill Posted April 29, 2020 Share Posted April 29, 2020 Finally got it to work! The problem was with the connections (aiming to bridge eth0 and eth2): Before they were like this (the way bridging always worked with Audiolinux): router => server eth2 server eth0 => switch => endpoint But as with GentooPlayer eth0 kept getting an ip address outside the 192.168.1.x network, I temporarily added an extra cable between the router and the switch: router => switch router => server eth2 server eth0 => switch => endpoint and then the above method (with thanks to @luisma) worked smoothly. The only thing is that at a certain point (after /sbin/brctl addif br0 eth0) I lost remote access and had to manually type in everything from te console. And afterwards I removed the router => switch connection and the bridge was still working and accessible. Thanks all for your help! (Filippo also kindly offered to look over my shoulder via Teamviewer, but no need for this now.) audio system Link to comment
bodiebill Posted April 29, 2020 Share Posted April 29, 2020 Hoping that others spend less time on this, below the steps that worked for me to bridge eth0 and eth2. Replace ip addresses ad lib. Connect ethernet cables as follows (or similar depending on your topology): router => switch (this connection is only needed for install, can be removed afterwards) router => server eth2 server eth0 => switch => endpoint stop the hotspot service via GP web interfacemodprobe bridge emerge net-misc/bridge-utils /bin/ifconfig eth0 up /bin/ifconfig eth2 up /sbin/brctl addbr br0 /sbin/brctl addif br0 eth0 (from here manually via console:)/sbin/brctl addif br0 eth2 /bin/ifconfig br0 up /sbin/brctl stp br0 on nano /etc/conf.d/net bridge_br0="eth0 eth2" config_br0=( "192.168.1.202/24" ) config_eth0=( "null" ) config_eth2=( "null" ) brctl_br0=( "stp on" ) depend_br0() { need net.eth0 net.eth2 } routes_br0="default via 192.168.1.1" ##bridge_forward_delay_br0=0 bridge_hello_time_br0=1000 bridge_stp_state_br0=1ln -sf /etc/init.d/net.lo /etc/init.d/net.eth0 ln -sf /etc/init.d/net.lo /etc/init.d/net.eth2 rc-update add net.eth0 default rc-update add net.eth2 default ln -sf /etc/init.d/net.lo /etc/init.d/net.br0 rc-update add net.br0 default /etc/init.d/net.br0 start reboot audio system Link to comment
luisma Posted April 29, 2020 Share Posted April 29, 2020 4 hours ago, bodiebill said: below the steps that worked for me to bridge eth Thanks for posting your results and I'm glad most of what I sent you worked, I will be creating same script but with the new commands (which I'm using for the wireless / wired bridge), that one is hard to get it working so we'll see. Link to comment
bodiebill Posted April 29, 2020 Share Posted April 29, 2020 Just to let you know that after rebooting the bridge had vanished, so I will try again... 😐 audio system Link to comment
the_bat Posted April 30, 2020 Share Posted April 30, 2020 As a matter of interest has anyone a preference between Squeezelite and Squeezelite-R2 under GenTooPlayer? I was under the impression that the DSD patch in R2 had been incorporated in the mainline product, and that R2 wasn't being developed any more. Have I got that right, in which case is there any reason to run Squeezelite-R2? Link to comment
zackthedog Posted April 30, 2020 Share Posted April 30, 2020 I've enabled Bubbleupnp but I cannot connect to it via its web address. How do I configure it? Is Java installed or do I need to install it? Thanks for any help! ETA: Never mind! I found it, was using wrong IP address. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now