Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page Half internet
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 05-05-2008   #1 (permalink)
carignou
Just 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 :
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...
And let me wait like this !

Here is my /etc/network/interfaces :
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
If you have some ideas...
carignou is offline   Reply With Quote
Old 05-07-2008   #2 (permalink)
raghaven.kumar
Linux Newbie
 
raghaven.kumar's Avatar
 
Join Date: Mar 2008
Location: Bangalore, India
Posts: 126
maybe the server was busy then
did you try visiting it in browser?
raghaven.kumar is offline   Reply With Quote
Old 05-07-2008   #3 (permalink)
bigtomrodney
Bigtomrodinator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 4,774
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
bigtomrodney is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 07:10 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0