On 28/01/14 19:41, Anubhav Yadav wrote:
>> It can't work as the snippet name is in the wrong format
>>
>> The correct snippet name is /etc/apt/apt.conf.d/NNproxy
>> where NN is a number e.g.:-
>> /etc/apt/apt.conf.d/90proxy
>>
>> Make sure you use the ip address not the server name
> 
> I did the above. When I come to the page where I am supposed to select
> a mirror I execute a shell, create the required directory and put the
> above line it it.

I'm not sure where you got the advice to manually add the proxy during
installation, though it 'should' work. I expect it would work better if
you did that step *after* the installer asks the proxy question.
I use:-

<snipped start of preseed.cfg>
# Network setup
d-i netcfg/disable_autoconfig boolean true
# see http://lists.debian.org/debian-boot/2012/10/msg00054.html
d-i netcfg/target_network_config select ifupdown
d-i netcfg/choose_interface select eth0
d-i netcfg/get_hostname string preseed
d-i netcfg/get_domain string dev
# Static network configuration.
d-i netcfg/get_nameservers string 8.8.8.8
d-i netcfg/get_ipaddress string 192.168.0.56
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.0.6

<snipped middle of preseed.cfg>
### Mirror settings
d-i mirror/country string enter information manually
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string http://192.168.0.2:3142

<snipped rest of preseed.cfg>

> 
> Next I go back to the miror page, select any mirror on the installer and
> then
> leave the proxy blank.

Perhaps that sets the proxy to blank (no proxy)??

> 
> Yet all the packages and release files seems to be downloading from the
> internet!

That will happen if the packages have not been previously installed
through apt-cacher-ng

Check your hit/miss ratio at:-
http://whateverYourAptCacherNgAdressIs:3142/acng-report.html

> 
> Thanks for your time and and effort. Appreciated.
> 
> -- 
> Regards,
> Anubhav Yadav
> Imperial College of Engineering and Research,
> Pune
> 

Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52e78359.6010...@gmail.com

Reply via email to