I have a D-Link 614+ and the 800AP access point setup in my apartment, with a G4 tower at the 614+, and a 12" PowerBook wirelessly connected. I was having problems connecting to file sharing if I was connected to the access point, but not if I was connected to the 614+ itself; there were no other problems.
I figured out that even though i had the tower connected via Ethernet to the 614+, it was being given two IP addresses: one for Ethernet, and one for AirPort. This didn't impact any other operations, but for some reason, it just wouldn't work conecting through the access point. I turned off AirPort in the tower, and the problem was solved. I'm sure this affects a very small number of people, but it was very frustrating and I didn't find any info about it on the web.
If you are using the Cisco VPN client 3.7.x with the GUI, you might have noticed that when it is installed, your network won't return from sleep. After having to reboot every time this happened, I got frustrated. Apparantly this problem is fixed in version 4.x of the client, but you can't get it from Cisco unless you have a Cisco support contract, and our network security guys don't want to upgrade to 4.x just yet. So aside from black hat methods, I am stuck with 3.7.2.
If you lose your network after waking from sleep, here is an easier way to get it back than a reboot. Run these two commands in Terminal (or your favorite terminal application):
sudo ifconfig en0 down
sudo ifconfig en0 mtu 1500 up
Most Macs with one network card should have their card at en0. If your card is not at en0, substitute which interface you want to reset. I am assuming that if you have multiple ethernet interfaces, you can figure out which one is which.
Also, the MTU setting *could* be different for you. 1500 is the default, but who knows what your ISP or network guys or yourself might have set. So if you are concerned you can just type ifconfig en0, which will spit out your current network configuration. Somewhere in there, usually near the end of the first line, you will see your MTU setting, and you can adjust the above commands to set it back to that same value.
I am sure that you could wrap all this into an AppleScript application or something. For some reason, turning the interface off and back on again from within System Preferences doesn't do the trick.
If you need to get out onto the Internet via a connected Windows XP/2003 machine and don't have your WiFi Access Point or a Blutooth Access Point for your Apple Powerbook G4, here's a cheap alternative. I had a spare Epox BT-DG02 Bluetooth dongle laying around that I configured to accept PPP over RFComm (Bluetooth), and let me surf away. Read the rest of the hint for the setup instructions...
Windows NT, 2000, and XP have built in LPD printing, but Windows 95, 98, and ME don't. However, using the free LPD-Win utility available online, you can still print from a Mac to a printer connected to a Windows machine. This tutorial explains how to set it all up.
I work for a tech consultancy that likes to stay on the bleeding edge, and we recently upgraded to Windows Server 2003 and Exchange 2003, wreaking havoc with my ability to connect to Windows network shares (via Finder or the command line) and to Exchange via Entourage's new quasi-native Exchange implementation.
The fix for file sharing turned out to be that Windows Server 2003 now digitally signs all SMB packets to prevent "man in the middle" attacks that intercept and modify packets. This feature breaks compatibility with all Samba versions prior to 3.0 (still in beta), which includes Apple's Windows file sharing (currently based on Samba 2.2.3a). So to allow Mac, Linux and other clients to connect to shares on a 2003 box, you (or your Windows server admin) will have to disable digital signing of SMB packets in the appropriate local or group permissions area depending on your server setup. After that, the old Finder -> Go -> Connect to Server... works like a charm. Whenever Samba 3.0 becomes stable enough for Apple to use it, you may want to turn packet-signing back on again.)
Getting Entourage syncing with Exchange 2003 (still in pre-release) was trickier because IMAP4 and WebDAV aren't enabled by default in 2003. Again, you or your Windows admin will have to enable these depending on local and group permissions. target=_blank>This document on Microsoft's Mac web site gives some configuration tips. It's still not the missing Outlook X (no task lists, no viewing other people's contacts, only mail folders work as public folders since they have to be shared out by IMAP), but mail folders, calendar, appointments and contacts all sync up automatically with Exchange, which is 98% of what I need.
Also, although I've heard of problems connecting to Samba servers in a Server 2003 environment, I've had no trouble using a Windows machine to connect to either my Mac or our Linux servers via SMB -- although these are all standalone servers which aren't configured to do external LDAP/Active Directory authentication or to act as master browsers or domain controllers.
How to set up a PC with a wireless card to connect to the internet through a Mac with an Airport card and internet sharing turned on:
Open System Preferences, Sharing Control Panel, Internet Tab. Once there, check only the 'Share your connection with Airport-equipped computers' box.
Click 'Start' then click 'Airport Options...'. Give your Network a Name. Set the channel to some number. This will be the 'Key index (advanced)' value on the PC.
Check the 'Enable encryption (using WEP)' box. Set the WEP key length to 40-bit.
Get WEP Key Maker. This freeware app lets you create a reproducible hex code for a given password or phrase. Use the app to get your Hex key from WEP Key Maker; i.e. Apple -> 077495204A. You enter it with a $ in front like this>: $077495204A to make it a valid Hex password. Click OK.
In your Network Connections folder, double click your "Wireless Network Connection." Select Properties and go to the Wireless Networks Tab.
Select the Network that you created with your Mac and click Configure of Properties. Check the 'Data encryption (WEP enabled)' box and the 'Network Authentication (Shared mode)' box.
Enter the Hex network key (password) you used to create the Mac network. You dont need the $ symbol in front.
Set the 'Key index (advanced)' value to the value you used to set up the Mac Network.
Make sure that 'Enable IEEE 802.x authentication for this network' is not checked under the Authentication Tab.
Upon restarting you should have a connection through your wireless card! Thanks to Bruce Thomson on the Apple Discussions Forums.
I recently ran into the problem of linking two existing ethernet networks in my company.
Our first network has an SHDSL Internet access routed into the network by a SHDSL router. Our network is a heterogeneous, running a mix of Macintosh, Linux and Windows machines. We are in the graphical industry meaning we have heavy loads of files that need to be transfered at quite some speed over the network.
Now we were given a second floor office space by our landlord. However, wiring the network to that second floor seemed to be just unmanageable. A wireless connection would be just the right thing for us - so we thought!
Although the Macs in question are not that old, some Dual Processor PowerPC 1GHz "Mirror Doors," this particular model is just not "Airport Extreme" capable, meaning, you can only plug in an ordinary Airport card (i.e. 802.11b standard, at 11Mbit/s). This, however, would have been definitively too slow for us. I wanted a 802.11g, i.e. 51Mbit/s connection at least! So, what could I do?!
I thought of maybe linking the original network with the new second floor workstations with two Airport Extreme base stations, so I phoned up my dear friend Jason at Apple Store in Ireland - wonder who else is good friends with Jason! He then phoned up Apple Support - and I did the same to maybe even get a second opinion. Both said that owning older Macs, there would be no way of linking them by Airport Extreme, i.e. 802.11g, i.e. 51Mbit/s, i.e. so-called "Wi-Fi" wireless network.
I had a very long look through Internet pages. No answer whatsoever. Phoning up other wireless network vendours also turned out of no help: there was simply no way to join to networks over the air at a speed of 51 Mbit/s. Or was there?!
[robg adds: Read the rest of the article for a detailed solution to this problem. I haven't tested this one, so if anyone can confirm it, please do so via the comments...]
I decided to upgrade my old router and get an Airport Extreme base station. I was looking forward to being able to share my Epson Stylus 760 off the USB port but didn't know if my XP PC would be able to use it. After much searching, I found these instructions and all is well:
Make sure the printer is recognised by the base station.
Select 'Add a new printer' in Windows
Select 'Local Printer' in the dialog box (auto detect and install should be off), click next.
Choose 'Create a new port' and "Standard TCP/IP Port'. Click next.
For the printer IP address, enter the address of the base station ie. 10.0.1.1. The port name will be filled automatically. Click next.
For the device type, choose 'Hewlet Packard Jet Direct', then click Finish.
Choose your printer from the list and follow the rest of the prompts to install and configure the driver.
I can't guarantee that this will work on anything other than XP so YMMV.
If, like me, you've been looking for a way to route Rendezvous information between two networks, you should check out mTunnel.There's also an excellent article on setting it up on afp548.com.
We installed the software on one machine on each network and configured a tunnel. Now users on both networks can browse the others' file servers, etc. The only thing that doesn't seem to work is the Rendezvous part of iChatAV - can anyone suggest why this doesn't work?
If you find the "Connect To Server" dialog a little slow for connecting to AppleShare servers in the Jaguar Finder, then you might like DockBrowser (screenshot). DockBrowser is another useful piece of Apple sample code. It sits in your dock and shows the number of AppleShare servers on your LAN in a Mail-Style badge (at least all of them that advertise their service through Rendezvous).
To quickly connect to any server, just control-click on the dock icon to reveal the app's pop-up menu, which shows a list of the available servers, and select one to connect to it. Because the app is not searching for servers (it already knows their addresses), it is much faster than the "Connect" dialog. In the app's preferences, make sure you have "afpovertcp" selected, otherwise you will be shown all Rendezvous webservers on your LAN.
You can download the source code directly from Apple, and note that the Developer Tools are required to compile the application - I would post the app itself, however I'm not sure about the legality of that.
[robg adds: I tried compiling on my desktop G4, and it failed with two errors. I then copied the project over to my G4 laptop, and it built successfully. The two machines are running the same build of OS X (6L60 of 10.2.6) with the same version of the Dev Tools, so I'm not sure what's up ... but the app ran just fine once I moved it back to the desktop after compiling on the laptop. Update: Two friends, one on a desktop, one on a laptop. Desktop user: no luck, laptop user: compiled. That's two compiles on the laptops, zero compiles on the desktops ... odd!]