0
votes
0answers
24 views

DNS Lookup Failure on Terminal Only (Mavericks)

I recently did a clean install of Mavericks, and ever since I have, I've been having intermittent DNS lookup failures on the terminal only. Browsers work fine (Chrome, Safari). But nothing works ...
1
vote
1answer
36 views

'localhost' stoped working as an alias for '127.0.0.1' for SSHing into my VirtualBox VM. Why, and how to fix?

The question explains the problem. For months I've never had any problems along these lines. Then, yesterday morning, I couldn't get into my VM! Took a long time to troubleshoot but here was the ...
1
vote
2answers
33 views

How can I list only interface name and assigned IP with ifconfig in terminal

Is there a way using only ifconfig to list only network interface names and their assigned IPs? I am aware that I can do ifconfig | grep inet but this does not include the interface name (en0, en1 ...
0
votes
1answer
27 views

Monitor network connection process / delay

I'd like to identify what in the world delays my OSX 10.9.2 system from connecting to wifi upon waking from sleep. What is the right log to read or script to run or netstat or lsof command to run to ...
1
vote
1answer
239 views

How to create a VPN connection via terminal?

I have a macbook pro with mavericks running. I am looking for a way to connect to a VPN network in terminal. The reason why I want to do this is that I want to write a small program in Python which ...
1
vote
1answer
364 views

need to script connection to telnet and send commands to remote device with no user input

Ok I need some help making a script that will connect to a server and send 2 commands Ideally I would have telnet 192.168.2.230 9993 and once it logs in (no user name or password required - the ...
0
votes
1answer
36 views

networksetup -disconnectpppoeservice not working

I love doing stuff on terminal, a lot. Thats how I found this command to connect to my PPP service: $ networksetup -connectpppoeservice HUAWEIMobile- And its works successfully to connect my PPP ...
1
vote
2answers
493 views

Is there an equivalent utility to Linux's tracepath for OS X?

I'm attempting to determine the path MTU from my Mac to various sites, and can't find a built-in utility to accomplish this. In Linux, I would use a utility like tracepath, but I"m wondering if there ...
1
vote
1answer
438 views

Mavericks - VPN command line

I see a lot of third party apps that offer the ability to turn your Mac into a VPN server. It seems the VPN server functionality is built into OS X from what I've read but you need OS X server to get ...
0
votes
0answers
58 views

Switching Network Locations under Mavericks

When using Lion I could issue this command at the terminal to change network locations(which I got from this site, thank you): networksetup -switchtolocation "Proxy" I've recently upgraded to ...
1
vote
1answer
146 views

How do I route internet through local PPP connection I have on PTY terminal?

I'm doing this hack job where I have routed a cell phone's GPRS modem over to a local PTY. The proprietary debug software actually routes the modem over TCP, I then use socat to route it to a PTY ...
1
vote
2answers
1k views

How can I list my open network ports with netstat?

I would like to list my open network ports in Terminal with built in commands. As what I know, netstat is the command to use. But I'm struggling to get any useful information out of it. How can I ...
0
votes
2answers
79 views

How to view previous inputted MAC Address for WiFi network

I have a Belkin Router and accidentally changed the MAC Address for the Wireless Area Network. Is there a way to retrieve previous inputted MAC Address using Terminal? I'm looking around system and ...
0
votes
1answer
335 views

How to connect to a specific BSSID via Terminal?

My internet provider has a service where I share part of my wifi connection with other subscribers and in return I can use their wifi connection when I'm close to a subscribers router. It's very ...
2
votes
1answer
432 views

How to connect to an already open Terminal session on another Mac

I am running Mac OS X 10.7 on a MBP and OS X 10.8 on a Mac Mini. I can connect to the Mini via ssh without any issues. I am running GNS3 (Network simulation) on the Mini and have configured it so that ...
1
vote
2answers
3k views

How to connect to the internet from Terminal when using a proxy with authentication

I have to use proxy servers to connect to the internet. I have set all proxies in my system proxy settings. Now I can connect to Internet using my browser and applications. But I cannot connect to ...
0
votes
1answer
653 views

restarting a airport from the commandline - of a non-mac

We have a few airport's and an airport express here at my work, and I would like to bring them into my Nagios monitoring more closely. Right now they are only being monitored by ping. I would very ...
1
vote
0answers
2k views

FTP: active vs. passive, command line vs. browser

Here's a weird one for everyone. I'll use AskDifferent because my test bed is on a Mac, but I don't know that the underlying issue is specifically Mac. My Mac is behind a NAT wall. Let's call my ...
1
vote
2answers
224 views

Check if Network Accounts are avalible

We have a domain running Microsoft Active Directory and in that domain there is a number of Mac computers running Leopard and later. Sometimes the users are met by a red dot at the login screen, ...
2
votes
1answer
5k views

SSH request timeout every time

I am trying to access a storage space we have at work via ssh but I get a timeout every single time (Mac OS 10.7.5 - Terminal). I checked firewalls, settings, even turned off Little Snitch, and port ...
3
votes
1answer
948 views

Can you send a message across the network?

There used to be the ability, perhaps before OS X, to send messages accross the local network, which displayed a popup on the receivers machine with the message. Is this still possible? Or is there ...
0
votes
1answer
1k views

How do I change the gateway of a specific connection using the Mac terminal?

My goal is to be able to change all of the following for a specific device: IP address, netmask, and gateway. So far, I've gathered that I should be able to use ifconfig con0 10.8.0.14 netmask ...
0
votes
1answer
281 views

Unable to ping any website through terminal and network utility

I have internet connection and I can access every website. But when I try to ping any website ( be it www.google.com or www.stackoverflow.com or any site ) I always get Request timeout for icmp_seq 0 ...
1
vote
2answers
227 views

Does anyone know a decent app to monitor bandwidth usage, ideally from the terminal?

I'd like to monitor my bandwidth usage on my Macbook pro, and keep logs of it. Ideally, I'd like to view/monitor them via the Terminal. Can anyone recommend me some applications? EDIT: To clarify, I ...
0
votes
3answers
629 views

Removing the automatic connection for 802.1X via terminal

So in the spirit of this question I was wondering if it is possible to disable automatic 802.1X connection via terminal as well. Am I right to assume that this is a computer setting (meaning that if I ...
1
vote
1answer
809 views

How do you access network preferences from the Terminal?

I can't seem to find how to open the network preferences from the Terminal. What Terminal command will open up the Network preferences window as if having gone by System Preferences > Network ?
0
votes
1answer
95 views

how can i get url of the application is connected to server?

I want to grab server url of each application that is online with that. Ex. twitter app -> http://twitter.com/... Ex. Tweetdec app -> http://client.tweetdec.com/... Ex. itunes app -> ...
6
votes
1answer
325 views

Is it possible that some hacker is logged in to my computer?

When I type w at the terminal I see myself logged in two times. What are console and s000? Is it possible that one of these neos is actually somebody else?
2
votes
0answers
234 views

Multi node cluster setup with home network for parallelized computing using e.g. hadoop, MPI or Rmpi

currently I am reading more and more about multi-core processing (threading) and parallel computing. So I was curious about how to use my 4-core processor to calculate parallelized algorithms using ...
3
votes
1answer
181 views

Changing the range of addresses served to clients connected via Internet Sharing

Macbook Pro Running 10.7.4 attempting to share ethernet connection via Airport(Wi-Fi) and trying to serve 192.168.1.x addresses to connected clients. I've tried the guidance provided here and the ...
5
votes
1answer
4k views

How to control AirPort wireless radio from the command line?

I want to know how to control (specifically turn off) the networking (specifically AirPort - I want to turn off the radio) from the command line (specifically from bash in Terminal.app, being run by ...
3
votes
3answers
3k views

How can I use Terminal to monitor a network interfaces total traffic in Mb

I would like to use the terminal to monitor the network traffic on a given interface, with a view to providing alerts when certain cumulative totals have been exceeded. The script needs to gain ...
4
votes
3answers
6k views

Why is my host name wrong at the Terminal prompt when connected to a public WiFi network?

For three days straight, I have connected to the public WiFi network at my local library. Each day, I have seen a different prompt in Terminal. Here are some of the prompts I've seen: zp-pc:~ ...
8
votes
4answers
3k views

Remotely SSH to IP address in home network

I've got a device at home I want to SSH to from work. The device has port 22 open locally and I have port 22 opened on my AirPort Extreme. However, on the AirPort Extreme it says the open 22 port only ...
7
votes
1answer
1k views

Change Network location from terminal

I have a two locations set up on my macBook. One for normal use and another for when I use a proxy, which I start from the command line. It would be very useful for me to be able to switch network ...
1
vote
1answer
2k views

Setting a static route every boot with launchd / plist is failing

I hope to use launchd to set a static route on a server at boot time since I haven't figured a better way to configure this sort of networking on a server. My problem is that the command seems to be ...
0
votes
1answer
2k views

How can I replace the nmblookup command on Lion? [duplicate]

Possible Duplicate: Where is nmblookup in Lion? In Snow Leopard, I used to use the command nmblookup -U 172.16.0.10 -R domainPC | grep '<00>' | awk '{print $1}' Blindly upgrading to ...
2
votes
2answers
245 views

Booting for imaging

Our corp is implementing Macs for the first time. We are using Casper to manage them. Unfortunately our Computing Security folks will not allow a Mac Server with NetBoot on our network, which puts ...
2
votes
3answers
1k views

How do I send files from one Mac to another via Terminal?

Is there a way to send a file in Terminal from one Mac to another? If I have a file on Mac A and I want to send it to Mac B via Terminal on Mac A, how do I do this?
4
votes
2answers
9k views

Find gateway address and netmask?

I come from the land of windows, where the ipconfig command shows four important pieces of information: IP address, netmask, gateway address, and MAC address. However, on a Mac, ifconfig only shows ...
13
votes
3answers
6k views

How can I “say” to another Mac?

I have two Macs in our house (iMac and MacBook Pro). I would like to use the say command-line utility to type something on my MPB and have it speak on the iMac, rather like an intercom system. Plus, ...
2
votes
1answer
1k views

Finder freezes when deleting files across a network

I have my MacBook 5,2 hooked up to an Ubuntu 10.10 'server' via ethernet. I've installed netatalk (AFP fileserver) and avahi-daemon (Bonjour for Linux) on the server. I've disallowed Spotlight from ...
2
votes
2answers
7k views

finding the remote IP address used by a mounted SMB share

Using Finder, I have mounted an SMB share which resides on my NAS . When I use the mount command, the NAS is listed with the name it advertises (nas-smb). mbp:~ me$ mount /dev/disk0s2 on / (hfs, ...
14
votes
6answers
6k views

Start/stop internet sharing from a script?

Is there a way to start/stop internet sharing from the command line or maybe an apple script? The thing is that I move around my laptop between home and work. At one place I get wireless internet ...