[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 9,711 03-Oct-2020, 11:06 AM
Last Post: emptor
  No Network Interface on Raspberry Pi vf4fe 11 4,015 05-Apr-2020, 06:25 PM
Last Post: agent_kith
  Trouble saving network configuration in Snakeoil 1.1.8 seafoodlover 6 1,974 05-Mar-2020, 03:57 PM
Last Post: agent_kith
  New setup, query about output and adding functionality shaitan667 4 1,733 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 4,624 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
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 605
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 147
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 69
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 52
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 195
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 41
Announcing Snakeoil Measurements 1.3.0
Last Post: agent_kith
26-Feb-2024 10:02 PM
» Replies: 94
» Views: 4129
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 69
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 364
RoonBridge (64 bit only)
Last Post: scrarfussi
15-Feb-2024 08:26 PM
» Replies: 3
» Views: 4123

[-]
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.