[PLUG] Samba server can't see WinME
Stephen Liu
satimis at writeme.com
Wed Aug 7 07:06:51 UTC 2002
Hi all folks,
Thanks for your response and advice.
Hereinunder are my test results :
# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
# smbmount //192.168.0.2/shared/ /mnt/WinME/ -o username=stephen
1842: session request to 192.168.0.2 failed (Called name not present)
1842: session request to 192 failed (Called name not present)
1842: session request to *SMBSERVER failed (Called name not present)
SMB connection failed
You have new mail in /var/spool/mail/root
# smbclient -L 192.168.0.2
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
session request to 192.168.0.2 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
edit /etc/hosts
Old file
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.M2 localhost.localdomain
New file
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.198.0.2 localhost.IWILL
127.0.0.1 localhost.M2 localhost.localdomain
# smbmount //192.168.0.2/shared/ /mnt/WinME username=stephen
1925: session request to 192.168.0.2 failed (Called name not present)
1925: session request to 192 failed (Called name not present)
1925: session request to *SMBSERVER failed (Called name not present)
SMB connection failed
# smbclient -L 192.168.0.2
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
session request to 192.168.0.2 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
Any suggestion. Thanks in advance.
Stephen
At 09:16 AM 8/6/2002 -0700, Matt King wrote:
>Your Samba box thinks IWILL is at 218.188.76.202, and your internal
>address can't reach it, that seems like your problem. Add IWILL to your
>/etc/hosts file if it's not already there, and make sure your samba box
>checks the hosts file before DNS. I don't think, from what it looks like,
>that it's a Samba issue.
>
>--
>Matt King
>magnet | internet
>http://www.magnetinternet.com
>
> Stephen Liu busted out the keyboard and typed:
> > Hi All Guys,
> >
> > I have a WinME box connected to a Samba Server (RH7.3) via a crossover
> > cable as experiment. Both boxes can be connected. WinME can transfer
> > files from the share folder of Samba Server and to the folder of the
> > same but not the other way round. Samba Server can't see the WinME
> > box.
> >
> > Test No.1
> >
> > -------- snip -----------
> > /etc/samba/smb.conf
> >
> > [test]
> > comment = test share
> > path = /test
> > writable = yes
> > browsable = yes
> > follow symlinks = yes
> > wide links = yes
> > public = yes
> > read only = No
> > guest ok = Yes
> > guest only = Yes
> >
> >
> > (Remark : Computer_name of WinME = IWILL
> > shared = share_folder of WinME)
> > IP address of RH7.3 = 192..168.0.2 Subnet : 255.255.255.-0
> > IP address of WinME = 192.168.0.2 Subnet : 255.255.255.-0
> >
> > # smbclient -L IWILL
> > added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
> > Got a positive name query response from 192.168.0.2 ( 218.188.76.202
> > 192.168.0.2 )
> > error connecting to 218.188.76.202:139 (Network is unreachable)
> > Error connecting to 218.188.76.202 (Network is unreachable)
> > Connection to IWILL failed
> >
> > # mount -t smbfs //IWILL/shared/ /mnt/WinME/
> > Error connecting to 218.188.76.202 (Network is unreachable)
> > 1668: Connection to IWILL failed
> > SMB connection failed
> >
> >
> > Test No.2
> >
> > /etc/samba/smb.conf
> >
> > ------ snip -------
> > [test]
> > comment = test share
> > path = /test
> > writable = yes
> > browsable = yes
> > public = yes
> > read only = No
> > guest ok = Yes
> > guest only = Yes
> >
> > # mount -t smbfs //IWILL/shared/ /mnt/WinME/
> > Error connecting to 218.188.76.202 (Network is unreachable)
> > 1628: Connection to IWILL failed
> > SMB connection failed
> >
> > # smbclient -L IWILL
> > added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
> > Got a positive name query response from 192.168.0.2 ( 218.188.76.202
> > 192.168.0.2 )
> > error connecting to 218.188.76.202:139 (Network is unreachable)
> > Error connecting to 218.188.76.202 (Network is unreachable)
> > Connection to IWILL failed
> >
> > Please advise. Thanks in advance.
> >
> > Stephen Liu
More information about the PLUG
mailing list