[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 10,079 03-Oct-2020, 11:06 AM
Last Post: emptor
  No Network Interface on Raspberry Pi vf4fe 11 4,212 05-Apr-2020, 06:25 PM
Last Post: agent_kith
  Trouble saving network configuration in Snakeoil 1.1.8 seafoodlover 6 2,047 05-Mar-2020, 03:57 PM
Last Post: agent_kith
  New setup, query about output and adding functionality shaitan667 4 1,796 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,861 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
Announcing Snakeoil Measurements 1.3.0
Last Post: kees1000
13-Apr-2024 11:54 PM
» Replies: 95
» Views: 4621
LMS rebranded to Lyrion Media Server
Last Post: Bromf
07-Apr-2024 01:59 PM
» Replies: 4
» Views: 83
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 677
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 183
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 96
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 72
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 236
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 60
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 83
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 405

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