Sneakernet, revisited

In case you read my post, Email, the New “Sneakernet”, you might have been left wanting to know more about how to use Samba. There are plenty of sites and books dedicated to the topic, but here’s a quicky post on how to most easily use Samba.

To make your Linux, UNIX or Mac files available to Windows clients, do this:

  1. Make sure you have a reasonably recent version of Samba on your Linux, UNIX or Mac machine. 3.x is generally good; 2.x is not.
  2. Edit or create /etc/samba/smb.conf to look like this:
  3. [global]
    workgroup = WGNAME
    netbios name = MYMACHINE

    path = /PATHTOSHARE
    public = yes
    guest ok = yes

    Where WGNAME is whatever you want to use as your Windows “workgroup name”, MYMACHINE is your computer’s “netbios” (short, network) name — one that ideally matches your DNS name, SHARENAME is the public name of your “share” (for example, “BobsHomeDir”) and PATHTOSHARE is the file system path that you want to make available as that share (for example, “/home/bob”).

  4. After creating or editing the /etc/samba/smb.conf file, you must start/restart the smbd daemon. Do this with:
  5. /etc/init.d/smbd restart

    (Note: Different versions of UNIX, Linux and Mac OS X do this differently).

  6. To access the files shared in step 2, on your windows machine, type:
  7. net use * \\MYMACHINE\SHARENAME

    Replacing MYMACHINE and SHARENAME as needed.

