Resolving hostname depending on local network?

I have a basic networking question. On my laptop, when I'm connected to my home wireless network, I'd like home.example.com to resolve to my home servers local IP address, 192.168.1.100. But if I'm not connected to that network, I'd like it to resolve as a normal DNS request (e.g, perform the lookup).
I'm using wicd as my network manager.
Edit: To clarify a bit more, I have a server on my home network. I would like to be able to mount an SSHFS share no matter where I connect from. If I'm connected to my home network, I'd like to use the internal IP address, 192.1.168.100. If I'm on a different network, I'd like to use the public domain name. The reason I'd like to use the internal IP address if possible, is because it cuts latency in half, as well as if I were to not have Internet access at the home network, it wouldn't fail due to not having access to a DNS server.
Last edited by Ruckus (2009-08-15 09:31:06)

You essentially have to configure  your home dns server. If your laptop points to the gateway for dns resolution, you can use a program like dnsmasq on the server to setup a dns server, and I think you can specify items in the server's /etc/hosts that dnsmasq will use for name resolution.

Similar Messages

  • Cannot resolve host names on local network

    It is a local network with router, few Windows computers with shared drives and one Mac.
    Windows shares appear correctly in SHARED and can be used without any problems, like iTunes and iPhoto libraries are on those shared drives and work properly, even if ip address of those computers would change.
    BUT - if I am trying to use VNC and connect to hostname:port, it says that server is not specified. If I try to ping hostname it says Unknown host.
    At the same time, similar ping from Windows computer work without any problems.
    It could be possible that router does not support something standard and communicates with Windows using something windows-specific, but what confuses me is that I can see computer names resolved in the finder already! Also, as I said iTunes and iPhoto can work with shared files on dynamic ip's which would be not possible if host names would be not resolved.
    Thanks.

    Domain Name Resolution for local IP addresses require a Local DNS server running on your network.
    Bonjour names will resolve without a Local DNS server. So this is why iTunes and iPhoto works as they use bonjour technology.
    A bonjour name ends in .local so in your macs sharing preferences you give the mac a name of imac its bonjour address is imac.local
    Other than that you are best giving your devices fixed IP address and adding there hostnames to your hosts file.
    the contents of /etc/hosts on your mac would look like
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost
    so at the above that you could add for example
    192.168.1.5 mypc
    192.168.1.6 myprinter
    Then you could ping 192.168.1.5 by
    ping mypc
    So would have to add these entries to each hosts file on every computer on your lan.
    Or you could setup a local dns server and give each computer on your LAN a fully qualified domain name.

  • Every time i wake my mac i get This computer's local hostname "D-360.local" is already in use on this network. The name has been changed to "D-444.local".

    error message that my local host name is in use and the system generates a new one every time I wake my mac the error mssg reads This computer’s local hostname “D-360.local” is already in use on this network. The name has been changed to “D-444.local”.

    There are several possible causes for this behavior.
    1. Two (or more) computers on the local network have the same Bonjour name, such as "X's-MacBook-Pro.local". Resolve the name conflict by renaming one or more of them in the Sharing preference pane.
    2. You have two simultaneous connections to the same local network: probably Ethernet and Wi-Fi. If applicable, disconnect the Ethernet cable or turn off Wi-Fi.
    3. A Mac wakes from sleep due to network traffic. This is a bug in OS X that may only affect some models.
    4. A device that gets its network address from the router wakes from sleep, and the address it was using before has been assigned to another device.
    5. A third-party wireless router has incompatible settings or firmware. In that case, refer to the manufacturer or ISP for support. Restarting the router may help, temporarily.
    6. See also this support article.

  • DNS not resolving on one Mac but the other works fine in same local network

    Snow Leopard is doing something strange to the DNS or the permission to ping.
    I have 2 Macs on the same local network, connect through the same ISP (verizon FIOS). One has no problem resolving any domain, but the other is constantly not resolving some domains.
    The problem progresses like this:
    * All of a sudden, DNS is not resolving from Ethernet (when it did perfectly well a minute ago).
    * Then I switched to wireless (using the same LAN), and it resolved fine.
    * Then it failed completely a few minutes later.
    * Then I reboot my Mac, and it seemed to clear that, and worked for a day.
    * Then it failed again in both Ethernet and Wireless; rebooting does not fix it.
    * I cleared all the caches using Onyx, did "dscacheutil -flushcache", zapped the PRAM, reinstalled 10.6.2 combo update, repaired the permission, nothing works.
    * Since the unresolved domain is my own domain, I changed the nameserver, and waited for it to propagate to see if that may be the problem, since it appeared that it is not resolving the A Record, and I waited 72 hours, and it is not resolved or propagating to the local DNS, but it worked perfectly well on my other Mac within the same network.
    * Then I added other DNS, such as google DNS 8.8.8.8 or openDNS servers to it, but it didn't fix anything.
    * Then I "ping" either the unresolved domain or my own Mac .local, and it gave me the error "permission denied". (Whereas I have no problem pinging my own Mac or the unresolved domain in my other Mac that works!).
    * Then I "sudo ping" the unresolved domain or my own Mac, and it pinged perfectly well.
    * Then I tried "ping6" my own Mac or the unresolved domain on the broken Mac, and it worked fine!
    * Also, I used http://network-tools.com to ping it, and noticed that during the trace, somewhere along the route through te7-2.dsr02.dllstx3.theplanet.com and po2.car04.dllstx5.theplanet.com, it timed out along the route, so I don't know if the timeout could have been causing the reject, but I doubted, because "sudo ping" locally will get through but "ping" does not.
    So I think I traced the Snow Leopard DNS problem as follows:
    * Why does "ping6" works, but "ping" permission is denied unless the user is root?
    * I tried to "chmod 4755 ping" but it won't let me.
    * Is it because DNS is resolving using IPv6 but not IPv4?
    * Or is Snow Leopard somehow screwed up the permission to access ping or similar DNS service?
    * Why DNS has no problem in one Mac but caused problem on the other Mac, even though they are in the same local network?
    * The only difference between the Macs maybe because I have Parallels installed in the Mac that failed to resolve DNS (with the extra Parallels Shared Ethernet), which may be interfering with it, but I tried to turn Parallels Shared Ethernet off, and it did not fix the problem.
    Can anyone help or have any idea that I can fix this nagging bug with DNS? The DNS had worked before, but it simply quit working all of a sudden, and nothing can resurrect it.
    Thanks.

    Shut down Parallels and restart w/o letting any of Parallels TCP/IP stack resurrect itself. So many network issues with VM solutions. See if the problem persists. Create a new account and ping from there. Are your search domains manually entered on the 10.6 box?

  • I get this message:This computer's local hostname "x-8.local" is already in use on this network. The name has been changed to "x-9.local" I have turned off sharing and it continues to upgrade name. What is the fix?

    I get this message: This computer’s local hostname “x-8.local” is already in use on this network. The name has been changed to “x-9.local” I have turned off sharing and it continues to upgrade name. What is the fix?

    Hi, this is a common problem, mostly just irksome though.
    It can have many cause, like using more than one Interface for connections, Router temporarily losing x.local & seeing a new connection with x.local already used, insists it must be x-1.local, x-2.local, etc..
    What all Sharing do you have enabled?
    Some possible fixes...
    http://forums.macrumors.com/showthread.php?t=542899
    https://discussions.apple.com/thread/3941367

  • Why do I get the messagehis cowhy do I get the messageThis computer's local hostname "lenajs-imac.local" is alreamputer's local hostname "lenajs-imac.local" is already in use on this network. The name has been changed to "lenajs-imac-2.local".

    why do I get the message "this computers local host name ______is already in use by the network

    Usually this message means that you may have two simultaneous connections to the same local network: probably Ethernet and Wi-Fi. Disconnect the Ethernet cable or turn off Wi-Fi. If that's not the issue, shut down any virtual machines (Parallels, VMware, or VirtualBox) that are running. Rename the computer in the Sharing preference pane.

  • Easy filesharing setup for local network

    Hi folks,
    I'm currently trying to enable easy filesharing for my local network.
    Yesterday I installed Ubuntu 9.10 on a Laptop and it just worked.
    But I can't get filesharing to work under Arch (Chakra 64bit Beta 4) witch kde4.
    Samba is installed, the daemon is running... i cant figure out why it doesn't work.
    When I open Dolphin and go to Network I can see all the PCs in the local Network.
    After opening i can see 3 things (when looking at the system i am currently working on):
    <hostname>[00:21:5d:72:b4:84]  (has kind of a Networksymbol)
    <hostname> (has a shell-symbol)
    SFTP File Transfer on <hostname> (folder symbol with world in front of it)
    when clicking on the first one with the strange numbers, dolphin crashes.
    I dont know why! what i would like to have is a real symble filesharing for my local network i dont mind whether its nfs oder samba or whatever.
    thanks for help!

    We only want to connect/browse the server locally , so I'm a bit stumped on the need to set up DNS.
    Ideally i would like to browse the server directly by entering the IP address (and port number if need) followed by the site name.ie:
    By default, virtual hosting setup via Server Admin use name-based virtual hosting, meaning that Apache looks at the hostname in the request to work out which site configuration to use. That's why you need DNS - a way to map the numerous names to the various sites you've configured, e.g.:
    http://site1.server.local/ -> site 1
    http://site2.server.local/ -> site 2
    (where both site1.server.local and site2.server.local resolve to this server's IP address)
    It is possible to do port-based virtual hosting (where you include the port number in the URL) - to do this you leave the hostname blank in Server Admin and ensure that each site has a different port number configured.
    http://server1.local:8001/ -> site 1
    http://server1.local:8002/ -> site 2
    There's no easy way to map URI elements to different sites, e.g.:
    http://server1.local/site1 -> site 1
    http://server1.local/site2 -> site 2
    This can be done by editing Apache's configuration directly, but you can't do this via Server Admin (unless you really are just mapping to different directories and not entirely different sites).

  • OS X server for local network Drupal web development

    HI All,
    First post here, so here goes, please go easy
    Background
    We're a small web development shop and bought a mac mini server so we can collaboratively develop our websites. Previously we have all been using MAMP on each of our local machines to develop Drupal websites.
    *Help needed*
    I've tried configuring some custom sites through the web services preference pane, but have no luck in viewing these custom sites from our other mac clients.
    Ideally we want to virtual host multiple sites on our server that we can see on our local network.
    We only want to connect/browse the server locally , so I'm a bit stumped on the need to set up DNS.
    Ideally i would like to browse the server directly by entering the IP address (and port number if need) followed by the site name.ie:
    http://myserve.local/mydevelopmentsite
    Essentially, i would like to replicate MAMP functionality - hosting multiple sites on the server that can be collaborated on from the local machines.
    I've really found it hard to find any configuration information via search, most topics seem to refer to modifying regular OSX installs to work as a server. My understanding is that as OSX server has all the necessary LAMP components that this should be a fairly straightforward task.
    If anyone can share any links, advice or tutorials that would be much appreciated.
    Best Regards
    Hixster
    Message was edited by: hixtser
    Message was edited by: hixtser
    Message was edited by: hixtser

    We only want to connect/browse the server locally , so I'm a bit stumped on the need to set up DNS.
    Ideally i would like to browse the server directly by entering the IP address (and port number if need) followed by the site name.ie:
    By default, virtual hosting setup via Server Admin use name-based virtual hosting, meaning that Apache looks at the hostname in the request to work out which site configuration to use. That's why you need DNS - a way to map the numerous names to the various sites you've configured, e.g.:
    http://site1.server.local/ -> site 1
    http://site2.server.local/ -> site 2
    (where both site1.server.local and site2.server.local resolve to this server's IP address)
    It is possible to do port-based virtual hosting (where you include the port number in the URL) - to do this you leave the hostname blank in Server Admin and ensure that each site has a different port number configured.
    http://server1.local:8001/ -> site 1
    http://server1.local:8002/ -> site 2
    There's no easy way to map URI elements to different sites, e.g.:
    http://server1.local/site1 -> site 1
    http://server1.local/site2 -> site 2
    This can be done by editing Apache's configuration directly, but you can't do this via Server Admin (unless you really are just mapping to different directories and not entirely different sites).

  • Asa 5505 Remote VPN Can't access with my local network

    Hello Guys ,, i have a problem with my asa 5505 Remote VPN Connection with local network access , the VPn is working fine and connected , but the problem is i can't reach my inside network connection of 192.168.30.x , here is my configuration , please can you help me
    ASA Version 8.2(1)
    interface Vlan1
    nameif inside
    security-level 100
    ip address 192.168.30.1 255.255.255.0
    interface Vlan2
    nameif outside
    security-level 0
    ip address 155.155.155.10 255.255.255.0
    interface Vlan5
    no nameif
    no security-level
    no ip address
    interface Ethernet0/0
    switchport access vlan 2
    interface Ethernet0/1
    interface Ethernet0/2
    interface Ethernet0/3
    interface Ethernet0/4
    interface Ethernet0/5
    interface Ethernet0/6
    interface Ethernet0/7
    ftp mode passive
    access-list inside_nat0_outbound extended permit ip any 192.168.100.0 255.255.255.240
    pager lines 24
    logging asdm informational
    mtu inside 1500
    mtu outside 1500
    ip local pool vpn-Pool 192.168.100.1-192.168.100.10 mask 255.255.255.0
    icmp unreachable rate-limit 1 burst-size 1
    no asdm history enable
    arp timeout 14400
    global (outside) 1 interface
    nat (inside) 0 access-list inside_nat0_outbound
    nat (inside) 1 0.0.0.0 0.0.0.0
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    dynamic-access-policy-record DfltAccessPolicy
    no snmp-server location
    no snmp-server contact
    snmp-server enable traps snmp authentication linkup linkdown coldstart
    crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
    crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
    crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
    crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
    crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
    crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
    crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
    crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
    crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
    crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
    crypto ipsec security-association lifetime seconds 28800
    crypto ipsec security-association lifetime kilobytes 4608000
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs group1
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
    crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
    crypto map outside_map interface outside
    crypto isakmp enable outside
    crypto isakmp policy 10
    authentication pre-share
    encryption 3des
    hash sha
    group 2
    lifetime 86400
    telnet timeout 5
    ssh timeout 5
    console timeout 0
    dhcpd auto_config outside
    threat-detection basic-threat
    threat-detection statistics access-list
    no threat-detection statistics tcp-intercept
    webvpn
    group-policy mull internal
    group-policy mull attributes
    vpn-tunnel-protocol IPSec
    username xxx password eKJj9owsQwAIk6Cw encrypted privilege 0
    vpn-group-policy Mull
    tunnel-group mull type remote-access
    tunnel-group mull general-attributes
    address-pool vpn-Pool
    default-group-policy mull
    tunnel-group mull ipsec-attributes
    pre-shared-key *
    class-map inspection_default
    match default-inspection-traffic
    policy-map type inspect dns preset_dns_map
    parameters
      message-length maximum 512
    policy-map global_policy
    class inspection_default
      inspect dns preset_dns_map
      inspect ftp
      inspect h323 h225
      inspect h323 ras
      inspect rsh
      inspect rtsp
      inspect esmtp
      inspect sqlnet
      inspect skinny 
      inspect sunrpc
      inspect xdmcp
      inspect sip 
      inspect netbios
      inspect tftp
    service-policy global_policy global
    prompt hostname context

    Hey Jennifer i did every thing you mention it , but still i can't reach my inside network (LOCAL network)  iam using Shrew Soft VPN Access Manager for my vpn connection
    here is my cry ipsec sa
    interface: outside
        Crypto map tag: SYSTEM_DEFAULT_CRYPTO_MAP, seq num: 65535, local addr: 155.155.155.1
          local ident (addr/mask/prot/port): (0.0.0.0/0.0.0.0/0/0)
          remote ident (addr/mask/prot/port): (192.168.100.1/255.255.255.255/0/0)
          current_peer:155.155.155.1, username: Thomas
          dynamic allocated peer ip: 192.168.100.1
          #pkts encaps: 0, #pkts encrypt: 0, #pkts digest: 0
          #pkts decaps: 0, #pkts decrypt: 0, #pkts verify: 0
          #pkts compressed: 0, #pkts decompressed: 0
          #pkts not compressed: 0, #pkts comp failed: 0, #pkts decomp failed: 0
          #pre-frag successes: 0, #pre-frag failures: 0, #fragments created: 0
          #PMTUs sent: 0, #PMTUs rcvd: 0, #decapsulated frgs needing reassembly: 0
          #send errors: 0, #recv errors: 0
          local crypto endpt.: 155.155.155.1/4500, remote crypto endpt.: 155.155.155.20/4500
          path mtu 1500, ipsec overhead 82, media mtu 1500
          current outbound spi: 73FFAB96
        inbound esp sas:
          spi: 0x1B5FFBF1 (459275249)
             transform: esp-aes esp-sha-hmac no compression
             in use settings ={RA, Tunnel,  NAT-T-Encaps, }
             slot: 0, conn_id: 12288, crypto-map: SYSTEM_DEFAULT_CRYPTO_MAP
             sa timing: remaining key lifetime (sec): 2894
             IV size: 16 bytes
             replay detection support: Y
             Anti replay bitmap:
              0x00000000 0x00000001
        outbound esp sas:
          spi: 0x73FFAB96 (1946135446)
             transform: esp-aes esp-sha-hmac no compression
             in use settings ={RA, Tunnel,  NAT-T-Encaps, }
             slot: 0, conn_id: 12288, crypto-map: SYSTEM_DEFAULT_CRYPTO_MAP
             sa timing: remaining key lifetime (sec): 2873
             IV size: 16 bytes
             replay detection support: Y
             Anti replay bitmap:
              0x00000000 0x00000001

  • How to set up with cacheing DNS for local network?

    Our new Lion Server has a static IP Address pointed to over the internet by our registrar's zone file. Planning the Lion Server installation process with the intent of hosting Web, Mail and Open Directory services to a small number of users who are nearly all located off-site. I do also want Lion Server to be a caching DNS Server and DHCP authority on the local network to replace what dnsmasq does on our current Linux server.
    I am looking forward to offloading some of the lower level Linux administration tasks and putting myself in the hands of the Lion Server Setup Assistant and Server App :-) but at the same time don't understand some of  its assumptions and fear having to spend a lot of time experimenting and re-installing.
    So, specifically, I want the Server App to know that my Lion Server has a "Host Name for the Internet" but that the DNS it sets up will not be the DNS for my zone - I will be managing that through my registrar's interfaces.
    Second problem is my fnot understanding what name space devices on the local network will / should use. e.g.  The Linux server will be available for backups etc  on the local intranet (and optionally have a static ip address on the Internet) but MacBooks, PCs, iPads and iPhones will be served ip addresses by the Lion Server's DHCP. So will / should these dynamic devices have their machine names fully qualified by our domain name with RFC 1918 style ip addresses or something like .local?  How do I tell this to Lion's Server App / Setup Assistant? How easy is it to update these initial settings later?

    You do indeed need to have a master zone on lion server.  There's no way to get around that since Open Directory depends on Kerberos and Kerberos depends on the DNS.  LS scripts may see that the rDNS record exists, but I highly doubt that it'll auto configure everything for you... and given the number of possible variables, I bet that even if it worked something would need additional tweaking.
    Sounds like an interesting lab excersize.  You should try it on a test server!
    Again... you just need to folow the set up procedure that Lion Server presents you with. 
    It won't be smart enough to see your external records and use them to configure a key distribution center for your OD. 
    As far as your caching needs...  Could you set up your DHCP server to set the DNS server setting to show your internal server as the first hit, and your external as the second?  That way when the client requests a resolution it'll not get a hit on your local server but will from the external? 
    The question then is how long will it wait for a response from the first server?  Or will the first server respond with "I don't know" sending the client immediately to the second.
    The server set up that I have works similarly.  I have an internal master DNS that is replicated to a secondary.  The first DNS has an A record (community.server.com) that points to the INTERNAL ip address of the secondary server that's also running the web service.  The first server is running DHCP.  It tells the clients to use the first and second servers as it's DNS lookup. 
    Now...  Externally, my registrar hosts an A record for community.server.com that points to the external IP address of my router which then forwards the request to the proper port on the internal network.
    This way, the local clients internally look up and get a response locally when they go for community.server.com.  Externally, clients that look up community.server.com get the external connection to the router in my school.
    Yikes...  I fear that this is as clear as mud!
    -Graham

  • My server has Two NICs ! I want to use one of the NIC for the internet and the other to a local Network .

    In my case ,  there is a server ( windows 2008  enterprise) . Instead of sharing the internet using the server .  i have done the following .
         i have 24 port switch which is connected with the modem (ISP Gave it to me).  My server then is connected with the switch .  the client pcs are also connected with the switch(d-link switch).
    my objective is to enable efficient way of file sharing from server for client pcs and also internet sharing at the same time for client pcs!
    my server has two NICs ! how to make the local network and internet work with out a fight!
    how could i achieve this ?  help me guys
    regards

     It really depends on exactly what the equipment from the ISP is. If it is a simple modem there is no point in connecting it to a switch. It needs to connect to a router.
      You can connect it to one NIC of the server and configure the server as a (NAT) router (with the other NIC connected to the switch).
      If either of the switches is actually a router you can use it as the NAT router and run the server on the LAN using one NIC. 
    Bill

  • How can I see the PC on my local network

    How can I see the PC on my local network. With Leopard installed I see the others Mac on the network but ot the PC. But the PC see me. What happen and How I can resolve that.

    Have you tried connecting to the PC via the Finder's "Connect to Server…" and used the IP address?
    It would be smb://server.ip.address/sharename
    Do you have the workgroup set up in the network preferences for the service that you are connected to your LAN with.
    There is also a problem on Leopard where the workgroup doesn't stay set, so if that is the case, you need to duplicate the service (ethernet, airport, etc) and use the duplicate. You can then remove the original.

  • Setting up a VoIP extension on a local network.

    With the help of the experts on this board I have successfully set up a VoIP phone extension on our private network. The questions & answers can be viewed at. http://forums.linksys.com/linksys/board/message?board.id=VoIP_Adapters&thread.id=3197 . For the benefit of anyone attempting a similar project, here is the completed setup.
    This installation is in a small motel in Te Anau, on New Zealand’s South island. The manager lives off site, and needs to be able to receive calls at night, and also transfer incoming calls to guest’s extensions through the hotels PBX. This necessitates a direct link to the PBX, rather than simply diverting the phone. One solution would have been to lease a circuit from the local Telco, but in NZ, this is very expensive, so another solution was sought. Fortunately there was an established wireless data link between the hotel and the managers residence, so VoIP seemed the obvious choice.
    The equipment used is a Linksys SPA3102 connected to an extension on the PBX, and a Linksys PAP2 at the remote end. The setup would work equally well if connected to a phone line, rather than the PBX.
    I’ll start the setup with the SPA3102.
    Connect the POTS line to the LINE port, and your switch/router to the INTERNET port. In my setup the Ethernet port is not used. Plug a standard phone into the Phone port. This is useful for testing and setting up. It’s not needed afterwards, unless you want a local phone.
    Open your web browser, and type the adaptor IP into the address bar. Go to Admin, and Advanced Settings.
    ROUTER SETUP
    WAN Setup Tab:
    Connection type: Static IP.
    Static IP Settings: The Network address on your local network (192.168.x.x)
    Subnet mask 255.255.255.0
    LAN Setup Tab:
    LAN IP address: This is automatically selected to be on a different sub net from the WAN. Unless it conflicts with another address on your system you shouldn’t change it.
    Enable DHCP: No
    (Save these settings.)
    VOICE SETUP
    System Tab: No Changes
    SIP Tab: No Changes
    Provisioning Tab: No Changes
    Regional Tab: Mostly this sets the dial tones etc to match your local service. Unless you need them to be the same this shouldn’t need any changes
    The Hook Flash Timer Min & Max: should be set to the local values. The Defaults (.1 and .9) are OK for North America. Australia and New Zealand use .07 & .13. If you have trouble sending a hook flash, check these values against the local settings.
    DTMF playback level should be greater than zero. (I used 3)
    (Save these settings)
    Line 1 Tab:
    I don’t use Line 1 except for testing. During setup the line should be enabled. After the system is running OK, it can be disabled
    Line enabled yes
    SIP port 5060
    Proxies are not used in this setup.
    Register: No
    Make call without reg: yes
    Answer call without reg: yes
    User ID: 10? (you can use any number)
    Line 1 Tabupplementary services.
    Change Call waiting, 3 way Conf, and 3 way call, to no. (These interfere with sending a hook flash)
    Hook Flash Tx method: AVT
    (save these settings)
    PSTN Line Tab
    Line enable: yes
    SIP Port 5061 (default)
    Proxy: proxies are not used.
    Register: no
    Make call w/o reg yes
    Answer call w/o reg yes
    Display name: anything you like (VoIP gateway?)
    User ID: leave blank
    User password: leave blank
    Use auth ID: no
    Dial Plan 1: (<:*>S0). Switches to the outside line when * received.
    Dial Plan 2: (<:[email protected]:5060>S0). 11 is the user ID on the PAP2
    VoIP to PSTN enable: yes
    VoIP caller default DP: 1
    One stage Dialing: no
    VoIP users & Passwords.
    User 1 ID: 11. User1 DP: 1
    User 2 ID: 21 User 2 DP: 1
    User 3 ID 22 User 3 DP: 1
    (These are the line numbers of additional PAP2’s on our system)
    PSTN to VOIP Gateway enable: yes
    PSTN Caller ID none
    PSTN Caller Default DP: 2
    Detect PSTN long silence yes
    Detect VoIP long silence yes
    Detect Disconnect tone yes
    VoIP answer delay 0
    PSTN Answer delay 0
    PSTN to VoIP gain (Set these to adjust
    VoIP to PSTN gain the speech volume)
    Line in Use voltage: This should be set midway between the On Hook and Off Hook voltages, which you get from the Info screen. Most public phones are 47v on hook, and 7v off hook, so the setting should be 27v. My PBX is 27v on hook, and 7v off hook, so my setting is 17v. To read this, go to the Info screen and check the Line Voltage, then go Off hook (make a call), click the reload button on your browser, and check the line voltage again.
    (save these settings)
    This completes the setting up of the SPA3102.
    Now for the setup of the PAP2.
    Open your web browser, and type the PAP2 IP into the address bar. Go to Admin, and Advanced Settings.
    System tab:
    DHCP no
    Static IP 192.168.x.x (same sub-net as your network. Different adaptor number)
    Net Mask 255.255.255.0
    (save these settings)
    SIP Tab: no changes.
    Provisioning Tab: no Changes
    Regional Tab.
    Hook Flash Min & Max: change to your local settings if required.
    (save these settings)
    Line 1 & Line 2 Tabs.
    Whether you use Line 2 depends on whether you want to have 2 phones on the PAP2. All calls from the PSTN line of the SPA3102 will go to Line 1 of the PAP2 as per Dial Plan 2 on the SPA
    Line enable yes
    SIP port 5060 (line 1) & 5061 (line 2)
    Proxy Proxies are not used.
    Register no
    Make call w/o reg yes
    Answer call w/o reg yes
    Display name: anything you like
    User ID 11 (line 1) & 12 (line 2)
    (These are used to identify each line on the system)
    Call waiting: no
    3 way conf: no
    3 way call: no
    DTMF Tx method: AVT
    Dial Plan: This is the dial plan I use on line 1.
    (<:192.168.4.10:5061>S3|21S0<:@192.168.4.9:5060>|22S0<:@192.168.4.9:5061>)
    You will have to modify it for use on other lines, or other adaptors, and the IP addresses must match your system IP addresses. Here is an explanation.
    192.168.4.10:50613 All my adaptors are on subnet 4. 10 is the number of the SPA3102, and 5061 is the SIP port mapped to the PSTN line. If the handset is lifted, and no numbers are dialed the call will be transferred to the PSTN line after 3 seconds, and you will hear the outside dial tone. If within 3 seconds you dial either 21, or 22, the phone on either line 1, SIP port 5060, or Line 2, SIP port 5061, on adaptor 9 will ring. (If you only have one PAP2 then you will only need the first section of this dial plan.)
    Enable IP Dialing: yes
    (save these settings).
    User 1 and User 2 tabs: no changes
    That just about does it. All incoming calls from outside are received by the PBX, and after hours are sent to the extension connected to the SPA3102, which rings the phone on the remote PAP2 in the manager’s house. If the call is for a guest we can press the recall button (hook flash), dial the guest’s extension number, and transfer the call when they answer. As an added bonus we have a second PAP2 elsewhere on the network, and we can call between the 3 adaptors. All 3 adaptors have access to an outside line, though the PBX. I’m fairly sure it would also work through a VPN, which would mean we could take a VoIP phone anywhere in the world, and still be virtually ‘On site". I don’t know if that is a good thing or not.

    Hi HW,
    The PBX is a Panasonic TA308. There is no special interface to the PBX,  the  line port on the SPA3102 is simply plugged into an extension, like another phone. Anyone calling that extension will have the call routed through the SPA & PAP2 to the remote phone.
    The whole setup is totally seamless, & transparent to the user. As we are on a local network there is virtually no latency. There is a slight tendancy to echo,  but the echo suppression mostly takes care of that.
    THis has been a good exercise, and once I got my head around what I was trying to do, with your help,  it was pretty easy.  I think the hook flash timing would be the thing which gives most users a problem, as it seems to vary widely around the world. I was surprised at the difference between the US and NZ (.1 & .9 to .07 & .13).  There didn't seem to be any other critical differences.
    Now I am the local expert on VoIP   "In the Kingdom of the blind, the one-eyed man is King."

  • Mac was hacked on local network by roommate-how to re-install my files w/o reistalling command/terminal hack codes?

    I have a Mac Book Pro running latest version on Mountian Lion
    Processor  2.3 GHz Intel Core i7
    Graphics  Intel HD Graphics 4000 512 MB
    Memory  8 GB 1600 MHz DDR3
    Software  OS X 10.8.3 (12D78)
    My roommate hacked my Mac. I assume he did this via an old Mac he use to have access to, & then made changes via his PC & his Android phone (can tell by comparing Terminal to Access & Little Snitch) & since the codes I found all were as my User name & as Root Access... Thinking he started gaining access through the weak spot via Reboot Disk & Terminal access from there-though he denys it completely... (But I printed it all out) He accessed ALL my passwords & at the time I didn't know that as I kept trying to change things & lock things up... he was getting hidden files of EVERYTHING I WAS DOING & had remote access to my system, anything I did & camera on my mac.
    He hid files with sudo codes in Terminal & had constant any access via remote access, booting, starting or turning off as well as secretly deleting any files or notactions he wanted. He was ghost. 
    So now not only did he has complete access to my computer & camera... He would enter my room & take what he wants & then access my computer to delete EvoCam files/videos/pics.
    He also has been tracking everything I do on my computer and assume he has figured out how to hack my phone by now as well.
    He will be an EX-ROOMMATE as soon as I can legally get him out. But until then I am stuck. (Buying locks for all 3 of my bedroom & closet room access doors too!)
    I currently have him blocked off the local network & internet. But that won't last long.
    I jcopied over to my external hard drive all my important info, pics, files and just deleted the rest.
    It took many hours to get my mac to actually delete everything (I HOPE) & then finally let me re-load Mountain Lion. Now I am slowly adding back programs. I think he was also using the Windows interface & some Windows program to sneak past my firewall & all the stops I put up to block him off local.net.
    Changed ALL my passwords again-already. Hopefully by zeroing out my hard drive numerous times that it deleted his lines of codes.
    Tested in Terminal some of the lines of codes he used (Just lsof & ls -a, history, etc)
    SOOO MY QUESTIONS ARE:
    Is there a way to let him use the network without him being able to access my Mac??
    I have ALL ways I can find to turn off any file sharing, local or remote access... but I did that last time & he figured out a way around it!
    My Nework is on a NETGEAR Range Max N wireless router. I configured it this time via Ethernet instead of by Wireless-made my Mac only machine to make changes & only via Ethernet access. (Gave Ethernet & Wireless each their own IP address.)
    I also turned off the remote access again, locked in IP addresses to specific machines/phones/Pads... IE 192.168.1.2... on Router.
    I also installed Little Snitch, Have Tech Tools 6... Need a good virus protection... (did find some crap only in a couple of my emails when I used one I downloaded as a trial before the re-format... )
    Worried about installing Windows again.
    How do I block him from getting root access again?
    How do I keep him from hidding any codes?
    Thank you in advance for your help & suggestions!

    Well when he hacked it.. he took control of root & istalled a couple of programs from what I could tell-unforchantly don't have print outs of that.
    He added ARDAgent,  .user.sbin/aonotifyd lsoscript -e 'tell app ARDAgent diskutil list pdisk ls root ls local.com sudo ~/ .bsh.profile... was the part I started printing at...
    WHAT THE HECK IS: jbapps-
    then he went into mdworker, then added private screensharing.agent.launchd,
    then private event
    then private mdsDirectory.db
    then private messages mdsDirectory & se_SecurityMessages, & Private screensharing agent
    then accessed root access & got a list of every password that I had & used...
    Then installed Microsoft office \2011\Office\uniscribe.framework\Versions\12\Uniscribe
    the WLMUser.framework then accessed atcp:8254
    then core tools
    the path/to/file.txt
    then netbiosd
    then networksetup
    then newsyslog
    the defaults write com.apple.finder AppleShowAllFiles TRUE
    RSA_SecurID_getpasswd
    NetBootClientStatus
    diskmanagementd
    aosnotifyd
    asr
    automount
    avbdeviced
    PasswordService
    pboard
    ocspd
    ntptrace
    postalias
    pwd_mkdb
    racoon
    sercurityd
    slapd
    snmetadump
    systemkeychain
    systemsetup
    tcpdump
    universalaccessd
    autopen
    bootpd
    Microsoft SyncServicesAgent
    Code Signature & Resources
    osascript]remote management
    lastdate
    USER_IS_ADMIN=ADMIN
    hostname & domainname
    NetAuthAgent.app/Content?MacOS
    chflag hidden /mach_kernal
    sudo password root
    man sudo list
    finger lst User EventAgent launch User Event Plugins...
    and on & on & on...
    He got drunk...really drunk one night & told me that he saw something in my room... and then I found he had hidden the Facetime camera & an account had been setup which I never set up...
    A couple of programs got installed that I never install too. Plus when I went to reinstall my Mac there were four choices listed of places I could "istall Mountain Lion" to. One listd was my thumb drive-duh,, one was the hard drive, one was a PC Windows Drive??? the other was the partioned Reinstall part that Lion put on...
    Yeahhh... going to have to put the locks on all 3 doors.. the router is in my room as well as the old Mac & the cable modem. But the internet cable runs through his room to get to mine....
    I just have to get him out as soon as I can without cleaning me out first & setting it back up to where he has access to my machine or my phone.
    I wonder if he has hacked my phone... is there a way to tell?

  • Access local network drive

    I am looking for a way to access any kind of local network drive shuch as samba or nfs.
    It doesn't seem to be integrated in firefox os and I can't find an application with this functionnality.
    Please help !

    Hi kevin.huet,
    I understand that you would like to use your Firefox OS device to access files in a local network such as Samba or NFS.
    Unfortunately, this feature is not yet available natively for Firefox OS. I also looked in the Firefox Marketplace, and I was not able to find any application that offers these features.
    As a workaround, it may be possible to access the files directly through the browser in your Firefox OS device. I found an article that explains how to '''Access Network File Shares''' in a Chromebook laptop, but I assume that these same instructions should be valid for Firefox OS access.
    Please find the instructions below:
    * [http://www.howtogeek.com/191566/how-to-access-shared-folders-network-printers-and-vpns-on-a-chromebook/]
    I hope you find this information useful. Please let us know if your problem is resolved, and if you have any other questions about the usage of your Firefox OS device.
    Thanks,
    - Ralph

Maybe you are looking for

  • There is no 'open in' button in mail on my iPhone 4s so cannot open a file still, what do I do next?

    There is no 'open in' button in mail on my iPhone 4s so cannot open a file still, what do I do next?

  • BW 7.0 DataSource

    Hi Experts This is my problem: I must import a big Oracle table into BW 7.0. (about a 100 fields) As i don't want to introduce all the fields manually, I use the "Field proposal" feature in the proposal tab of the DataSource. Using DBConnect the fiel

  • S-bar crash adjusting brightness on GX780

    Hello, I have some problems with the s-bar utility crashing. Steps to reproduce: 1. Start Windows 7 x64 2. Login and wait for everything to load and the s-bar (star) to be displayed 3. Either use the FN key and up and down or click on the s-bar to ad

  • Using Kodak Hero 9.1 wifi printer with ipad3

    Hi, I have recently purchased a Kodak Hero 9.1 Wifi printer. I have downloaded the Kodak pic flik app and I can print photos wirelessly no problem. However when I try to print documents the IPad does not recognise the printer? I have even tried conne

  • Followed hyperlinks in PowerPoint 07 WON'T change color

    I have created a jeopardy-style game in PPT and the hyperlinks aren't cooperating.  When I click on one of the options, it takes me to the appropriate slide, but when I return to the main slide the link I previously clicked did NOT change color.  Thi