LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Incognito (https://www.linuxquestions.org/questions/incognito-85/)
-   -   can't connect to the internet (https://www.linuxquestions.org/questions/incognito-85/cant-connect-to-the-internet-717448/)

ceantuco 04-07-2009 10:07 AM

can't connect to the internet
 
Hi,

I just downloaded Incognito... I'm running the live CD however I can't access the internet. The connection to the router is fine since I could ping other devices that I have plugged in to my router. I tried opening the ports that are listed for the PROXY servers under FIREFOX & KONQUEROR but nothing.
can anyone help? The TOR Icon (the garlic looking icon lol) has a small orange dot.
Under client it says : NOT ENOUGH INFO TO TRY NETWORK YET.

thanks

repo 04-07-2009 10:46 AM

Try to disable tor to see if you can surf.
It can take some time before tor gets enough info.

ceantuco 04-07-2009 11:47 AM

I disabled TOR but still I can't surf. it might be due to the PROXY configuration in Firefox. however I left the laptop running for a while and still I can't connect to the internet. I see data flowing on TOR but I can't surf the net.
thanks!

repo 04-07-2009 11:53 AM

Do you use wireless, wired ?
open a terminal and give the output from
Code:

ifconfig
iwconfig
route -n
cat /etc/resolv.conf

can you ping the router?

anonym 04-07-2009 11:55 AM

Incognito will automatically proxy all traffic through Tor even if the application is setup to use the network directly. In order to disable this, type the following in a terminal:
Code:

sudo /etc/init.d/iptables stop
Please post your Tor log here (you find that easily in TorK).

ceantuco 04-07-2009 12:26 PM

Repo, here it is the info you requested:

livecd incognito # ifconfig
eth0 Link encap:Ethernet HWaddr 00:1D:09:A2:BE:8F
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:9ff:fea2:be8f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:233 errors:0 dropped:0 overruns:0 frame:0
TX packets:157 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:225173 (219.8 Kb) TX bytes:25816 (25.2 Kb)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:900 errors:0 dropped:0 overruns:0 frame:0
TX packets:900 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:275436 (268.9 Kb) TX bytes:275436 (268.9 Kb)

livecd incognito # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
livecd incognito # cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 22221
#
### END INFO



nameserver 127.0.0.1



**TOR disabled/direct connection to internet**

an error ocurred while loading http://www.google.com
Unknown host www.google.com

**TOR enabled with Proxy Settings**
Waiting for reply...

TOR LOG
2009-04-07 13:15:13 NOTICE (1 of 1) Application request when we're believed to be offline. Optimistically trying directory fetches again.
2009-04-07 13:15:13 NOTICE (1 of 1) Tried for 120 seconds to get a connection to [scrubbed]:0. Giving up. (waiting for circuit)
2009-04-07 13:15:13 NOTICE (1 of 1) Tried for 120 seconds to get a connection to [scrubbed]:0. Giving up. (waiting for circuit)
2009-04-07 13:15:18 NOTICE (1 of 1) Tried for 120 seconds to get a connection to [scrubbed]:0. Giving up. (waiting for circuit)
2009-04-07 13:15:18 NOTICE (1 of 1) Tried for 120 seconds to get a connection to [scrubbed]:0. Giving up. (waiting for circuit)
2009-04-07 13:15:18 NOTICE (1 of 1) Tried for 120 seconds to get a connection to [scrubbed]:0. Giving up. (waiting for circuit)
2009-04-07 13:15:23 NOTICE (1 of 1) Tried for 120 seconds to get a connection to [scrubbed]:0. Giving up. (waiting for circuit)
2009-04-07 13:15:23 NOTICE (1 of 1) Tried for 120 seconds to get a connection to [scrubbed]:0. Giving up. (waiting for circuit)

1418 Servers on network

Client: Not enough info to try client yet

Konqueror message:
504 Connect to www.google.com:80 failed: SOCKS error: TTL expired
The following error occurred while trying to access http://www.google.com/:

504 Connect to www.google.com:80 failed: SOCKS error: TTL expired
Generated Tue, 07 Apr 2009 13:17:13 UTC by Polipo on localhost:3128.


thanks for all your help!
I will try to disable it as explained above.

ceantuco 04-07-2009 12:33 PM

Quote:

Originally Posted by anonym (Post 3501401)
Incognito will automatically proxy all traffic through Tor even if the application is setup to use the network directly. In order to disable this, type the following in a terminal:
Code:

sudo /etc/init.d/iptables stop
Please post your Tor log here (you find that easily in TorK).

Hi tried disabling TOR but I can't access the internet. :(

ceantuco 04-09-2009 09:50 AM

any more ideas guys?

repo 04-09-2009 10:03 AM

With tor and firewall disabled,
can you
ping the router?
can you
ping 209.85.227.99

ceantuco 04-09-2009 10:30 AM

Hi Repo!!!! :=)

ok, with Tor & Firewall enabled I can ping the router however I can't ping 209.85.227.99

with Tor & Firewall DISABLEDI was able to ping both address (router & 209.85.227.99)

I think we are getting closer.. what would be the next step?
thanks for your help!

repo 04-09-2009 10:34 AM

disable Tor & Firewall
try to ping www.google.com
if that works, you should be able to surf.


Does your router has a firewall?
perhaps the router is blocking torports

ceantuco 04-09-2009 10:37 AM

repo, tor & firewall are disabled but I can't ping google.com I get ping: Unknown host. I have a linksys router and yes it has a firewall but I have ports 3128 & 9050 opened. (proxy settings on firefox and konqueror) please let me know If I have to open any other ports.
thanks!

repo 04-09-2009 10:47 AM

Quote:

but I can't ping google.com
Then there is a problem with DNS
try to put the DNS from your provider in
/etc/resolv.conf

Once this works, you can start with enabling tor and the firewall.
Ans as ceantuco asked:
Quote:

Please post your Tor log here (you find that easily in TorK).
I would suggest to forward everything on the router to the server.

ceantuco 04-09-2009 10:58 AM

repo, I added the DNS servers to the file and I was able to access the internet :), then I enabled tor & the firewall but I wasn't able to surf... I'm Ceantuco and I posted the TOR logs here.

repo 04-09-2009 11:24 AM

oeps, my mistake, should be anonym :-)

I booted incognito on my laptop, and it takes some time before the circuits are made.
At the beginning I had the same errors as you.
But now it connects. (it took about 5 or 6 minutes)
It uses the default setup, I did not configured anything.
Even the firewall in the router wasn't changed.
Does the router uses DHCP => do yo get a IP from the router?


All times are GMT -5. The time now is 06:11 PM.