Lan OK, Wan KO with a laptop on a router with DDWRT

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


Joined: 24 Feb 2015
Posts: 22

PostPosted: Mon Mar 30, 2015 12:37    Post subject: Lan OK, Wan KO with a laptop on a router with DDWRT Reply with quote
Hello,

I have a problem with an old laptop.
the laptop: 'Toshiba satellite Pro L350'.

My router is Asus RT-AC68U with Firmware:DD-WRT v24-sp2 (02/23/15) std.

I have a nas Synology with DHCP server which give the ip to my home network, I use this DHCP because I have a PXE server on it.

All my local network is ok:
my computers, tablets, phones receive ip from the nas and can ping and acces the router and internet... no problem

my problem is with the laptop:
I test ethernet and wifi, same problem, the ip is ok by the nas, I can ping my nas and other devices in my network (computers etc...) I can access to my nas folders... so my Lan is ok. All is good...
But this laptop can't ping the gateway (ip router 192.168.1.1) and can't go to internet (no internet access)... Wan KO.

I test this laptop with an other router and it works ethernet and wifi, internet Wan OK...
so, I think I have done something wrong with the settings DDWRT but it's just for this laptop... ?!

I know it's incredible.

I look for the ip, netmask, gateway... all the same as my desktop computer (ip different but it's in 192.168.1.***)
I try to flushdns
Code:
arp -d *
nbtstat -R
ipconfig /flushdns
reboot

same... Lan Ok, Wan KO Embarassed
I also try to boot in PXE with a linux mint, Lan Ok and Wan KO with ethernet and wifi too... can't ping/access the router. same as windows.

if you have any idea/suggestion please ?

Thank you for your help
Sponsor
Arkoth
DD-WRT Novice


Joined: 24 Feb 2015
Posts: 22

PostPosted: Tue Mar 31, 2015 8:58    Post subject: Reply with quote
I flash my RT-AC68U with the last firmware:
Firmware: DD-WRT v24-sp2 (03/27/15) std

I retry, same problem: Lan Ok, Wan KO, can't ping/access the gateway/router with my laptop only in my house... no internet.
Arkoth
DD-WRT Novice


Joined: 24 Feb 2015
Posts: 22

PostPosted: Sun Apr 05, 2015 8:24    Post subject: Reply with quote
up Smile
Murrkf
DD-WRT Guru


Joined: 22 Sep 2008
Posts: 12675

PostPosted: Sun Apr 05, 2015 14:15    Post subject: Reply with quote
It's not your ddwrt router. Perhaps your laptop isn't set to be auto ip and auto DNS. Perhaps you have limited your leases in your dhcp server. Could be lots of things, but it is most unlikely to be your ddwrt router. Put stock firmware back on and test.
_________________
SIG:
I'm trying to teach you to fish, not give you a fish. If you just want a fish, wait for a fisherman who hands them out. I'm more of a fishing instructor.
LOM: "If you show that you have not bothered to read the forum announcements or to follow the advices in them then the level of help available for you will drop substantially, also known as Murrkf's law.."
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Sun Apr 05, 2015 20:05    Post subject: Reply with quote
Check that the laptop is getting an ip address of 192.168.1.x, gateway 192.168.1.1.

Set a static ip on it and test.
Arkoth
DD-WRT Novice


Joined: 24 Feb 2015
Posts: 22

PostPosted: Mon Apr 06, 2015 16:41    Post subject: Reply with quote
I disable the DHCP server on my synology.

I enable the DHCP server on the router RT-AC68U with dnsmasq to use PXE on my synology.
screenshot in attachment.

The IP are Ok on the lan... PXE works too...

as you can see in screenshots:
My computer "PCPLAYER" has IP 192.168.1.40
My laptop "PCPORTABLE" has IP 192.168.1.54 (wifi SNR 55, signal quality 75%)


for my computer "PCPLAYER", details ipconfig:
Quote:
Configuration IP de Windows

Nom de l'hôte . . . . . . . . . . : PCPLAYER
Suffixe DNS principal . . . . . . :
Type de noeud. . . . . . . . . . : Hybride
Routage IP activé . . . . . . . . : Non
Proxy WINS activé . . . . . . . . : Non

Carte Ethernet Connexion au réseau local 3 :

Suffixe DNS propre … la connexion. . . :
Description. . . . . . . . . . . . . . : Intel(R) Gigabit CT Desktop Adapter #2
Adresse physique . . . . . . . . . . . : ****************
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui
Adresse IPv6 de liaison locale. . . . .: fe80::*************(préféré)
Adresse IPv4. . . . . . . . . . . . . .: 192.168.1.40(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.0.0
Bail obtenu. . . . . . . . . . . . . . : lundi 6 avril 2015 09:37:05
Bail expirant. . . . . . . . . . . . . : vendredi 14 mai 2151 00:26:52
Passerelle par défaut. . . . . . . . . : 192.168.1.1
Serveur DHCP . . . . . . . . . . . . . : 192.168.1.1
IAID DHCPv6 . . . . . . . . . . . : 359138762
DUID de client DHCPv6. . . . . . . . : *********
Serveurs DNS. . . . . . . . . . . . . : 127.0.0.1
NetBIOS sur Tcpip. . . . . . . . . . . : Activé


for my laptop "PCPORTABLE", details ipconfig:
Quote:

Configuration IP de Windows

Nom de l'hôte . . . . . . . . . . : PCPORTABLE
Suffixe DNS principal . . . . . . :
Type de noeud. . . . . . . . . . : Hybride
Routage IP activé . . . . . . . . : Non
Proxy WINS activé . . . . . . . . : Non

Carte réseau sans fil Connexion réseau sans fil :

Suffixe DNS propre … la connexion. . . :
Description. . . . . . . . . . . . . . : Intel(R) WiFi Link 5100 AGN
Adresse physique . . . . . . . . . . . : **************
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui
Adresse IPv6 de liaison locale. . . . .: fe80::*************(préféré)
Adresse IPv4. . . . . . . . . . . . . .: 192.168.1.54(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.0.0
Bail obtenu. . . . . . . . . . . . . . : lundi 6 avril 2015 17:22:20
Bail expirant. . . . . . . . . . . . . : vendredi 14 mai 2151 00:38:47
Passerelle par défaut. . . . . . . . . : 192.168.1.1
Serveur DHCP . . . . . . . . . . . . . : 192.168.1.1
IAID DHCPv6 . . . . . . . . . . . : 234889579
DUID de client DHCPv6. . . . . . . . : ************
Serveurs DNS. . . . . . . . . . . . . : 192.168.1.1
NetBIOS sur Tcpip. . . . . . . . . . . : Activé



Test the laptop to ping the gateway "ping 192.168.1.1":
- sometimes it works and I have internet:
Quote:
Envoi d'une requête 'Ping' 192.168.1.1 avec 32 octets de données :
Réponse de 192.168.1.1 : octets=32 temps=3 ms TTL=64
Réponse de 192.168.1.1 : octets=32 temps=3 ms TTL=64
Réponse de 192.168.1.1 : octets=32 temps=3 ms TTL=64
Réponse de 192.168.1.1 : octets=32 temps=3 ms TTL=64


- most of time, it don't work (whitout moving the laptop, whithout doing anything, always at 5 meters from the router):
Quote:
Envoi d'une requête 'Ping' 192.168.1.1 avec 32 octets de données :
Délai d'attente de la demande dépassé.
Délai d'attente de la demande dépassé.
Délai d'attente de la demande dépassé.
Délai d'attente de la demande dépassé.


When I can't ping gateway, I don't have internet but I can access my other Lan device (example SERVNAS) as I've sayed...

This problem is with wifi and ethernet too on the laptop... try windows and linux, same problem. I also try to disable the windows firewall to test but same...

I have no idea why it works sometimes and don't work most of time.

If you have idea ?
Thank you for your help



static_lease.png
 Description:
static lease and PXE
 Filesize:  46.26 KB
 Viewed:  5074 Time(s)

static_lease.png



dhcp_enable.png
 Description:
DHCP enable
 Filesize:  28.26 KB
 Viewed:  5074 Time(s)

dhcp_enable.png


Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Mon Apr 06, 2015 17:52    Post subject: Reply with quote
Your netmask is wrong for a c-class network. It should be 255.255.255.0

If you need more than 254 ip addresses in your network use a B-class (172.16-32.0.0)

Older equipment may have problem with this configuration.
Arkoth
DD-WRT Novice


Joined: 24 Feb 2015
Posts: 22

PostPosted: Mon Apr 06, 2015 18:37    Post subject: Reply with quote
I try it (change the netmask) and reboot... but same problem:
it works, it doesn't work etc.. etc...



ip_netmask_class_c.png
 Description:
 Filesize:  34.29 KB
 Viewed:  5052 Time(s)

ip_netmask_class_c.png


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