 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

4th January 2005, 08:05 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: I live in Calcitta, India
Posts: 6

|
|
How to implement Net Send in FC3?
Hello Friends,
Can anybody tell me how can we implement the windows command net send in linux?? I want to send popup messages to windows users on my lan and also receive messages from them.
|

4th January 2005, 10:00 PM
|
 |
Registered User
|
|
Join Date: Mar 2004
Location: Santa Monica
Age: 30
Posts: 63

|
|
|
I know how to send
using smbclient -M "message" seems to work well but I have not yet spent time on recieving messages
|

4th January 2005, 11:32 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: I live in Calcitta, India
Posts: 6

|
|
|
When i use the command smbclient -M //ajit ...i get the error message -- Connection to //ajit failed . However when i use a perl script to "net send" him , it works fine. What could be the prob?
|

4th January 2005, 11:41 PM
|
 |
Registered User
|
|
Join Date: Mar 2004
Location: Santa Monica
Age: 30
Posts: 63

|
|
|
Fair enough
I think you also have to use a switch for workgroup and give it the workgroup of the machine. Havent tried it in awhile but thats what I seem to remember
|

6th January 2005, 03:47 PM
|
 |
Registered User
|
|
Join Date: Mar 2004
Location: Westland, Michigan
Age: 38
Posts: 2,317

|
|
|
Just as an FYI:
With newer patches like SP2 for Windows XP, Microsoft is starting to disable the messenger service by default which is what netsend uses to complete the pop-up messages.
While I realize this isn't the problem you are having, you might want to look into some type of instant messenger like Jabber that would replace the use of the net send messages as they may fail to work down the line anyway. Just a thought.
__________________
RHCE and MCSE systems administrator
Registered Linux User #375155 For More Info or to register yourself
My Linux box is:
Ubuntu 8.04, Antec Sonata II case with 450-watt PS, AMD 64 X2 4600+ (65 watt), 4GB DDR2 800 RAM, 18X Lite-On DVD burner, Asus M2NPV-VM, Nvidia GeForce 7600GT (256MB), 320GB Western Digital SATA 3.0Gbps, Logitech MX-310, Dell 18" ultrasharp LCD, Microsoft Natural Ergonomic Keyboard 4000 and 2.1 Boston Acoustics sound system..
|

6th January 2005, 07:39 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: I live in Calcitta, India
Posts: 6

|
|
|
Hey thanx a lot ... smbclient -M hostname -W workgroup works fine on my lan
|

23rd January 2005, 11:15 PM
|
|
Registered User
|
|
Join Date: Jan 2005
Posts: 3

|
|
Quote:
|
Originally Posted by newdude82_2000
However when i use a perl script to "net send" him , it works fine. What could be the prob?
|
Hello, I'd like to send such popup messages, too. However, I dont like samba, so how did you net send with a perl script?
|

24th January 2005, 02:51 AM
|
|
Registered User
|
|
Join Date: Jul 2004
Location: Australia
Age: 39
Posts: 74

|
|
|
the perl script is just a wrapper for the samba suite.
__________________
Lindamus
|

26th January 2005, 08:18 PM
|
|
Registered User
|
|
Join Date: Jan 2005
Posts: 3

|
|
|
What a pity... I need to send some messages, but as I am not root I can't install Samba. Anyone who knows another possibility to send these Windows popup messages? If not Perl, maybe a simple c or c++ implementation?
|

26th January 2005, 09:42 PM
|
 |
Registered User
|
|
Join Date: Sep 2004
Location: Juniata College, PA
Age: 28
Posts: 629

|
|
|
Whatever implementation, it would still need to use the smb protocol as far as I know.
__________________
- JMF
Registered Linux User #371168
+Fedora Core 3 - k2.6.10-1.766_FC3
+WindowMaker 0.91.0
|

27th January 2005, 02:05 AM
|
|
Registered User
|
|
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909

|
|
There's even a graphical client, but it still requires Samba.
|

27th January 2005, 06:57 PM
|
|
Registered User
|
|
Join Date: Jan 2005
Posts: 3

|
|
|
If anybody is interested - I found a solution. There is a module for perl I overlooked when I checked CPAN.
Seems like it reimplements parts of the smb protocol itself, as it works without Samba.
It is called Net::NetSend and available on CPAN.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 06:11 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|