PDA

View Full Version : Dynamic IP or proxy setting ?


samud__
2007-11-20, 07:54 PM CST
HI All,

I'm new in this forum. Hope i can solve my problem and got knowledge here.

My problem is i cant ping and do any command to internet but i do can browse successfully with firefox. I cant ping to web site that i can browse. I also cant use yum to update my fedora 7 packege.

The situation of my network at my place is like this. I was surround by firewall at my site office that i worked. So at here i can download certain things only(i've tried when i'm using windows) atleast i do tunneling to my private server outside here from one of the server here that i have authority and use the proxy at my private server and its work(means i can download anything.)

Then now i use fedora7 as my OS. I just use proxy at my work place here and not proxy from my private server cause i dont use tunneling. Then i set the proxy at firefox and its work(means i can browse). But the problem here even i can browse but i cannot ping to the web site that i can browse. And also i cannot do any command to internet like yum . I use dynamic IP.

Please help.... TQ :(

VictorienSardou
2007-11-27, 08:01 AM CST
probably, your work place has blocked pinging sites on the internet.

Zero-Override
2007-11-27, 08:07 AM CST
well here at school we use a flippin http-proxy, almost everything from console doesn't work properly

you can test something by using yum to install something, if it says network unreachable or somthing like that you will have to specify a proxy

in my case it's this:
http_proxy=http://proxy:3128 (proxy is the name of our proxy, 3128 the port to access it)
export http_proxy

good luck

samud__
2007-11-28, 07:56 PM CST
HI ZERO-OVERRIDE...

Thanks for your advice.... can you tell me where i need to specify the proxy.... ? I for this
command :

http_proxy=http://proxy:3128 (proxy is the name of our proxy, 3128 the port to access it)
export http_proxy


TQ bro

Zero-Override
2007-11-29, 03:23 AM CST
well that would be in the terminal you want to do stuff from, but you will have to specify it every time you need to access then net from the console :(

if you are running KDE then you could also use the control center to specify something a bit more system-wide, though it never worked for much for me, i don't know the command for accessing it directly though

samud__
2007-11-30, 04:23 AM CST
HI ZERO...

Thanks for giving me solution... i think it should be ok rather than nothing...... atleast i cant try this fedora.... maybe i just go for tunnelling.... but i still want to try with this method.... TQ for sharing info with me bro.... may god bless you..... :P

Zero-Override
2007-11-30, 09:03 AM CST
no problem at all, also, what might help is to insert it in your /etc/rc.local file, not sure though

oh and instead of god blessing me (which hasn't really changed the world imho :p) help someone else out if you know the solution to his problem or can at least help them ;);)

argus2
2007-12-01, 09:20 AM CST
samud:

go to /etc/yum.conf

put in this line:

proxy=http://proxy:3128, where proxy=the name of your proxy

Hope this will help you....

samud__
2007-12-02, 06:33 PM CST
ok Zero .... will remember your word.... very touching....huhuuhu i will try help someone with my knowledge that i have.... :P atleast ppl can learn something new.... still thanks to u bro...

samud__
2007-12-02, 06:42 PM CST
hye argus2....

thanks with your suggestion + info..... i already tried and not success but i do try this one etc/profile
HTTP_PROXY=http://proxy:8080
http_proxy=http://proxy:8080
export HTTP_PROXY http_proxy


But atleast we can shared like zero-override mention .... really thanks to you argus2 :P

Zero-Override
2007-12-03, 04:11 AM CST
ok Zero .... will remember your word.... very touching....huhuuhu i will try help someone with my knowledge that i have.... :P atleast ppl can learn something new.... still thanks to u bro...

sure thing ;)

enjoy Fedora!!