LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-16-2004, 10:58 PM   #1
tomhemba
LQ Newbie
 
Registered: Feb 2004
Location: Seattle
Distribution: Fedora
Posts: 23

Rep: Reputation: 15
can access site address but not hostip: dag apt


I'm using apt-get to try to access the dag apt repository among others and I've run into a curious problem.

Running apt-get I get this message:
Failed to fetch http://apt.sw.be/fedora/1/en/i386/base/pkglist.dag Could not connect to apt.sw.be:80 (32.1.7.112), connection timed out

So in a terminal I typed:
gethostip apt.sw.be

and it returned:
32.1.7.112

OK so here's what's wierd:
In my browser (mozilla or konqueror) I type in the address: apt.sw.be and the page comes up no problem. Then in the same browser I type 32.1.7.112 (which should be the same page) and it can't find the page. In konqueror I get this error:

An error occured while loading http://32.1.7.112:
Timeout on server
Connection was to 32.1.7.112 at port 80

I'm running a new clean install of fc1 using a dsl connection. I had this working before on the same computer with fc1 using kppp. Currently I'm having difficulty connecting to other repositories as well, but not all of them and I can't quite establish a clear reproducible problem except for the one above.

Anyone have any suggestions?? Thanks.
 
Old 06-17-2004, 02:41 AM   #2
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
do you use a proxy for the browser?
if so are you sure that you have set up the proxy correctly for apt-get ?
make sure that the http_proxy variable is exported or make changes to /etc/apt/apt.conf file (change the proxy) the http_proxy will look like.
http_proxy=http://proxy.mydomain.com:8080/
your browser maybe able to contact just because it goes tthorough the proxy
 
Old 06-17-2004, 10:01 PM   #3
tomhemba
LQ Newbie
 
Registered: Feb 2004
Location: Seattle
Distribution: Fedora
Posts: 23

Original Poster
Rep: Reputation: 15
I didn't setup a proxy when I installed fc1 - would it be setup automatically? My browser is set to a "direct connection to internet" I don't know what my local domain name is - I didn't establish any myself. I tried editing the file you mentioned anyway but then apt just stalled on all connections. As it is I'm able to connect to some repositories, but not dag apt, nor freshrpms, nor kde. Why would I be able to connect to some, but not others. I have a hard time believing that dag, freshrpms and kde have all been down for the last 3 days.

Please, anyone, I'm stranded here without apt working!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Apt-get - all address have ip 1.0.0.0 tomj88 Debian 12 06-14-2005 07:37 AM
can open webpages using IP address only and not site name yusha Linux - Networking 1 02-24-2005 05:24 AM
apt-get install results : non empty dir | and strange site eeried Linux - Newbie 0 06-16-2004 04:34 AM
Can't access this site?!! yzrider210 General 9 11-19-2003 01:28 AM
Assigning site-local ipv6 address to an interface goto Linux - Networking 0 03-24-2003 05:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration