LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-13-2007, 08:16 PM   #1
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Rep: Reputation: 15
Unhappy Problem with web browser can't connect to inet


Hi guys,

I'm having problem with Firefox and seamonkey or any web browser I have on my Slackware 12. I do have a WRT54GP2 Linksys wireless router.

I'm using dhclient wlan0 to connect to my router and I think I have all the configuration I need to connect to it coz I can even log in remotely to it. But when I try to browse the net it says that cannot connect to the server. I think there's only a few thing I missed to touch.
IP, subnet, gateway are diplaying all okay.

I succesfully connected before using the same config I guess but I just happened to re-install my slackware for some reason.

Please help

thanks
 
Old 10-13-2007, 08:47 PM   #2
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,243

Rep: Reputation: 48
Did you add nameservers to /etc/resolv.conf?

For example:

Code:
search local
nameserver 4.2.2.1
nameserver 4.2.2.2
 
Old 10-13-2007, 09:13 PM   #3
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
no, not yet.

I will now that you have given me idea.

one thing I want to ask you though.

4.2.2.1 and 4.2.2.2 are figures supposed to be exactly what I need to encode? Sorry about the stupid question but it's gonna be my first time messing up with resolv.conf


Thanks

I let you guys know what's gonna happen.
 
Old 10-13-2007, 09:38 PM   #4
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
you guys are geniuses. Thanks a lot guys specially to Frank. I put it exactly the way you post it.

Ciao
 
Old 10-13-2007, 10:04 PM   #5
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,243

Rep: Reputation: 48
Quote:
Originally Posted by Allanitto Newbee View Post
you guys are geniuses. Thanks a lot guys specially to Frank. I put it exactly the way you post it.

Ciao
I'm glad it worked for you. You might get faster name resolution by adding the actual DNS addresses instead of 4.2.2.1 and 4.2.2.2

If you log into your router, the setup page will usually list the actual primary and secondary nameserver's IP addresses. I was going to edit my original post to mention that, but I figured I'd find out soon enough if you needed it or not.
 
Old 10-13-2007, 10:04 PM   #6
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 45
Frank could you explain what 4.2.2.2 means?

Cos, I always thought that local ip addresses are of type 10.*.. , 172.*.*.*, or 192.* etc.

I have never actually done wlan , so please help me out...
 
Old 10-13-2007, 11:50 PM   #7
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,243

Rep: Reputation: 48
Quote:
Originally Posted by duryodhan View Post
Frank could you explain what 4.2.2.2 means?

Cos, I always thought that local ip addresses are of type 10.*.. , 172.*.*.*, or 192.* etc.

I have never actually done wlan , so please help me out...
These are alternate DNS servers, not local IP addresses. I think there are 6

4.2.2.1 - 4.2.2.6

When you use netconfig, PV actually mentions entering 4.2.2.1 as a suggested server. I don't think this is for any reason other than many people won't remember or know off the top of their head the primary and secondary DNS servers specified by their service provider. This way you can enter one which will work - though perhaps won't be the fastest one to use.

My resolv.conf gets edited to add my ISP's servers to the top of the list:

search local
nameserver 71.243.0.12
nameserver 68.237.161.12
nameserver 4.2.2.1
nameserver 4.2.2.2
 
Old 10-14-2007, 12:11 AM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 45
ohh ok thanks
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sagem modem installed in FC5 but browser can't find inet emuub Linux - Hardware 19 07-03-2007 12:40 AM
how to connect via web browser SlipAway172 Mandriva 6 01-13-2005 06:20 PM
Web Browser Problem David@330 Linux - Newbie 3 09-21-2004 10:30 AM
web browser problem in gnome purplemooseman Slackware 3 08-05-2004 01:40 AM
Konqueror Web Browser Problem glock19 Linux - General 1 11-29-2001 02:27 PM


All times are GMT -5. The time now is 09:56 PM.

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
Open Source Consulting | Domain Registration