Jump to content


Photo

Debian Problem


  • Please log in to reply
8 replies to this topic

#1 souldreamer

souldreamer

    journeyman

  • Members
  • 60 posts

Posted 12 March 2003 - 12:05 AM

Well, when i run apt-setup, when i select a mirror, it stops at 31%. What could be the problem? frown frown frown frown frown

#2 gfolkert

gfolkert

    journeyman

  • Members
  • 64 posts

Posted 12 March 2003 - 03:23 AM

Just how long does it sit there?

It should timeout after about 4 minutes... Apt-get update is probably hanging on an out of date mirror string.

It is waiting for DNS timeout, and FTP/HTTP timeout...

Try the "archive.progeny.com "

Edit your /etc/apt/sources.list and put in a set of the following.

For Stable(Woody) use:
deb ftp://archive.progeny.com/debian stable main non-free contrib
deb-src ftp://archive.progeny.com/debian stable main non-free contrib

For Testing(Sarge) use:
deb ftp://archive.progeny.com/debian testing main non-free contrib
deb-src ftp://archive.progeny.com/debian testing main non-free contrib

For Unstable(Sid) use:
deb ftp://archive.progeny.com/debian unstable main non-free contrib
deb-src ftp://archive.progeny.com/debian unstable main non-free contrib

Always good to use these...
For Debian Security use:
deb http://security.debian.org/ stable/updates main contrib non-free

And for Java:
deb ftp://ftp.tux.org/pub/java/debian woody non-free

The do:
apt-get update
apt-get -u upgrade or apt-get -u dist-upgrade

Follow prompts from there.

#3 souldreamer

souldreamer

    journeyman

  • Members
  • 60 posts

Posted 12 March 2003 - 01:52 PM

Thanks. I found what the problem is... When it boots i have net... Passing some minutes i don't...

I can't ping nothing, only the LAN frown

#4 gfolkert

gfolkert

    journeyman

  • Members
  • 64 posts

Posted 12 March 2003 - 04:34 PM

Please take a look at the file /etc/network/interfaces
Code:
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
auto lo eth0

iface lo inet loopback

iface eth0 inet static
        address 192.168.1.90
        netmask 255.255.255.0
        gateway 192.168.1.1


### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.


If you have something like this... then you should be fine... if it is

Code:
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
auto lo eth0

iface lo inet loopback

iface eth0 inet dhcp
        hostname somename

### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.


If you have something like that... do ifdown eth0 wait a few seconds then do ifup eth0

See if that takes care of the issue. Other than that... without more info on your DHCP server or you "LAN" we can't see into your mind ... though I'd like that ability to read most people's minds.... :x

#5 souldreamer

souldreamer

    journeyman

  • Members
  • 60 posts

Posted 12 March 2003 - 07:19 PM

I'm on a LAN, using a gateway. This pc is 192.168.0.2, using 192.168.0.1 for gateway. smile

#6 souldreamer

souldreamer

    journeyman

  • Members
  • 60 posts

Posted 12 March 2003 - 09:46 PM

Quote:
Please take a look at the file /etc/network/interfaces
Code:
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
auto lo eth0

iface lo inet loopback

iface eth0 inet static
        address 192.168.1.90
        netmask 255.255.255.0
        gateway 192.168.1.1


### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.


If you have something like this... then you should be fine... if it is


i have this correct...
frown

#7 souldreamer

souldreamer

    journeyman

  • Members
  • 60 posts

Posted 12 March 2003 - 09:56 PM

Better:

I installed Debian Woody. i have this pc (Gateway) and a pc in my room connected to a switch (switch connected to this PC). When i make apt-get or when i'm going to see a site, the internet goes down. This PC lan IP is 192.168.0.1, and i putted it as the gateway on the Debian machine. The Debian machine is 192.168.0.2. I configured the DNS also... frown

#8 souldreamer

souldreamer

    journeyman

  • Members
  • 60 posts

Posted 13 March 2003 - 03:08 AM

I have Red Hat in the gateway. When i installed redhat in this pc the network worked perfectly!!!
When i tryed to install gentoo... It didn't worked again. I think the problem is the gateway. 8)

#9 souldreamer

souldreamer

    journeyman

  • Members
  • 60 posts

Posted 17 March 2003 - 03:37 PM

I found the problem. I had the policies incorrect. ;(




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq