Tag Info

Hot answers tagged

12

You could use this to turn it off: sudo ifconfig en1 down And if you want to get it back up, just type up, instead of down Just make sure that en1 is the right interface or you can easily kill off your ssh access :) P.S. As Lri noted in the comments below, you can quickly disable the correct network interface with just 1 line: sudo ifconfig ...


6

I found a relatively simple solution not involving a system restart - just bring the WiFi interface down and then back up: $ sudo ifconfig en0 down $ sudo ifconfig en0 up In my case en0 is the AirPort interface of my MacBook Air. Note that turning the AirPort off and on again doesn't work, but bringing the interface down does the job.


5

This all happens inside the "Sharing" pane of "System Preferences": Select "Internet Sharing" from the list Select "Ethernet" from the popup menu Click the checkbox next to "Wi-Fi" If you wish to secure the wireless network a password, click the "Wi-Fi Options..." button When you've got it all set up how you like, click the checkbox next to "Internet ...


5

No. The iPhone can either act as a client or an Access Point, not both simultaneously. If the WiFi access isn't registered against the device's MAC address then you should be able to use the login on either the iPhone or Laptop (but probably not at the same time). If it is MAC address based registration then you could register with your iPhone and then ...


4

One way of doing this is by GUI scripting—System Preferences doesn't have any Applescript support by default. tell application "System Preferences" to set current pane to pane "com.apple.preferences.sharing" tell application "System Events" to tell process "System Preferences" click checkbox 1 of row 11 of table 1 of scroll area 1 of group 1 of window ...


4

It is not possible to use OS X's internet sharing feature to create a WPA- or WPA2-protected network [through v10.7 Lion, see below]; WEP (40- or 128-bit) or no encryption at all are the only available options. Note that the original title on this question ("Airport supports WEP but not WPA?") was a bit misleading, as this is only a limitation on wireless ...


4

I don't think you can do this. Thunderbolt doesn't really have a "native" protocol like Firewire or Ethernet, it's just fancy PCIe transport. It might be possible in the future, but it would require Apple to add the functionality. However it's worth noting that it's unlikely Thunderbolt would speed up your connection at all. Unless you have a seriously ...


4

tcpdump is a command-line utility to see the traffic on any network interface. It is full-featured, but can require some serious reading of the man page. Wireshark is a full-featured application that will allow you to see all such traffic. It provides a GUI (X-windows based) into which you can specify filters on traffic and collect statistics. See more ...


4

You can try arp on the command-line: NAME arp -- address resolution display and control DESCRIPTION The arp utility displays and modifies the Internet-to-Ethernet address translation tables used by the address resolution protocol (arp(4)). With no flags, the program displays the current ARP entry for hostname. The host may be specified ...


4

InternetSharing does log which address gets a DHCP lease within: /var/log/system.log Technically it is the bootpd daemon which does take care of this part of the network access. You can track who is getting access to your network now with this command: tail -f /var/log/system.log | grep 'bootpd.*\[en.\]' You can display who connected and when to your ...


4

This is indeed quite broken in Mountain Lion. Once you've fixed up the default route as you describe in the question, you're still left with the problem that Mountain Lion is giving its bridge interface address to clients as both the router address (which is correct) and as the DNS server address (which isn't). Verify that this is the problem by entering an ...


4

I found the answer to my particular issue. The reason that my iPhone could not subscribe to a published Outlook .ics calendar was because the MIME type of the .ics file was wrong. As recommended in this brilliant post by Joe Bradford, I went into IIS, changed the MIME type from application/octet-stream to text/calendar, and iPhone could connect and ...


4

I agree with Gordon. The 802.1X security measures are in place for a reason. You should contact your IT team to see if they have other options for you or if they can set up a guest network. In the absence of that, I would recommend getting a MiFi from your carrier or turning your smartphone into a wireless hotspot. If you have access to LTE, it may be faster ...


4

I've used Idea Netsetter Dongle and shared my internet over the Wifi. First connect to the Internet with Idea Netsetter 3G Open System Preferences > Sharing Select the Network which you want to share ( In your case it's Ethernet Adaptor ) Select the network(s) which you want to share the internet to (In your case Wifi) Don't forget to switch you're ...


4

The option is not available because you have selected to share your connection from Wi-Fi. You can't share your connection from Wi-Fi to Wi-Fi. Use an alternative method of obtaining a connection to the internet (e.g. Ethernet) so that the internet connection can be shared over Wi-Fi.


3

