Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-09-2005, 08:27 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Linux Bricktop-->XP box-->LAN-->Proxy-->The World - but how?

I've spent quite a while trying to find how to get this situation working (and a similar one when booting into windows on the laptop) with no luck for the past few weeks, so I'm admitting defeat and asking...

Here's the situation.

My laptop (an ancient IBM; hence "Bricktop") is connected via ethernet (a PCMCIA card, if it makes any difference) to one NIC in my main box (a desktop running XP Pro). The other NIC in the desktop connects to my uni's network, and reaches the outside world through a web proxy.

It's only possible to have one machine connected to the uni's network, so bridging the two connections on the desktop is not possible. I'm currently trying to get window's built-in connection sharing to work, with no luck in getting the other machine to have access to the outside world. I had as much luck with win2k running on the laptop whilst at home, without the proxy in the way, so I doubt it can be purely a proxy issue anyway.

From the error messages the laptop (running Debian currently) is throwing at me (whilst trying to set up apt), it seems to not be resolving the proxy address. So presumably DNS gets lost somewhere between the laptop and the network DNS.

There's definitely a connection between the laptop and desktop, since the laptop was getting DHCP info from the desktop - or so it claimed, anyway. The fact that I've made this post would prove that I've got an external connection from the desktop.

As far as the desktop's concerned, ICS configured the desktop-laptop connection in it's default way. The desktop-LAN connection is DHCP.

I'm certain it should work in theory, since I was messing around with a coLinux install on this desktop before the summer and had that working fine through ICS on the desktop. (For those who don't know, coLinux acts as a virtual machine on another computer, using a tap connection.) However, the coLinux instructions I used then don't seem to be any use in this situation.

Can anyone point me in the right direction to find help with this? I've found plenty of "XP-->Linux-->WWW" hints and guides and so forth, but none the other way round.
Old 10-09-2005, 12:36 PM   #2
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You need to get the XP box to forward requests (i.e. internet share) and then configure the /etc/network/interfaces on the Debian box to use the IP address of the card in the XP box, to which it is attached as the gateway. The easiest way is to use static addressing . e.g. assign an address of to XP and then setup the interfaces file (above) like;

auto eth0
iface eth0 inet static
Old 10-09-2005, 03:51 PM   #3
LQ Newbie
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Aha! Thanks, that seems to have worked.

I think I was partly thinking about things backwards. And partly just not knowing where to config things. Ah well, the latter was the entire point of this in the first place - what better way to learn?

Anyway. Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can my Linux box be used as a transparent proxy on the LAN side of my router? Steve2001 Linux - Networking 5 02-01-2005 11:12 AM
Can I acces my Linux box from anywhere in tyhe world??? MR_UNO Linux - Networking 3 12-01-2004 11:28 AM
Linux Box as a Proxy Client, Please help =( oli408 Linux - Networking 7 09-29-2004 10:16 AM
Can you use a linux box as a proxy from one to all ports? grim1234 Linux - Networking 5 09-06-2004 05:49 PM
Connecting Linux box to Internet through Windowx XP box over LAN pcd007 Linux - Networking 1 03-14-2004 09:02 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration