Connect red pitaya to my computer with ethernet
-
- Posts: 4
- Joined: Tue Sep 29, 2015 10:21 am
Connect red pitaya to my computer with ethernet
is there any way to connect red pitaya to my computer directly with an ethernet wire?
I mean, not connect redpitaya to my local network by ethernet, but connect it to my computer.
Thanks
I mean, not connect redpitaya to my local network by ethernet, but connect it to my computer.
Thanks
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Connect red pitaya to my computer with ethernet
Yes, you can connect the two directly together with a LAN cable. If your computer can act as a dhcp server on that network, the Red Pitaya will get its network address from your computer. If not, both sides should be assigned static ip addresses in the same subnet, see here for how to do that on the Red Pitaya.
-
- Posts: 11
- Joined: Wed Jun 15, 2016 3:57 pm
Re: Connect red pitaya to my computer with ethernet
Would that need to be a "crossover" cable Nils?Nils Roos wrote:Yes, you can connect the two directly together with a LAN cable. If your computer can act as a dhcp server on that network, the Red Pitaya will get its network address from your computer. If not, both sides should be assigned static ip addresses in the same subnet, see here for how to do that on the Red Pitaya.
Bob
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Connect red pitaya to my computer with ethernet
To my knowledge, all network equipment from the past few years (including the Red Pitaya) have an auto-sensing feature that makes the use of crossover cables unneccessary.
-
- Posts: 12
- Joined: Sun May 29, 2016 5:26 pm
Re: Connect red pitaya to my computer with ethernet
I have connected my Red Pitaya to my Notebook wit cross cable, and I have setted the IP adress and Mask of my notebook as you stated. But the system doesn't work. I have a doubt regarding the setting of the notebook about dhcp (I have not setted static IP on Red Pitaya). How can I verify the DHCP active status of the notebook?Nils Roos wrote:Yes, you can connect the two directly together with a LAN cable. If your computer can act as a dhcp server on that network, the Red Pitaya will get its network address from your computer. If not, both sides should be assigned static ip addresses in the same subnet, see here for how to do that on the Red Pitaya.
If I connect the RP to my router WIFI and, then, the notebook to a router via wifi, the system works, so the problem is only in direct link RP-notebook via ethernet cable.
Many Thank's in advance
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Connect red pitaya to my computer with ethernet
Your notebook will only act as a dhcp server if you explicitly configured it to do so.
It will probably be easier to set a static address on both your notebook and the Red Pitaya.
It will probably be easier to set a static address on both your notebook and the Red Pitaya.
That depends on what OS is running on your notebook. Use your preferred search engine to find out more.How can I verify the DHCP active status of the notebook?
In this situation, your router is the dhcp server and both the Red Pitaya and your notebook receive their addresses from the router.If I connect the RP to my router WIFI and, then, the notebook to a router via wifi, the system works, so the problem is only in direct link RP-notebook via ethernet cable.
-
- Posts: 12
- Joined: Sun May 29, 2016 5:26 pm
Re: Connect red pitaya to my computer with ethernet
Thank's for your prompt replay Nils.
The content of my directory "etc/network" is:
if-down.d/
if-post-down.d/
if-pre-up.d/
if-up.d/
So I can't find the file eth0 as indicated in the procedure you have linked, in order to change IP to static in RP.
I think it would be very useful if RP team did a step by step procedure to show to a Linux novice,as me, the exact procedure to set static IP (eg partition selection and so on).
The content of my directory "etc/network" is:
if-down.d/
if-post-down.d/
if-pre-up.d/
if-up.d/
So I can't find the file eth0 as indicated in the procedure you have linked, in order to change IP to static in RP.
I think it would be very useful if RP team did a step by step procedure to show to a Linux novice,as me, the exact procedure to set static IP (eg partition selection and so on).
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Connect red pitaya to my computer with ethernet
Yeah, with 0.96 the place to manually edit the network configuration has changed (again).
See here how to do it now.
See here how to do it now.
-
- Posts: 12
- Joined: Sun May 29, 2016 5:26 pm
Re: Connect red pitaya to my computer with ethernet
Thank's
in the link it says "add". But I have to add, as follow:
----------------------------------------
[Match]Name=eth0
[Network]
LinkLocalAdressing=yes
DHCP=yes
IPForward=yes
IPMasquerade=yes
Address=192.168.0.15/24
Gateway=192.168.0.1
DNS=8.8.8.8 8.8.4.4
-------------------------------------------
or I have to substitute as follow:
--------------------------------------
[Match]Name=eth0
[Network]
Address=192.168.0.15/24
Gateway=192.168.0.1
DNS=8.8.8.8 8.8.4.4
---------------------------------------
I think the second. And, in this case, how do I set my notebook network card?
Thank's for the time you are spending
in the link it says "add". But I have to add, as follow:
----------------------------------------
[Match]Name=eth0
[Network]
LinkLocalAdressing=yes
DHCP=yes
IPForward=yes
IPMasquerade=yes
Address=192.168.0.15/24
Gateway=192.168.0.1
DNS=8.8.8.8 8.8.4.4
-------------------------------------------
or I have to substitute as follow:
--------------------------------------
[Match]Name=eth0
[Network]
Address=192.168.0.15/24
Gateway=192.168.0.1
DNS=8.8.8.8 8.8.4.4
---------------------------------------
I think the second. And, in this case, how do I set my notebook network card?
Thank's for the time you are spending
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Connect red pitaya to my computer with ethernet
You are right, you should substitue. And if you use the settings you posted, your notebook should have the address 192.168.0.1 (subnet mask 255.255.255.0) on the wired connection.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 53 guests