Koozali.org: home of the SME Server

wired and wireless resolving hostnames

Offline kryptos

  • *****
  • 245
  • +0/-0
wired and wireless resolving hostnames
« on: February 02, 2011, 04:02:11 AM »
Hello,

I have this problem right now I don't know if others are experiencing this also. My situation is we have laptops that has wired and wireless interface on it. Right now they will connect the wired most of the times but there are times that need to go wireless. Now we have sme server acting as a dhcp server when they are connected to the wired connection we can ping it's computer name but when they go wireless I can't ping them or resolve it's hostame.Maybe could this be the registered on the server is the wired connections. How can I resolve this so that the server will also resolve to the wireless connection when the users switch to wireless?


Regards,
Rocel

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: wired and wireless resolving hostnames
« Reply #1 on: February 02, 2011, 01:06:17 PM »
What is the setup of your network?

     internet
          |
    SME Server
     |              |
Wireless     wired router
     |             |
      computers

Have you reviewed;
1) Setup up of wireless router/access point?

2) Setup of wireless adapter on any laptop?
 

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: wired and wireless resolving hostnames
« Reply #2 on: February 03, 2011, 02:24:41 AM »
What is the setup of your network?

     internet
          |
    SME Server
     |              |
Wireless     wired router
     |             |
      computers

Have you reviewed;
1) Setup up of wireless router/access point?

2) Setup of wireless adapter on any laptop?


This is our setup:

           Internet
               |
               |
     ________________
   | SME Server(DHCP) |
    -------------------
               |
          SWITCH HUB
               |        |
 Access Point    Wired
               |        |
                -------
                    |
                Laptop ( DHCP CLIENT-obtain IP address automatically)


Regards,
Rocel

         


Offline imcintyre

  • *
  • 609
  • +0/-0
Re: wired and wireless resolving hostnames
« Reply #3 on: February 03, 2011, 03:34:08 AM »
Should work without any issues.
I'm exactly the opposite, rarely wired.
to check, i went to my wireless/wired router, plugged in a cable, disabled my wireless adapter,enabled my wired adapter and wrote this.
Anyways I'm back to wireless.

So I think that there is somrthing wrong with your device set up or adapter set up.

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: wired and wireless resolving hostnames
« Reply #4 on: February 03, 2011, 05:46:27 AM »
Should work without any issues.
I'm exactly the opposite, rarely wired.
to check, i went to my wireless/wired router, plugged in a cable, disabled my wireless adapter,enabled my wired adapter and wrote this.
Anyways I'm back to wireless.

So I think that there is somrthing wrong with your device set up or adapter set up.

If I ping only the IP address I can ping it but ping using it's hostname it can't. Have you  tried pinging it's hostname because in my network it won't.


Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: wired and wireless resolving hostnames
« Reply #5 on: February 03, 2011, 01:08:10 PM »
Some thoughts about computer names - with no concrete solutions to your problem:

SME does not automatically create DNS mappings for DHCP clients on the LAN (http://bugs.contribs.org/show_bug.cgi?id=2388).

As a result, any access using computer names is either using a DHCP reservation (a pre-configured hostname), or it is using NetBios Name Service (NBNS, or WINS).  NBNS is controlled by the "nmbd" service on SME, but this doesn't appear to do much unless your SME is configured as a domain controller -- and then only for computers that are joined to the domain.

With no entries in tinydns, and no entries in nmbd, you're relying on Netbios broadcasts to get your workstation name out to the rest of the network.  This could be affected by various firewall settings, name caches, or workgroup settings (I don't know if this is how it is supposed to work, but on a network with no WINS/nmbd or DHCP/DNS servers, I seem to always have trouble browsing to computers that aren't configured with the same workgroup as my workstation).



Offline imcintyre

  • *
  • 609
  • +0/-0
Re: wired and wireless resolving hostnames
« Reply #6 on: February 04, 2011, 04:12:07 AM »
Rocel;

In your first post when you said that you couldn't ping them, I assumed that they in turn could not connect to the network. 

I misunderstood what your problem is and probably can't help.


Offline kryptos

  • *****
  • 245
  • +0/-0
Re: wired and wireless resolving hostnames
« Reply #7 on: February 04, 2011, 08:13:15 AM »
Rocel;

In your first post when you said that you couldn't ping them, I assumed that they in turn could not connect to the network. 

I misunderstood what your problem is and probably can't help.

No, I said that I can't ping using its computer name.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: wired and wireless resolving hostnames
« Reply #8 on: February 04, 2011, 03:44:48 PM »
Some thoughts about computer names - with no concrete solutions to your problem:

Your analysis is correct.. The solution is to:

1) not ping by hostname

or

2) use the hostnames and addresses panel to fix the MAC -> address mapping in DHCP and add the name to DNS.