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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-25-2004, 05:57 AM
|
#1
|
|
LQ Newbie
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10
Rep:
|
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.
|
|
|
|
05-25-2004, 07:03 AM
|
#2
|
|
Member
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 208
Rep:
|
Plz post some more infos:
/sbin/ifconfig
route
from mepisdell
THansk!
Last edited by LuggerHouse; 05-25-2004 at 07:06 AM.
|
|
|
|
05-25-2004, 07:05 AM
|
#3
|
|
Member
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121
Rep:
|
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.
|
|
|
|
05-25-2004, 06:34 PM
|
#4
|
|
LQ Newbie
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10
Original Poster
Rep:
|
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.
|
|
|
|
05-25-2004, 06:36 PM
|
#5
|
|
LQ Newbie
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10
Original Poster
Rep:
|
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]$
|
|
|
|
05-26-2004, 08:54 PM
|
#6
|
|
LQ Newbie
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10
Original Poster
Rep:
|
bump
Anyone have a suggestion?
|
|
|
|
05-29-2004, 07:32 PM
|
#7
|
|
LQ Newbie
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10
Original Poster
Rep:
|
?
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?
|
|
|
|
05-30-2004, 03:48 AM
|
#8
|
|
Member
Registered: Mar 2004
Location: Iraq, Baghdad
Posts: 32
Rep:
|
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.
|
|
|
|
05-30-2004, 07:22 AM
|
#9
|
|
LQ Newbie
Registered: May 2004
Location: Littlerock, AR
Distribution: Mepis
Posts: 10
Original Poster
Rep:
|
yay
That's all I needed, it works like a champ now. THank you very very much for your answer.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:22 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
|
|