Please help me find a solution...I've tried for days. (network problem)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Please help me find a solution...I've tried for days. (network problem)
I can't connect to many ports, and have been trying to work this out for days. However, the ports I can't connect to with linux, I can connect to with windows, on the same cumputer. Believe me, I don't want to go back to MS...I've grown to love linux over the months, but if it's my only resort, I will. I love linux, and have been learning it steadily...but this is driving me crazy. Recently, I upgraded from a standard dial up connection do DSL ...yay. My qwest DSL works in linux, and is fast, but as I said above, I'm having trouble with ports. For instance, I'm trying to run my own personal ftp server on linux. No one can connect to it, because it's blocking them. It has something to do with port 21. I can't send files on amsn. It just says "listening on port 6891" forever. However, I can recieve files on linux through amsn...but on Windows, I can send AND recieve files on windows through msn. I can't connect to p2p clients through tcp. For example I use Azureus quite often. I always get the error that it can't connect to the tracker port...TCP/6969 and TCP/6881 and UDP/6881. I also run several other programs that just can't connect to the ports. I take it since I can do all these things on windows, it has SOMETHING to do with linux.
I did some reading, and heard that I need to assign myself an "internal ip address"..or local, not sure...I'm new to networking totally...and anyway, forward ports to the local ip. I'm on SLACKWARE 10, so I did a netconfig. I put it 192.168.1.10 as an ip, put in the correct gateway and nameservers. I could still browse...and I'm guesing it worked. I tried forwarding ports to this IP on both the router and modem port forwarding setup pages...but no luck. I also tried enabling "DMZ"...with this ip "192.168.1.10"...and still no luck. I have no firewall installed. I even tried installing a firewall and opening the ports.
So I ask...could anyone possibly help me find a solution? I really need to be able to have people connect to my FTP server...and I also really want to be able to send files via AMSN..because I do this allot between people I know
Just some information.
My modem is connected to a router and into my computer. Another computer is also connected to the router and share's an internet connection.
Hey thanks for the reply. I think I'm using ipv4..i'm not really familiar with what the programs are or do though. Could you please tell me how I disable this? Thanks.
You want to check that qwest isn't blocking these ports. You can try using alternative ports if this is a case. But I think you will find the basics blocked by your isp http(80) mail(110, 24 145) and possibly others like 22 and some common p2p ports. You should call them and check with them.
Okay I'll do that...but I know the port for msn works fine in windows and not in linux. Not sure about ftp..but it seems allot of ports work in windows, and they dont work in linux =\
As far as i know you have to add the lines "alias net-pf-10 off" and "alias ipv6 off" in your modprobe.conf, module.conf or conf.module or whatever you use. (Why do they keep changing the name?).
I don't really think that this will fix your problem, but it will significantly increase browsing speed by decreasing DNS lookup time. You may try it if you want.
When you use Windows, do you connect your PC directly to the DSL, or does it sit behind the router as well? It's a little unclear based on what you said. But if you're behind a DSL router, you will be assigned a private "nonroutable" IP address. This is true regardless of the OS you're using. So I imagine what you are doing is plugging your Windows PC directly into your DSL connection? Or am I wrong on that?
If you're behind a router, in any case, you need to enable port forwarding to forward ports 21 etc. to the private IP of your Linux machine. Your router's documentation should tell you how to do this.
Interesting ... anyhow, run "ifconfig eth0" to get your current IP address. This is your internal, private IP address. Now go into your router configuration and make sure that port 21 etc. is forwarded to that address (although if everything really does work in Windows, it all should be set up properly). Also, make sure you're not running a firewall -- you can do "iptables -L" to see what firewall rules, if any, are in place. Also check your /etc/hosts.allow and /etc/hosts.deny to ensure you're not denying traffic based on TCP wrappers.
Also, all 196.168. IP addresses are non-routable. You should try to figure out your public IP address you get from your ISP. you can always run a ShieldsUp test from grc.com on that address to see which ports are open (and hopefully being forwarded by your router).
ack this is odd...I tried that shields up..and like EVERY port i try says "Stealth There is NO EVIDENCE WHATSOEVER that a port (or even any computer) exists at this IP address!"
Basically everything is stealth..and I installed no firewall..and there are no iptable rules =\
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.