Linux - NetworkingThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just Installed Fedora Core 5, Samba Client Installed Newest Version Im Guesing.
Made Sure My Windows System Is Running The Messenger Service And Tested With Another Windows Machine With Net Send, It Worked. Read Many Forums & Google Searched But Cant Seem To Get It To Work. Ive Tried Linpopup But It Gives Me The Same Error Message, (session request failed/Connection to xxxxx failed)As The smbclient Command Does. I Can Ping The Windows System, Net Lookup Both The Machine Name And Ip Address Just Fine. Also I Can Connect To The Windows System Through The File Brower And Do Whatever I Want As If I Was On A Windows System. So Im Thinking Its Something To Do With Samba smbclient -M Switch. Ive Read Some Google Searches Where It Said Something About Editing The smb.conf but Im Not Sure What Command I Need Or Even If I Need To For This Purpose.
It Looks As If Samba Isnt Resolving Host Names. I Have A Router But I Dont Think I Have To Open This Port Due To Another Windows System Being Able To Net Send.
If You Need Any Other Information Just Let Me Know
Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
print$ Disk Printer Drivers
Printer Printer hp deskjet 845c
session request to 192.168.1.101 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[DIM2350] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Well, it's obviously able to connect to the server and authenticate successfully. It's possible that the remote system has the messenger service disabled, and so you are unable to send messages to them.
Thats The Problem I Know The Messenger Service Is Running As I Mentioned In The First Post.
I Setup The Messenger Service To Start And Start With Windows Personally On The Windows Box.
What Do You Mean Use NetBios Names And Not DNS Names?
Ok I Did Some More Research And I Added This To My smb.conf File. I Read By Adding This I Would Be Able To Recieve Messages...
message command = csh -c 'xedit %s;rm %s' &
Tried To Send A Net Send From Windows And Nothing...
But When I Tried To smbclient -M To The Windows System It Worked As Long As I Used DIM2350 Instead Of xxx.xxx.xxx.xxx.
[DiscreetControl@localhost ~]$ smbclient -M DIM2350
Connected. Type your message, ending it with a Control-D
Worked
sent 8 bytes
[DiscreetControl@localhost ~]$ smbclient -M 192.168.1.101
session request failed
[DiscreetControl@localhost ~]$ smbclient -M DIM2350 -I 192.168.1.101
Connected. Type your message, ending it with a Control-D
Worked
sent 8 bytes
[DiscreetControl@localhost ~]$ smbclient -p 139 -M DIM2350 -I 192.168.1.101
Connected. Type your message, ending it with a Control-D
Worked
sent 8 bytes
[DiscreetControl@localhost ~]$
Can Someone Tell Me Why smbclient -M Works Now. And Also Why IT Doesnt Work With The IP Address. And Also Why Im Not Able To Send Messages To The Linux System From Windows.
xedit cannot be run from the message command unless a DISPLAY is specified for it to connect to. Hence, the message is received, but it is unable to handle the message.
As far as putting in the IP address, you have to specify the destination by the Netbios name of the receiving machine.
linpopup works great for me - I can send messages in both ways. I don't know how does samba catch messages in command line, but Linpopup shows them. Hope this helps
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.