LinuxQuestions.org
Help answer threads with 0 replies.
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 02-10-2007, 03:27 PM   #1
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
Network problem : Server won't respond to ping


I have just installed Slackware 11 clean on what is to be my home server. After fighting with some conf files I got my server wireless card to connect to my wireless router. I can ping the router, can do internet browsing and see the samba shares on another workstation PC (currently running Suse 10.1) connected (hard-wired) to the router. The server gets an IP address assigned through DHCP.

However I cannot seem to see the server from the workstation. ie I cannot ping the server from the workstation PC nor can I see the samba shares I have set up on the server. Not much use as a server in fact. Is there something obvious I should do to enable this server to respond to the outside world? Firewall problem ?

Thanks for any help

Bogus
 
Old 02-10-2007, 03:47 PM   #2
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Firewall can block both ping and access to samba shares, so yes, check for and turn off any firewall while you troubleshoot. Might help if you post results of 'iptables -L'.
 
Old 02-12-2007, 03:41 AM   #3
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Possible firewall problem

Here is the output from iptables you suggested I should post:

Output from iptables -L

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 have started to look into what this means but am stuck on two issues:
(a) I don't really understand this output - does the "Policy ACCEPT" mean that I should be accepting all packets
(b) I am a bit surprised to find no /etc/rc.d/rc.firewall on my system which "Slackware Essentials" tells me is the place where iptables is configured.

Further help appreciated.
 
Old 02-12-2007, 07:05 PM   #4
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
All we did was look at the list of 'iptables' rules; which, none seem to be implemented at this time. This tells me 'iptables' is not responsible for your problem.
For more info about 'iptables' look here or do 'man iptables'

On the server, can you 'ping localhost'?
On the server, can you 'ping <ipaddress>'?
On the workstation, are you trying to ping the server hostname or IP address?
 
Old 02-15-2007, 04:52 PM   #5
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
I _can_ ping localhost from the server
I can also ping various ip addresses from the server including my router, the workstation and web servers including linuxquestions.org. Now that I know I can use host addresses wtih ping rather than jsut ip addresses, there is no limit to what i can ping from this machine.
I still seem unable to ping the server from the workstation, though - whether I use the hostname or the IP address which I get from 'ifconfig' on the server.

I think that all this may be caused by firewall settings on the router rather than on the two PCs. I can log into the router as Admin and set various security settings there. I think that it is keeping the wireless LAN separate from the hard-wired LAN. The server is connected to the router vis wireless while the workstation is hardwired. I will have a good read og the router manual, but I think that might be the "route" of the problem.
 
  


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
DNS error,does not respond on ping. jared78 Linux - Networking 21 05-04-2005 09:13 AM
Cannot ping linux web server from different network Bobson Linux - Networking 4 03-23-2005 09:08 AM
Can ping network but can't ping any internet ip when I hard set the ip Streme Linux - Wireless Networking 4 04-13-2004 10:18 AM
3c900 10baseT Boomerang PCI won't respond to ping Barb Linux - Networking 16 03-09-2004 02:28 PM
Strange ping/network problem Noerr Linux - Networking 8 05-29-2002 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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