PDA

View Full Version : [ubuntu] No update


Spikerok
March 27th, 2009, 06:15 AM
after upating network settings, setting static ip address im unable to download any updates using apt-get update/upgrade or any other program updates

/etc/apt/sources.list looks ok..

i want ip to be static, and I want to know what to change in the configuration to make ip static and to be able to download updates

im getting error - SIOCDELRT: No such process

Spikerok
March 27th, 2009, 07:59 AM
after upating network settings, setting static ip address im unable to download any updates using apt-get update/upgrade or any other program updates

/etc/apt/sources.list looks ok..

/etc/network/interfaces - when i had error with update

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

then i have changed iface eth0 inet
now i have next settings in sources.list and im able to download updates

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dncp
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

namaku0
March 27th, 2009, 09:32 AM
sources.list - when i had error with update

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

then i have changed iface eth0 inet
now i have next settings in sources.list and im able to download updates

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dncp <-- THIS AND BELOW!
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1


Not only very close on the keyboard, 'n' and 'h' also
looks alike.

If you are planning to use DHCP it should be like this:


# The primary network interface
auto eth0
iface eth0 inet dhcp


No address, netmask, network, broadcast, and gateway part.

Spikerok
March 27th, 2009, 04:27 PM
i want it to be static, and I want to know what to change in the configuration to make it static

im getting error - SIOCDELRT: No such process

Spikerok
March 27th, 2009, 05:20 PM
...

cariboo907
March 27th, 2009, 05:33 PM
This solution is not very elegant, but if you don't need dhcp, get rid of the dhcp client:

sudo apt-get purge dhcp3-client

Jim

Spikerok
March 27th, 2009, 05:57 PM
well i have change config, i have

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1


i still unable to connect to download updates, or to connect to computer

Spikerok
March 27th, 2009, 06:17 PM
i can't even use dhcp now..

well i got it working now, i tihnk i got it what to do to fix it!

Spikerok
March 27th, 2009, 06:20 PM
double post

Spikerok
March 27th, 2009, 06:39 PM
can't download any thing, managed to make it static.