Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problema EMERGE con PROXY PROTETTO DA PASSWORD[RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Tue May 17, 2005 6:01 pm    Post subject: problema EMERGE con PROXY PROTETTO DA PASSWORD[RISOLTO] Reply with quote

ciao a tutti, questo è il mio problema, non riesco a fare l emerge di nessun pacchetto perchè sono sotto PROXY con password, mi spiego meglio!! la porta aperta è solo quella di internet, e per accedervi devo inserire una password ed username, noto che se non inserisco la password mi da un errore di connesione!! e mi dice che è un ISA.server!!! esiste qualcosa o settaggi da inserire nel make.conf????:?: :?: :?: :?: :?: :?:

OT: non apro un nuovo topic per questo!! sono passato a gnome da poco e volevo sapere se era possibile abilitare trasparenze come in kde 3.4!!!
magari se mi pastate un url.... poi mi arrangio,

grazie in anticipo

edit by randomaze: ho ripulito il thread dai vari insulti che si erano generati....


Last edited by 102376 on Thu May 19, 2005 5:48 pm; edited 2 times in total
Back to top
View user's profile Send private message
Dr.Dran
l33t
l33t


Joined: 08 Oct 2004
Posts: 766
Location: Imola - Italy

PostPosted: Tue May 17, 2005 6:28 pm    Post subject: Reply with quote

beh sei sotto un proxy, guarda sulla guida di gentoo, dovrebbe esserci scritto come fare a connettersi ed a eseguire aggiornamenti dietro un server proxy. 8) :wink:
Back to top
View user's profile Send private message
[PHT]Giangi
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2004
Posts: 110
Location: Rome - ITALY -

PostPosted: Tue May 17, 2005 9:22 pm    Post subject: Reply with quote

Se sei all'interno di un'area protetta da un firewall che non permette di utilizzare rsync, si può usare emerge-webrsync che scaricherà ed installerà un'istantanea del Portage attraverso una normale connessione HTTP.

~# emerge-webrsync

Per poi usare emerge in una rete protetta da un firewall; occorre modificare le impostazioni di PROXY in /etc/make.conf.
Se non dovesse funzionare, edita /etc/wget/wgetrc e modifica appropriatamente http_proxy e ftp_proxy.
_________________
Powered by : Gentoo Linux on PowerMac G5 2 CPU 2.00GHz.
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Tue May 17, 2005 9:36 pm    Post subject: Re: problema EMERGE con FIREWALL PROTETTO DA PASSWORD Reply with quote

zocram wrote:
la porta aperta è solo quella di internet

Scusa qual'è la "porta di internet" 8O
Intendi la porta 80 (la porta http) ? 8O Guarda che internet accetta tutte le porte dalla 1 alla 65536 (2^16) :wink:
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
rakim
Apprentice
Apprentice


Joined: 08 Mar 2005
Posts: 231

PostPosted: Tue May 17, 2005 9:38 pm    Post subject: Reply with quote

Code:
export http_proxy="http://utente:password@ipproxy:porta"
emerge-webrsync


Così dovrebbe funzionare!


EDIT: Se poi, non hai voglia di scrivere export bla bla bla... ogni volta che apri una shell da root, puoi metterlo nel tuo .bashrc
Con un qualsiasi editor di testo, apri il tuo bashrc, che si trova in /root/.bashrc (se non c'è, crealo!) e scrivici all'interno
Code:
export http_proxy="http://utente:password@ipproxy:porta"

Infine salva il tutto!
Back to top
View user's profile Send private message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Tue May 17, 2005 10:22 pm    Post subject: Reply with quote

questo serve per fare il sync!!!

Code:
export http_proxy="http://utente:password@ipproxy:porta"
emerge-webrsync


ma per fare l emerge di un pacchetto, devo settare le variabili in make.conf , ma posso anche mettere le password??? se si come??
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue May 17, 2005 10:58 pm    Post subject: Re: problema EMERGE con FIREWALL PROTETTO DA PASSWORD Reply with quote

Cazzantonio wrote:

Intendi la porta 80 (la porta http) ? 8O Guarda che internet accetta tutte le porte dalla 1 alla 65536 (2^16) :wink:


:lol:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
5p4wN
n00b
n00b


Joined: 13 Feb 2005
Posts: 49

PostPosted: Wed May 18, 2005 12:33 pm    Post subject: Reply with quote

questo 3d capita a fagiuolo....proprio ora stavo cercando di syncare sotto proxy....benedetto forum :-)
_________________
Acer Aspire 1355xc AMD Athlon-XP 2600+ Powered by Gentoo GNU/Linux from stage 1 & FluxBox WM Kernel Linux 2.6.12-rc2-nitro1
Back to top
View user's profile Send private message
rakim
Apprentice
Apprentice


Joined: 08 Mar 2005
Posts: 231

PostPosted: Wed May 18, 2005 9:29 pm    Post subject: Reply with quote

zocram wrote:

ma per fare l emerge di un pacchetto, devo settare le variabili in make.conf , ma posso anche mettere le password??? se si come??

Io faccio l'emerge dei singoli pacchetti allo stesso modo!
Per il sync tu utilizzi emerge-webrsync perché non puoi utilizzare la porta ftp!
la variabile di ambiente $http_proxy la setti in modo tale che emerge la legga e si comporti di conseguenza!
qundi
Code:
# emerge <nomepacchetto>

funziona allo stesso modo di
Code:
# emerge-webrsync

Spero di essere stato abbastanza chiaro!
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu May 19, 2005 8:30 am    Post subject: Reply with quote

se ho capito bene lui ha un proxy con autenticazione da pagina web in un dominio NTLM.
se non si autentica non passa neanche sulla porta 80, quindi webrsync non funzionerebbe a prescindere..
in questi casi gli servirebbe un callback proxy.. ma la cosa diventa difficile.
in ogni caso, se hai un'autenticazione di questo tipo, abb. strong e di certo non sei in un contesto casalingo, quindi sei o in un'azienda o in un ente, se non hai le credenziali per accedere significa che non sei autorizzato a usare le risorse della rete, per cui e' inutile continuare questa discussione.
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Thu May 19, 2005 9:52 am    Post subject: Reply with quote

io abito in collegio per motivi universitari!!! per accedere ad internet devo inserire pasword e username! non voglio violare nessun sistema ! ti spiego con il browser esce una maschera dove inserire pass e user, con un altro prg (tipo emerge) non esce nulla di questo tipo!!! quindi non riesco ad autentificarmi!! non posso inserire nel make.conf la password del proxy????
o spiegatemi come fare un callback proxy!!!
e poi non ho capito perche` la discussione deve finire qua!!! non voglio fare nulla di male !!!!

in oltre parli di credenziali............e menate varie!!! se posso accedere ad internet con il browser potro farlo anche con altri programmi!!!!!

Quote:
significa che non sei autorizzato a usare le risorse della rete
invece se leggessi bene ti ho detto che tramite browser posso accedere ad internet
Back to top
View user's profile Send private message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Thu May 19, 2005 9:57 am    Post subject: Reply with quote

PER LA PRECISIONE : l username e la password, come ogni studente del collegio , mi sono gia state fornite!!!!


8) 8)
Back to top
View user's profile Send private message
Apetrini
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1158

PostPosted: Thu May 19, 2005 10:21 am    Post subject: Reply with quote

Mi sembra strano comunque che un sistema evoluto come il portage di Gentoo non abbia concepito la possibilita che qualcuno sia dietro un proxy con un autenticazione!!!! :?
.. eppure ...sembra che qui il porblema non si risolva!!
Non capisco....
_________________
Linux ape 2.6.31-vanilla. Paludis since 0.28.0.
Back to top
View user's profile Send private message
Apetrini
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1158

PostPosted: Thu May 19, 2005 10:57 am    Post subject: Reply with quote

Non vorrei sembrare scortese, ma forse stiamo andanto un po` OT.
E da un po` di tempo che mi sono chiesto come fare per usare emerge sotto proxy con la password....e non sono ancora riuscito a trovare la soluzione....!
Mi sembra strano che qualcuno non ci abbia mai pensato...!
Se a emerge non si riesce specificare la password mi tocca farmi dire da dove scarica il file in questione per poi aprire firefox , scaricarlo e poi metterlo nella cartella giusta e rilanciare emerge.
E` chiaro che se lo dovessi fare per un pacchetto che ha 20 dipendenze divento matto!
_________________
Linux ape 2.6.31-vanilla. Paludis since 0.28.0.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu May 19, 2005 11:13 am    Post subject: Reply with quote

Apetrini wrote:
Non vorrei sembrare scortese, ma forse stiamo andanto un po` OT.


Si, appena possibile facciamo pulizia.

Quote:
E da un po` di tempo che mi sono chiesto come fare per usare emerge sotto proxy con la password....e non sono ancora riuscito a trovare la soluzione....!


per dare la password a wget dovresti riuscirci sistemando il .wgetrc di root... hai provato?
_________________
Ciao da me!
Back to top
View user's profile Send private message
usbanomanias
n00b
n00b


Joined: 19 May 2005
Posts: 13

PostPosted: Thu May 19, 2005 2:01 pm    Post subject: Reply with quote

Prova con ntlmaps e fammi sapere http://prdownloads.sourceforge.net/ntlmaps/ntlmaps-0.9.9.tar.gz?download

In pratica è un server proxy che si installa in locale sulla tua macchina e va ad interagire con un ISA Server fornendogli le credenziali (user e password che dovrai preventivamente scrivere sul file di configurazione).Non è difficile da installare,funziona col semplice python che è presente di default su quasi tutte le distro...
Per curiosità in che città studi? Per caso Padova?
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu May 19, 2005 2:14 pm    Post subject: Reply with quote

i troll non li prendo manco in considerazione.
tornando a noi, se il proxy e' un server proxy appunto,
Quote:
http_proxy ftp_proxy = [host:port]
These vars are used if the sources must be downloaded from the internet by wget(1). They are only required if you use a proxy server for internet access.

quindi metti nel make.conf:
Code:
username:password@hostname_proxy


se il server non e' un proxy, come penso, ma ti ci autentichi solo, basterebbe un
Code:
wget -O /dev/null http://username:password@host_proxy

_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu May 19, 2005 2:15 pm    Post subject: Reply with quote

usbanomanias wrote:
Prova con ntlmaps e fammi sapere http://prdownloads.sourceforge.net/ntlmaps/ntlmaps-0.9.9.tar.gz?download

e' in portage.
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Thu May 19, 2005 5:17 pm    Post subject: Reply with quote

Quote:
Error parsing proxy URL : Unsupported scheme.



questo è l errore che mi da inserendo passw:username@url.it

ma
Quote:
wget -O /dev/null http://username:password@host_proxy
dove devo inserirlo???
Back to top
View user's profile Send private message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Thu May 19, 2005 5:47 pm    Post subject: Reply with quote

ho risolto con questo ntlmaps!!!! mitici ragazzi !!! ho seguito le indicazioni della guida di questo programma e ok !!!! ho inserito nel make.conf come proxy 127.0.0.1:port
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum