Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just a little problem with networking, which I am sure is a newbie type question.
In setting up my home network, I am getting the message:
Connection refused when trying to connect to...........
I suppose this is just a firewall issure between the two boxes I am trying to network (FC4 and Ubuntu). They ping each other just fine and the Ubuntu machine will connect to my Windows laptop with Samba. I really just want to share the printer connected to the Fedora machine but when I enter the URL for it on the Ubuntu machine adding a new network printer, I get:
destination location does not exist.
Is there a way around the firewall problem (leave it on but allow these two computers to communicate)? Is this in fact a firewall problem? I need the firewall because both boxes connect to the net.
Hmmm, I ran into a similar problem when I first started networking linux machines. One minute everything was working nicely, then I installed something (nfs maybe) and then I kept getting "Connection refused". I eventually realised that Mandrake had decided I needed a firewall and installed it. Firewalls can be a pain.
My simple solution was to rely on my DSL modem /router's firewall to keep the internet out. Then I disabled the firewalls on my internal network and now everything communicates happily, and I have not seen any intrusion attempts, and the various port-scanning utilities available on the web say I am locked up tightly.
If your modem / router will not do this (be your firewall), then you'll have to start poking holes in your firewalls to allow communication between your internal network addresses, & I am not the one to help you here, as I took the easy option!
I have considered doing just that, disabling the firewall on all but the Windows laptop (can't get too crazy). I will look for a way to do that in a GUI because for some reason ipconfig command does not work on my FC4 machine as root.
Disabling your firewall is not an option, unless you can rely on another (Eg your DSL modem / router) to maintain your security. ipconfig is not a command. Do you mean ifconfig or iptables?
I can change the security levels in the GUI through KDE, and disable iptables from system services. Have tried both with the same error when trying to browse the network. Had it going for a while, but it just vanished. Not sure why. Sooner or later, like everything linux, I'll figure it out. (firewalls were reinstated after testing.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.