LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2010, 01:20 PM   #1
jlahm
LQ Newbie
 
Registered: Jun 2010
Location: Ohio
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
wget can access, browser cannot


I have been having a problem on my Ubuntu desktop with the wireless connection. I am now running Ubuntu 10.04, but the problem showed up immediately after upgrading to Ubuntu 9.10. This machine is used as a CUPS server so my wife can print from her laptop and get to a printer downstairs. Intermittently, I will be unable to access the CUPS server web pages (or any other web pages on the local Apache server) from a remote machine on the internal network. I also cannot connect in via SSH. However, from the wireless desktop itself the web pages are still accessible and a local browser can also access remote web sites just fine. So, the network connection is still up.

To try to determine how often this was happening, I wrote a simple Bash script that checked if a page could be accessed on the web server on the wireless machine. I used wget to access a page and then log the results to a file while running the script from a crontab entry. It turns out that even though I cannot access a web page using a remote browser, I can access the same web pages using wget from a remote machine. This has me a little confused...

What could be causing this situation? I do not have a firewall running on the desktop with the wireless connection. After a while, the blockage of inbound web pages from a remote browser is "fixed" and I can again access the CUPS (and other) pages. Any help or ideas would be appreciated!

Many thanks. ---Jim
 
Old 06-27-2010, 02:21 PM   #2
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
Is the web browser configure to use a proxy?
Are you using names or IP address?
 
Old 06-27-2010, 09:36 PM   #3
jlahm
LQ Newbie
 
Registered: Jun 2010
Location: Ohio
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
The web browser does not use a proxy. The wireless machine is accessed only by its internal IP address (192.168.1.220).
 
Old 06-27-2010, 09:50 PM   #4
jlahm
LQ Newbie
 
Registered: Jun 2010
Location: Ohio
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
One other thing I just discovered: I also wrote a simple PHP routine that uses an fopen to open the web page. It too works to access the file remotely. But - with a catch. It turns out that I can access the web page from my Linux box (which is where I originally ran the wget and PHP scripts), but the PHP script does NOT work when used on my XP desktop to access the wireless machine's web pages. And, it is the XP machine that I use to run the browser that also cannot access the wireless machine's web pages. So, it may not be an issue of browser versus wget, but instead why can the Linux (Ubuntu) machine access the wireless Ubuntu machine at times when the XP machine cannot?

Hope this is a good further clue... ---Jim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access the server via browser elainelaw Linux - Newbie 5 05-10-2010 09:47 PM
LXer: ACCESS Announces NetFront Browser Widgets on ACCESS Linux Platform, Support for LXer Syndicated Linux News 0 08-04-2008 04:10 PM
Can't access FTP from browser Kalevra Linux - Server 4 04-02-2008 12:46 AM
wget and links2 can't access web page. fakie_flip Programming 6 01-11-2008 04:34 PM
wget command access forbidden problem pls help Fond_of_Opensource Linux - Newbie 3 01-27-2007 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration