Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-16-2006, 07:20 PM
|
#1
|
Member
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430
Rep:
|
Error: "Could not connect data socket, Connection timed out."
I installed PCLinuxOS to my harddrive and am having trouble updating the package list from the repositories. I've tried all the repositories and they all fail/time-out when I try to do an update. This is using Synaptic. When I tried using Kpackage instead, it timed-out, too but gave me the error message: "Could not connect data socket, Connection timed out." Is that a clue?
I use my DSL modem as a firewall.. The Shorewall software firewall that comes with PCLOS doesn't seem to make any difference whether it's on or off. I turned off the software firewall and noticed that it didn't change anything when I went to grc.com for a port scan, so I don't think it's a firewall issue, although someone here might very well know better.
Any ideas what's going on? TIA...
|
|
|
01-16-2006, 10:02 PM
|
#2
|
Member
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66
Rep:
|
If you are sure that your addresses are correct, then it sounds like a firewalling issue - either at your end, or the other! "Connection timed out" indicates that the host is up, but the packets are being silently dropped (as opposed to accepted or denied) - this is firewalling behaviour.
Why don't you post the server and port you are trying to connect to, and we can determine whether the problem lies with your configuration or the server (or if you have access to another machine not behind your firewall, try it from there).
|
|
|
01-16-2006, 11:47 PM
|
#3
|
Member
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430
Original Poster
Rep:
|
|
|
|
01-17-2006, 12:07 AM
|
#4
|
Member
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66
Rep:
|
ahh, they are http/ftp connections (so you do know what ports you are connecting to . They are accessible from here, indicating the problem is at your end. Can you post the results of
#iptables -L
#iptables -L -t nat
You will need to be root to run these.
|
|
|
01-17-2006, 12:13 AM
|
#5
|
Member
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430
Original Poster
Rep:
|
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Thank you for your help.
|
|
|
01-17-2006, 01:26 AM
|
#6
|
Member
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66
Rep:
|
OK, so there's nothing intefering with your outgoing traffic. What happens if you run:
telnet distro.ibiblio.org 80
If this results in a telnet prompt, then it seeems to point to some configuration issue with your package management tools (which is suspicious, given that there is more than one of them - unless they utilise some global configuration). I use apt-get, and have no experience with higher level tools.
|
|
|
All times are GMT -5. The time now is 02:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|