WRT54GL local DNS problem

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
crush
DD-WRT Novice


Joined: 08 Feb 2008
Posts: 12

PostPosted: Fri Feb 08, 2008 22:54    Post subject: WRT54GL local DNS problem Reply with quote
I've set up the latest dd-wrt with my router. I have three laptops that use it via wireless. They all get their IPs from the router's DHCP, they can access the Internet, but they can't see each other in My Network Places.

I've enabled DNSmasq everywhere I could find. I also put the wireless on the same VLAN as the ethernet ports (Does that do any good, is that ok? I don't understand the bridge part.). I've turned off AP isolation.

The PCs can connect to each other if I enter the IP address, for example, \\192.168.1.131, in the address bar, but not when I enter the computer name. Each PC can also see their own shared folders in My Network Places. So everything should be set up correctly, but the router does not resolve the IP addresses to computer names.

I can't find the problem. Please help.
Sponsor
arvetus
DD-WRT User


Joined: 01 Feb 2008
Posts: 151
Location: Lufkin, Texas, USA

PostPosted: Sat Feb 09, 2008 0:53    Post subject: Reply with quote
Does this only happen on one computer? Or have you tried to "find" another computer from every computer on your network.

The router shouldn't have anything to do with it, as you could connect computers via a switch only and they should still find each other.

You may have a corrupt LMHosts file on one or all of your computers, as that is what Windows uses to resolve the local NetBIOS names. If you have a main desktop that you use, I would start there.

Read this article for more info on the NetBIOS names:
http://articles.techrepublic.com.com/5100-6349_11-5034239.html
crush
DD-WRT Novice


Joined: 08 Feb 2008
Posts: 12

PostPosted: Sat Feb 09, 2008 0:57    Post subject: Reply with quote
Yes, this problem is on all the PCs. Ip addresses work, but not Netbios names. I'll check out the guide.

Edit:
The Lmhosts file was empty.
I also noticed that the router shows up in My Network Places because I have enabled Upnp, but I can't see its properties, because it says the device is not available.
arvetus
DD-WRT User


Joined: 01 Feb 2008
Posts: 151
Location: Lufkin, Texas, USA

PostPosted: Sat Feb 09, 2008 1:16    Post subject: Reply with quote
just for grins, have you tried taking the router out of the mix and networking your PC's with an old switch or hub to see if they can find each other?

Another thing to check: Are all your PC's in the same workgroup?
crush
DD-WRT Novice


Joined: 08 Feb 2008
Posts: 12

PostPosted: Sat Feb 09, 2008 2:03    Post subject: Reply with quote
Before I bought the router I had the PCs conected wirelessly ad-hoc. They could see each other and share files.

Yes, they are in the same workgroup.

What's strange is that I can access the shared files if I enter the other PCs IP address, but not the name. Can Dnsmasq screw that up? What happens if I disable it? Will Netbios take over?
esko
DD-WRT User


Joined: 05 Feb 2008
Posts: 58

PostPosted: Sat Feb 09, 2008 2:12    Post subject: Reply with quote
Check out my POST HERE:

I had the same issue. Here is what I have checked and everything works fine. However, I only have 6% RAM Free.

http://dd-wrt.com/phpBB2/viewtopic.php?t=27295
crush
DD-WRT Novice


Joined: 08 Feb 2008
Posts: 12

PostPosted: Sat Feb 09, 2008 2:24    Post subject: Reply with quote
esko wrote:
Check out my POST HERE:

I had the same issue. Here is what I have checked and everything works fine. However, I only have 6% RAM Free.

http://dd-wrt.com/phpBB2/viewtopic.php?t=27295

Why is the used domain "WAN", instead of "LAN&WLAN"?

After some tweaking I can now see other PCs in Network Places on all the PCs. However, one of them still can't upen the router's upnp properties page, while the others can. There's still something wrong.
arvetus
DD-WRT User


Joined: 01 Feb 2008
Posts: 151
Location: Lufkin, Texas, USA

PostPosted: Sat Feb 09, 2008 3:02    Post subject: Reply with quote
crush wrote:
What happens if I disable it? Will Netbios take over?


NetBIOS should take over anyway. I have DNSMasq enabled on mine, but I use it to route traffic that's meant to go to the office to the office. I can resolve all names on my local network here at the house just fine. I don't believe I've ever seen a network where you CAN'T resolve the local workgroup computer names.

But, I'm not familiar enough with the DD-WRT firmware to know if there would be a setting in there that could block that from happening. It shouldn't...it's just a fancy switch. Unless you have a DNS server like on a client/server network, hostnames should sort themselves out between the computers on the network with no intervention. Although, sometimes, I have seen machines with older OS's (Win98 especially) take over and try to be the "master browser" and it jacks up the whole thing.

When I worked for Wendy's, I had a network comprised of XP computers and Win2003 servers and ONE Win98 box that I kept around only because of the data that was on it. It's a long story... Anyway, I was having problems resolving names on the network, and come to find out, the Win98 box was interfering and trying to be the master browser. Disabled that feature in the registry and all was good.

What happens if you disable both DNSMasq and Local DNS and just leave that text box blank?
crush
DD-WRT Novice


Joined: 08 Feb 2008
Posts: 12

PostPosted: Sat Feb 09, 2008 3:48    Post subject: Reply with quote
arvetus wrote:
What happens if you disable both DNSMasq and Local DNS and just leave that text box blank?

Strangely enough, everything still works. Except for the properties page, of course, but I don't care about that anymore.

So what is Dnsmasq good for if everything works without it just as well?
arvetus
DD-WRT User


Joined: 01 Feb 2008
Posts: 151
Location: Lufkin, Texas, USA

PostPosted: Sat Feb 09, 2008 8:08    Post subject: Reply with quote
it's a DNS forwarder...meaning, you have to tell it where to forward the dns requests. If you enable it and then don't tell it where to forward the requests to, it won't do you a bit of good. At least, that is my understanding.
soulstace
DD-WRT Guru


Joined: 04 Aug 2007
Posts: 6427

PostPosted: Sat Feb 09, 2008 9:01    Post subject: Reply with quote
As mentioned, you shouldn't need local DNS for workgroup operation. NetBIOS takes care of computer names.

I am able to access the workgroup from wireless clients just fine in Eko's RC6 build 8790 nokaid. I think you may have a firmware bug, or you have a broken configuration.
crush
DD-WRT Novice


Joined: 08 Feb 2008
Posts: 12

PostPosted: Sat Feb 09, 2008 10:10    Post subject: Reply with quote
Ok, since I don't do any DNS forwarding, at least I think so, I left the Dnsmasq on only for DHCP. Sharing files works both ways.
arvetus
DD-WRT User


Joined: 01 Feb 2008
Posts: 151
Location: Lufkin, Texas, USA

PostPosted: Sat Feb 09, 2008 14:56    Post subject: Reply with quote
If you're just a local network of 3 laptops sharing files and internet access, you shouldn't need DNS forwarding. Your computers will sort out the NetBIOS names themselves.

If you had a VPN connection to your office, you may want to set up DNSMasq to forward DNS requests meant for your office to go there.

You could also forward DNS requests to your ISP's DNS server, but when your router logs into the ISP either via PPPoE or DHCP, the router takes care of that anyway.

Otherwise, yeah, you're good ... you don't need to do any DNS Wink
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum