|
2010-07-19
, 07:43
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#42
|
|
2010-07-19
, 09:06
|
Posts: 85 |
Thanked: 7 times |
Joined on Feb 2010
@ Saudi Arabia
|
#43
|
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. ^^
|
2010-07-19
, 09:35
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#44
|
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
root cat /etc/profile | grep -i -v http_proxy > profile.tmp cat profile.tmp
cp profile.tmp /etc/profile
|
2010-07-19
, 09:44
|
Posts: 85 |
Thanked: 7 times |
Joined on Feb 2010
@ Saudi Arabia
|
#45
|
Try this:
The last line display the content of the profile.tmp you've just created in the second line.Code:root cat /etc/profile | grep -i -v http_proxy > profile.tmp cat profile.tmp
If you think it sounds alright (no more http_proxy, and the rest looks good), then you can copy it back to /etc/profile:
Actually you don't need to reboot. I've tested any change to /etc/profile takes effect immediately.Code:cp profile.tmp /etc/profile
Hope this help.
|
2010-07-19
, 09:50
|
Posts: 6 |
Thanked: 0 times |
Joined on Jul 2010
@ Dubai UAE
|
#46
|
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:
I dont know if you need to restart.Code:http_proxy="http://username:password@addressofproxy"
|
2010-07-19
, 10:00
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#47
|
|
2010-07-19
, 15:31
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#48
|
|
2010-07-20
, 09:59
|
Posts: 85 |
Thanked: 7 times |
Joined on Feb 2010
@ Saudi Arabia
|
#49
|
Look like your result is quite different from ours. I've entered the line into my own /etc/profile and I got the following:
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.Code:export | grep -i http_proxy export http_proxy="http://127.0.0.1/"
1) Install leafpad
2) run the following in xterminal
3) remove the last two lines containing http_proxyCode:sudo leafpad /etc/profile
4) click on the top bar to drop down a menu where you could find 'Save'. Save the file
5) Exit the program
|
2010-07-20
, 10:35
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#50
|
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.