LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't get wget and lynx to work (https://www.linuxquestions.org/questions/linux-newbie-8/can%27t-get-wget-and-lynx-to-work-433102/)

Buxworth 04-08-2006 02:17 PM

Can't get wget and lynx to work
 
Hi

I'm really struggling to get wget and lynx to work and would appreciate the help. I'm using Mepis 3.4 (which has been great), Guarddog and a Netgear DG834G wireles router. Posting to forums, and surfing with Firefox, works great but I get the following error messages when I try do anything on the command line:

Lynx

$ lynx (website)

Can't Access `Website'
Alert!: Unable to access document.

lynx: Can't access startfile

and an earlier error

$ lynx website

Looking up localhost:4001
Making HTTP connection to localhost:4001
Sending HTTP request.
HTTP request sent; waiting for response.
Retrying as HTTP0 request.
Looking up localhost:4001
Making HTTP connection to localhost:4001
Alert!: Unable to connect to remote host.


Wget

$ wget website
-- website
=> `index.html'
Connecting to 192.168.0.2:8080... failed: Connection refused.

and this earlier error

Error parsing proxy URL (website) : Bad port number



I've tried turning Guarddog off! I've also tried, not knowing what I'm doing:

export http_proxy="192.168.0.1:8080"

and

wget proxy=off 192.168.0.2

Any ideas?

Thanks

Oh I can't include websites in my first post; hence (website)

XavierP 04-08-2006 02:37 PM

What settings do you have on your firewall?

Welcome to LQ :D

acid_kewpie 04-08-2006 02:42 PM

well what is "website" means to be... is that like "google.com" or what? looks like you're just trying to connect to servers that aren't running. the only thing that would be relevant to making lynx / wget "work" would be proxies. other than that they are configurationless tools.

Buxworth 04-08-2006 03:31 PM

Yep

"website" means the corect url/syntax for a web site

I've let Guarddog allow these protocols:

HTTPS
HTTP
DNS
Ping
Socks
Squid

Do you need a list from iptables or ifconfig to solve this? How can I sort proxies out!

Thanks! Nice to be here.


All times are GMT -5. The time now is 03:37 PM.