Reply
Thread Tools
Posts: 223 | Thanked: 79 times | Joined on Apr 2010 @ Lebanon- Beirut
#1
i was able to connect to the internet through a wifi connection that usesa certificate, and proxy with user name and password. but the problem is that i can only use the browser the app manager cant connect to the internet and i cant install/update anything. so how to do that?
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#2
At least, to use apt-get from the command line you have to set
some environment variables:

export http_proxy=http://username:password@proxyserver.net:port/
export ftp_proxy=http://username:password@proxyserver.net:port/

now you can call apt-get update, apt-get install <somepackage>, etc.

But I don't know how to configure the appmanager to use this
settings.

regards nicolai
 

The Following User Says Thank You to nicolai For This Useful Post:
manvik60's Avatar
Posts: 128 | Thanked: 46 times | Joined on Mar 2010 @ Switzerland
#3
What does your /etc/resolv.conf file says ?
 
Posts: 223 | Thanked: 79 times | Joined on Apr 2010 @ Lebanon- Beirut
#4
Originally Posted by manvik60 View Post
What does your /etc/resolv.conf file says ?
how to get there? x terminal? sorry but i only had the phone for 2 days.
 
manvik60's Avatar
Posts: 128 | Thanked: 46 times | Joined on Mar 2010 @ Switzerland
#5
I was having similar issue with home wifi, and did this sol, provided by someone somewhere in the forum

-- Do a nslookup, it should return an IP
nslookup google.com

-- Now put that ip in /etc/resolv.conf eg.
nameserver 4.2.2.1

-- Try nslookup again. reconnect your connection and check again.
 
manvik60's Avatar
Posts: 128 | Thanked: 46 times | Joined on Mar 2010 @ Switzerland
#6
Yes, x terminal to start, and you have to run as root to change this.

If you have install rootsh already, then from x terminal, type "sudo gainroot"
 
Posts: 70 | Thanked: 39 times | Joined on Mar 2010
#7
Originally Posted by ahmadamaj View Post
how to get there? x terminal? sorry but i only had the phone for 2 days.
You can get to the X Terminal by following instructions here:
http://wiki.maemo.org/Terminal

Once you are there, enter the following command:

more /etc/resolv.conf

You'll see something like
nameserver 127.0.0.1
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#8
Originally Posted by ahmadamaj View Post
how to get there? x terminal? sorry but i only had the phone for 2 days.
Yes, open xterminal and enter following command to see the
contents :
Code:
cat /etc/resolv.conf
But I doubt that this is the problem, as your internet connection
works with the browser.

I had the same problem, used wifi and a proxy, browsing the web works but apt-get update failes to get anything.
 
Posts: 223 | Thanked: 79 times | Joined on Apr 2010 @ Lebanon- Beirut
#9
permission denied
and cant install rootsh cz appmanager cant connect is there another way to install it.
 
Posts: 223 | Thanked: 79 times | Joined on Apr 2010 @ Lebanon- Beirut
#10
i think manvik's method will help most. but could you please provide a more detailed explanation plz.

Last edited by ahmadamaj; 2010-04-20 at 11:40.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:44.