dslreports logo
site
spacer

spacer
 
    All FAQs Site FAQ DSL FAQ Cable Tech About DSL Distance DSL Hurdles »»
spc

spacer




how-to block ads



This Section

7 Networking

Primary note: Leopard (10.5.x) has an auto-tuning TCP/IP stack. There is no longer a need for user intervention.

First of all, if you've run the Tweak Tester it likely advised you to turn on 'selective ACKs;' unfortunately selective ACKs are not supported by OS X.

Update: As of Mac OS X 10.4.8 released 9/29/06, selective ACKs are now on by default.


  • A brief note on MTU values: the default MTU under OS X is 1500, and this will work fine for most users. Some ISP/router combinations require a user to change the MTU to a different value, usually 1450. In these cases the change to the MTU isn't made to improve performance; it ensures functionality. Usually, if not always, the DSLR Tweak Tester will report the MTU of an OS X machine as 1488 - this is a misreading on the part of the Tweak Tester caused by OS X having timestamps enabled (see below).


To change timestamps to off, and eliminate the '1488' (i.e. the erroneous MTU of 1488 reported by the Broadband Reports Tweak Tester), this value: "net.inet.tcp.rfc1323" should be set to zero.

To restore timestamps, the value should be set to 1 (note: this the system default.)

There is now a GUI utility called RMAC * that will modify the MTU value, timestamps, TCP receive window, etc. The documentation is in Japanese, but its use is quite self-explanatory. If you want your modifications to survive a reboot, make sure to have RMAC install a Startup Item.

    A note on how RMAC works: when you launch it, it presents you with a number of networking parameters you can change (e.g. MTU, RWIN, timestamps, etc.). When you change the values and click 'apply' RMAC changes the settings just as if you were typing the commands (e.g. sudo ifconfig en0 mtu 1450) at the comand line in Terminal. Thus, you can play with these various settings to optimize your connection. However, when you restart your machine these settings will be lost, as OS X will load the default network parameters at boot time.

    For this reason RMAC gives you the option to "Install RMAC to StartUp Item" - do not confuse a StartupItem with a login item, i.e. an application which is automatically launched at login. What this does it create a script which is placed in '/Library/StartupItems' (a directory which is created if it doesn't already exist). This script overwrites the OS X networking defaults at boot time with current modifications you have made to the networking parameters via RMAC. This procedure is very similar to the one described in the Apple KB article, except the process is automatic - RMAC does all the work. If you wish to add commands that aren't included in the RMAC GUI (e.g. ethernet speed or duplex. even ipfw rules), you can add them yourself by clicking the 'Edit Script File' button. After RMAC has installed the StartUp item there is no need to run the application again, unless you want to make further changes.


* Note about RMAC: The previous link to this utility no longer works. You can currently find it on this Japanese SourceForge page (Google translated page). Thanks to mirage3d See Profile for the heads up.

From Aygeear See Profile:
For 10.4.x and earlier I use Platypus... It allows setting the parameters either on demand or permanently (just put the Platypus script in the Startup Items preference pane.

If you'd rather set the parameters by 'hand' (10.4.x and earlier), all it takes is a terminal command:
sudo sysctl -w net.inet.tcp.recvspace=x, where x is the desired RWIN. This will not survive a reboot, though.

Feedback received on this FAQ entry:
  • For 10.4.x and earlier I use Platypus... It allows setting the parameters either on demand or permanently (just put the Platypus script in the Startup Items preference pane.

    2010-07-12 14:00:20 (Aygeear See Profile)

  • IPNetTuner from Sustainable Softworks runs under Leopard just fine, and uses XML scripts so NO changes are permanent! The tool can reset defaults at any point in time. Also, this utility allows the changing of a fairly large set of parameters for the more technically inclined. It also comes with pre-written scripts that work rather well. No interest/relationship with the company: just a very happy Mac Camper who chooses his utilities carefully, and as an english speaker would prefer software written in english if I am going to tune my TCP/IP stack FULLY, and not just increase the size of the receive window. HTH. Regards, Albert Kleiman DSLR Premium User DSL user since 1999 Former Programmer/Analyst, now disabled

    2008-05-09 14:30:20 (Albtross2 See Profile)



by JJ See Profile edited by tmpchaos See Profile
last modified: 2010-07-12 15:25:16

In general, there's no need to tweak the built in OT settings. OT automatically senses and adjust the settings to optimize your connection. That said, I've found this to be true if your connection is below ~2000 kbps (ie., xdsl and below).
In the realm of cable, though, tweaking may help quite a bit. The program to try is called IPNetTuner, available as a trial version here. You'll find that sustworks has a lot of useful info on their site, as well as their programs (including a firewall) There are really only two settings you'll need to alter. The first is called _rwin_mss_multiplier; set this to 44. The second (and this is where you'll do the actual tweaking) is tcp_recv_hiwater_def. Try multiples of 32k, checking your speed after each change. Useful sites to see what's happening are: our Tools page, TCP/IP analyser(to see what you're set for, along with additional info about cable service and dsl), and speakeasy pops, where you'll find links to speedtests in various parts of the country.

You can also take a look at the IPNetTuner FAQ

by tmpchaos See Profile
last modified: 2002-11-17 16:54:14

To set up your mac to use a DHCP server (a Linksys router) on your Mac using:

In OS 9.x or less:

Open your Control Panels folder then open the TCP/IP Control Panel

Set up the window as such
Connect Via: Ethernet
Configure: Using DHCP Server
DCHP Client ID :{any name will do}
IPAddress:will be supplied by server
Subnet Mask: will be supplied by server
Router Address: will be supplied by server
Name server Address: will be supplied by server

Close and Save.

In OS X or greater:

Open System Preferences.
Click on the Network Icon.
If all text in the window is shaded click on the small lock in the lower left hand corner and enter your username and password/phrase.
Use drop bar for "Show : Built-in Ethernet".
Click on TCP/IP tab.
Use drop bar for "Configure: Using DHCP".

Quit System Preferences.

To set up the Linksys router:
Open Internet Explorer or Netscape
Enter address of 192.168.1.1
Enter your Username and Password (ed.note: usually 'User and Admin' on a new linky.)
Click the DHCP tab
Click the 'Enable' radio button
Enter a starting IP address, (100 is good)
Enter the maximum number of users on your network.
Click 'Apply'.

by Eric See Profile edited by tmpchaos See Profile
last modified: 2005-04-24 04:08:02



by JJ See Profile
last modified: 2004-11-10 10:00:01

Open the "Network" preference pane.
Use the pull-down in the Show button and select Active Network Ports.
Un-check Internal Modem.
Select Built-in Ethernet and drag it to the top of the Port Connections window.

by peaboy See Profile edited by JJ See Profile
last modified: 2003-03-21 14:14:34

At vonwentzel.net.

by Homunculus See Profile edited by JJ See Profile
last modified: 2004-09-18 15:35:03

MacTFTP

Feedback received on this FAQ entry:
  • best TFTP server is http://ww2.unime.it/flr/tftpserver/

    2012-01-20 22:51:21 (Da Geek Kid See Profile)



by Tex Longhorn See Profile edited by tmpchaos See Profile
last modified: 2002-04-05 21:02:15

You can configure the Mac OS X Network Panel for PPPoE connections by editing the System Preferences.

Here's a link to an Earthlink help page, with complete step-by-step instructions.

by Tex Longhorn See Profile edited by tmpchaos See Profile
last modified: 2009-04-23 17:22:52

Here is a list of them:

TCP and UDP Ports Used By Apple Products

The official IANA list can be found here.

by JJ See Profile
last modified: 2003-04-30 09:44:47

Download DOCSDIAG Here:
DOCSDIAG

unzip the file and place the .jar file in your home folder (the /users/(the name you are logged in as)/ folder).

Next, you need your cable modem's HFC IP Address (it starts with 10.x.x.x). This can be obtained from your Cable modem's Diagnostics Page:
3Com Sharkfin
Older Firmware: »149.112.50.65
Newer Firmware: »192.168.100.1
user=User
password=Password

Motorola SB3100 and SB4100: »192.168.100.1

if not, visit your provider's forum and post a request for it.

Then, you need your Cable Modem's HFC MAC Address (see the back of the cable modem).

Launch the Terminal (in /Applications/Utilities/). Type in the following:

java -jar docsdiag.jar -cmip 10.x.x.x -cmmac 0004BDAFxxxx
(HFC IP address) (HFC MAC Addy)


if the above does not work, please connect your mac directly to the cable modem (reset the modem if needed), launch system prefrences, open the networlking pane, set the method of getting an ip address to manual:

Ip Address: 192.168.1.102
Subnet: 255.255.255.0
Router, DNS, Search Domains: all blank

then try the above again, and if that fails, type this into the terminal:

java -jar docsdiag.jar

by mkcompu See Profile edited by tmpchaos See Profile
last modified: 2002-07-01 19:48:15

The Satellite FAQ has quite a bit of useful info for the Mac.

by tmpchaos See Profile edited by JJ See Profile
last modified: 2004-11-10 10:05:54

You need at least Mac OS X version 10.2 ("Jaguar") to use the built-in router. If you use an earlier version of OS X, you probably want to upgrade to Jaguar (it's expensive, but worth it), or you could try IPNetShareX. For OS 8 or 9, give IPNetRouter a try.

If your connection uses PPPoE, you'll need to enable that first. Open System Preferences (from the Apple menu) and click on Network. Next to "Show" select Built-In Ethernet, if it doesn't say that already, then click the PPPoE tab. Check the box "Connect using PPPoE", then enter the Account Name and Password for your DSL service. (Service Provider and Service Name aren't typically necessary.) See this faq for more details.

Once you've got PPPoE up and running (that is, you can use the Internet from the computer you're using as the router), turning on the router feature (Internet Sharing) is pretty easy. Go back to System Preferences (if you're still in the Network pane, click Show All in the upper left corner) and click Sharing. Click the Internet tab. If you want to share with others on your Ethernet connection (i.e. you have a LAN), check "Share the connection with other computers on Built-In Ethernet". If the host has an AirPort card and you want to share with wireless clients, check "Share the connection with other computers on AirPort". If you want to do both, check both boxes. Then click the Start button.

Now, for Ethernet, you just need to connect the 'router computer' to the other computers via a hub or switch (not necessary for AirPort). Then just set each client computer to get its address using DHCP. Alternatively, you can configure the clients manually with router 192.168.2.1, subnet mask 255.255.255.0, and IP address 192.168.2.X (X can be anything from 2 to 254, as long as it's unique to each client).

Keep in mind that while NAT effectively firewalls the computers behind the router, the router machine itself will have a number of ports open unless you enable the firewall (in the Sharing pane of System Preferences, click the Firewall tab, click Start, and use the scrolling list to select any ports you may want to keep open).

(Ed. note) Caveat from Apple:
If your Internet connection and your local network use the same port (built-in Ethernet, for example), investigate possible side effects before you turn on Internet sharing. In some cases (if you use a cable modem, for example) you might unintentionally affect the network settings of other ISP customers, and your ISP might terminate your service to prevent you from disrupting their network.

Feedback received on this FAQ entry:
  • thanks, this saves me to buy a router.

    2010-08-09 16:05:36



by A21 See Profile edited by rjackson See Profile
last modified: 2005-03-05 04:56:21

Download this file, put it in your applescript folder, and put an alias in your Startup Items folder.

(editor's note: not needing PPoE, I haven't tested the script. Anyone who does is welcome to IM me with results)

by mikeirw See Profile edited by tmpchaos See Profile

Assuming your Mac(s) and PC(s) are already on an ethernet network, you're already most of the way there. The reason the Windows machine does not show up in the AppleShare portion of the Chooser is the same reason the Mac does not show up in the network browser in Windows: The Mac and PC do not natively speak the same networking language.

Alright, alright, you just wanted to know what to do, right?

The Cheap Way:
Run an FTP server on one of the machines, and use your web browser or another FTP client on the other machine. You'll need to know the IP address of the machine running the server software and that's about it.

The Expensive Way:
Rush out and purchase a copy of DAVE. This nice $149 Mac program will put your Mac on a Windows network just like it was born there. It gives your Mac a NetBIOS control panel, as well as a Chooser extension that behaves just like AppleShare. And best of all, it requires NO software to be loaded on the Windows machine.

For More Options and Info:
Go check out MacWindows. You'll find loads of great information there about how to get your dissimilar systems to play nicely together.

Of course if you still need help, just post in the forum.

by Bradley2 See Profile edited by JJ See Profile
last modified: 2003-11-26 17:45:57

Alright. This should go in the "Expensive ways" I guess:

Another way to connect Macs and Windows computers is PCMacLan. It costs $199 and unlike DAVE, you install it on the Windows machine you need to access. After you do, both the Mac and the Windows machines can easily connect to each other through the Chooser and Network Neighborhood, respectively. PCMacLan is available for Windows 95, 98, NT, and 2000.

by jDyno See Profile edited by tmpchaos See Profile

From .Mac help...

If you're using Windows XP, choose My Network Places in the Start menu, then choose "Add a network place" in the Network Tasks list. In the Add Network Place Wizard, enter the following as the location to add: »idisk.mac.com/membername/Public? (where "membername" is the other person's .Mac member name). Use the .Mac member name for authentication, but leave the password field blank.

If you're using Windows 2000, open My Computer, choose Map Network Drive from the Tools menu, then click "Web folder or FTP site." Enter the following as the location to add: »idisk.mac.com/membername/Public (where "membername" is the other person's .Mac member name). Use the .Mac member name for authentication, but leave the password field blank.

If you're using Windows 98, open My Computer, double-click the Web Folders icon, and double-click Add Web Folder. Enter the following as the location to add: »idisk.mac.com/membername/Public (where membername is the other person's .Mac member name). Use the .Mac member name for authentication, but leave the password field blank.

by tmpchaos See Profile

If you want to connect to any Windows machine that has file sharing enabled, you can use samba, which is built into your OS X operating system. To access a computer you will need to know the name of the workgroup, name of the computer and the share name. For example if I want to connect to "c$" share on a Win 2000 box named "test" in the workgroup called "mac", click on "GO" then "connect to server" and type smb://mac;test/c$ in the address box.

For those wanting more detail (for OS 10.1.x), try this KnowledgeBase article

If you are using OS 10.2 or later, read this article instead.

Also, check this FAQ article.

by MrNo See Profile edited by JJ See Profile
last modified: 2004-01-13 10:02:00

Apple has a series of pdf files which describe Mac/PC connectivity:

  • Mac OS X Guide for Windows Users
  • Basic file sharing guidelines
  • Sharing media between Macs and PCs
  • Sharing files between a Mac and a PC connected with a crossover cable
  • Sharing files on Windows XP with Mac OS X clients
  • Sharing files on Mac OS X with Windows XP clients
  • Sharing files between Macs and PCs using Airport
  • Printing on IP printers with Mac OS X


These are all in an archive called 'applepdfs' available here.

Also check this FAQ article.

And here is a good article about sharing a printer between a Mac running 10.3 (Panther) and Windows XP computers. Thanks to itsatravisd See Profile for the link.

by sillyrabbitt6 See Profile edited by JJ See Profile
last modified: 2005-04-29 10:42:27

Tip #1: Having difficulty accessing a router or connection? Enable 'Use Interference Robustness' from the Airport Menu Bar.

Tip #2: Airport Card installed but no signal even though you know there is one? Check to verify any external antennas are connected, Reseat the card (In a G5 it's under the DVD drive), and then on the networking control panel, select Network Ports and uncheck Airport, apply, then check Airport, and apply (this resets the airport port).

by joey911 See Profile edited by tmpchaos See Profile
last modified: 2003-12-27 19:33:12

A fellow who writes a well-known blog on 802.11b has decided to start a new one to cover Airport:

from the introduction:

    As Apple introduces its AirPort Extreme update to its wireless networking system, we thought it was time to launch an Apple AirPort-specific Weblog that would cover news related to using Wi-Fi, Bluetooth, and other wireless devices under the Mac OS operating system. AirPort is the center of the universe, but other wireless technologies spin around it.

    Who are we? I'm Glenn Fleishman, a freelance journalist who writes about technology for several newspapers and magazines (see »glennf.com/writing for past articles). Adam Engst is a long-time Macintosh journalist and one of the most well-known writers in the field; he publishes TidBITS (»www.tidbits.com/), the longest-running personal technology newsletter on the Internet.


The site can be found here

by JJ See Profile

If you have a Windows machine on your network with a shared printer installed, you can print to it from Mac OS X.

First, download and install Gimp-Print on the Mac. Now open up Print Center (Applications -> Utilities -> Print Center). Hold down the "option" key while you click "Add". This gives you more options for adding printers. Select Advanced from the drop-down menu, and then select "Windows printer via SAMBA" for the device. Give it a name, and type in the path to your printer. Something like:

smb://username:password@winbox/printername

Where: the username/password is the login for the Windows box, winbox is the hostname of the Windows box, and printername is the name given to the shared printer on the Windows box.

To get the name of the shared printer, open up Terminal and type:

smbclient -L hostname

where hostname is the name of the Windows box. Enter the password and it should spit out a list of all the available shares, and you can locate the printer.

Additional information can be found in the Gimp-Print for OS X FAQ.

Note: Gimp-Print does not currently support the HP DeskJet 700 series printers. A work-around is possible, but it is a bit more involved than this. Instructions can be found here.

by rjackson See Profile edited by JJ See Profile
last modified: 2003-03-27 08:50:02



by jtanner9 See Profile edited by JJ See Profile
last modified: 2004-02-10 14:02:06


    If you have your own set of ipfw rules (or you want to turn on logging for certain rules, which requires adding them with the 'log' keyword and optionally turning on verbose logging via the sysctl variable) you will note that on reboot they are overwritten by the system defaults. In order to avoid having to set the rules after every reboot, you will have to install a Startup Item to set the rules (and, optionally, sysctl commands) automatically at boot time. The easiest way to do this is to use the RMAC utility referenced at the bottom of this FAQ article to install and customize the startup script.

    While the RMAC utility was originally created to modify network interface variables at boot, it can also be used for ipfw commands with the following modification: after having installed the Startup Item, pico or vi /Library/StartupItems/RMAC/StartupParameters.plist, and replace this text:



    This will ensure that your ipfw rules are loaded after the default rules, and thus will not be overwritten.

    Note: Under 10.3 (Panther), the OS will note that you have changed the default ipfw rules, and will disable the firewall settings that can configured via the Sharing preference pane.


by JJ See Profile
last modified: 2004-01-03 16:56:36


    These folks have a nice GUI that should allow you to use OS X's built-in IPSEC stuff to connect to most any standard VPN. Or let you setup an IPSEC tunnel from wireless to wired without using WEP, etc. etc.

    And here's another nice one. Seems to setup IPSec for just about anything. Even has a certificate manager: IPSecuritas



Feedback received on this FAQ entry:
  • VaporSec Link is DEAD... Shimo : http://www.chungwasoft.com/shimo TunnelBlick: http://code.google.com/p/tunnelblick/ Viscosity: http://www.thesparklabs.com/viscosity/

    2011-01-25 11:07:41 (Da Geek Kid See Profile)



by sporkme See Profile edited by JJ See Profile
last modified: 2004-05-03 08:37:03



Feedback received on this FAQ entry:
  • Also see VPN links I believe one or two support SSH tunneling...

    2011-01-25 11:09:06 (Da Geek Kid See Profile)



by sporkme See Profile edited by JJ See Profile
last modified: 2004-06-24 15:11:51

See this post: /forum/remark,11728372~mode=flat
for an explanation.

by tmpchaos See Profile



by JJ See Profile edited by tmpchaos See Profile
last modified: 2008-08-09 14:27:33

This is how i did it:

Root permissions is a must!

I downloaded tinker tool »www.bresink.de/osx/TinkerTool.html (So I could show hidden files) Using tinkertool I set it to show hidden files and folder and then I went to the folder /etc and just looked for the smb.conf file and opened it up in text edit and added some thing like this:

[MP3]
comment = My MP3 Collection
path = /Volumes/40GIG/MUSIC/iTunes
browseable = yes
read only = no
create mode = 0750

The first line (in brackets) is the name of the folder as Windows machines will see it; you can use the comment to help identify the folder when it's being shared. The path command specifies the physical location of the folder to be shared; setting browseable to yes lets Windows machines see the folder's contents. Setting read-only to no lets the contents of the folder be changed from Windows machines.

The create mode setting sets up, in advance, the permission settings for any new files that get created in this folder. (Setting create mode to 0750 gives full privileges to the folder's owner, read-only privileges for the group, and no permissions for everybody else. This is a good default setting for create mode, as it gives you full access and restricts others from seeing the file.)

To share additional folders, duplicate the section above -- but change the name, comment, and path for each new folder. Once you have created all of the shares you need, save the smb.conf file and exit the editor, it will ask for authentication. Now you just need to activate your new shared folders.

Turn off and restart Windows File Sharing (in System Preferences->Sharing, click the Services tab). You should now be able to log into your new shares from a Windows machine as easily as you can connect to your Home folder. Make sure you disable showing hidden files and folder in tinker tool and exit it.

You can also find another way to do this, »www.macdevcenter.com/pub/a/mac/2···nts.html look for Hint 16-5

by M A R S See Profile edited by tmpchaos See Profile
last modified: 2005-03-20 02:14:56

Mac OS X includes the Apache web server, the most common server software in use on the internet. The Apache web server allows you to have a web site on your computer running OS X that other users on the internet can connect to, just like any other site.

Starting up the Apache web server is trivial: From the Apple Menu, choose System Preferences. Choose Sharing in the window that opens. In the Sharing panel, click the checkbox for "Personal Web Sharing". That's all for the OS X part of the setup.

Next, you'll need to put your website in the correct place on the computer. I will assume that you have a collection of web pages for your site, all ending in ".html" or image files. Constructing these pages is beyond the scope of this article. To place the web pages into the proper place so that Apache can find them, do the following:

    •From the Finder, Choose Go->Computer.
    •Open the disk that is your startup disk (usually named "Macintosh HD").
    •Open the Library folder.
    •Scroll to the bottom and open the Webserver folder.
    •Open the Documents folder inside the Webserver folder.
    •Drag the folder containing your website files into the Documents folder. Make sure that one of the files (the main page) is named "index.html".

That completes the setup for OS X. What Apache will do now is to serve the "index.html" page to anyone on the internet who types the public IP address of your computer into their browser.

But there are a couple of things we have to ensure are set up properly for Apache to be able to do this. First, you have to find out what your public IP address is. If you are NOT using a router, you can find this in the Network pane of the System Preferences. Just give this IP address to people and they should be able to connect.

If you ARE using a router, then things are a bit more complicated: the router gets your IP address from your cable or DSL provider, and then assigns its own "internal" IP addresses to the computers connected to the router. These "internal" IPs begin with either 10 or 192, and they can't be used for other people to access your web server - they need the "public" IP. Here are the details you need for using a router:

    Refer to your router's instruction manual for the IP address of the router's setup page. This is almost always 192.168.0.1, so type that in and see if you get the router's setup page (you will have to type the name and password of the router to get in - if you have not changed it, it is listed in the manual that came with the router).

    Once on the setup page, you will need to note the "public IP" address that the router says it is using. This is the address that you tell people to use to connect to your webpage (see the last section on static versus dynamic IP addresses).

    Also, check for a section of the router setup page that is named "port forwarding" or similar. This is where you will need to tell the router which one of your computers to send incoming requests that come in on port 80 (websharing) to. The exact way this is displayed varies with the router, but basically you want to set it up so that the router forwards port 80 to the internal address of your webserver machine. Consult your router manual for port forwarding.

Finally, we have to discuss "dynamic" IP addresses. Most cable and DSL providers supply "dynamic" IP addresses, meaning that whenever you turn on your computer or router, it might be assigned a different IP address than it had the last time you used it. This is a problem, if you have told people to use a certain IP address to get to your website and now the address is changed. To solve this problem, you can set up your computer so that it periodically checks to see if its IP address has been changed, and if so, it changes the IP of a website name that you can set up for free at »www.dyndns.org - you will need to install a small software application on your computer, and follow the instructions at dyndns.org for setting up a free account. Once this is done, you will have a name for your computer that you can give to people, and the IP address can change without you having to worry about it. NOTE: many routers have the software application mentioned above already installed in the router. Check the router manual for information on setting this up.

Once you have followed these steps, you should be able to connect to your web server by typing the PUBLIC (not internal) IP address into a browser - if everything is set up correctly, the Apache server on your computer will display the "index.html" page in the /Library/Webserver/Documents folder.

A final note: some ISPs block port 80 so that their customers cannot run a web server - the ISP will have a rule against it in their Terms of Service. If this is the case, you will have to use a port other than port 80, but setting up the server to do that is beyond the scope of this article. Also, running a server when the ISP has a prohibition against it may cause your cable or DSL service to be terminated by the ISP.

by Johnny See Profile edited by rjackson See Profile
last modified: 2005-07-24 23:46:01

On versions of Mac OS X Tiger (10.4.9) and earlier, the version of Samba that comes with the OS does not support NTLMv2 authentication out of the box. Windows Vista by default only allows NTLMv2 authentication for SMB/CIFS shares.

To allow Vista to talk to your Mac shares, you must allow Vista to authenticate via NTLMv1:

If you have Windows Vista Home Basic/Premium:
Open the registry editor. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa. There will be a value called LmCompatibilityLevel. Set that to DWORD 1. Reboot and try to connect again.

(source: vista64.net forums)

If you have Windows Vista Enterprise, Business, or Ultimate:
Follow the instructions at http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746
The above registry editing will work, but this method is easier to accomplish.

If you have a newer version of Mac OS X that has Samba ≥ version 3.0.22:
Edit the file /etc/smb.conf and add the following line to the [global] section:
client ntlmv2 auth = yes
Restart Windows File Sharing and attempt to connect again.

You can use this with earlier versions of Samba 3.0, but there are some bugs to be wary of.

by raw See Profile edited by rjackson See Profile
last modified: 2007-05-05 11:51:59

A GUI TFTP Server

Feedback received on this FAQ entry:


by Da Geek Kid See Profile edited by tmpchaos See Profile
last modified: 2007-08-18 05:15:43

The recommended USB to DB9 cable is one with the prolific pl-2303 chip on it. It is supported by all the Operating systems and works flawlessly. You would need to download the latest prolific driver from their website and install it.

You could use the SecureCRT from VanDyke or use the free version of PuTTY on Mac. To install PuTTY on any Mac, you would need Apple's Xcode installed than download MacPorts and follow the instructions to install the app. When MacPorts is installed, it is suggested to update it by running the command from the terminal:

sudo port -v selfupdate

After the update is successful. install PuTTY by typing the following from the terminal:

sudo port install putty

This will install all the necessary apps to run the PuTTY in the X windows mode. After the app is fully installed, all you have to do to run PuTTY is to issue the command from the terminal like below:

putty &

Now, connect your USB to DB9 to your Mac and the Console cable to the router. Launch PuTTY...

by Da Geek Kid See Profile edited by tmpchaos See Profile
last modified: 2012-01-21 08:55:18