We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[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 14,658 03-Oct-2020, 11:06 AM
Last Post: emptor
  No Network Interface on Raspberry Pi vf4fe 11 6,615 05-Apr-2020, 06:25 PM
Last Post: agent_kith
  Trouble saving network configuration in Snakeoil 1.1.8 seafoodlover 6 3,217 05-Mar-2020, 03:57 PM
Last Post: agent_kith
  New setup, query about output and adding functionality shaitan667 4 2,813 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 7,408 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
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
Yesterday 06:43 AM
» Replies: 14
» Views: 872
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 5940
Android Firefox issues with forum
Last Post: agent_kith
03-Jun-2025 04:14 PM
» Replies: 20
» Views: 1122
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 533
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 384
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 3193
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 3488
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 10643
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 2583
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 677

[-]
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-2025. Theme © Melroy van den Berg.