Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Installing Arch behind a proxy
New Posts  All Forums:Forum Nav:

Installing Arch behind a proxy

post #1 of 8
Thread Starter 
I fancy moving away from Ubuntu in the near future - I'm not sure I like the direction the distro is moving in and I want to try something a little more lightweight.

I've tried installing Arch on a VM to get a feel for if I'd like to use it before I go ahead and install it on disk. However, I have a problem. I'm currently connected to a university network, which is behind a proxy. So I need to tell the command line to connect to through the proxy - which I can't figure out how to do.

A further complication is that our university has a policy of 'quarantining' all new machines that connect to the network. The user must then run an application which checks that the machine satisfies the university's strict ant-virus policy. On Windows, this consists of being forced to install AVG (and then promptly remove it...). Linux users must run a .sh executable, which sails through no problem. This MAC address is then added to a safe-list and allowed access to the network.

I think the VM has a new MAC address and the network is denying it access to the internet - so I can't download Xorg and start using the distro.

Can I clone my MAC address across to the VM? Or is there another way to get Arch online?
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
post #2 of 8
You can copy the MAC address of your host to your VM. You may want to change the MAC of your host to something else too so that they don't conflict. How to do this depends on your VM software and host OS.

You can also connect your VM to a virtual interface and NAT/route between your real NIC and your virtual NIC. Your host and VM will appear as one device.

What VM software and host OS are you running?
post #3 of 8
Thread Starter 
I'm using VirtualBox OSE in Ubuntu 10.10 at the moment. I'm a competent users, but this is all very unfamiliar ground at the moment which is why I'm probably struggling with it so much.

I've set wgetrc with the correct proxy details and not had any luck so far.
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
post #4 of 8
Are you sure it's a proxy and not a VPN?

As for the whole .sh that checks your system, why don't you just open it up and take out the part that sends the mac address to the accepted list? haha
post #5 of 8
Thread Starter 
In all the documentation that the university release it's referred to as a proxy - and that's how it's setup under Ubuntu, definitely not as a VPN.

Still can't ping, which I also can't do under Ubuntu...

So, ahead to try and get pacmac working and I get No address record errors. Slow progress!
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
post #6 of 8
So it sounds like you can only register one MAC address for the network? I think NAT routing to your VM would be the way to go so that you can use the network on both your host and VM at the same time. There should be an option in VB - pick from something like host only, bridged and routed. Pick routed and it should be setup to work.
post #7 of 8
Thread Starter 
Fantastic! It's worked immediately after that change - thanks very much! smile.gif
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
post #8 of 8
Thread Starter 
Next snag is that something is crashing when I try to load up the system now. Xorg, KDE and KDM installed and all set up as per the ArchWiki instructions. After the KDE login screen I get the HDD icon to fade in, and then the system crashes back to the login screen.

dbus and hal are installed and setup to run on boot and there doesn't seem to be any error messages on boot. Any suggestions?

EDIT: Apparently a problem with mesa? Think I've got it solved now!
Edited by jazznaz - 1/23/11 at 12:46pm
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Installing Arch behind a proxy