Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]sort of stuck behind a proxy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Wed Jan 21, 2015 5:11 pm    Post subject: [solved]sort of stuck behind a proxy Reply with quote

I work in a school and I got a bit bored so I decided to install Gentoo on a laptop I have lying around, I'm going to build a workstation soon so it's a test case too.
we're on a city-wide intranet.
We're behind a proxy which I don't have any access to at all.

I can't sync the portage tree it just bounces, I've got http_proxy and ftp_proxy and RSYNC_PROXY set in make.conf. If I set the appropriate whatnots in /etc/wgetrc ( a googled solution which didn't work) then it tells me I need to provide credentials, so I unset that. I'm in a chroot using sysreccd, if I put the proxy address into midori it also asks me for credentials.

The thing is I can emerge just fine, I just can't sync or use wget at all. I've been googling all day and can't find anything that has worked for me.

Any ideas?


Last edited by mrbassie on Thu Jan 22, 2015 10:20 am; edited 1 time in total
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Wed Jan 21, 2015 5:20 pm    Post subject: Reply with quote

It's quite probable that rsync is blocked on the proxy. Try using emerge-webrsync.
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Wed Jan 21, 2015 5:39 pm    Post subject: Reply with quote

I'll give it a go, any thoughts why I can't get to the net with midori? I know for a fact ipads/iphones get through just fine. So it's not all that windows-centric.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3131

PostPosted: Wed Jan 21, 2015 7:40 pm    Post subject: Reply with quote

I tend to set transparent proxy when i really need one, using redirection on firewall to point http traffix at it, so clients are not even aware of it.

Unfortunately my cristal ball got some nasty cracks, so I can't guess on "whys" before you tell us what kind of proxy you have and how you configured midori.
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Wed Jan 21, 2015 9:08 pm    Post subject: Reply with quote

szatox wrote:
I tend to set transparent proxy when i really need one, using redirection on firewall to point http traffix at it, so clients are not even aware of it.

Unfortunately my cristal ball got some nasty cracks, so I can't guess on "whys" before you tell us what kind of proxy you have and how you configured midori.



I am not in a position to do either; as I said I'm behind somebody else's (corporate) proxy which I have no control over whatsoever and I'm not the author of systemresuecd nor Midori. I have rtfm.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Thu Jan 22, 2015 2:34 am    Post subject: Reply with quote

What steps do the Apple users take to make their device work? If we know what settings they are required to change, we may be able to work out how to configure your system.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Thu Jan 22, 2015 3:39 am    Post subject: Reply with quote

mrbassie, When I am behind a corporate proxy I sometimes use Tor to enable me to browse the Internet and issue commands from the command line. Have you tried that approach? Here is how I set up Tor and how I use it with command line:

How to install and use Tor for anonymous browsing or to access country-restricted content from another country

Bypassing a corporate Web filter when using the command line

Hope that helps.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Thu Jan 22, 2015 3:56 am    Post subject: Reply with quote

This won't solve your problem directly, but using emerge --fetchonly xorg-server <DE you want to use> in the live CD chroot and then installing the software might allow you to bypass this problem by allowing you to deal with the proxy form an X environment. Networking problems tend to be more user friendly when viewed in such a way.

Just don't forget any networking stuff you like/need.

EDIT: try wget without ipv6 enabled. Sometimes this helps.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Thu Jan 22, 2015 10:20 am    Post subject: Reply with quote

emerge-webrsync works.

Thanks all.

@Hu

the apple devices just work with the proxy address+port entered in safari.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum