Preamble: Although I run Ubuntu Warty at home, at work I am forced to use Windows XP and access the internet the a MS IIS Proxy Server. But I really wanted to be able to use Ubuntu Hoary at work.
Q: How to install and test Ubuntu Hoary on Windows XP with internet access through a MS IIS Proxy Server.
A: Use MS Virtual PC 2004, Ubuntu Hoary CD Preview and Ntlmaps
(I didn't have the funds to buy to VMWare which I would have preferred to configure, but did have access to MS Virtual PC 2004).
Install MS Virtual PC 2004. Start-up MS Virtual PC 2004 (I used most default settings).
Pop-in the Ubuntu Hoary Preview CD and watch it install very slowly (I didn't have any dramas with the install - but your mileage may vary depending on your hardware, etc).
Starup Ubuntu Hoary.
Enable Ethernet Connection (eth0) under Desktop-Administration->Networking.
Start-up Firefox and select Edit->Preferences->General->Connection Settings.
- Use Manual Proxy Configuration, or Automatic Proxy Url (if unsure just copy the settings in MS IE under Tools->Internet Options->Connections->LAN Settings) as Firefox 'understands' the MS NTLM protocol.
Download Ntlmaps from http://ntlmaps.sourceforge.net (I used the ntlmaps-0.9.9.tar.gz).
Unpack the tar file and locate the server configuration file (server.cfg).
Modify the following server.cfg settings:
Save the server.cfg file, open a command prompt and start Ntlmaps[GENERAL]
LISTEN_PORT: 5865 // This is the default listen port
PARENT_PROXY: msiisproxy // if DNS correctly configure in eth0, otherwise proxy IP
PARENT_PROXY_PORT: 8080 // Default (for MS IIS)
[NTLM_AUTH]
NT_HOSTNAME: myworkstation // The name of your workstation ControlPanel-System->Computer Name in Windows XP
NT_DOMAIN: mywindowsDomain // Name of windows domain
USER: mywindowsusername // Windows logon user name
PASSWORD: mywindowspassword // Windows password
LM_PART: 1 // Windows 95/98 NTLM compatibility
NT_PART: 0 // Windows NT NTLM compatibility
NTLM_TO_BASIC: 0 // Convert NTLM to basic authentication
Firefox./main.py
=======
Startup up firefox and select Edit->Preferences->General->Connection Settings.
APT-Get- Manual proxy configuration
- Use the same proxy for all protocols // (Check this option)
HTTP Proxy: 127.0.0.1 Port 5865
SSL Proxy: 127.0.0.1 Port 5865
FTP Proxy: 127.0.0.1 Port 5865
Gopher Proxy: 127.0.0.1 Port 5865
=======
Edit Apt.conf and add the following lines:
Alternatively, you can use the export http_proxy command to set the Ntlmaps proxy.Acquire
{
// HTTP method configuration
http
{
Proxy "http://127.0.0.1:5865";
};
// FTP method configuration
ftp
{
Proxy "ftp://127.0.0.1:5865";
};
};
Synaptic
========
Edit Settings->Preferences->Network
And surf and update Unbuntu from deep in the heart of Borg mothership!Manual Proxy Configuration
HTTP Proxy 127.0.0.1 Port 5865
FTP Proxy 127.0.0.1 Port5865
Dr.ed locks
Bookmarks