[SOLVED] Adding a usb network port, how to get it to work
#11
Try this new kernel here. This kernel will support the Realtek USB dongle you have. Again there is a slight possibility you need to manually enable the interface. But once it's up, you should be able to configure this in the Snakeoil WebApp, and it should work on from there.

If the interface is automatically detected, then no configuration is necessary. Although you'll likely still want to setup a static IP for this NIC.
Snakeoil Operating System - Music, your way!
Reply

#12
(17-Apr-2019, 10:14 AM)agent_kith Wrote: Try this new kernel here. This kernel will support the Realtek USB dongle you have. Again there is a slight possibility you need to manually enable the interface. But once it's up, you should be able to configure this in the Snakeoil WebApp, and it should work on from there.

If the interface is automatically detected, then no configuration is necessary. Although you'll likely still want to setup a static IP for this NIC.

Thanks again!! but now no usb ports seem to work

will send diag file
Reply

#13
(17-Apr-2019, 10:33 AM)frednork Wrote: Thanks again!! but now no usb ports seem to work

will send diag file 

[Image: embarrassed3.gif]... I officially suck... That'll teach me to multitask between work and support. Leave it with me, and I'll try and do a proper kernel later today after work.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • frednork
Reply

#14
@frednork . Kernel mark II. Please download the kernel and try again. Double check the SHA1 checksums to verify you're on the latest kernel. tx.
Snakeoil Operating System - Music, your way!
Reply

#15
(17-Apr-2019, 03:12 PM)agent_kith Wrote: @frednork . Kernel mark II. Please download the kernel and try again. Double check the SHA1 checksums to verify you're on the latest kernel. tx.

Yay it works!! Smile

Ermm, now to figure out how to connect one to the network and one to my renderer. Do I need to bridge? Isnt this how your setup is/was?
Reply

#16
(17-Apr-2019, 07:10 PM)frednork Wrote: Yay it works!! Smile
Noice!

(17-Apr-2019, 07:10 PM)frednork Wrote: Ermm, now to figure out how to connect one to the network and one to my renderer. Do I need to bridge? Isnt this how your setup is/was? 
I didn't do bridge as I don't like how it works in Linux. What I did is to setup another IP subnet for the connection... So th controller PC has two network cards, one can talk to my NAS+ Wifi (Subnet A - 192.168.1.0/24), the other talk to the player (subnet B - 192.168.2.0/24).
Snakeoil Operating System - Music, your way!
Reply

#17
(17-Apr-2019, 10:28 PM)agent_kith Wrote:
(17-Apr-2019, 07:10 PM)frednork Wrote: Yay it works!! Smile
Noice!
(17-Apr-2019, 07:10 PM)frednork Wrote: Ermm, now to figure out how to connect one to the network and one to my renderer. Do I need to bridge? Isnt this how your setup is/was? 
I didn't do bridge as I don't like how it works in Linux. What I did is to setup another IP subnet for the connection... So th controller PC has two network cards, one can talk to my NAS+ Wifi (Subnet A - 192.168.1.0/24), the other talk to the player (subnet B - 192.168.2.0/24). 

Ok, that sounds good. how do I do that?  does that involve editing interfaces file?
Reply

#18
(18-Apr-2019, 06:47 AM)frednork Wrote: Ok, that sounds good. how do I do that?  does that involve editing interfaces file? 
Easiest would be that.

Let me know if you want to try bridging as well, and if so, I'll add the required stuffs into the usbnet kernel, and put something in the Snakeoil WebApp to enable it.
Snakeoil Operating System - Music, your way!
Reply

#19
(18-Apr-2019, 08:05 AM)agent_kith Wrote:
(18-Apr-2019, 06:47 AM)frednork Wrote: Ok, that sounds good. how do I do that?  does that involve editing interfaces file? 
Easiest would be that.

Let me know if you want to try bridging as well, and if so, I'll add the required stuffs into the usbnet kernel, and put something in the Snakeoil WebApp to enable it. 

Ok, my head is officially spinning, Have been looking for how to setup this and nothing is making much sense
is this close?
 
Code:
auto eth0 iface
eth0 inet static
address x.y.1.10
netmask 255.255.255.0
network x.y.1.0
broadcast x.y.1.255
gateway x.y.1.1
dns-nameservers x.y.1.1

auto eth1 iface
eth1 inet static
address x.y.2.10
netmask 255.255.255.0
broadcast x.y.2.255

then setup of renderer?
 
Reply

#20
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
[/code]

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
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDCannot install SnakeOil on Intel NUC 8i5BEH, no network Snoopy8 25 12,220 03-Oct-2020, 11:06 AM
Last Post: emptor
  No Network Interface on Raspberry Pi vf4fe 11 5,403 05-Apr-2020, 06:25 PM
Last Post: agent_kith
  Trouble saving network configuration in Snakeoil 1.1.8 seafoodlover 6 2,587 05-Mar-2020, 03:57 PM
Last Post: agent_kith
  New setup, query about output and adding functionality shaitan667 4 2,234 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,117 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: 5821
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 465
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1690
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 115
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 115
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 351
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 95
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 126
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 235
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 163

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