[SOLVED] Adding a usb network port, how to get it to work
#21
(18-Apr-2019, 11:18 AM)agent_kith Wrote: Something like this.

For controller:
Code:
# Controller
[code]auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
Code:
auto eth1
iface eth1 inet static
address 192.168.2.1
netmask 255.255.255.252

And on your renderer:
Code:
#Renderer
auto eth0
iface eth0 inet static
address 192.168.2.2
netmask 255.255.255.252
gateway 192.168.2.1



Note:
  1. the use of the 255.255.255.252 subnet mask. This gives you only 2 hosts on this subnet, which is OK because that's really what you want to do anyway.
  2. Don't think the renderer can access the Internet in this setup. Will need to add IP forwarding/routing to the usbnet kernel to enable this (let me know if you want this)
  3. You can only "talk" to the renderer from controller. If you need to access from everywhere else, you'll need a new kernel, and add a static route on the router to let itself know it needs to route traffic to 192.168.2.0/255.255.255.252 (or 192.168.2.1//30) via 192.168.1.10
[/quote]

Again many thanks, that works. Fantastic!!

I also did the cyclic with bot ports working and music playing with resampling to 192 and I get pretty similar to before. will have a listen now and see if it was worth all the effort (mostly yours)

# /dev/cpu_dma_latency set to 0us
T: 0 ( 2024) P:80 I:10000 C:  10000 Min:   1645 Act:    4641 Avg:    4803 Max:   41759
T: 1 ( 2025) P:80 I:10500 C:   9526 Min:   1773 Act:    4295 Avg:    4780 Max:   28456


cyclictest is displaying Min, Act, Avg and Max times in terms of nanoseconds (ns) and NOT the default of microseconds (μs). To get the original μs benchmark please divide the numbers above by 1000 (1 μs = 1000 ns).
Reply

#22
Looks ok so far. A future version of this will really give you more info. 

Coming eventually in a snake oil update.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • frednork
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDCannot install SnakeOil on Intel NUC 8i5BEH, no network Snoopy8 25 12,172 03-Oct-2020, 11:06 AM
Last Post: emptor
  No Network Interface on Raspberry Pi vf4fe 11 5,380 05-Apr-2020, 06:25 PM
Last Post: agent_kith
  Trouble saving network configuration in Snakeoil 1.1.8 seafoodlover 6 2,573 05-Mar-2020, 03:57 PM
Last Post: agent_kith
  New setup, query about output and adding functionality shaitan667 4 2,224 26-Jan-2020, 12:49 PM
Last Post: Bromf
  Using both Lan port on Intel I210-AT, one in the switch and the other in the Streamer bobzy 13 6,085 12-May-2019, 02:09 PM
Last Post: agent_kith



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5800
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 445
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1678
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 105
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 155

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.