Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.