LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I can't open any website on my Slackware (https://www.linuxquestions.org/questions/linux-newbie-8/i-cant-open-any-website-on-my-slackware-670927/)

kcynice 09-18-2008 08:50 PM

I can't open any website on my Slackware
 
I just installed a Slackware on my pc. but i found it can't open any websites via Konqueror browser. But i am sure my network is ok, because i can ping my gateway successfully.
Any ideas?
Thanks

onebuck 09-18-2008 09:15 PM

Hi,

Did you setup a 'DNS'? Post your '/etc/resolv.conf' file.

Try to 'ping 64.233.167.99' this is a google IP. If that is successful then your 'DNS' is not setup. You should use the DNS IP that your ISP provides you. You could use a third level DNS, such as Verizon's;

Code:

nameserver 4.2.2.1
nameserver 4.2.2.2
nameserver 4.2.2.3
nameserver 4.2.2.4

Just place one or all within your '/etc/resolv.conf' file. I use them as a fallback when working with other peoples PC.

kcynice 09-19-2008 12:23 AM

Thanks for your reply. The problem is i haven't set my dns server because which is needn't in windows xp.
Now, i can open some websites now, but there still are some problems about using it.
1. when i want to open some url, the browser tells me that, The requested web page is denied by system administrator please contact with the administrator for further information.
2. I want to install new software, but i have no source of it, how to do it like run apt-get command in debian?

In fact, i use to be a windows programmer, now i want to learn linux programming. Someone said that if you master slacklinux, your really master (all) linux, and if you only master another linux version, you only master the specified linux. So, i want to have a try start at Slackware linux. I have installed it one week before, but my GUI desktop had not appear untill i re-configure the x11 this morning. Now, i can only do some simple basic operation on my slackware linux. I want to learn more. I hope some one would like to give me some advise and ideas.

Regards

resetreset 09-19-2008 02:43 AM

to install programs you have to download them first - your package manager should do this for you, *providing* it HAS the program you want in its repository.

onebuck 09-19-2008 07:08 AM

Hi,
Quote:

Originally Posted by kcynice (Post 3285227)
Thanks for your reply. The problem is i haven't set my dns server because which is needn't in windows xp.
Now, i can open some websites now, but there still are some problems about using it.
1. when i want to open some url, the browser tells me that, The requested web page is denied by system administrator please contact with the administrator for further information.
2. I want to install new software, but i have no source of it, how to do it like run apt-get command in debian?

In fact, i use to be a windows programmer, now i want to learn linux programming. Someone said that if you master slacklinux, your really master (all) linux, and if you only master another linux version, you only master the specified linux. So, i want to have a try start at Slackware linux. I have installed it one week before, but my GUI desktop had not appear untill i re-configure the x11 this morning. Now, i can only do some simple basic operation on my slackware linux. I want to learn more. I hope some one would like to give me some advise and ideas.

Regards

By the original post information it looked like the problem was 'DNS'. Now that you have expanded with more detail that should have been provided initially then we can address the problem. The M$ and Linux use different configuration files that are not shared nor used by your Linux install. Sure the DNS IP would be used but in the '/etc/resolv.conf' for Slackware.

1. How did you configure the network for the Slackware install? 'netconfig' is one way from the 'cli'. Post the '/etc/rc.d/rc.inet1.conf' file so we can help. Just x out the your security keys. Do you have a 'firewall' installed?

2. This has been covered a lot on 'LQ Slackware forum'. If you do a search for 'Slackware packages' you get loads of information. Refine the search to suit you.

You could look at 'Slackware Builds, Packages & Scripts' section of 'Slackware-Links'. More than just SlackwareŽ links!

'Overview of SlackwareŽ Package Management' is a good reference.

This link and others are available from 'Slackware-Links'. More than just SlackwareŽ links!

You could post to the 'Slackware Forum' to get more assistance with future problems you may encounter. More exposure.

You should also look at the next four links that will help you in the future.


All times are GMT -5. The time now is 07:59 PM.