Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-21-2005, 10:57 AM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Rep:
|
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
|
|
|
09-21-2005, 11:26 AM
|
#2
|
Member
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101
Rep:
|
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.
|
|
|
09-21-2005, 11:35 AM
|
#3
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
I am trying to share files between the two linux boxes currently
|
|
|
09-21-2005, 11:52 AM
|
#4
|
Member
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78
Rep:
|
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
|
|
|
09-21-2005, 08:12 PM
|
#5
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
09-22-2005, 08:30 AM
|
#6
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
Can anyone shed some light on why I can't get this to work.
Thanks in advance for the help.
|
|
|
09-22-2005, 11:56 AM
|
#7
|
Member
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78
Rep:
|
I don't see any iptables firewall rules allowing tcp on port 2049 traffic...
/Les
|
|
|
09-22-2005, 01:47 PM
|
#8
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
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 05:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|