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 05-25-2004, 05:57 AM   #1
dvddecrypter
LQ Newbie
 
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10

Rep: Reputation: 0
Tow linux boxes can't ping each other


System 1 is called mepis, it has a modem and a nic, running mepis
System 2 is called mepisdell it has a nic, running mepis
Both systems are connected via a dumb hub.
I have successfully setup networking to the point that I can connect to the internet via kppp on mepis and acces the internet on mepisdell, using mepis as a gateway. The problem is that I am having trouble getting NFS to work. I think I have tracked the problem down to the fact that mepis cannot ping mepisdell by name or ip. mepisdell can ping mepis via ip and name.

Here is all the info I can dig up on mepis:
root@17[eatoncl]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:5E:E1:BE
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::201:2ff:fe5e:e1be/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:57890 errors:0 dropped:0 overruns:1 frame:0
TX packets:64854 errors:0 dropped:0 overruns:0 carrier:0
collisions:1080 txqueuelen:1000
RX bytes:5766447 (5.4 MiB) TX bytes:78771817 (75.1 MiB)
Interrupt:10 Base address:0x1080

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:15305 errors:0 dropped:0 overruns:0 frame:0
TX packets:15305 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8167926 (7.7 MiB) TX bytes:8167926 (7.7 MiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:65.132.48.5 P-t-P:63.152.1.89 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1359 errors:0 dropped:0 overruns:0 frame:0
TX packets:1383 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1076555 (1.0 MiB) TX bytes:175123 (171.0 KiB)

root@17[eatoncl]#
root@17[eatoncl]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
nas4.little-roc * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default nas4.little-roc 0.0.0.0 UG 0 0 0 ppp0
root@17[eatoncl]#
root@17[eatoncl]# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@17[eatoncl]#
root@17[eatoncl]# dnsdomainname
root@17[eatoncl]#
root@17[eatoncl]# domainname
bash: domainname: command not found
root@17[eatoncl]#
root@17[eatoncl]# hostname
mepis
root@17[eatoncl]#
root@17[eatoncl]# showmount
Hosts on mepis:
root@17[eatoncl]#

If anyone could figure this out I'd be gratefull.
 
Old 05-25-2004, 07:03 AM   #2
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Plz post some more infos:

/sbin/ifconfig
route
from mepisdell

THansk!

Last edited by LuggerHouse; 05-25-2004 at 07:06 AM.
 
Old 05-25-2004, 07:05 AM   #3
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
Sounds like mepisdell may have a firewall running which is unnecessary and may block your pings. You'll see this same problem if you enable the firewall on a Windows XP machine that gets it's internet connection from another XP machine.
 
Old 05-25-2004, 06:34 PM   #4
dvddecrypter
LQ Newbie
 
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10

Original Poster
Rep: Reputation: 0
that helped

Guarddog was enabled on mepisdell, thanks for that suggestion. I can now ping mepisdell with mepis However I still can't get a share mounted with NFS:

root@3[eatoncl]# hostname
mepisdell
root@3[eatoncl]# mount /mepis
mount: mount point /mepis does not exist
root@3[eatoncl]# cat /etc/fstab
/dev/hda3 / ext3 defaults,noatime 1 1
/dev/hda2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs defaults 0 0
none /dev/pts devpts mode=0622 0 0
/dev/hda4 /home ext3 defaults,noatime 1 2
# Dynamic entries
/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000 0 0
/dev/hdb1 /mnt/hdb1 vfat noauto,users,exec,umask=000 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
192.168.0.2:/ /mepis nfs rsize=1024,wsize=1024,noauto 0 0
root@3[eatoncl]#
root@3[eatoncl]# cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/ 192.168.0.2(rw)
root@3[eatoncl]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:07:E9:E1:C5:2B
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15035 errors:0 dropped:0 overruns:0 frame:0
TX packets:13234 errors:0 dropped:0 overruns:0 carrier:0
collisions:459 txqueuelen:1000
RX bytes:15096136 (14.3 MiB) TX bytes:1597486 (1.5 MiB)
Interrupt:3 Base address:0xdc40 Memory:ff6fe000-ff6fe038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:277 errors:0 dropped:0 overruns:0 frame:0
TX packets:277 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:56236 (54.9 KiB) TX bytes:56236 (54.9 KiB)

root@3[eatoncl]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default mepis 0.0.0.0 UG 0 0 0 eth0
root@3[eatoncl]#

I'll make another post with /etc/fstab and /etc/exports from the other machine.
 
Old 05-25-2004, 06:36 PM   #5
dvddecrypter
LQ Newbie
 
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10

Original Poster
Rep: Reputation: 0
mepis exports

eatoncl@21[eatoncl]$ hostname
mepis
eatoncl@21[eatoncl]$ cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/ 192.168.0.1(rw)
eatoncl@21[eatoncl]$ cat /etc/fstab
/dev/hda1 / ext3 defaults,noatime 1 1
/dev/hda2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs defaults 0 0
none /dev/pts devpts mode=0622 0 0
/dev/hda3 /home ext3 defaults,noatime 1 2
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/floppy /mnt/floppy auto users,exec,sync 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0

192.168.0.1:/ /mepisdell nfs rsize=1024,wsize=1024,noauto 0 0eatoncl@21[eatoncl]$
 
Old 05-26-2004, 08:54 PM   #6
dvddecrypter
LQ Newbie
 
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10

Original Poster
Rep: Reputation: 0
bump

Anyone have a suggestion?
 
Old 05-29-2004, 07:32 PM   #7
dvddecrypter
LQ Newbie
 
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10

Original Poster
Rep: Reputation: 0
?

I hate to be negative but someone has to know what is wrong here.

If NFS works at all, it shoudl be working here, or I"m missing something simple.

It seems the majority of the time I ask a question about Linux I get a quick responce that does not help, like "Go look at the manual" then when I come back with everything that is requested and then some, I get complete silence.

So noone on linuxquestions.org has any clue how NFS works?
 
Old 05-30-2004, 03:48 AM   #8
esears
Member
 
Registered: Mar 2004
Location: Iraq, Baghdad
Posts: 32

Rep: Reputation: 15
root@3[eatoncl]# mount /mepis
mount: mount point /mepis does not exist
root@3[eatoncl]# cat /etc/fstab
/dev/hda3 / ext3 defaults,noatime 1 1
/dev/hda2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs defaults 0 0
none /dev/pts devpts mode=0622 0 0
/dev/hda4 /home ext3 defaults,noatime 1 2
# Dynamic entries
/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000 0 0
/dev/hdb1 /mnt/hdb1 vfat noauto,users,exec,umask=000 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
192.168.0.2:/ /mepis nfs rsize=1024,wsize=1024,noauto 0 0


Ok, just a simple question. When you did 'mount /mepis' it says taht mount point doesn't exist. This would imply that there is no directory /mepis on your mepisdell comp. Make sure this directory exists first and try again.
 
Old 05-30-2004, 07:22 AM   #9
dvddecrypter
LQ Newbie
 
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10

Original Poster
Rep: Reputation: 0
yay

That's all I needed, it works like a champ now. THank you very very much for your answer.
 
  


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
tow programes needed Overview Linux - Software 3 10-31-2005 07:44 PM
2 linux boxes unable to ping each other in a network lqsukumar Linux - Networking 4 07-21-2005 05:36 PM
Can't Get it to ping my other boxes Diablotrickster Linux - Networking 3 08-30-2003 11:41 AM
My linux box can't ping to my windows boxes! Thermodynamic Linux - Networking 8 08-06-2003 03:15 AM
boxes won't ping each other. KnightAbel Linux - Newbie 3 12-21-2002 03:13 PM

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

All times are GMT -5. The time now is 05:26 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