Reply
Thread Tools
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#31
Originally Posted by 9000 View Post
Run the following in xterminal and send me the result to my PM here:

Code:
export | grep -i http_proxy
Still nothing happen.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#32
then you have not setup the http_proxy properly.

I said last time if it doesn't work you may want to try reboot. Have you rebooted yet?

cat /etc/profile and take a look yourself to see if http_proxy has been appended to the last.
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#33
Originally Posted by 9000 View Post
then you have not setup the http_proxy properly.

I said last time if it doesn't work you may want to try reboot. Have you rebooted yet?

cat /etc/profile and take a look yourself to see if http_proxy has been appended to the last.
Yah i did, and still nothing happen
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#34
Originally Posted by edcarsky View Post
Yah i did, and still nothing happen
Ok, show me the cat result and PM to me.
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#35
Originally Posted by 9000 View Post
Ok, show me the cat result and PM to me.
Can't send you PM, maybe you settings required. pls see below infos you need.

home/user # cat /etc/profile
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

export PATH="/usr/bin:/bin"

umask 022
source /etc/osso-af-init/af-defines.sh
export http_proxy=http://xxx.xx.x.xx:8080/
export http_proxy=http://xxx.xx.x.xx:8080/
/home/user #

Last edited by edcarsky; 2010-07-18 at 14:01.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#36
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
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#37
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
in this part, it required password and it's not accepting my entry pass, i don't remember any pass here, sorry (any option how to retrieve my pass here?)

How can i remove this part by right syntax?
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#38
Originally Posted by edcarsky View Post
in this part, it required password and it's not accepting my entry pass, i don't remember any pass here, sorry (any option how to retrieve my pass here?)

How can i remove this part by right syntax?
Don't worry, you can just enter root and run leafpad instead:

Code:
root
leafpad /etc/profile
 
Posts: 85 | Thanked: 7 times | Joined on Feb 2010 @ Saudi Arabia
#39
Originally Posted by 9000 View Post
Don't worry, you can just enter root and run leafpad instead:

Code:
root
leafpad /etc/profile
THERE'S 2 THINGS I NEED TO KNOW:

1. Nokia-N900:~# leafpad /etc/profile
-sh: leafpad: not found

2. please give me the right command how to delete/remove exported (http_proxy), i think i have few installed proxies already

NOTE: we are dealing here is how to reconfig our proxy IP connection so the 3rd party applications will be able to work into it via proxy setup.

Last edited by edcarsky; 2010-07-19 at 07:03.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#40
Originally Posted by edcarsky View Post
THERE'S 2 THINGS I NEED TO KNOW:

1. Nokia-N900:~# leafpad /etc/profile
-sh: leafpad: not found

2. please give me the right command how to delete/remove exported (http_proxy), i think i have few installed proxies already

NOTE: we are dealing here is how to reconfig our proxy IP connection so the 3rd party applications will be able to work into it via proxy setup.
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:30.