Hi,
I have a problem with Samba in combination with ISDN and Mandrake Linux 8.0.
The problem is:
* Samba works fine with the configuration file that I included below.
* I defined a ISDN interface named ippp0. After defining this interface,
samba still works fine.
* Then I add the default route with the command: route add default netmask 0
ippp0
* After this the ISDN connection and dial on demand works fine too.
* But after I add the default route described above, I cannot login into
Samba anymore from my windows 98 PC.
* When I log in Samba logs write_socket_data: connection reset by peer.
* Of course I tried finding the solution by searching a lot, but now, after
a few weeks i give up.
If you know the answer to this problem please mail to
mailto:edeboer@ision.nl
Thanks,
Ewoud de Boer
Below:
- error messages
- samba configuration file
- ifconfig output
- route output
Error in log.ewoud hoofd
[2001/10/10 14:00:29, 0] lib/util_sock.c:write_socket_data(540)
[2001/10/10 14:00:29, 0] lib/util_sock.c:write_socket(565)
[2001/10/10 14:00:29, 0] lib/util_sock.c:send_smb(754)
Samba configuration file
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2001/09/09 20:59:00
# Global parameters
[global]
workgroup = DBDE
netbios name = THETIS
server string = Samba Server %v
encrypt passwords = Yes
update encrypted = Yes
log file = /var/log/samba/log.%m
max log size = 50
printcap name = lpstat
logon script = %U.bat
domain logons = Yes
domain master = Yes
local master = Yes
wins support = Yes
dns proxy = No
debug level =3
hosts allow = 192.168.20.0/255.255.255.0
interfaces = eth0
bind interfaces only = Yes
printing = cups
print command = /usr/bin/lp -d%p -oraw %s; rm %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p
[homes]
comment = Home Directories
writeable = Yes
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer
drivers.
lpq command = lpstat -o %p
lprm command = cancel %p-%j
[netlogon]
path = /home/netlogon
[bestanden]
comment = Bestanden
path = /home/bestanden
writeable = Yes
[etc]
comment = etc
path = /etc
writeable = Yes
Output of ifup ippp0:
Activating device: ifcfg-ippp0
Loading global settings: /etc/sysconfig/isdn
Loading default settings: /etc/isdn/profile/ippp.default
Loading network settings: ifcfg-ippp0
Loading link settings: /etc/isdn/profile/link/myisp
Using profile myisp : IPPP-Default
ippp0 added
ippp0: 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
EAZ/MSN for ippp0 is 0346-555932
Layer-2-Protocol for ippp0 is hdlc
Layer-3-Protocol for ippp0 is trans
Encapsulation for ippp0 is syncppp
Security for ippp0 is on
Hangup-Timeout for ippp0 is 60 sec.
Charge-Hangup for ippp0 is off
Dialmax for ippp0 is 3 times.
Callback for ippp0 is off
Callback delay for ippp0 is 5 sec.
Reject before Callback for ippp0 is off
Configuring IP device ippp0
Starting PPP-daemon for ippp0
Binding PPP device: ippp0 bound to 0
Final SysV network setup for ippp0
Output of route command after "route add default netmask 0 ippp0"
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.20.0 * 255.255.255.0 U 0 0 0 eth0
192.168.20.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0
ippp0
Output of Ifconfig:
eth0 Link encap:Ethernet HWaddr 00:10:DC:05:8C:20
inet addr:192.168.20.10 Bcast:192.168.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3660 errors:0 dropped:0 overruns:0 frame:0
TX packets:3620 errors:0 dropped:0 overruns:0 carrier:0
collisions:25 txqueuelen:100
RX bytes:490012 (478.5 Kb) TX bytes:521562 (509.3 Kb)
Interrupt:11 Base address:0xa400
eth1 Link encap:Ethernet HWaddr 00:00:B4:B9:32:6C
inet addr:192.168.20.11 Bcast:192.168.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING 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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xa800
ippp0 Link encap:Point-to-Point Protocol
inet addr:213.169.223.0 P-t-P:0.0.0.0 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP 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:30
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
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:1780 errors:0 dropped:0 overruns:0 frame:0
TX packets:1780 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:123128 (120.2 Kb) TX bytes:123128 (120.2 Kb)