LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-21-2005, 10:57 AM   #1
kbeierlein
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
FC4 linux network configuration


My goal is to set up a small business server for file, print, and internet sharing.
I would like to connect both linux and windows XP, I thought I would start with linux to linux since I thought that would be easier.



I have a Dell Precision Workstation I will be using as the server called "server1.smallbiz.com" FC4 install as server.

I have a Dell Inspiron Laptop I would like to connect to this server called "laptop.smallbiz.com" FC4 install as workstation.

Both computers are connected to a hub which connects to a linksys router which is connected to a cable modem to the internet.



The linksys router has DHCP enabled

I have the firewall on both computers enabled



Under Desktop > Network > DNs tab the server1 is called server1.smallbiz.com Primary, Secondary and Tecery DNS are assigned from my ISP, DNS search path is assigned from my ISP.



Under Desktop > Network > DNs tab the laptop1 is called laptop1.smallbiz.com Primary, Secondary and Tecery DNS are assigned from my ISP, DNS search path is assigned from my ISP.



ifcongig on server1 shows eth0 192.168.1.108 255.255.255.0

ifconfig on laptop1 shows eth0 192.168.1.135 255.255.255.0

I am able to Ping both machines





Under Desktop > System Settings > NFS on server1 I added /users/share *.smallbiz.com read only

Under Desktop > System Settings > NFS on laptop1 I added /users/servershare *.smallbiz.com read only



I did a cd /mnt and I entered the command on the laptop



mount server1.smallbiz.com:/servershare ./servershare

Message displayed is:
mount to NFS server 'server1.smallbiz.com' failed: server is down




After a delay I get an error; server not online.

I have tried a few different "how-to" guides but none seem to get me any further.

Perhaps someone could guide me in the right direction

Thanks.

Ken
 
Old 09-21-2005, 11:26 AM   #2
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
So right now your trying to set up file sharing correct? Not sure about using NFS, from what i understand that is for *nix file sharing only. Since you would like to access files from both linux and windows you should use Samba for Windows Network Neighborhood file sharing. It will also work with linux machines. The How-to's are excellent and setup is pretty straight forward.

www.samba.org

Last edited by fataldata; 09-21-2005 at 11:32 AM.
 
Old 09-21-2005, 11:35 AM   #3
kbeierlein
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I am trying to share files between the two linux boxes currently
 
Old 09-21-2005, 11:52 AM   #4
linuxles
Member
 
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78

Rep: Reputation: 15
By default, I do not believe nfs is running. Have you started it?

On the server:

# service nfs status
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
#

If so, start it manually...

# service nfs
Usage: /etc/init.d/nfs {start|stop|status|restart|reload}
#

# service nfs start

Then create a start script for your default runlevel, so it starts automatically the next time that you reboot...

The easiest way to do this is to run "ntsysv" from the command line (as root), and check-mark the box for "nfs" to start by default in the current runlevel. This will create a link that will look like this (assuming runlevel 3):

# ls -al /etc/rc3.d/S60nfs
lrwxrwxrwx 1 root root ?? Jan ?? 200? /etc/rc3.d/S60nfs -> ../init.d/nfs


This is a good time to go through all of the services showing in "ntsysv" and start/stop all the appropriate ones (for your next reboot)...


Note: To see all of your currently running services:

# service --status-all | more


HTH,
/Les
 
Old 09-21-2005, 08:12 PM   #5
kbeierlein
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
acpid (pid 2332) is running...
anacron (pid 2525) is running...
Nightly apt update is disabled.
atd (pid 2532) is running...
auditd (pid 2024) is running...
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout=60 /misc file /etc/auto.misc
/usr/sbin/automount --timeout=60 /net program /etc/auto.net

Active Mount Points:
--------------------
/usr/sbin/automount --timeout=60 /misc file /etc/auto.misc
/usr/sbin/automount --timeout=60 /net program /etc/auto.net
hcid (pid 2067) is running...
sdpd (pid 2071) is running...
cpuspeed (pid 1674) is running...
crond (pid 2494) is running...
cupsd (pid 2341) is running...
cups-config-daemon (pid 2552) is running...
dc_client is stopped
dc_server is stopped
Device not specified in /etc/sysconfig/diskdump
gpm (pid 2486) is running...
hald (pid 2561) is running...
Usage: /etc/init.d/hidd {start|stop|restart|reload|condrestart}
httpd is stopped
Table: filter
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:6881:6999
RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255
ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0
ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:631
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

irattach is stopped
lircmd is stopped
lircd is stopped
lisa is stopped
mdmpd is stopped
mDNSResponder (pid 2323) is running...
dbus-daemon (pid 2908 2540) is running...
rndc: connect failed: connection refused
Server address not specified in /etc/sysconfig/netdump
netplugd is stopped
Configured devices:
lo eth0
Currently active devices:
lo eth0
NetworkManager is stopped
NetworkManagerDispatcher is stopped
Shutting down NFS mountd: rpc.mountd (pid 2444) is running...
nfsd (pid 2440 2439 2438 2437 2436 2435 2434 2433) is running...
rpc.rquotad (pid 2431) is running...
rpc.statd (pid 2010) is running...
nifd (pid 2293) is running...
nscd is stopped
ntpd is stopped
cardmgr (pid 1743) is running...
portmap (pid 1992) is running...
Process accounting is disabled.
rdisc is stopped
rpc.idmapd (pid 2054) is running...
saslauthd is stopped
sendmail (pid 2477 2471) is running...
smbd is stopped
nmbd is stopped
snmpd is stopped
snmptrapd is stopped
spamd is stopped
squid is stopped
sshd (pid 2389) is running...
syslogd (pid 1980) is running...
klogd (pid 1982) is running...
tux is stopped
Xvnc is stopped
winbindd is stopped
xfs (pid 2517) is running...
xinetd (pid 2398) is running...
ypbind is stopped
Nightly yum update is disabled.
 
Old 09-22-2005, 08:30 AM   #6
kbeierlein
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Can anyone shed some light on why I can't get this to work.

Thanks in advance for the help.
 
Old 09-22-2005, 11:56 AM   #7
linuxles
Member
 
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78

Rep: Reputation: 15
I don't see any iptables firewall rules allowing tcp on port 2049 traffic...

/Les
 
Old 09-22-2005, 01:47 PM   #8
kbeierlein
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I will look into that and see if I can correct the problem, thanks for looking.

Ken.
 
  


Reply



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
fluxbox configuration on FC4 phsythax Linux - Software 2 11-06-2005 12:03 AM
Network Configuration Hanging in FC4 After Using Wireless Network Wizard Trip in VA Linux - Wireless Networking 2 07-18-2005 08:32 AM
For Linux GURU's: route configuration in complex network netguy2000 Linux - Networking 1 09-06-2004 09:00 AM
Network configuration in vector linux, can't figure it out. ooagentbender Linux - Newbie 2 12-30-2003 05:04 AM
SuSE Linux 8.1 (YaST2 Network Configuration) Dec Linux - Networking 2 08-17-2003 05:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:56 AM.

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