[SOLVED] Adding a usb network port, how to get it to work
|
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
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!
Posts: 31
Threads: 5
Joined: Jul 2018
Reputation:
2
(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
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(17-Apr-2019, 10:33 AM)frednork Wrote: Thanks again!! but now no usb ports seem to work
will send diag file
... 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!
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
@ 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!
Posts: 31
Threads: 5
Joined: Jul 2018
Reputation:
2
(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!!
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?
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(17-Apr-2019, 07:10 PM)frednork Wrote: Yay it works!! 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!
Posts: 31
Threads: 5
Joined: Jul 2018
Reputation:
2
(17-Apr-2019, 10:28 PM)agent_kith Wrote: (17-Apr-2019, 07:10 PM)frednork Wrote: Yay it works!! 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?
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(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!
Posts: 31
Threads: 5
Joined: Jul 2018
Reputation:
2
(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?
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
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:
- 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.
- 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)
- 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!
|
Possibly Related Threads… |
Thread |
Author |
Replies |
Views |
Last Post |
|
[SOLVED] Cannot install SnakeOil on Intel NUC 8i5BEH, no network |
Snoopy8 |
25 |
12,186 |
03-Oct-2020, 11:06 AM
Last Post: emptor
|
|
No Network Interface on Raspberry Pi |
vf4fe |
11 |
5,387 |
05-Apr-2020, 06:25 PM
Last Post: agent_kith
|
|
Trouble saving network configuration in Snakeoil 1.1.8 |
seafoodlover |
6 |
2,578 |
05-Mar-2020, 03:57 PM
Last Post: agent_kith
|
|
New setup, query about output and adding functionality |
shaitan667 |
4 |
2,229 |
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,093 |
12-May-2019, 02:09 PM
Last Post: agent_kith
|
Users browsing this thread: |
4 Guest(s)
|
|
Welcome
|
You have to register before you can post on our site.
|
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.
|
|
|