LinuxQuestions.org
Register a domain and help support LQ
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 12-25-2002, 11:38 PM   #1
pow2k2
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 11

Rep: Reputation: 0
Can't access websites



As the topic states, I can't access any websites in mozilla. I've gotten my wireless card to connect/login to my AP, but I can't seem to get out beyond the Access Point. My DNS is all set up correctly in resolv.conf... anyone know how to fix this?

thanks.
 
Old 12-26-2002, 01:25 PM   #2
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 245

Rep: Reputation: 42
Networking is a layered architecture, debug in layers, starting at the bottom.

Can you see network card? Good!

Can you connect? Good!

Can you ping your peer? Good!

Can you ping elsewhen? (Using an ip number) Good!

Can you ping elsewhen using an ipname? Good DNS is working.

Can you use a simpler facility to access a web site. eg. Use the "net cat" facility.

nc http://www.ruby-lang.org 80
GET /

You should see a stream of html coming at you. If you do, great! If you don't. Aha! Maybe you have a firewall playing silly buggers. Switch the @%$#! thing off.

If you do, hmm. What version of Mozilla. One of the early versions had a silly bug / misfeature that it would start up, but if you weren't online it would go into a sort of half-hearted offline mode. Shutdown moz, go online, restart moz. Either or get moz 1.2.1 that seems pretty good.
 
Old 12-26-2002, 03:06 PM   #3
pow2k2
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 11

Original Poster
Rep: Reputation: 0
can I see my network card? yes
can I connect/login/ping my access point? yes.
can I ping my peer? yes.
can I ping elsewhere? no

basically, I can get as far as my wireless AP/router.
I've got v. 1.0.1 for Mozilla. I've disabled my firewall.

what is "net cat"? I tried to do nc [insert URL here] 80 /GET, but it says that nc is unknown....

thanks for the help.

Last edited by pow2k2; 12-26-2002 at 03:08 PM.
 
Old 12-26-2002, 03:17 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
It might not be detecting your default route or gateway, if your access point is also a router, what is its IP address and what do you get when you type route at a command ??

If you need to add your default gateway you can try something like this:

route add default gw [Your Gateway IP Address]

And if you can, post your /etc/resolv.conf file here as well ?
 
Old 12-26-2002, 03:47 PM   #5
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 245

Rep: Reputation: 42
Yip, definitely sounds like lacking a route to default gateway then.

/sbin/route

Should tell you what you have now.

nc is a utility on Redhat 8, some distros use netpipes (hose and faucet).

But (at least one of your problems) lies at the lower routing layer, fix that first.
 
Old 12-26-2002, 05:54 PM   #6
pow2k2
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 11

Original Poster
Rep: Reputation: 0
my wireless AP/router's IP is 192.168.1.1
this is what I get when I put route in the terminal:

Code:
Destination   Gateway   Genmask        Flags Metric Ref  Use  Iface
192.168.1.0   *         255.255.255.0  U      0     0      0  wlan0
127.0.0.1     *         255.0.0.0      U      0     0      0  lo
my /etc/resolv.conf:
Code:
; generated by /sbin/dhclient-script
search charter.net
nameserver 24.197.106.4
nameserver 24.197.96.15
I tried route add default gw 68.112.48.1, which is the default gateway for my WAN, and I got this:
SI0CADDRT: Network is unreachable

thanks again, for the help
 
Old 12-26-2002, 07:34 PM   #7
Miky
Member
 
Registered: Dec 2002
Location: London / Paris
Distribution: Debian (optionally Free/OpenBsd)
Posts: 72

Rep: Reputation: 15
Yes it's obvious, you don't have any default gw
Depending on your distro there's a file to precise your default gw

If you don't find it use route add but......are you sure you can ping 64.112.48.1 ?????

if yes it seems you have a pretty big network and they should use @ like 64.112xxxxxxx cause that's not the ip range to use for private ip.

look at man route maybe you have to precise the nc to use

Bye

nb: your pb is not in resolv.conf as long as you can't ping someone on the internet
 
Old 12-26-2002, 09:09 PM   #8
pow2k2
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 8.0
Posts: 11

Original Poster
Rep: Reputation: 0
ok, I got everything working... thank you, everyone for the help.

EDIT: RHN updated my kernel to 2.4.18-19.0, and I couldn't get it running on th-at... it said that prism2_pci module wasn't there.... oh well I'll run in 2.4.18-14 till I can figure it out, but I am finally wireless on my RH8 box.

Last edited by pow2k2; 12-26-2002 at 10:00 PM.
 
  


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
Blocking access to specific Websites and IP Ports fieldyweb Linux - Newbie 3 12-02-2005 05:32 AM
Allowing access only to specific websites? matux Linux - Security 2 11-28-2005 09:18 PM
Can't access FTP websites cpu886 Linux - Networking 2 09-23-2005 10:27 AM
Can only access Mandrake websites??? Adrian Baker Linux - Networking 1 07-05-2005 01:13 PM
I can't access any secure websites on SuSE9.0 asburyguy Linux - Newbie 0 04-03-2004 09:56 AM


All times are GMT -5. The time now is 06:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration