LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FC4 linux network configuration (https://www.linuxquestions.org/questions/linux-networking-3/fc4-linux-network-configuration-365618/)

kbeierlein 09-21-2005 10:57 AM

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

fataldata 09-21-2005 11:26 AM

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

kbeierlein 09-21-2005 11:35 AM

I am trying to share files between the two linux boxes currently

linuxles 09-21-2005 11:52 AM

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

kbeierlein 09-21-2005 08:12 PM

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.

kbeierlein 09-22-2005 08:30 AM

Can anyone shed some light on why I can't get this to work.

Thanks in advance for the help.

linuxles 09-22-2005 11:56 AM

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

/Les

kbeierlein 09-22-2005 01:47 PM

I will look into that and see if I can correct the problem, thanks for looking.

Ken.


All times are GMT -5. The time now is 08:54 AM.