I finally figured it out. You said your Firewall is off. You should double-check. This will definitely cause Internet Sharing to not work. System Preferences -> Security & Privacy -> Firewall. In the "Sharing" panel, change your Computer Name to something simple. Instead of "Elliot's MacBook Pro", use "MBP". Turn off Internet Sharing (if it's on). ...


3

Try this... Sharing your Internet connection - http://docs.info.apple.com/article.html?path=Mac/10.5/en/8156.html Your mac will basically create a WiFi network for the iPad to join and then it will share traffic from the ethernet connector/PPPoE/cable. Your mac's buit in help might be newer than the link I provided, so check there first. Also, be sure you ...


3

Even with multi-homing on iOS 7 starting to allow traffic over LTE and WiFi simultaneously, there isn't a good way to accomplish this on OS X Mavericks and lower. I have run Link Aggregation on macs since 10.4 and it's really nice when you have a gigabit switch. You will need a switch that runs LACP and two physical ethernet ports like is typical on G4 ...


3

arp -a gives a list of connected interfaces on the same network. en1 is Wi-Fi en0 is Ethernet (on the Macbook Air this is Wi-Fi) How to use Type this command in the Terminal located at /Applications/Utilities/Terminal.app. To learn more about this command, type man arp in the terminal.


3

The chflags efficiently blocked InternetSharing from touching my configuration file, but caused a detected error: com.apple.InternetSharing[1976]: dhcp_config_create: Unknown error: -1 Hence bootpd didn't start at all. By studying the processes spawned by InternetSharing I finally build a way to circumvent this systematic and stupid overwriting of ...


3

I have experimented with using ControlPlane to achieve what you want. My preliminary result is that it will do what you want. ControlPlane detects changes to your system called 'evidence sources'. Changes are evaluated with 'rules' which define a change in 'context'. Associated with each context are 'actions'. One of the 'evidence sources' is a ...


3

InternetSharing is performing 2 tasks: dynamically providing an IP address to devices connected on the secondary network interface (bootpd) managing the IP addresses translation (NAT) for these dynamically attributed addresses (natd on Snow Leopard & natpmpd on Lion) InternetSharing doesn't let you configure a MacOS X as an IP bridge. See man ...


3

Actually, there is a bind process started after activating internet sharing: 22.12.12 09:21:01,687 named[23072]: starting BIND 9.8.3-P1 -c /etc/com.apple.named.proxy.conf -f The config in /etc/com.apple.named.proxy.conf forwards dns requests to reasonable DNS servers. The problem is that the named daemon doesn't stay alive. There are times were it stayed ...


2

The plist that others have mentioned (/System/Library/LaunchDaemons/com.apple.InternetSharing.plist) never seems to change regardless of the state of Internet Sharing -- at least under Snow Leopard. I think the answer lies somewhere in /usr/libexec/InternetSharing and /etc/boopd.plist. First, try running: sudo /usr/libexec/InternetSharing -d You will ...


2

I took a cue from mankoff's answer and wrapped it up in an AppleScript. I'm using this script from Automator so that I can easily use it as a service and give it a keyboard shortcut. Toggle Internet Sharing: register_growl() try if isRunning("InternetSharing") then do shell script "launchctl unload -w ...


2

Since Dmytro said that the answer from superuser worked, I'm posting it as an answer here... First, try entering the proxy settings for your connection into the iPhone. You can do this by going into the Settings app > Wifi > Wifi network name > Proxy (which is at the bottom). Note, you cannot specify a .pac proxy file like this on the iPhone. ...


2

If you can access the Internet successfully on your Mac, you can share it to your iPhone. Your Mac just essentially acts as the router. So make sure you can access the net successfully on your Mac first. Then go to Sharing and turn on Internet Sharing, choosing to share the Ethernet connection via the Airport. Now connect to the adhoc network that's been ...


2

As @bmike said, Internet Sharing hides a lot of complexity behind a very simple interface, and some of your questions can't be answered authoritatively without interviewing some of the Apple engineers behind it. But that won't stop me from taking a stab at it... 1) AirPort is different from the other interface types because in order to share over AirPort, ...


2

Personal hotspot only depends on the carrier and the OS of the device. Assuming you have a backup (and it won't get overwritten during testing and activation of your newly wiped phone), you can restore the phone and set it up as new. If that fixes the issue - you can then know it was software corruption. You'll have to decide if you want to slowly delete ...



Only top voted, non community-wiki answers of a minimum length are eligible