LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-28-2007, 11:45 PM   #1
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 211

Rep: Reputation: 30
internet runs-stops, runs-stops........


i installed Debian Etch AMD64 using netinst CD. installation went fine except one thing. it configured and connected my network using DHCP but says "unable to connect to Debian security updates" then after installation and booting into new system, i faced the same problem. even "apt-get install xorg" does not work correctly. it goes like this:

1.) it downloads one package and in the middle of download it freezes.
2.) it waits for "x" minutes where x = 2 - 20 min
3.) then it starts downloading again, from where it left, and goes to step-1
4.) Debian security update are never downloaded.

it seems like i have long DNS lookup. i had the same problem on BLAG where i had to add these to "/etc/modprobe.conf " or somewhere else i did not remember:

alias net-pf-10 off
alias ipv6 off

i added the same in "/etc/modprobe.d/aliases" on Debian but it does not work and my problem is still there. i have removed Debain and installed Arch Duke i don't have any troubles with accessing internet but i am very much impressed my DFSG and i want to install Debian Testing now (seems stable enough for my home PC). what should i do to solve that problem because IIRC, i had the same troubles when i used Sarge 1 year ago.


i chose these during installation:

hostname = debian
domainname = planet

every time, when i boot up, i also get this message: "internet superserver disabled"

----- /etc/hosts -------------

127.0.0.1 localhost
127.0.1.1 debian.planet debian

--------- /etc/resolv.conf -----

nameserver 218.248.255.145
nameserver 61.1.96.69


-------------- /etc/network/interfaces -----

did not remember exactly what was here but it was something like this:

auto lo ....

auto eth0...

eth0 inet dhcp ....
 
Old 05-29-2007, 09:56 AM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
You don't have any problems with Arch Duke? What is /etc/resolv.conf in your Arch Duke install? If the problem is long DNS resolution, then perhaps manually copying resolv.conf will fix it.

Alternatively, the problem may be that connectivity is simply very poor from your location to Debian's security updates servers. If you do another Debian install, check out the contents of /etc/apt/sources.list. I don't know if there are local mirrors for security.debian.org...maybe not.

Anyway, what happens if you try to ping or ftp connect to security.debian.org? If it's a connectivity problem, then you'll have problems downloading from security.debian.org in Arch Duke also.
 
Old 05-29-2007, 11:27 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Usually, if there is no connection during installation, the installer will comment out the entry for security in /etc/apt/sources.list, it is possible that it did this if if the site was down and unavailable during installation. Check the file to see if there is a hash at the beginning of the security entry. Also, one of the fastest mirrors near my location has security updates also, so I do not use the default Debian site that is normally inserted by default in /etc/apt/sources.list.
Below is a link to the apt how-to, in section 2.3 is a link to the list of Debian mirrors. If you look at the only mirror in India, it does not have security updates, but the mirror just above it from Italy does. Find a mirror close to you that has a link to security updates and use it, or better yet, find a few of them and use 'netselect' to find which is faster as described in section 2.3 also.
http://www.debian.org/doc/manuals/apt-howto/

Last edited by Junior Hacker; 05-29-2007 at 11:37 AM.
 
Old 05-29-2007, 11:35 AM   #4
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by IsaacKuo
You don't have any problems with Arch Duke? What is /etc/resolv.conf in your Arch Duke install? If the problem is long DNS resolution, then perhaps manually copying resolv.conf will fix it.
in both, Debia and Arch, "/etc/resolv.conf" is same.

Quote:
Originally Posted by IsaacKuo
Alternatively, the problem may be that connectivity is simply very poor from your location to Debian's security updates servers. If you do another Debian install, check out the contents of /etc/apt/sources.list. I don't know if there are local mirrors for security.debian.org...maybe not.
i am sure this is not the case as on Arch and BLAG i can access internet without any troubles at all.

Quote:
Originally Posted by IsaacKuo
Anyway, what happens if you try to ping or ftp connect to security.debian.org? If it's a connectivity problem, then you'll have problems downloading from security.debian.org in Arch Duke also.
it takes a l..o..o..o..o..n..g time to show me the 1st ping. on Arch and Debian pings takes just 7 seconds.

ping -c5 google.com

i think this has to do with both "/etc/hosts" and IPv6. check my other thread in "Debian-User" mailing list archives where i have posted enough information with different view-point of the same problem. this is one solution i have got from "Douglas Allan Tutty":

---------- WHOLE POST ----------
> i installed Debian Etch AMD64 using netinst CD. installation went fine
> except one thing. it configured and connected my network using DHCP
> but says "unable to connect to Debian security updates" then after
> installation and booting into new system, i faced the same problem.
> even "apt-get install xorg" does not work correctly. it goes like
> this:

[snip: timeout waiting to connect to security]

> it seems like i have long DNS lookup.
>
> i chose these during installation:
>
> hostname = debian
> domainname = planet
>
> every time, when i boot up, i also get this message: "internet
> superserver disabled"

Normal unless you're running services out of inetd.

>
> ----- /etc/hosts -------------
> 127.0.0.1 localhost
> 127.0.1.1 debian.planet debian
>
> --------- /etc/resolv.conf -----
> nameserver 218.248.255.145
> nameserver 61.1.96.69
>
> -------------- /etc/network/interfaces -----
> did not remember exactly what was here but it was something like this:
>
> auto lo ....
> auto eth0...
> eth0 inet dhcp ....

I've never used dhcp so I don't know how it integrates with /etc/hosts.
If eth0 was setup manually, your /etc/hosts file would look something
like mine:

127.0.0.1 localhost.localdomain localhost
192.168.1.1 debian.planet debian

If your network is planet, and this box on your network is debian, then
having that show in your /etc/hosts file as 127.* will be a source of
confusion or errors. You need them to point to your network.

Since it is your network, can you try manually configuring it and not
use dhcp to see if the problem persists?

Doug.

--------------- EOF ----------

Last edited by arnuld; 05-29-2007 at 11:41 AM.
 
Old 05-29-2007, 01:02 PM   #5
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Are you sure this is Debian? Every now and again my router gets a little unhappy, and I experience problems v similar to yours. If I switch it off for an hour or so, the problems disappear...
 
  


Reply



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
crontab runs and stops in middle of process. Strange! Micro420 Linux - General 2 03-28-2007 02:46 AM
X Stops working when firewall runs rjkfsm Linux - Security 2 07-17-2005 07:28 AM
Internet Explorer Runs in wine but... Caeda Linux - General 27 11-11-2004 06:52 AM
ATI - fglrx - X runs 3 seconds then stops GuidoS Linux - Hardware 2 09-06-2004 12:37 PM
VNC Works then stops! Reboot fixes but then it stops again! Leethal Linux - Software 1 02-26-2004 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:57 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
Open Source Consulting | Domain Registration