No let lookup in lion?

I recently bought a new MacBook that shipped with OS X Lion. When I open the terminal.app and enter "net lookup *name*" I get -bash: net: command not found
On my old MacBook running SnowLeopard the command works perfectly.
A /bin/echo $PATH gives me /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin which looks ok.
I then checked /usr/bin and there was no "net" while on my old machine there was "/usr/bin/net"
Did they remove it in Lion? And if so, how can I get it back? Is there a way to install it?
I searched the web and this forum but apparently either no one is suffering the same problem or no one else is depending on the "net" command like I am.
Any advice appreciated.
Thanks in advance.

I believe the functionality you need is now in a tool called smbutil.
From the smbutil man page:
smbutil [-hv] command [-options] [args]
lookup [-w host] [-t node_type] [-e] name
             Resolve the given name to an IP address.  The NetBIOS name server can be directly  specified via the -w option. The NetBIOS name type can be specified via the -t, the  default is to lookup file servers. For a complete list of name type please see                        "http://support.microsoft.com/kb/163409".  The NetBIOS names will be unpercent escaped out if the -e option is specified.

Similar Messages

  • Running Firefox. Won't let me download lion upgrade

    Trying to upgrade to lion from snow leopard 10.6. Firefox is not recognizing the site and won't let me download the upgrade. Any suggestions.

    The upgrade is downloaded in the App Store application, Neither Firefox or Safari is used for this.
    Regards,
    Captfred
    Edit:  Snow Leopard must be at the 10.6.6 level or above for the App Store to be present.

  • App store won't let my buy lion

    I have a 2007 MacBook that originally came with 1G (2 cards) RAM.  I have upgraded my system everytime I needed to (most recently to leopard), and when I went to buy Lion on the App store, it said I needed 2G of RAM.  OK, I did all my research and found that I could safely upgrade my RAM to 3G, so I did.  Then I confidently went to the App Store and .... no.  Now it says I need 3.something G to buy Lion.  What is going on???  I have cleaned up my computer, got rid of nearly everything extraneous, and nothing...I can't get it.  Can someone help me?

    hunttvillage wrote:
    Sorry, OK, I replaced the original 2 cards with (1) 1G and (1) 2G cards (DDR2 PC50300 SO) from Other World Computing.
    You added 2-2GB RAM, but can only address 3GB.
    The message is:  You need 3.54 GB of available space to download Mac OS X 10.7. Remove items from your startup disk to increase available space.
    I have 2.88G available memory.  Sooooo... any takers?
    The 3.54 GB is refering to the space on the hard drive, you don't have enough room to download Lion, much less install it.
    I see what your problem is, your computer has slowed down substancially because your hard drive was filling up, so you thought if you upgraded to Lion that it will be faster.
    Lion will NOT make your machine faster by itself (10.7 is slower than 10.6) and installing on a full hard drive will make your machine even slower!!
    Your problem is your hard drive is filled, you need to keep boot drives less than 75% filled and ideally less than 50% for optiminal performance with the operating system and programs all up at the front of the hard drive where data is more responsive and the files etc at the end of the drive.
    My advice is you STOP, do NOT install Lion at this time until you have:
    1: Made a backup of all your data off the computer to a regular external drive (not TimeMachine) and disconnect.
    2: Boot your computer from the 10.6 install disk by holding c and using Disk Utility to erase your boot drive.
    3: Reinstall 10.6 fresh, setup with the same username, then update to 10.6.8, then if you wish update to 10.7, (but I advise against it)
    If you upgrade to 10.7 your going to have to find all new 10.7 compatible software, including printer and scanner drivers.
    Please, do not install 10.7 the way your going, your going to brick your machine, I see it coming and we will not be able to help you as you wil lbe offline.
    If you don't know what your doing, please let a experienced Mac specialist assist you.

  • Lion Beta won't let me install Lion

    I installed Lion Beta then updated it on the next releast through the system update. When viewing About this Mac I see:
    Version 10.7
    Build 11A494a
    So I can verify I'm not on the latest release throught the build number.
    When going to the app store I see Lion in my Purchas history, which claims I've already installed it and that I can't do it again. When trying to redeem my code it throws an error saying that I can only use it once:
    This code has already been used.
    Each code can only be used once.
    Do I have any other options than restoring to factory settings and re-downloading?

    I only see the install button

  • The app store will not let me download lion

    i have tried to download lion a bunch of times and it will keep telling me i need two gb of space... my finder told me I have 80 gb left on my computer, how do I fix my problem.

    "Space" is hard disk.
    It is telling you, most likely, you need 2 GB of "memory"  or RAM.
    AppleMenu > About This Mac ... how much memory and what kind of processor?

  • HT4718 How I force recovery to go to Internet recovery as the local doesnt let me reinstall lion

    My computer restarts in recovery mode but doesn't allow me to erase my drive or reinstall lion.
    I don't even see my hd anymore.
    How do I force the Internet recovery and how do I for e rescan to see my drive again.

    What year was your Mac made? If it was before 2010 there is NO internet recovery system for those older Macs.
    And even if it is a 2010 model it has to have the latest firmware installed to use the Internet Recovery system.
    What you have to do on older Macs is use the original install disc that came with your system or a Snow Leopard Retail disc to boot the system and nwipe the drive.
    Then reinstall one of those versions of OS X, Update to 10.6.3 (Retail version of Snow Leopard) then Update that to 10.6.8 from software update then you can reinstall Lion.
    But it sound like you have hard drive problems and if your system is older then a 2010 model more then likely the hard drive is failing and needs to be replaced.
    Next time you get to install Lion create either a Lion Recovery USB stick, useing the Lion Recovery Disk Assistant program downloaded from Apple or use the Lion download, Before you install it, to create a Lion Install USB thumb drive.

  • Why is the Up to date program not working correctly and letting me download Lion when I have a qualifying system?

    The Apple online store doesn't seem to recognize my serial number or says it is not correct?  What is going on with this???

    Well I finally figured out why my serial wasn't working. Apparently it was because my system was customised as opposed to off the rack, not sure why this should be a problem though.
    Anyway, I used the old paper and fax method and have received confirmation that it is on it's way. If you haven't received confirmation I'd recommend chasing Apple to find out where it is.

  • TS3212 the file iTunes itl cannot be read, and I cannot down loan iTunes, it won't let me, in Lion Osx

    I had to replace my new mac mini with a newer one because the hardware was bad.  An even exchange, and the information was transferred.  I cannot open itunes, and get the message "the file itunes itl cannot be read" and I am advised to download a new version of itunes.  The software update won't download any new version because I am told that itunes is already up to date.  I tried downloading from the apple site, and can't get itunes to open anyway. Anybody can help?

    Perhaps check to see if you're accidentally running two different versions of iTunes. There's some information on troubleshooting that in the Opening iTunes section of the following document:
    Troubleshooting iTunes installation on Mac OS X

  • The app store isn't letting me purchase lion

    I made an account and have everything lined up but when I click the buy app button it does nothing. 

    Then, http://www.apple.com/support/mac/app-store/contact.html?form=account

  • How do i install lion on a different drive when i'm running mountain lion

    Lotus notes is incompatible with 10.8. The app store will not let me redownload lion even though i paid for it. I do have the "installESD.dmg" and I get the message that the new system is newer so it won't install it. Any suggestions? I need to install 10.7 on an external drive as school starts next week and I have to do a bootcamp prior to learn the school's sytem of doing things. TIA. Welcome to the cloud way of doing things, I don't like it.
    k

    Use this program to create a Lion Install USB thumb drive.
    Serial Serveur » Lion DiskMaker (US)
    Then once it is created partition your internal drive or connect an external drive and Reboot the system and hold down the Option key. That will boot the system to a Boot Menu screen. Select the USB thumb that has the Lion installl files. Once the system starts fromthe installer Point it to either the external drive or the second partition you created.

  • How do I totally remove the 'ghost' of mountain lion from my ibook G4? I erased and restored to panther then Snow Leopard but ML still causing problems

    I am not very tech savvy but work from home and have used Macs for about 18 years, so know the basics. Have had iBook G4 for almost 5 years, it came with Panther Discs and later added Snow Leopard. Never had even the slightest issue until about 2 months ago. Kept getting "browser no longer supported" on websites and eventually could no longer edit my own Jimdo website or publish on YUDU, so downloaded Mountain Lion and installed it on my iBook.
    Straight away it was much slower to start up,  wasn't that keen generally, but used it for 6 weeks hoping I would get used to it. At that point my older Mac Mini (also running on Snow Leopard) died and as I wanted to continue using my printer and scanner (neither had drivers to work with Mountain Lion) I went to Time machine and restored my iBook to the day before I installed Mountain Lion.
    iBook was better immediately and started faster again, everything fine for about 3 weeks and then last wednesday my iBook would not come back on. The grey start up window showed the apple and whirly wheel for between 5 to 10 minutes, then just a blank blue screen. I could move the cursor but that was it. Tried to start up again many times, eventually the grey apple was taking up to 15 minutes before the blue screen. Refused to go beyond that blank blue screen when holding down C and starting up from either Panther or Snow Leopard discs or from Disk warrior disc. Disc Warrior and Utilities said nothing was wrong with the hard drive but always showed the HD icon with a yellow exclamation sign over it.
    Because of work pressure, after 48 hours with no improvement, I wound up buying a new iMac, so can work but still would love to have my iBook back, plus use of my Printer and scanner again. Last night finally managed to Panther reinstalled after erasing 4 times and many failed attempts at install. Everything seemingly fine but Snow Leopard first reinstall failed so erased once more. Second time SL installed but gave a warning in red saying something to the effect that as I am installing an older OS over a newer one, there will be issues. This leads me to believe that somehow, despite Time Machines and now 5 separate Hard Drive erasures through utilities, Mountain Lion is STILL on there? How on earth can I get rid of it and return just to Snow leopard. Any help really welcomed as I am at the end of my tether but don't want to give up on my old faithful (until now) iBook
    PS: Sorry if I post in the wrong section

    First, that cannot be an iBook G4 as that machine cannot run Snow Leopard let alone Mountain Lion.  To run Snow Leopard it has to be an Intel processor, not a G4.  What does it show as the Model Identifier in About This Mac, More Info, System Report, Hardware, Model Identifier?
    Second, if you have erased the hard drive there should not be remnants of any prior content.  Even though Disk Warrior is saying nothing is wrong with the hard drive, it sounds as though there are problems.  You may want to consider simply replacing the hard drive so there are no questions about faults.  A good source is OWC, http://www.macsales.com where they also have on-line videos showing how to do the replacement.
    Third, you could also try again to restart using the Snow Leopard DVD/CD and use Disk Utility on that install disk to erase again, and do it a couple times, then try to install.  If it continues to refuse, then it sounds as though there is a fault with the hard drive.

  • IMac 8.1 3.06 GHz w/6 MB Ram, Lion and dead HD? all I get is "Gray Screen w/wirlie gig" but now for a new twist a circle with a diagonal line, like don't go. Is this a DEAD HD?

              I have a iMac 8.1 3.06 GHz w/6 MB Ram, and was running Mac OS X 10.6.8. My 500 GB WD5000AAKS was about 90% full. I had an issue with the admin password, it would not accept any of my known passwords. I ran for a while on the fingerprint reader I had, we have two users on the machine in our home. I tried many attempts to fix this problem without success I came up with a plan. That plan was a new HD, used a 2TB Samsung. plan worked like a charm. Installed a 4 GB Ram Chip and the new Samsung, formatted it, loaded Snow Leopard, and loaded what was on my Time Machine backup all was good.
              This was early July, then Lion was available I was happy with what I had, I had 1.450 TB of free space. So, what the heck, lets spring for Lion, that even went well for a not even 2 weeks, enough that I had several Time Machine backups.
               Then monitor goes flash, flash then I try a re-boot same gray screen with whirlie gig that I had when the the HD in my MacBook Pro died. Put the old 500 GB WD back in and all was fine, ran for a day. It was OK except back to no password and full. Went down to my local computer shops here in Rayong Thailand and sprung for a New 2 TB WDXXX, put that in, used my Snow Leopard disk to format and load OS X 10.6.8. I though that all was good, the load from Time Machine was slow and the time remaining was changing all the time, took about 3 hrs for about 300 MB that where on the LaCie.
              Now I have a password issue, however it asks for a password reset that it will NOT take and I don’t even get that now. All I get is the infamous “Gray Screen w/wirlie gig” but now for a new twist a circle with a diagonal line, like don’t go. Is this a DEAD HD? I plan to re-install the old 500GB just to systems check and if all is well I will take the “NEW” 2 TB WD back for replacement. I am thinking that I should put the new HD in and format and load Snow Leopard then up date to Lion then do my Time Machine backup. The only problem is does the circle with the diagonal line mean something more? If so how does one recover Lion with no disk if that is what I need to do. Yes, I have tried control “R” on boot, nadda, no response, “mai dee” no good. Ideas, please.

    I have an iMac 8, 1 that I upgraded Leopard to Snow Leopard.  It was totally updated with the latest from Apple when I bought and tried installing Lion.  The upgrade failed, shot my OS and I couldn't boot.  Had the constant spinner on a grey screen..  did a format of the drive, hdd repair and everything came back clean... got back to Snow Leopard and all the updates on it again and then retried the Lion thing... same bs... dead duck.  Crashed my system one too many times.  I can't see where a few small changes, mostly app related can be classified as an OS upgrade and is not compatible with my iMac.  I have the stuff running on my Mac Pro but have yet to notice anything impressive.  I've always used F3 and really didn't require Mission Control.  Just open you app folder for launch pad... duh?  I use the hot corners anyhow.  As far as Safari is concerned... as a power user, Apple missed the boat on that for me.. full screen etc.. Wow.  I don't like the new Mail either..
    As you can see/read, I'm less than impressed with this release from Apple but I own so many of their products that I will have to put up with it for now... somehow the MS logo should apply to this release Steve.

  • How do i get mountain lion to reinstall

    I earased every thing on my computer and i cant reinstall mountain lion because it is not one of the reinstall bars it will only let me reinstall lion but i never purched lion how do i get mountain lion to be one of the reinstall bars

    Take it to an Apple Store, have proof of purchase with you.

  • Mac OS X Lion Server screen freezes frequently

    I have recently purchased the Mac Mini Server with 8GB RAM Upgrade and have been experiencing screen freezes frequently. The Mac Mini is connected to a ViewSonic LED Monitor via an HDMI cable and is running Mac OS X Lion Server.
    It all started a month ago and I suspected it was due to an external hard disk I had. When I removed it the problem didn't crop up for a few weeks. So I thought the issue was resolved.
    Over the past week the problem re-surfaced again and nearly everyday I am experiencing screen freezing about five times a day and the only option is to power down my Mac Mini Server from the power button. This is becoming increasingly frustrating. When screen freezing occurs, everything freezes and I get some small rectangular boxes on screen moving.
    The only things that have changed over the past week was that I installed the latest Safari fix and connected the Harman Kardon Sounsticks II to the Mac Mini.
    Can't understand what is happening. From various threads I read, many mac users are experiencing screen freezes. If anyone has any resolutions please let me know.

    Lion has a screen refresh bug it is just the screen going to sleep and the the screen updating only where the curser moves.

  • Lion serial number, Hungary

    I want to ask for help! Google translator, I write because it is difficult for me to go for English, Hungarian vagyoNekem I did not accept the June 30 purchase on the apple macbook pro serial number system that is free, free letőlthessem the Lion. Since then, Iagree, I talked to the shop where I bought the drug and water well.That was more than a week ago. They sent my account and myserial number for you. Please look after him where you are in the process and when you expect to get a reed code. What id give it.My name is Thomas Gyócsi. I write from Hungary, here I boughtthe machine, in Budapest. Thanks in advance for their help.

    Hey, but the Hungarian connection link, the Hungarians can speak only in English.
    All you need to ask if the serial number and bill a week ago, more precisely, on Thursday last week sent. And, when you get a code to download.
    Thomas

Maybe you are looking for