Results 1 to 3 of 3
Hello,
I'm trying to set a server for a friend of mine :
Router : 192.168.1.1
Server : 192.168.1.56
The problem is "simple" : I can "wget www.youtube.com" but I ...
- 05-05-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 1
Half internet
Hello,
I'm trying to set a server for a friend of mine :
Router : 192.168.1.1
Server : 192.168.1.56
The problem is "simple" : I can "wget www.youtube.com" but I can't "wget www.google.com" (although I can ping it), I really don't understand where is the logic !?
The "wget www.google.com" give me this :
And let me wait like this !Code:caribou@serverkao:~$ wget www.google.com --02:14:28-- http://www.google.com/ => `index.html.1' Resolving www.google.com... 209.85.135.147, 209.85.135.99, 209.85.135.103, ... Connecting to www.google.com|209.85.135.147|:80... connected. HTTP request sent, awaiting response...
Here is my /etc/network/interfaces :
If you have some ideas...Code:# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.56 netmask 255.255.255.0 gateway 192.168.1.1
- 05-07-2008 #2
maybe the server was busy then
did you try visiting it in browser?
- 05-07-2008 #3Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
wget has its own user agent string. It is possible that it is blocked, though I can't imagine why, particularly from Google.
It is possible to spoof a string from Firefox or Internet Explorer. Use the U or user-agent switch along with one from the browser you'd like to spoof.
Code:wget -U "Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:1.9b5) Gecko/2008041515 Firefox/3.0b5" www.google.com wget --user-agent="Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:1.9b5) Gecko/2008041515 Firefox/3.0b5" Google


Reply With Quote
