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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-05-2008 #1
- Join Date
- May 2008
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 :
caribou@serverkao:~$ wget www.google.com --02:14:28-- http://www.google.com/ => `index.html.1' Resolving www.google.com... 18.104.22.168, 22.214.171.124, 126.96.36.199, ... Connecting to www.google.com|188.8.131.52|:80... connected. HTTP request sent, awaiting response...
Here is my /etc/network/interfaces :
# 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 #3
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.
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