Doing the reverse, accessing Windows files from Linux/UNIX/Mac is easier. You don’t need to configure anything or run any daemons:

  1. As above, make sure you have a reasonably recent version of Samba.
  2. Run the smbclient program from the command line. It’s arguments look like this:
  3. smbclient -U DOMAIN\\username //WINCOMP/SHARENAME

    Replace DOMAIN and username with the Active Directory short domain name and username of a user that has access to the computer whose files you’re trying to reach . Replace WINCOMP with the name of that computer. You can use its short, Netbios, name or its fully qualified DNS name (e.g. wfsshare or Replace SHARENAME with the name of the “share” on the Windows computer. Note the use of a double “backslash” when specifying the username and domain. When using the command line shell on Linux/UNIX/Mac, you typically need to type in two backslashes when you want one. The backslash is a special “escape” character and you need two of them to end up with just one. No kidding.

  4. The smbclient program will prompt you for the password of the username that you specified. Type it in.
  5. The program will display a prompt and wait for you to type a command. At this point, pretend you are in ftp. Use the ls command to list available files. Use cd to change remote directories. Use get to retrieve a file. mget is also useful because it supports wildcards. put and mput can be used to copy files from Linux/UNIX/Mac to Windows. Use bye to quit.

There is an alternative to using smbclient. You can use the “smb filesystem”. This approach lets you “mount” a Windows disk into the Linux/UNIX/Mac filesystem so that you can access its files like you would any local file. Here’s how you do that:

  1. Create a “mount point” in your file system. This is where you want your Windows files to appear. On Linux, the media directory is often used for flash drives and other transient “disks”. You might want to use it for this purpose, too:
  2. mkdir /media/fromwindows

    (Replace fromwindows with whatever you want).

  3. Use the mount or mount.cifs command to mount your Windows share to the mount point. I’d try the second form first:
  4. mount.cifs //WINCOMP/SHARENAME /media/fromwindows -o user=USERNAME,password=PASSWORD

    WINCOMP and SHARENAME are as used earlier. USERNAME and PASSWORD are the username and password of a user that has permissions to access the given Windows file share.

  5. If your system complains that it doesn’t know mount.cifs try this instead:
  6. mount -t cifs //WINCOMP/SHARENAME /media/fromwindows -o user=USERNAME,password=PASSWORD

If this doesn’t work, try substituting smbfs for cifs. If that doesn’t work, just email the damned files!

154 Responses to “Sneakernet, revisited”

  1. xbttyqwwf tosim lebitcw uglx xsqpkdxisfduhmi

  2. Skin Care says:

    947929 484884Discovered your weblog and decided to have a study on it, not what I usually do, but this blog is great. Awesome to see a website thats not spammed, and in fact makes some sense. Anyway, wonderful write up. 386842

  3. Makeup Tips says:

    485164 892352Rattling clean web site , appreciate it for this post. 371651

  4. 218448 278064Some genuinely prime posts on this website , bookmarked . 760724

  5. 884688 827559There will be several completely different portions about the LA Weight reduction eating strategy and 1 is actually critical. Begin stage is your actually truly of these extra load. weight loss 508526

  6. 257892 966324Hi, you used to write outstanding articles, but the last several posts have been kinda lackluster I miss your super writing. Past few posts are just just a little out of track! 682877

  7. 186883 934327Really well written story. It will probably be helpful to everyone who utilizes it, as effectively as myself. Maintain up the good work – i will surely read far more posts. 407464

  8. 719556 361675Hello fellow internet master! I really enjoy your web site! I liked the color of your sidebar. 566011

  9. 904019 245725I actually prize your piece of function, Fantastic post. 474742

  10. 586 705081Quite informative post. Your current Web site style is awesome as well! 630921

  11. 972728 250807I besides believe therefore , perfectly composed post! . 194786

  12. 120208 781017i was just surfing along and came upon your blog. just wanted to say very good job and this post genuinely helped me. 92829

  13. 208498 871127Ive applied the valuable points from this page and I can definitely tell that it gives a lot of assistance with my present jobs. I would be quite pleased to keep finding back in this web page. Thank you. 792801

  14. 810947 255994Greetings! Quick question thats completely off topic. Do you know how to make your site mobile friendly? My internet site looks weird when browsing from my apple iphone. Im trying to find a template or plugin that may well be able to correct this problem. In case you have any suggestions, please share. With thanks! 419879

  15. 938785 102473There is evidently a good deal to know about this. I consider you created certain good points in attributes also. 904325

  16. Camille says:

    286066 587344I want to admit that that is 1 fantastic insight. It surely gives a company the opportunity to have in about the ground floor and really take part in making a thing unique and tailored to their needs. 93423

  17. 709326 210067Hi there, just became aware of your weblog via Google, and identified that it is truly informative. Im gonna watch out for brussels. I will appreciate in case you continue this in future. Lots of individuals will likely be benefited from your writing. Cheers! 556609

  18. 933417 945321Enjoyed searching at this, extremely very good stuff, thanks . 435458

  19. 34142 468724Hmm is anyone else having troubles with the images on this weblog loading? Im trying to figure out if its a difficulty on my end or if it is the blog. Any responses would be greatly appreciated. 414667

  20. 926162 170042I dugg some of you post as I thought they were handy very valuable 892354

  21. 509183 857739I genuinely enjoyed this. It was extremely educational and useful. I will return to examine on upcoming posts 164913

  22. 576747 119984There is noticeably big cash to realize about this. I suppose you created specific nice points in functions also. 693072

  23. 450475 49580This is actually fascinating, You are a very skilled blogger. Ive joined your rss feed and look forward to seeking much more of your magnificent post. Also, Ive shared your internet internet site in my social networks! 814190

  24. 944924 687593woah i like yur site. It really helped me with the info i wus searching for. thank you, will save. 78236

  25. 545002 615020Its really a good and useful piece of info. Im glad that you just shared this useful information with us. Please keep us informed like this. Thanks for sharing. 323737

  26. 13620 971211Hello there! I could have sworn Ive been to this weblog before but following checking through some of the post I realized its new to me. Anyhow, Im definitely glad I identified it and Ill be bookmarking and checking back often! 426861

  27. 230616 189014Hey there! Good stuff, please keep me posted when you post something like this! 175553

  28. website says:

    520250 243963This design is spectacular! You obviously know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Fantastic job. I really loved what you had to say, and more than that, how you presented it. Too cool! 450313

  29. 268910 810384Hey, you used to write wonderful, but the last several posts have been kinda boringK I miss your tremendous writings. Past several posts are just a little bit out of track! come on! 710470

  30. 520085 729086Intriguing post. Ill be sticking around to hear a lot far more from you guys. Thanks! 634225

  31. 456671 217830Wow, amazing weblog layout! How long have you been blogging for? you make blogging appear straightforward. The overall appear of your web website is wonderful, let alone the content material! 868567

  32. 482501 458075Wow, wonderful weblog layout! How lengthy have you ever been running a blog for? you make running a blog glance easy. The total look of your internet internet site is magnificent, nicely the content material material! 570708

  33. porn says:

    978467 752304Hey. Neat post. There is really a issue together with your web site in firefox, and you might want to check this The browser is the market chief and a large component of other folks will omit your excellent writing because of this issue. 173536

  34. 414734 667901If you happen to significant fortunate people forms, referring by natural indicates, in addition you catch the attention of some sort of envy in consideration of those types the other campers surrounding you which have tough times about this subject. awnings 440543

  35. 310343 544220I consider something genuinely special in this internet site. 773046

  36. Adrianna says:

    303093 521078Some truly good content material on this web website , appreciate it for contribution. 927526

  37. Rebecca says:

    918542 296487Really man or woman speeches need to have to seat giving observe into couples. Brand new sound system just before unnecessary folks need to always be mindful of usually senior common rule from public speaking, which is to be the mini. best man speaches 687096

  38. 520008 563177Music began playing any time I opened this internet site, so frustrating! 282201

  39. 온카지노 says:

    293547 156726This sort of wanting to come to a difference in her or his lifestyle, initial generally Los angeles Excess weight weightloss scheme is really a large running in as it reached that strive. weight loss 109307

  40. 301438 118744really nice publish, i surely adore this web internet site, carry on it 480973

  41. 154018 704861Id should verify with you here. Which isnt one thing I often do! I get pleasure from reading a put up that will make individuals believe. Furthermore, thanks for permitting me to comment! 888868

  42. 270062 360222Superb blog here! Also your site loads up rapidly! What host are you making use of? Can I get your affiliate link to your host? I wish my website loaded up as rapidly as yours lol 902732

  43. 49303 710262I just could not go away your web site prior to suggesting that I truly enjoyed the standard info an individual supply to your visitors? Is gonna be again continuously in order to check out new posts 460635

  44. 358499 911588Sweet web internet site , super style and design , rattling clean and utilize genial . 367654

  45. 21836 224130Oh my goodness! a amazing post dude. Several thanks Nevertheless We are experiencing difficulty with ur rss . Dont know why Can not sign up to it. Could there be anybody discovering identical rss difficulty? Anyone who knows kindly respond. Thnkx 577130

  46. 952597 923623You must consider starting an email list. It would take your web site to its potential. 859956

  47. 435847 217255Thank you pertaining to giving this outstanding content material on your web-site. I discovered it on google. I may possibly check back once more in the event you publish extra aricles. 850254

  48. 320465 658933Intersting post and website. Excellent that Google listed so i was able to get here. This site will go no in my bookmarks from now. 659617

  49. 864103 43317Neat blog! Is your theme custom made or did you download it from somewhere? A theme like yours with a few simple tweeks would really make my blog shine. Please let me know where you got your design. Bless you 531222

  50. 267052 978907Man you legend. return see my internet site, you should get pleasure from it. 870911

  51. 46978 599151You completed certain great points there. I did looking on the topic matter and discovered most persons will go together with your blog 425024

  52. 749552 85335Currently it seems like BlogEngine will be the greatest blogging platform out there correct now. (from what Ive read) Is that what you are utilizing on your blog? 272925

  53. 5603 23256Hello! I just would like to give a huge thumbs up for the fantastic information youve here on this post. I might be coming back to your weblog for more soon. 391139

  54. you’re truly a good webmaster. The site loading pace is amazing. It sort of feels that you’re doing any unique trick. In addition, The contents are masterwork. you have done a great activity in this subject!

  55. its pleasant dialogue about this piece of writing here at this blog, I have read all that, so at this time me also commenting at this place.

  56. A person essentially help to make seriously articles I would state. This is the very first time I frequented your web page and thus far? I amazed with the research you made to make this particular publish amazing. Great job!

  57. Wow, thanks for sharing, I have learned so much here on your site, thought I’d let you know your efforts are appreciated.

  58. Valuable info. Lucky me I found your site by chance, and I’m surprised why this twist of fate did not happened in advance! I bookmarked it.

  59. months. A simple process will even enable Australians to bar themselves from online gambling

  60. for an indefinite period of time. Minister pointed out that they believe the measure will

  61. betting33 says:

    “So perhaps the projections, the CONEVAL forecast was made using old assumptions or using older plans. Now it’s different,” said Lopez Obrador.

  62. If the CONEVAL forecast were to come to pass, it would be a sharp reversal of the progress made in recent years. According to the report, Mexico reduced extreme poverty to 7.4% of its population or to 9.3 million people by 2018, from 11% of the population or 12.3 million people a decade earlier.

  63. “The international health crisis caused by the COVID-19 disease in Mexico may reverse the advances of the last decade in social development and jeopardize the capacity households have for economic recovery,” said CONEVAL.

  64. The government is issuing millions of loans to medium and small-sized businesses to help them through the pandemic, and has gradually stepped up relief measures. Still, their scope is modest compared with some countries.

  65. Some analysts forecast Mexican gross domestic product could contract by up to 10% this year and Bofa Merrill Lynch Global Research projected on Wednesday that 1.2 million formal jobs would be lost in 2020.

  66. You cann’t imagine just һow much time I had spent for

  67. For instance, Los Angeles residents Nicole and Paul Viazcan came prepared with wipes, hand sanitizer, and Lysol 카지노사이트

  68. the Review-Journal said. They last visited Las Vegas in January and noted the many pedestrians on Friday not wearing masks. 샌즈카지노

  69. While at the Bellagio fountains, Jaylen Torres and her fiance, Abisai Garcia, said they drove to Las Vegas for the day from Salt Lake City. They planned to visit the Linq Hotel’s High Roller. 퍼스트카지노

  70. “It seems slow,” Garcia told the Review-Journal about the vibe and crowd size. “Businesses aren’t open as early,” he added. 예스카지노

  71. Nate Johnson, an Illinois resident who frequently visits Nevada with his wife, told the Review-Journal Las Vegas is 더킹카지노

  72. not nearly as much fun” during the pandemic than it was before the COVID-19 outbreak. They are staying at the Bellagio 카지노사이트

  73. BTL카지노 says:

    Welcome to
    leading online entertainment betting site that presents you with different online betting experiences, including sports betting, online casinos, live casino games, online poker, slot machines and more.

  74. SkyCasino at SkyAvenue and Genting Club at Genting Grand Hote 카지노사이트

  75. enterprises from last month before proceeding with the similarly-cautious re-opening of some of its other amenities. 더킹카지노

  76. The source cited a research note from financial services firm CGS-CIMB in reporting 샌즈카지노

  77. that Resorts World Genting has since experienced a steady rise in visitation through the first two 퍼스트카지노

  78. weeks of July and has now doubled its overall hotel capability to approximately 4,000 rooms so – 예스카지노

  79. visitors spending an average of $423 per person, with GGR and net revenue each declining 18 percent. – 카지노사이트

  80. The gaming hub hasn’t been below 39 million annual visitors since 샌즈카지노

  81. and that $423 spending figure is merely in line with the post-global financial crisis average. 더킹카지노

  82. Adding to the pressure on Las Vegas operators is an issue they cannot 예스카지노

  83. Assuming that news is good, it would still take several months before the product could be widely distributed. 퍼스트카지노

  84. OMG카지노 says:

    I like reading through a post that will make people think. Also, thank you for permitting me to comment.

  85. by White Lake police and an FBI task force on July 31 while driving west along 카지노사이트

  86. around 30 miles from where the body was found. He sustained unspecified 샌즈카지노

  87. injuries during his arrest and required hospitalization. Authorities said the suspect 더킹카지노

  88. was charged Wednesday while still in his hospital bed. 퍼스트카지노

  89. Hild declined to comment on Morris’ condition, but said he is expected 더존카지노

  90. OMG카지노 says:

    Picking the Most Reputable Online Gambling Establishment

  91. I just like the valuable informationyou provide for y

  92. OMG카지노 says:


  93. syy577 says:

    The MOSE project has been in the works since 1984, but has been so beset by delays and corruption that many Venetians never believed it would work.

  94. shine900 says:

    “It doesn’t seem true,” says Serena Nalon, at the Bottega del Mondo shop in Cannaregio. Her business — a fair trade co-operative — suffered major damages in last year’s floods.

  95. gain777 says:

    “I was very skeptical — not least because they’ve spent so much money, without any result until now, so this morning I had minimal expectations,” she says.

  96. I think this is among the most significant information for me.
    And i am glad reading your article. But want to remark on few general things,
    The site style is wonderful, the articles is really great : D.

    Good job, cheers

  97. qqueen700 says:

    The collector head made direct contact during the event Tuesday — and then some. Over the course of the six seconds when the head touched down, it sank 5 centimeters into the asteroid’s surface. When the pressurized nitrogen gas bottle fired, designed to lift up material from the surface, the head sank an additional 24 to 48 centimeters into the surface material.

  98. OMG카지노 says:

    If you’re looking for a proven and reliable casino company, this is it. You can enjoy various games such as baccarat, blackjack, roulette, and big wheel safely.

  99. OMG카지노 says:


  100. OMG카지노 says:

    After looking into a few of the blog posts on your web page, I really like your way of blogging. I saved as a favorite it to my bookmark webpage list and will be checking back soon. Please visit my website too and let me know how you feel.

  101. OMG카지노 says: 슈퍼카지노

  102. Jak potrzebujesz tabletki na trądzik to sprawdź mojego bloga. Najlepsze suplementy na trądzik oraz sprawdzone leki.

  103. I wanted to post you that tiny remark to say thanks a lot over again just for the pleasant solutions you have featured in this case. It was really shockingly open-handed with you to grant publicly just what many of us might have offered for an ebook to generate some cash for themselves, most importantly given that you could possibly have done it if you ever decided. These inspiring ideas also served like the fantastic way to comprehend other people have similar eagerness like my own to know great deal more on the topic of this issue. I am certain there are millions of more fun opportunities in the future for individuals who look over your blog post.

  104. I needed to post you the very little remark to be able to thank you the moment again on your pretty suggestions you have provided on this page. This has been simply strangely open-handed with you to offer unhampered precisely what many people would’ve offered for sale for an ebook to help make some money on their own, particularly seeing that you might have tried it in case you desired. Those strategies in addition worked to become good way to know that some people have the identical keenness really like my personal own to realize much more when considering this matter. I believe there are several more pleasant sessions up front for people who read through your site.

  105. endep prices says:

    A lot of thanks for all your valuable hard work on this web page. Kim really likes getting into investigation and it’s really easy to understand why. Many of us know all of the dynamic medium you make invaluable steps on this web blog and as well as improve participation from people on that idea so our girl is certainly learning a lot of things. Have fun with the remaining portion of the new year. You are conducting a pretty cool job.

  106. I am glad for writing to make you know what a incredible encounter my friend’s girl gained studying your web site. She learned plenty of pieces, which include what it’s like to possess an awesome helping nature to let other folks very easily know just exactly several multifaceted subject matter. You truly exceeded people’s expectations. Thank you for presenting these powerful, safe, explanatory and in addition fun tips about this topic to Julie.

  107. Thanks for the suggestions about credit repair on this particular web-site. The things i would offer as advice to people is usually to give up this mentality that they buy at this point and fork out later. As being a society most of us tend to make this happen for many factors. This includes trips, furniture, in addition to items we’d like. However, it is advisable to separate one’s wants from the needs. As long as you’re working to raise your credit ranking score you really have to make some trade-offs. For example you may shop online to economize or you can check out second hand outlets instead of high priced department stores intended for clothing.

  108. OMG카지노 says:


Leave a Reply