timothreus
Posts: 4
Joined: Mon Feb 18, 2013 1:29 pm

networking with unmanaged switch

Mon Feb 18, 2013 1:53 pm

I am trying to network some pis with a couple of windows 7 laptops. Because I am not using a router, I did not set the gateway. Windows seems happy with this but the pis do not.

I set the relevant lines of /etc/network/interfaces to

Code: Select all

iface eth0 inet static
address 192.168.0.1
network 255.255.255.0
The windows 7 laptop can ping the pi but the pi cannot ping the windows 7 machine. Can anyone help?

User avatar
Thijxx
Posts: 86
Joined: Mon Oct 22, 2012 1:25 pm
Location: The Netherlands

Re: networking with unmanaged switch

Mon Feb 18, 2013 4:08 pm

It's possible that the Windows machines block the Ping. Firewall settings or some Norton/McAffee Protection Suite.

Can the Windows machines ping the Windows machines?
Mimi: Where'd you come from?
Doyle: My mom and the authorities are still trying to figure that out.

timothreus
Posts: 4
Joined: Mon Feb 18, 2013 1:29 pm

Re: networking with unmanaged switch

Wed Mar 13, 2013 1:02 pm

Thank you for the reply. I have now just connected the two pis. They can ping each other so all is good so far. Is there a simple way to get them to share files with each other (without connecting one of them to an external hard drive and setting it up as a file server)?

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: networking with unmanaged switch

Wed Mar 13, 2013 1:13 pm

timothreus wrote:Thank you for the reply. I have now just connected the two pis. They can ping each other so all is good so far. Is there a simple way to get them to share files with each other (without connecting one of them to an external hard drive and setting it up as a file server)?
NFS server / client
or
FTP
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: networking with unmanaged switch

Wed Mar 13, 2013 1:57 pm

SFTP/SSH/SCP should all come preinstalled.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

timothreus
Posts: 4
Joined: Mon Feb 18, 2013 1:29 pm

Re: networking with unmanaged switch

Thu Mar 14, 2013 12:29 pm

Thanks again for the suggestions. Both pis now have proftpd installed.

I have checked the status with

sudo service proftpd status

In windows (sorry, it's what I know!) you could then do something like

ftp 192.168.0.2

What is the equivalent in linux? I just want to do a simple example like transferring a text file form one desktop to the other.

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: networking with unmanaged switch

Thu Mar 14, 2013 12:32 pm

use scp or winscp [from windows]

ftp is ftp on linux [sudo apt-get install ftp ]
but I'd not use ftp these days
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: networking with unmanaged switch

Thu Mar 14, 2013 12:38 pm

It's the same.
Might not come pre-installed though.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

timothreus
Posts: 4
Joined: Mon Feb 18, 2013 1:29 pm

Re: networking with unmanaged switch

Sat Mar 16, 2013 12:44 pm

Thanks people. Installed ftp and it works as expected.

Return to “Networking and servers”