Network problem

Just about everything about Red Pitaya
Post Reply
Hendrik
Posts: 3
Joined: Fri Aug 15, 2014 6:21 pm

Network problem

Post by Hendrik » Fri Aug 15, 2014 6:58 pm

Hello,

I've received my rp yesterday. But till now, I've been unable to access the unit over a network connection.

The RP is connected to a router (D-link) with the DHCP server enabled. (The DHCP server works just fine with any other device connected to it.)


-The RP is booting fine. The required LED's are on and the first one is flashing at a 1hz rate.
-I've connected the rp to my computer without a router in between. Same problem. (changed network card settings and rp config file and the other file)
-Tried to research if I can make the ethernet interface on the rp to work only in 100 or 10 MB mode. Because that's where I think it's going wrong. (Didn't find a proper way to do that.)
-tried an other network cable.
-Tried an other router. Same problem.
-Wasted 4 hours

In any case, I can not find any device connected to my router.



The config file looks like this:

"
# $Id: interfaces 955 2014-01-16 13:15:20Z ales.bardorfer $
#
# Red Pitaya network configuration
#


###########################
# lo: Loopback interface #
###########################

auto lo
iface lo inet loopback


######################################
# eth0: Wired Ethernet - 1000Base-T #
######################################
#
# Uncomment only one: dynamic or static configuration.
#

# Dynamic (DHCP) IP address
iface eth0 inet dhcp
udhcpc_opts -t7 -T3


# Static IP address
# Don't forget to set the static DNS IP in sd:/etc/init.d/rcS too.
#iface eth0 inet static
# address 192.168.0.100
# netmask 255.255.255.0
# gateway 192.168.0.1


################################
# wlan0: Wireless USB adapter #
################################

auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -B -D wext -i wlan0 -c /opt/etc/network/wpa_supplicant.conf
post-down killall -q wpa_supplicant
udhcpc_opts -t7 -T3 "

Regards, Hendrik

Crt Valentincic
Posts: 67
Joined: Wed May 28, 2014 12:15 pm

Re: Network problem

Post by Crt Valentincic » Mon Aug 18, 2014 9:02 am

I would suggest that you first do a fresh installation of Red Pitaya OS (without any network configuration changes)
and simply connect your Red Pitaya to your router. Then try to connect using our connection wizard
that will let you know Red Pitaya's IP.
In most cases this should work without any problems, but sometimes users have limited access to the Internet,
and this makes wizard unable to provide the Red Pitaya's IP.
In such situation it is best to connect to the Red Pitaya over USB console.
Once you are connected, you can:
- issue ifconfig command in order to find out your Red Pitaya's IP and try to connect to it, by simply writing this IP into your
Internet browser
- try to ping our web server to confirm that your Red Pitaya can access it (this is mandatory if you would like to use connection
wizard or install new applications from the Bazaar)

Hendrik
Posts: 3
Joined: Fri Aug 15, 2014 6:21 pm

Re: Network problem

Post by Hendrik » Mon Aug 18, 2014 1:05 pm

Hello,

I've been able to find out why it doesn't work. Only thing is, I don't know how to solve this problem

The RP can not read the required files on the SD card . /etc/network/interfaces an some other files can not be found.

The SD card is a 4G card formatted as FAT32 on a windows box.


Best regards, Hendrik

Crt Valentincic
Posts: 67
Joined: Wed May 28, 2014 12:15 pm

Re: Network problem

Post by Crt Valentincic » Mon Aug 18, 2014 3:00 pm

It could be because wrong partitioning scheme as mentioned here.

Blowcreek
Posts: 1
Joined: Sat Aug 23, 2014 4:55 pm

Re: Network problem

Post by Blowcreek » Sat Aug 23, 2014 5:37 pm

could you fix the Problem?

I am not a Linux Crack and my RP works fine out of the Box.
But since i updated to the latest Version i got the same Problem.
Tried to fix it by reformating the SD Card and unziping a fresh download of the ecosystem,
but still having the same "File not found" Errors.
What is my mistake?

(What RP outputs via Console as an attachment)

Current partitioning scheme:

redpitaya> fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 3875 MB, 3875536896 bytes
86 heads, 21 sectors/track, 4191 cylinders
Units = cylinders of 1806 * 512 = 924672 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 5 4192 3780608 b Win95 FAT32

Karelk
Posts: 5
Joined: Tue Jun 17, 2014 1:44 pm

Re: Network problem

Post by Karelk » Sat Oct 25, 2014 10:56 pm

In my case, a similar problem (mounting /opt) was solved when I replaced the class-4 SD card with a Class-10 SD card, which is faster apparently. Hope this helps?

Karel

Post Reply
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: Bing [Bot] and 2 guests