[PLUG] Samba server and WinME connection problem
Stephen Liu
satimis at writeme.com
Thu Oct 17 09:48:14 UTC 2002
Hi all folks
I encountered another Samba and WinME connection problem both boxes are
connected with a crossover cable. Ping both boxes showed
connected/connecting
Name of WinME = IWILL
share folder = Shared
IP address = 192.168.0.1
2 NICs
eth0 IP add = 192.168.0.1 connected to Samba server
eth1 dynamic IP for broadband connection
Name of Samba server = M40G
OS = RH8.0
IP address = 192.168.0.2
share folder = /test
2 NICs
-connected to WinME
-connected to broadband dynamic IP
Workgroup = SEC
/etc/Samba/smb.conf (BASIC)
[global]
workgroup = SEC
guest account = IWILL
encrypt passwords = Yes
hosts allow = yes
security = share
[test]
comment = test share
path = /test
browseable = yes
read only = no
guest only = no
guest ok = yes
/test
ls -l
drwxrwxrwx 2 root root 4096 Oct 17 15:56 test
ipchains and iptables stop
WinME box
=========
Both IWILL and M40G
found under the group SEC on Windows Exploror
- clicking M40G said "shared folder not found
- search for computer could not find Samba server
(tested with 192.168.0.2 and M40G)
Samba Server
============
# mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/cdrom on /mnt/cdrom type udf (ro,nosuid,nodev)
/dev/fd0 on /mnt/floppy type vfat (rw,nosuid,nodev)
# smbclient -L IWILL
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.76.21 bcast=218.188.79.255
nmask=255.255.252.0
Password:
Sharename Type Comment
--------- ---- -------
PRINTER$ Disk
HP DESKJET 6 Printer
SHARED Disk
IPC$ IPC Remote Inter Process Communication
Server Comment
--------- -------
IWILL S.LIU
M40G Samba 2.2.5
Workgroup Master
--------- -------
SEC IWILL
# smbclient -L 192.168.0.1
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.76.21 bcast=218.188.79.255
nmask=255.255.252.0
session request to 192.168.0.1 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
218.188.76.0 0.0.0.0 255.255.252.0 U 0 0 0
eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 218.188.76.1 0.0.0.0 UG 0 0 0
eth1
/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.1 IWILL
192.168.0.2 M40G
/etc/resolv.conf
search localdomain
nameserver 210.0.144.66
nameserver 210.0.144.26
Kindly help
Thanks in advance
Stephen Liu
More information about the PLUG
mailing list