View Full Version : [Ubuntu 7.04] D-Link G624T: Synaptic non va!
chinchillart
24-05-2007, 15:43
Ho installato Ubuntu Feisty su un Pc collegato con il cavo ad un router D-Link G624T.
Mi fa navigare e scaricare la posta.
Synaptic trova gli aggiornamenti ma quando va per scaricarli mi dà questi errori:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata_2007e-0ubuntu0.7.04_all.deb
Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim-tiny_7.0-164+1ubuntu7.1_i386.deb
Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
Ho trovato questa guida su un forum mepis, ma anche questa è stata inutile:
Problema: Synaptic non funziona col router D-Link.
Codice:
sudo nano /etc/resolv.conf
Introdurre le seguenti linee
nameserver 212.216.112.112
nameserver 212.216.172.62
# nameserver 192.168.1.1
Salva e riprova con Synaptic. Se il fix funziona, quando fai il reboot si resetterà, quindi bisogna editare dhclient.conf in questo modo:
Codice:
sudo cp /etc/dhcp3/dhclient.conf /etc/dhcp3/dhclient.conf.bak
Codice:
sudo nano /etc/dhcp3/dhclient.conf
Trova questa linea nel codice.....
#prepend domain-name-servers 127.0.0.1;
e sostituiscila con......
prepend domain-name-servers 212.216.112.112, 212.216.172.62;
(nota che ho tolto il simbolo hash, #)
Successivamente trova il campo: domain-name-servers, e rimuovilo. Il testo dovrebbe apparire in questo modo........
request domain-name-servers, subnet-mask, broadcast-address, time-offset, routers, domain-name, host-name, netbios-name-servers, netbios-scope;
Rimuovi il pezzo che dice "domain name servers," assicurandoti di rimuovere anche la virgola rimanente. Salvare il file e far ripartire il network. Adesso i cambiamenti dovrebbero essere permanenti anche al reboot.
Non so più che pesci pigliare.
Ho provato di tutto:
- disabilitare il firewall del router,
- impostare ip statico
- usare il DHCP.
In ogni caso Synaptic e apt-get mi danno lo stesso errore.
Altre soluzioni?
Roberto
heavymetalforever
24-05-2007, 16:13
strano... ho il tuo stesso router con Ubuntu 7.04 e funziona a meraviglia.
Domanda: hai abilitato tutti i repository sul file /etc/apt/sources.list?
Se non lo hai fatto fallo quanto prima e poi digita da root un bel: apt-get update
Poi riprova.
Mi era capitato una volta quel messaggio, ma non mi navigava nemmeno e ho imputato la cosa ad un'altra causa.
CIao
chinchillart
24-05-2007, 16:24
/etc/apt/source.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070418)]/ feisty main restricted
deb http://it.archive.ubuntu.com/ubuntu/ feisty main restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ feisty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ feisty-updates main restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://it.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://it.archive.ubuntu.com/ubuntu/ feisty universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu feisty-security main restricted multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://archive.ubuntu.com/ubuntu/ feisty-updates restricted main multiverse universe
a me succedeva lo stesso, con lo stesso router e su mandriva, quando usavo il DHCP sul router e sul PC. Ho risolto imposstando i DNS statici sul PC (ed ovviamente l'IP del router come gateway del PC)
Artemisyu
25-05-2007, 08:10
tenta di connettersi sulla 8080, il che è un po' assurdo.
Sicuro che tu non sia andato ad installare in un posto in cui c'è un proxy, che tu l'abbia impostato, e successivamente ti sia dimenticato di toglierlo?
chinchillart
25-05-2007, 09:48
a me succedeva lo stesso, con lo stesso router e su mandriva, quando usavo il DHCP sul router e sul PC. Ho risolto imposstando i DNS statici sul PC (ed ovviamente l'IP del router come gateway del PC)
Anche a me avevano ocnsigliato di impostare IP statico e DNS statici sul router e sul PC, e l'ho fatto. Ma non cambia niente ! :muro:
Roberto
chinchillart
25-05-2007, 10:15
tenta di connettersi sulla 8080, il che è un po' assurdo.
Sicuro che tu non sia andato ad installare in un posto in cui c'è un proxy, che tu l'abbia impostato, e successivamente ti sia dimenticato di toglierlo?
Non ho trovato nessun settaggio per impostare un proxy, nè nel router nè in ububtu. Quindi suppongo di non averlo fatto.
C'è anche un'altra cosa che non mi convince per niente: il file /etc/apt/apt.conf non esiste!!! Possibile???
Roberto
Artemisyu
25-05-2007, 11:02
Non ho trovato nessun settaggio per impostare un proxy, nè nel router nè in ububtu. Quindi suppongo di non averlo fatto.
C'è anche un'altra cosa che non mi convince per niente: il file /etc/apt/apt.conf non esiste!!! Possibile???
Roberto
E' assolutamente normale che apt.conf non esista, perchè ormai da parecchio viene creato ad hoc solo in taluni casi.
Synaptic in ogni caso non eredita le impostazioni di apt, quindi se devi verificare che tu non abbia un proxy devi andare nelle impostazioni di synaptic, dove c'è una maschera per impostare il proxy.
Aggiungo inoltre che c'è anche quella di gnome.
chinchillart
25-05-2007, 12:03
Nelle impostazioni di Synaptic il proxy è disattivato: Directly connect tothe Internet è invece attivo.
Ho provato a fare un reload dei repository e anche in questo caso mi dà il solito errore:
http://archive.ubuntu.com/ubuntu/dists/feisty/Release.gpg: Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
http://it.archive.ubuntu.com/ubuntu/dists/feisty/Release.gpg: Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
http://it.archive.ubuntu.com/ubuntu/dists/feisty/main/i18n/Translation-it.bz2: Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
http://it.archive.ubuntu.com/ubuntu/dists/feisty/restricted/i18n/Translation-it.bz2: Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
etc..
Roberto
Artemisyu
25-05-2007, 12:06
Nelle impostazioni di Synaptic il proxy è disattivato: Directly connect tothe Internet è invece attivo.
Ho provato a fare un reload dei repository e anche in questo caso mi dà il solito errore:
http://archive.ubuntu.com/ubuntu/dists/feisty/Release.gpg: Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
http://it.archive.ubuntu.com/ubuntu/dists/feisty/Release.gpg: Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
http://it.archive.ubuntu.com/ubuntu/dists/feisty/main/i18n/Translation-it.bz2: Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
http://it.archive.ubuntu.com/ubuntu/dists/feisty/restricted/i18n/Translation-it.bz2: Impossibile connettersi a 192.168.1.1:8080 (192.168.1.1). - connect (111 Connection refused)
etc..
Roberto
Continuo a non capire perchè tenti di connettersi al tuo gateway sulla porta 8080.... finchè fa così mi sembra ovvio che il router risponda 111....
chinchillart
25-05-2007, 16:08
Ho beccato l'errore!
Era come dicevate voi: avevo impostato il router come proxy da System -> Proxy settings!
E' stato quando ho smanettato con il router per cercare di farlo funzionare (ho dovuto poi aggiornare il firmware) e mi ero dimenticato di togliere quell'impostazione! :muro:
Grazie di tutto ragazzi!
Roberto
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.