smbclient -M questioin
Results 1 to 6 of 6

Thread: smbclient -M questioin

  1. #1
    Senior Member
    Join Date
    Oct 2001
    Posts
    131

    smbclient -M questioin

    I have two networks connected via a router, most are linux based but a few are winblows.

    What i want to do is send messages using smbclient -M to certain users on the other network.

    eg.
    networkone has 192.168.0.* ips
    networktwo the same ip addresses.
    My main ip out to the net is something like 63.161.104.*

    So if I want to send a message to computer frank on networktwo from networkone how would i go about it?

    if i am not explaining very well I will try better.

    Thanks.
    Whats a \"START\" button?

  2. #2
    AO Decepticon CXGJarrod's Avatar
    Join Date
    Jul 2002
    Posts
    2,038
    Could it be that the router between the two subnets is blocking the traffic? I remember reading somewhere that routers do not pass certain types of traffic along to other subnets.
    N00b> STFU i r teh 1337 (english: You must be mistaken, good sir or madam. I believe myself to be quite a good player. On an unrelated matter, I also apparently enjoy math.)

  3. #3
    Senior Member
    Join Date
    Oct 2001
    Posts
    131

    rephrased question

    I need to know what command i would type to send a message to ip address 192.168.0.102 on networktwo from networkone.

    The router is a simple thin client so no firewalling is being done.
    Whats a \"START\" button?

  4. #4
    Master-Jedi-Pimps0r & Moderator thehorse13's Avatar
    Join Date
    Dec 2002
    Location
    Washington D.C. area
    Posts
    2,884
    Here ya go....

    echo "HELLO" | smbclient -M hostname -I IP ADDRESS

    Oh and unless smbclient is in your path, switch over to the usr/bin directory.

    HELLO from ROOT should appear on his screen.
    Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
    Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden

  5. #5
    Senior Member
    Join Date
    Oct 2001
    Posts
    131

    smbclient

    Thanks, that seams to work the way i wanted.
    Whats a \"START\" button?

  6. #6
    Master-Jedi-Pimps0r & Moderator thehorse13's Avatar
    Join Date
    Dec 2002
    Location
    Washington D.C. area
    Posts
    2,884
    Glad to be of assistance!
    Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
    Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •