• Welcome to Valhalla Legends Archive.
 

ProxyCap for Ubuntu Linux?

Started by Joe[x86], April 19, 2005, 04:09 PM

Previous topic - Next topic

Joe[x86]

I want to use my linux box full time, but I'm having a bit of a problem. All the core utilities require a direct connection to the internet (IE: No proxying), and I can't get PPP to work without downloading more packages. Solution is easy, run a proxy on JoeMomma. I've tried that, but still apt-get can't use one. Anybody know where I can get source code (for compiling) for a proxycap port/alternative for PPC Linux or a compiled version for Ubuntu Warty Warthog PPC Edition?

EDIT: Problem resolved with ICS.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Adron

Why do you need to run through a proxy? Is there no way to reconfigure your network to be transparent, perhaps set up a transparent proxy?

And also, I find it very unlikely that it would be impossible to run those utilities through a proxy; someone else must've had your problem before and fixed it in the open source world. Did you check for all configuration options, environment settings, etc?

Joe[x86]

I want to use scp, ssh, apt-update, and various other small utilities. I need to run it through a proxy, because of my effed over setup, iMac cannot see the internet at all; only JoeMomma can.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

iago

I'd recommend getting a router, but I don't know of any routers that allow dialup.

You can probably set your Linux box in front, then use iptables to route the rest of the network to the Internet (NATing and all that), effectively making Linux into a router.  I have an eBook called "using Linux as a router" if you're interesting in trying it :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Adron

Many slightly less cheap routers actually have a backup dialup interface that is used if the regular WAN link is lost.

What's JoeMomma running? There's really no NAT software available for it?

iago

JoeMomma is Windows XP.

I suppose he could enable "Internet Connection Sharing" -- is that compatible with Linux?  I'm not sure if Microsoft implemented their own connection-sharing or if it really does act as a router.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


MyndFyre

Quote from: iago on April 20, 2005, 08:59 PM
JoeMomma is Windows XP.

I suppose he could enable "Internet Connection Sharing" -- is that compatible with Linux?  I'm not sure if Microsoft implemented their own connection-sharing or if it really does act as a router.

ICS acts as a limited-ability router -- by which I mean that it's a bitch to configure port forwarding and whatnot.  I successfully used ICS over the modem to play Xbox live with a crossover ethernet cable, so I don't see why ICS wouldn't work for anything else.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Adron

Internet Connection Sharing should fix his problems. FTP through ICS I'm not sure sure about, but anything that only uses outbound connections should work just fine.

MyndFyre

Quote from: Adron on April 20, 2005, 09:25 PM
Internet Connection Sharing should fix his problems. FTP through ICS I'm not sure sure about, but anything that only uses outbound connections should work just fine.
You should be able to set up inbound connections:



When you enable ICS in your network connection properties pane, click the "Settings..." button to select which services to port-forward.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Adron

Quote from: MyndFyre on April 20, 2005, 11:34 PM
Quote from: Adron on April 20, 2005, 09:25 PM
Internet Connection Sharing should fix his problems. FTP through ICS I'm not sure sure about, but anything that only uses outbound connections should work just fine.
You should be able to set up inbound connections:

When you enable ICS in your network connection properties pane, click the "Settings..." button to select which services to port-forward.

Setting up fixed inbound ports shouldn't be a problem, but what I'm talking about is the FTP data port, which requires being dynamically rewritten in the control stream. I'm not sure if ICS does that. If it doesn't, he'll have to configure his ftp client for passive mode, and it can all become rather complicated.

Joe[x86]

#10
You guys rock. I'm trying that right now.

EDIT: Saddens me to say this doesn't work. :(
joe@imac:~/temp $ wget www.valhallalegends.com
--18:33:43--  http://www.valhallalegends.com/
           => `index.html'
Resolving www.valhallalegends.com... 63.161.183.205
Connecting to www.valhallalegends.com[63.161.183.205]:80...
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Adron

You have set up JoeMomma as default gateway on your linux machine? Have you tried running Ethereal or a similar tool on JoeMomma and looking at what packets are getting there?

Joe[x86]

Haven't run Etheral. JoeMomma, 10.0.0.2, is the gateway on iMac's Ethernet card, 10.0.0.5.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

MyndFyre

Quote from: Joex86] link=topic=11324.msg109383#msg109383 date=1114171871]
Haven't run Etheral. JoeMomma, 10.0.0.2, is the gateway on iMac's Ethernet card, 10.0.0.5.

ICS provides its own private DHCP service.  I think you need to configure imac to use the DHCP provided on the network if you want to use the ICS machine as an internet gateway.  JoeMomma -- being Windows -- will probably demand that it's 192.168.0.xxx on your local network too -- but I'm not 100% on that.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Joe[x86]

#14
This is getting un-fun. Okay, I'll do that.

EDIT: MyndFyre, you totally rock. Thanks.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.