Help  Search  Portal
 Portal  Search
Hello There, Guest!  Register  Login

Adding a usb network port, how to get it to work


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
#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
(Yesterday, 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
(Yesterday, 08:05 AM) agent_kith Wrote:
(Yesterday, 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
SnakeoilOS Mission
[-]

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.

Advertising
[-]
Possibly Related Threads...
 

Users browsing this thread: frednork, 1 Guest(s)