I am attempting without any success to make use of my home network.
The network is provided by my BT Home Hub Router which allows connection by ethernet cable and wifi.
On the network I currently have a desktop PC (ethernet connection), a Laptop( wifi connection), and an Apple Ipad 1 (wifi connection), all all are able to connect to the internet without any problem.
I should like to be able to able exchange files, pictures, and stream video and music between the three machines but primarily from the desktop to the other two.
I have attempted using Filezilla on desktop and laptop and a linked app on the Ipad but am unable to get a connection between any of the machines apart from one unrepeated connection between laptop and desktop.
Can any one suggest where the problem may be?
Does the router’s built in firewall normally exercise any control over communication within its home network?
Could the problem lie in the configuration of the dektop running 12.2 which I set after consulting the OpenSuSE online documentation as follows:
Network Card RTL8111/8168B PCI Express Gigabit Ethernet controller
**MAC : **40:61:86:2e:10:05
**BusID : **0000:02:00.0
Device Name: eth0
Started automatically at boot
IP address assigned using DHCP
Firewall Firewall Starting
**Enable**
firewall automatic starting - Firewall starts after the configuration gets written
Can any one see anything wrong or missing?
I have posted the same basic query in the multimedia section but all I have had are suggestions for different multimedia programs which, I think, are unlikely to address the basic communication problem.
All help gratefully received.
I will try to help with the knowledge I got setting up my network.
First of all when you Filezilla how did you try to connect from one machine to the other one? via IP or machine name? via IP should probably work if the firewalls are open for specific protocol. Do not open or disable firewall other than temporary for testing. via machine name is possible only if hostnames are setup via Yast(OpenSuse) or manually through a terminal or other ways on other OS used and the IP’s are statically allocated in the router.
You decide for each machine what IP the router must provide anytime it connects to it. If they are not static then your machines might not receive the same IP from DHCP when connected to the router.
The way I’m connected in my network to a MAC and my router attached hardware is via Samba. The router will not recognize a disk in another format(ext4 for example) and it needs it in a NTFS format. Between my OpenSuse’s I’m using NFS share which is a different protocol to be able to mount drives between linux machines.
So here is a list to do:
Set the domain name the same in all machines
Provide static IP addresses to all your machines in the router.
enable Samba protocol in the firewall settings
setup Samba on your linux machine(www.swerdna.au) for a very good tutorial and example
I hope I gave you at least some steps and come back and we’ll iron the wrinkles as they appear.
good luck
First your specific questions
Can any one suggest where the problem may be?
Not without better, more information.
Does the router’s built in firewall normally exercise any control over communication within its home network?
Yes, it’s possible. Some WiFi routers (I assume it’s a router, hub and WiFi AP all in one) will block communication between hosts in the LAN, but cheaper devices almost never do so.
Could the problem lie in the configuration of the dektop running 12.2…
Maybe, maybe not.
So,
When you first encounter a possible problem you have to describe what you tried and what the error was when it failed.
Do you understand the most basic tools used for network troubleshooting like PING and TRACEROUTE (if you’re connecting to remote networks).
Do you understand how IP addressing is the common way humans describe machine to machine addressing?
Do you understand how name resolution can be implemented on top of IP addressing which means that if IP addressing doesn’t work then nothing above that including name addressing will work either?
If you intend to implement network shares, do you understand how that is built on top of IP addressing, and commonly name addressing as well?
Also, if you want to avoid many of the issues involved in configuring network shares, you can also iexpose resources on a machine through a website. If you do so, then ou can avoid all the issues involved with setting up SAMBA, network vs system security and more by simply deploying a website with directories pointing to resources for people to access. Although ordinarily people would login to the website using a web browser to access resources, it’s also possible to configure file browsers like Dolphin to connect to website resources as well.
So,
in other words, simply describing your firewall configuration and similar is not usually enough (but secondarily useful). The main thing you need to describe is what you tried to do but failed, then what you might have done to test for any problem.
Thank you both for your replies.
I should tell you that I totally incompetent as regards working command line, too old and feeble minded, but can manage if told exactly what to do. Can manage reasonably if I have a GUI to work in but I have been guddling about like a blind pig in a sack and have lost track of what I did when!
I have been using IP addresses which are generated by DHCP but, as you say, they can change as they do if the router has to be rebooted. I will investigate to see if it is possible to make them static for all irrespective of the router rebooting.
I think in the first instance I will see if BT can help me with their router firewall settings to see if that works.
To get access to see and change the router settings there is a GUI interface as long as your computer connects to it. In a browser, http://192.169.1.1 or http://192.168.0.1 usually will get you the GUI interface as long as you provide the admin credentials. Now based on the type of the router again a default password is provided initially, if you didn’t change it. So check documentation for that and get familiar with the interface. if you have questions about it ask and I will try to help you.
Thank you for your offer to help.
Allthough I am groping in the dark I had already discovered how to access my router settings by way of 192.168.1.254.
There is a facility for disabling the router firewall which I did.
I next tried to connect from PC to Laptop vie Filezilla this is the error logged:
2013-02-03 17:51:40 5109 3 Status: Connecting to 192.168.1.66:21…
2013-02-03 17:51:40 5109 3 Status: Connection established, waiting for welcome message…
2013-02-03 17:51:41 5109 3 Trace: CFtpControlSocket::OnReceive()
2013-02-03 17:51:41 5109 3 Error: Could not read from socket: ECONNRESET - Connection reset by peer
2013-02-03 17:51:41 5109 3 Trace: CFtpControlSocket::ResetOperation(66)
2013-02-03 17:51:41 5109 3 Trace: CControlSocket::ResetOperation(66)
2013-02-03 17:51:41 5109 3 Error: Could not connect to server
I followed this with an attempt to connect from Laptop to PC and received this error log:
Does any of this make sense to you?
The only points I wondered if significant were that in the last few lines the socket numbers were different i.e. 66 for one, 70 the other.
Well I have this evening solved part of the problem.
I have managed to establish a connection repeatedly between the Laptop and the PC and successfully transferred a file.The problem was in the configuration of the FPT server on the PC, solution was obtained courtesy of a google search for “could not bind on IPv4 socket” .
Still unable to connect from PC to Laptop. Problem may be configuration of Filezilla, despite following the network configuration settings religiously, or my Firewall is not set correctly.
DHCP and “fixing” so a machine is issued the same IP address.
If you have control over your DHCP, you should be able to configure “DHCP leases.” When you do this, you enter your NIC MAC address (which is a unique number burned into the silicon of every NIC ever made) to the IP address you wish to make static. When your DHCP server sees a new NIC on the network, it will first look to see if the MAC address is in this List before assigning either the IP address specified or generating a new.
Your error messages likely both are saying that the client can connect on the FTP Control port (port 21) but then can’t make the secondary connection using the Data port. There are many reasons why this can happen, the two most likely are that
The FTP client is configured either for Active or PASV and is connecting to an FTP Server configured the other way (PASV or Active).
A firewall or other device is blocking the data port connection. This can be a firewall mis-configuration on the client or server or an intermediate device (like NAT) that doesn’t support the FTP protocol.
The issues you are running in to are typical of anyone setting up FTP for the first time. If you want to continue using FTP, you’ll need to read up and educate yourself how FTP connections need to be configured, there can be a long laundry list of things to consider, it’s <not> like any other protocol that typically automates or uses the same port for data as control. If you don’t want to deal with FTP, I highly recommend simply deploying a webserver, compared to FTP the issues (both basic configuration and security) are a lot easier.
Are the Laptop and the Desktop both running openSUSE? This does not seem like a job for an FTP program but Samba. If all you want is file sharing. Keep in mind file sharing and file streaming are totally different. I have given you a suggested setup on a previous thread about file streaming to your Ipad. Samba is installed by default in openSUSE and is really easy to setup from YaST. You just have to make sure all machines are on the same workgroup ( This link will give you a little more info about samba http://opensuse.swerdna.org/suselanprimer.html ) you should be able to share files no problem. For the Ipad Air Sharing supports Samba. http://avatron.com/apps/air-sharing
well in order to find out the ip address of your desktop you need to run this:
/sbin/ifconfig which will give you for each of your network cards the ip address. eth0 would be probably the lan connection and eth1 or other names (wlan0) would probably be your wireless connection. Anyway in the same group of information you’ll have the MAC address tsu was talking about. check how you can assign statically the desired IP address in the range 192.168.1.1/24. Don’t disable the firewall in the router. that will mean that you are exposed to attacks from outside. you will share files only inside your network so now i could theoretically check for your shared files. So please turn on as soon as possible the firewall on the router. Firewall can be disabled on the computers for testing connections, but not on the router. so to do a test on your desktop to laptop, first you find out your ip addresses and then you connect from one to the other by using the ip as provided by the ifconfig command the port (21 for ftp and 22 for ssh) the user and password. If you are able to do this then you should try to assign that IP statically in the router to have the same address all the time.
the ifconfig command will have to be typed in a terminal, from menu click terminal and in the console you type the command.
if both machines are opensuse then you can try to connect directly via ssh on this terminal:
ssh your_user_name@ip_address_laptop where you need to replace your_user_name with the user you setup on the laptop and the ip address with the ip found out from the laptop. let me know what router so i can tell you how to setup statically the ip addresses. talk to you later.
Finally got everything sorted out and all three machines now talking to each other. Solution was to add a line “listening=NO” in vsftpd.conf on the desktop PC and add the Filezilla server package as well as the client package to the Laptop! (told you I was old and feeble minded).
The Ipad did not require any changes just a case working out how to use the app as the actuality was slightly different to the instructions.
Thanks to all who tried to help as you managed to point me in the right direction.
Will now try to get the streaming of files working.
Glad that you had it sorted via a client/server Filezilla. If the laptop is running also a linux OS, you wouldn’t need an extra layer of communicating in between the computers(Filezilla) as it is had natively the ssh protocol installed and sharing files can be easily be done via Samba(with any other OS) and NFS( a bit more complex- at least for me for now).
The solution that inkrypted proposed I implemented it myself as my DVD was not able to read some files I had shared on my computer(more often would not see the subtitle files). So the solution is simple but it is heavily dependent on the hardware to which you want to stream the files. This will add overhead on your machine which runs the server and it is affected by the type of connection to the client(wireless vs wired). As he mentioned there is a client app needed for the Ipad which I didn’t try. Curious if I can do it to other tablets(Playbook). Anyway it can be done so good luck.