I have a working LAN running Debian Testing updated 2 or 3 times a week, with 
samba connecting to a WinXP machine. I also have a working ipmasquerade setup 
using this firewall script.

http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/firewall-examples.html

This allows the Winxp machine to get its internet from the host through the 
LAN. Everything works at this point. ifconfig shows eth0 as 
what  /etc/network/interfaces says it should be.

_______________________________________________________________
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
        iface lo inet loopback
        address 127.0.0.1
        netmask 255.0.0.0

auto eth0
        iface eth0 inet static
        address 192.68.1.100
        netmask 255.255.255.0
_________________________________________________________________

Today I tried Debian on the client machine and was having trouble with samba 
running on both machines. It seems that they both wanted to be the master. So 
I decide to run NFS while Debian is running on the client, and samba while 
the client is running WinXP. The host, I figure, will just run both at all 
times (maybee i went wrong there?). Installing nfs-common, nfs-kernel-server, 
nfsbooted, portmap and a couple dependencies, libidmap1 and libevent1. I then 
configure everything as seen here.

http://www.tldp.org/HOWTO/NFS-HOWTO/server.html

Now! /etc/network/interfaces is still the same as before, except running 
ifconfig gives this output

__________________________________
eth0      Link encap:Ethernet  HWaddr 00:0D:87:D1:11:CC
          inet addr:169.254.223.155  Bcast:0.0.0.0  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:177 Base address:0xe800
___________________________________________

I have no idea where that ip address is coming from, but client 192.68.1.200 
is now not seeing the host, which is supposed to be 192.68.1.100 but is now 
169.254.223.155 for whatever reason.  Running ifdown eth0, then ifup eth0 
gives this error

SIOCSIFADDR: File exists
Failed to bring up eth0.

although now ifconfig will have this output

eth0      Link encap:Ethernet  HWaddr 00:0D:87:D1:11:CC
          inet addr:192.68.1.100  Bcast:192.68.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:177 Base address:0xe800

The correct ip address now, but still not able to ping in either direction.

debian:~# ping 192.68.1.200
PING 192.68.1.200 (192.68.1.200) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
(Is this a firewall?)

The next step that i take is to dpkg -P all of the nfs related packages that I 
installed, reboot, this problem still exists. Can anybody tell me where I 
went wrong?

Dan L.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to