Reply
Thread Tools
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#41
Originally Posted by 9000 View Post
You need to install leafpad in app manager first. Look at #36, I explicitly told you to install leafpad first.

leafpad is the right command for you to remove that http_proxy lines in your /etc/profile

Other text editor might be not be too suitable for you.

It's not that http_proxy does not work for you. The problem is your http_proxy does not appear even though you've enter it in your /etc/profile. Therefore, in view of your situation I'd recommend you to revert what you've done rather than pursue any further.

I hope you'd understand.

Okay,,, sorry for the confusion. I think i understand now,,, i'll let you know when i succeeded already, thanks

I've already reverted the /etc/profile, sorry my apology.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#42
My apology indeed, it's so much we can do over the air.

Actually I just found out in other thread here that people has discussed this before and come up with the same solution. I'm not sure if you should pursue in this direction. Your choice. ^^
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#43
Originally Posted by 9000 View Post
My apology indeed, it's so much we can do over the air.

Actually I just found out in other thread here that people has discussed this before and come up with the same solution. I'm not sure if you should pursue in this direction. Your choice. ^^
Ok, i have now little problem.

I dont have leafpad and cannot now install apps through Apps Manager, message error:

http://repository.maemo.org........... (as in all repo catalogs)
could not resolve 'xxx.xx.x.xx'

please advise another option how to remove or re solve my exported proxy. so in that way i can use apps manager.

i read some thread, i think unset http_proxy or something,,, please give me right command syntax, maybe this would be help.

NOTE: Browser still working
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#44
Originally Posted by edcarsky View Post
Ok, i have now little problem.

I dont have leafpad and cannot now install apps through Apps Manager, message error:

http://repository.maemo.org........... (as in all repo catalogs)
could not resolve 'xxx.xx.x.xx'

please advise another option how to remove or re solve my exported proxy. so in that way i can use apps manager.

i read some thread, i think unset http_proxy or something,,, please give me right command syntax, maybe this would be help.

NOTE: Browser still working
Try this:

Code:
root
cat /etc/profile | grep -i -v http_proxy > profile.tmp
cat profile.tmp
The last line display the content of the profile.tmp you've just created in the second line.

If you think it sounds alright (no more http_proxy, and the rest looks good), then you can copy it back to /etc/profile:

Code:
cp profile.tmp /etc/profile
Actually you don't need to reboot. I've tested any change to /etc/profile takes effect immediately.

Hope this help.
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#45
Originally Posted by 9000 View Post
Try this:

Code:
root
cat /etc/profile | grep -i -v http_proxy > profile.tmp
cat profile.tmp
The last line display the content of the profile.tmp you've just created in the second line.

If you think it sounds alright (no more http_proxy, and the rest looks good), then you can copy it back to /etc/profile:

Code:
cp profile.tmp /etc/profile
Actually you don't need to reboot. I've tested any change to /etc/profile takes effect immediately.

Hope this help.
Thank you, i'ts now back to normal, i can now use Apps Manager.

Last edited by edcarsky; 2010-07-19 at 10:08.
 
Posts: 6 | Thanked: 0 times | Joined on Jul 2010 @ Dubai UAE
#46
Originally Posted by 9000 View Post
I must say beforehand that I have no working proxy to test the following myself, but normally the systemwise http proxy work this way. So please tell me the result.

In /etc/profile add the following:

Code:
http_proxy="http://username:password@addressofproxy"
I dont know if you need to restart.
i would suggest you to use The onion router (TOR)
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#47
Originally Posted by mathina View Post
i would suggest you to use The onion router (TOR)
Good idea...with some setup it might be able work to fit his purpose. Please give him some pointers.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#48
Originally Posted by edcarsky View Post
Thank you, i'ts now back to normal, i can now use Apps Manager.
This shows that the http_proxy took effect but the format is incorrect. However, before you pursue in this direction any further you really need to get familiar with at least one text editor.
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#49
Originally Posted by 9000 View Post
Look like your result is quite different from ours. I've entered the line into my own /etc/profile and I got the following:
Code:
export | grep -i http_proxy
export http_proxy="http://127.0.0.1/"
The only different are the quotes. You could try adding back the quotes, however at this point I recommend you not messing with it any further. You need to revert the change now.

1) Install leafpad
2) run the following in xterminal
Code:
sudo leafpad /etc/profile
3) remove the last two lines containing http_proxy
4) click on the top bar to drop down a menu where you could find 'Save'. Save the file
5) Exit the program
i think its working already,,, Mauku and some apps are still not working especially VoIP (i really need to use IM's through my device),,, any option in mind???
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#50
From what you described I dont see it ever working at all. I must have missed something.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:50.