FC2 - apt-get and Netgear RP614v2 router

Place to discuss Fedora and/or Red Hat

FC2 - apt-get and Netgear RP614v2 router

Postby Ice9 » Fri Oct 29, 2004 4:23 pm

I finally moved and installed all the pc's last night.
Because my wife uses the interent increasingly I decided to plug our pc's in a router and installed the Netgear RP614v2 I've had for a couple of months.
Everything works fine except for apt-get and/or RHN update.
I installed apt, edited /etc/apt/apt.conf to include my ISP's proxy server, added some repositories to /etc/apt/sources.list and ran apt-get update ....
Now I only get
Code: Select all
Err http://newrpms.sunsite.dk redhat/en/i386/fc2 release
  Could not resolve 'newrpms.sunsite.dk'
Err http://dries.studentenweb.org apt/fedora/fc2/i386 release
  Could not resolve 'dries.studentenweb.org'
Err http://ayo.freshrpms.net fedora/linux/2/i386 release
  Could not resolve 'ayo.freshrpms.net'
Err http://apt.sw.be fedora/2/en/i386 release
  Could not resolve 'apt.sw.be'
Err http://newrpms.sunsite.dk redhat/en/i386/fc2/newrpms pkglist
  Could not resolve 'newrpms.sunsite.dk'
Err http://ayo.freshrpms.net fedora/linux/2/i386/freshrpms pkglist
  Could not resolve 'ayo.freshrpms.net'
Err http://apt.sw.be fedora/2/en/i386/dag pkglist
  Could not resolve 'apt.sw.be'
Err http://dries.studentenweb.org apt/fedora/fc2/i386/dries pkglist
  Could not resolve 'dries.studentenweb.org'
Err http://newrpms.sunsite.dk redhat/en/i386/fc2/newrpms release
  Could not resolve 'newrpms.sunsite.dk'
Err http://ayo.freshrpms.net fedora/linux/2/i386/freshrpms release
  Could not resolve 'ayo.freshrpms.net'
Err http://apt.sw.be fedora/2/en/i386/dag release
  Could not resolve 'apt.sw.be'
Err http://dries.studentenweb.org apt/fedora/fc2/i386/dries release
  Could not resolve 'dries.studentenweb.org'
Err http://ayo.freshrpms.net fedora/linux/2/i386/core pkglist
  Could not resolve 'ayo.freshrpms.net'
Err http://ayo.freshrpms.net fedora/linux/2/i386/core release
  Could not resolve 'ayo.freshrpms.net'
Err http://ayo.freshrpms.net fedora/linux/2/i386/updates pkglist
  Could not resolve 'ayo.freshrpms.net'
Err http://ayo.freshrpms.net fedora/linux/2/i386/updates release
  Could not resolve 'ayo.freshrpms.net'
Failed to fetch http://apt.sw.be/fedora/2/en/i386/base/release  Could not resolve 'apt.sw.be'
Failed to fetch http://dries.studentenweb.org/apt/fedora/fc2/i386/base/release  Could not resolve 'dries.studentenweb.org'
Failed to fetch http://ayo.freshrpms.net/fedora/linux/2/i386/base/release  Could not resolve 'ayo.freshrpms.net'
Failed to fetch http://newrpms.sunsite.dk/apt/redhat/en/i386/fc2/base/release  Could not resolve 'newrpms.sunsite.dk'
Failed to fetch http://apt.sw.be/fedora/2/en/i386/base/pkglist.dag  Could not resolve 'apt.sw.be'
Failed to fetch http://apt.sw.be/fedora/2/en/i386/base/release.dag  Could not resolve 'apt.sw.be'
Failed to fetch http://dries.studentenweb.org/apt/fedora/fc2/i386/base/pkglist.dries  Could not resolve 'dries.studentenweb.org'
Failed to fetch http://dries.studentenweb.org/apt/fedora/fc2/i386/base/release.dries  Could not resolve 'dries.studentenweb.org'
Failed to fetch http://ayo.freshrpms.net/fedora/linux/2/i386/base/pkglist.freshrpms  Could not resolve 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/fedora/linux/2/i386/base/release.freshrpms  Could not resolve 'ayo.freshrpms.net'
Failed to fetch http://newrpms.sunsite.dk/apt/redhat/en/i386/fc2/base/pkglist.newrpms  Could not resolve 'newrpms.sunsite.dk'
Failed to fetch http://newrpms.sunsite.dk/apt/redhat/en/i386/fc2/base/release.newrpms  Could not resolve 'newrpms.sunsite.dk'
Failed to fetch http://ayo.freshrpms.net/fedora/linux/2/i386/base/pkglist.core  Could not resolve 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/fedora/linux/2/i386/base/release.core  Could not resolve 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/fedora/linux/2/i386/base/pkglist.updates  Could not resolve 'ayo.freshrpms.net'
Failed to fetch http://ayo.freshrpms.net/fedora/linux/2/i386/base/release.updates  Could not resolve 'ayo.freshrpms.net'
Reading Package Lists... Done
Building Dependency Tree... Done
W: Release files for some repositories could not be retrieved or authenticated. Such repositories are being ignored.
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.


The RP614 has a built-in firewall which can't be disabled as far as I can tell, I've tried to play around with port forwarding but it doesn't produce antyhing else than the above mentioned errors (enabled port forwarding for service ftp - port 21 and afterwards . for service http - port 80)
Does anyone have an idea about what I could try next?
I don't have the space anymore to throw in a dedicated linux box to handle all the firewall/gateway stuff so I'm pretty much stuck with the router :?
Ice9
guru
guru
 
Posts: 577
Joined: Thu Jan 09, 2003 12:40 am
Location: Belgium

Postby Void Main » Fri Oct 29, 2004 5:46 pm

Do you have to go through your ISP's proxy? The message is that the names can not be resolved. I don't know who your provider is but you shouldn't have to go through a proxy. The proxy is obviously not working. If you are not using a proxy you have to be able to resolve DNS addresses (properly configured /etc/resolv.conf). What does your proxy server line look like in your apt.conf?

On a side note, you can fit a Linux based router/firewall in a pretty small space:

http://voidmain.is-a-geek.net:81/
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Ice9 » Sat Oct 30, 2004 3:26 pm

This is the proxy entry from apt.conf
Code: Select all
Acquire
{
   http
   {
      Proxy "http://proxy.pandora.be:8080/";
   };
};

But never mind, it's working now.
When I booted my pc I first tried an apt-get update just for the heck of it and it worked.

I'm glad it works now but I hate it when I don't know what causes a problem and it goes away just like that.

Void Main wrote:
Do you have to go through your ISP's proxy?

Yes I do, when I first arrived at this place I was told that my ISP didn't require the use of a proxy anymore so I tried to connect to the web without entering my proxy details and nothing resolves until I enter the proxy parameters
:?
On a side note, you can fit a Linux based router/firewall in a pretty small space:

http://voidmain.is-a-geek.net:81/

I know, I saw that when you first posted about it, pretty impressive work I must say, but I don't have one of those and my wife is pretty strict about the place my IT stuff takes in the house, sha alreasy has to bear with 5 pc's, kids with internet access and all that stuff so I chose not to push it too much :wink:
Ice9
guru
guru
 
Posts: 577
Joined: Thu Jan 09, 2003 12:40 am
Location: Belgium

Postby Void Main » Sat Oct 30, 2004 3:38 pm

Ice9 wrote:Void Main wrote:
Do you have to go through your ISP's proxy?

Yes I do, when I first arrived at this place I was told that my ISP didn't require the use of a proxy anymore so I tried to connect to the web without entering my proxy details and nothing resolves until I enter the proxy parameters


If nothing resolves then perhaps your DNS settings were not correct? You should be able to use "nslookup", "dig", or the "host" command on the command line to lookup IP addresses of hostnames, or hostnames of IP addresses. In order to do that you have to have your DNS client configuration set up properly (/etc/resolv.conf). Do you know what your provider's DNS servers are? You should have an /etc/resolv.conf that looks something like this:

Code: Select all
search yourdomain.com
nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy


But I am sure you know about all that so forgive me if I am stating the obvious.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Ice9 » Sat Oct 30, 2004 3:58 pm

Void Main wrote:
But I am sure you know about all that so forgive me if I am stating the obvious.

In fact setting the DNS servers is one thing I forgot to do when I finished hooking up my pc to the internet :oops:
But I got that fixed pretty soon.

I didn't think about doing an nslookup but I'll keep it in mind if I ever run into similar problems in the future, thanks.
Ice9
guru
guru
 
Posts: 577
Joined: Thu Jan 09, 2003 12:40 am
Location: Belgium


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 1 guest

cron