LinuxQuestions.org
Register a domain and help support LQ
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
 
Search this Thread
Old 07-04-2004, 09:14 AM   #1
Clue-less1
LQ Newbie
 
Registered: Jul 2004
Location: Here
Distribution: Haven't found one I like yet
Posts: 6

Rep: Reputation: 0
Slackware 10.0 / Internet surf problems


I did a full install of Slackware 10.0 using Gnome as my desktop manager. It's a networked computer and I've used Mozilla and the Gnome browser to get onto the internet -- not a problem for the first webpage I go to. Now, I'm stuck and can't download, can't go to any other pages Nothing happens when I try to go to another page, to click on a link, etc. It didn't "freeze" in a formal sense because I can close out the browser and open it again.

I've never encountered this problem before when I had Gentoo up and running on this machine.

I have a DLink Tx530 PCI card (via-rhine) and it's working only because I can get to the first webpage but nothing else. Help!
 
Old 07-04-2004, 09:20 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,564

Rep: Reputation: 124Reputation: 124
Have you configured a firewall ? Did you put your ISP domain name server in /etc/resolv.conf ?
 
Old 07-04-2004, 10:03 AM   #3
Clue-less1
LQ Newbie
 
Registered: Jul 2004
Location: Here
Distribution: Haven't found one I like yet
Posts: 6

Original Poster
Rep: Reputation: 0
I did not configure a software firewall (the router has one, though).

I tried to use nano to get into /etc/resolv.conf, but Slack doesn't use nano. So... (noob question), how do I edit /etc/resolv.conf?
 
Old 07-04-2004, 10:08 AM   #4
Jay Shenk
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake 10.0 Official
Posts: 5

Rep: Reputation: 0
Use pico rather than nano - looks the same
 
Old 07-04-2004, 10:12 AM   #5
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,564

Rep: Reputation: 124Reputation: 124
say you have 2 name server, 212.124.0.1 and 212.124.0.2 :

echo "nameserver 212.124.0.1" >> /etc/resolv.conf
echo "nameserver 212.124.0.2" >> /etc/resolv.conf

This will add the lines fine, for edit text I use vim personally
 
Old 07-04-2004, 10:19 AM   #6
Jay Shenk
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake 10.0 Official
Posts: 5

Rep: Reputation: 0
cool command

how would you use that to remove something, say, since Slack
requires you to but a domainname but you don't have one and
it adds a search <domainname> and you want to delete that line

Last edited by Jay Shenk; 07-04-2004 at 10:28 AM.
 
Old 07-04-2004, 10:23 AM   #7
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,564

Rep: Reputation: 124Reputation: 124
Unfortunally for now I have not other idea than create another file :
cat /etc/resolv.conf | grep -v "search" > /etc/resolv.conf.new

and then move new file to old :
mv /etc/resolv.conf.new /etc/resolv.conf
 
Old 07-04-2004, 10:35 AM   #8
Clue-less1
LQ Newbie
 
Registered: Jul 2004
Location: Here
Distribution: Haven't found one I like yet
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by keefaz
say you have 2 name server, 212.124.0.1 and 212.124.0.2 :

echo "nameserver 212.124.0.1" >> /etc/resolv.conf
echo "nameserver 212.124.0.2" >> /etc/resolv.conf

This will add the lines fine, for edit text I use vim personally
OK, did this using my name servers and... I can click on links, surf other pages, but cannot download anything. I'm trying to install Firefox 0.91 and Thunderbird 0.71 because I don't like the Mozilla suite (too sl-o-o-o-o-w and cumbersome). Galeon does nothing but stay on "My Portal".
 
Old 07-04-2004, 11:17 AM   #9
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,564

Rep: Reputation: 124Reputation: 124
what is your output for : /usr/sbin/iptables -L

Or you should look into your router firewall about the rules.

also of course you can download as you get web pages and they need to be downloaded in order to see them.

Last edited by keefaz; 07-04-2004 at 11:21 AM.
 
Old 07-04-2004, 11:45 AM   #10
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Quote:
Originally posted by Clue-less1
I did not configure a software firewall (the router has one, though).

I tried to use nano to get into /etc/resolv.conf, but Slack doesn't use nano. So... (noob question), how do I edit /etc/resolv.conf?
Quote:
Originally posted by Jay Shenk
Use pico rather than nano - looks the same
Slackware does not install neither pico nor nano.........

Slack uses vi/vim
the first and best editor ever!!

or uses the 2nd best--- emacs...............
 
Old 07-04-2004, 12:43 PM   #11
Clue-less1
LQ Newbie
 
Registered: Jul 2004
Location: Here
Distribution: Haven't found one I like yet
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by keefaz
what is your output for : /usr/sbin/iptables -L
The result is:

Chain INPUT (policy ACCEPT)
target ..... prot opt source ..... destination

Chain FORWARD (policy ACCEPT)
target ..... prot opt source ..... destination

Chain OUTPUT (policy ACCEPT)
target ..... prot opt source ..... destination


I noticed also I can't log into any webpages as well.

The router firewall never caused any problems with other distros I've tried...
 
Old 07-04-2004, 12:48 PM   #12
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,564

Rep: Reputation: 124Reputation: 124
I would think that the ports are not forwarded to your machine, just the port 80 TCP(http) and 53 UDP(dns) , which is weird if it worked in other distros as your iptables are configured to let all traffic come in and out.

Did you try netconfig ?

Last edited by keefaz; 07-04-2004 at 12:51 PM.
 
Old 07-04-2004, 01:02 PM   #13
Clue-less1
LQ Newbie
 
Registered: Jul 2004
Location: Here
Distribution: Haven't found one I like yet
Posts: 6

Original Poster
Rep: Reputation: 0
I'm back on the Slack computer and typing this in using Knoppix 3.4 -- I have no problems getting online, logging in and downloading Firefox. I don't believe it is the router's firewall.

Is there any other network configuration I should be aware of beside /etc/resolv.conf? Perhaps the network is not configured correctly.

Edit: I'll try netconfig when I get back into Slack.

Last edited by Clue-less1; 07-04-2004 at 01:04 PM.
 
Old 07-04-2004, 06:46 PM   #14
Jay Shenk
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake 10.0 Official
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by 320mb
Slackware does not install neither pico nor nano.........

Slack uses vi/vim
the first and best editor ever!!

or uses the 2nd best--- emacs...............
You can prove you're incorrect by entering
$ pico wrong
in a terminal and watching Slack launch the editor.

The person's nick itself indicates he's clueless, which would indicate he's
a *nix newbie - especially since he hasn't found a distro he likes, yet.
Vi/vim/elvis is about the most difficult editor for a newbie to learn, and
emacs isn't really much better. Pico and nano at least have command
instructions, as well as help, at the bottom of the page.

Who would think of :q! just to close a file?!?!?!?
Certainly not someone who'd never read the documentation.

:}
 
Old 07-05-2004, 02:08 AM   #15
vmj
LQ Newbie
 
Registered: Jul 2004
Location: Oulu, Finland.
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
[OT: pico comes from pine package]

I've also got some problems with Slackware version of Mozilla/Galeon/Epiphany, and I think it's related to javascript or some other mozilla component not loading. I haven't looked into it much, though. I fixed it by installing mozilla-firefox from linuxpackages.net.
 
  


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
i can't surf on internet balki Linux - Wireless Networking 4 07-13-2004 05:31 AM
Can't surf the internet jerryvb VectorLinux 5 12-06-2003 07:28 PM
i can see my LAN but i can't surf the INternet, HELP maturola Linux - Networking 8 11-06-2003 01:35 PM
Cannot surf internet (wvdial) chii-chan Linux - Newbie 4 09-21-2003 10:09 AM
why is it that when Win2k is the server and has internet, clients can surf with.... kublador Linux - Networking 4 04-04-2003 07:29 PM


All times are GMT -5. The time now is 05:52 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 Google+: linuxquestions
Open Source Consulting | Domain Registration