I am the Crown Prince of Routers
Moderators: AArdvark, Ice Cream Jonsey
- Ice Cream Jonsey
- Posts: 30067
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
I am the Crown Prince of Routers
I got rid of the DIR-655. More like DURRR-55 in a 75!
It really was a shitty router.
I did nothing but switch to this one:
ASUS RT-N66U Dual-Band Wireless-N900 Gigabit Router
and now I am getting speeds of 7MB/sec down stairs. In the dungeon. I haven't seen speeds of 7MB/sec consistently in 10 years. God. This is amazing. I downloaded so many Steam games tonight that my new favorite game on Steam is called "Watch the download speeds." IGN gives it a 7.9/10.
It really was a shitty router.
I did nothing but switch to this one:
ASUS RT-N66U Dual-Band Wireless-N900 Gigabit Router
and now I am getting speeds of 7MB/sec down stairs. In the dungeon. I haven't seen speeds of 7MB/sec consistently in 10 years. God. This is amazing. I downloaded so many Steam games tonight that my new favorite game on Steam is called "Watch the download speeds." IGN gives it a 7.9/10.
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 30067
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
- Ice Cream Jonsey
- Posts: 30067
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
This is the old place, Vark. The new place isn't a done deal yet - close (if it happens) got moved back a week.
Move to China. I'll do that. I guess WiFi is helped by the fact that it can ride solid matter to everyone's computers due to the air being so bad it's no longer a gas.
OK, I guess it's me or my machines since the same shit happens on two routers. Basically:
1) Everyone is reset and fine.
2) We go to work. Devices leave the house or go to sleep.
3) Come back in an hour. BACK. GET IT? Sorry. We come back home at the end of the day and now nothing can connect to the router that was previously connected.
I was reserving IP addresses for devices. I just killed off every reservation to see if it makes a difference. I really, really fucking hope the router or devices aren't going to "sleep." What it SEEMS like is that devices were connecting on their reserved IP and then going to sleep. When they wake up, it's like they are trying to get an IP address already reserved. The router doesn't understand that it's the same device requesting its own IP. That is what it seems like.
Move to China. I'll do that. I guess WiFi is helped by the fact that it can ride solid matter to everyone's computers due to the air being so bad it's no longer a gas.
OK, I guess it's me or my machines since the same shit happens on two routers. Basically:
1) Everyone is reset and fine.
2) We go to work. Devices leave the house or go to sleep.
3) Come back in an hour. BACK. GET IT? Sorry. We come back home at the end of the day and now nothing can connect to the router that was previously connected.
I was reserving IP addresses for devices. I just killed off every reservation to see if it makes a difference. I really, really fucking hope the router or devices aren't going to "sleep." What it SEEMS like is that devices were connecting on their reserved IP and then going to sleep. When they wake up, it's like they are trying to get an IP address already reserved. The router doesn't understand that it's the same device requesting its own IP. That is what it seems like.
the dark and gritty...Ice Cream Jonsey!
- Tdarcos
- Posts: 9529
- Joined: Fri May 16, 2008 9:25 am
- Location: Arlington, Virginia
- Contact:
I'm not sure how much of this you are aware of so forgive me if I go over stuff you already know.
When a device first needs to obtain an IP address it broadcasts a DHCP request to any srver, and some DHCP server that sees it assigns the device the IP address to the device's MAC address, along with other information such as the network mask and the gateway address, and, most importantly, a time limit it is promised to be granted the assignment for, which is called a "lease." Unless you set it differently the lease is usually one week.
The device will, when 1/2 of the lease time has expired, issue a request to renew its lease. If it does not get a response it will try again at 1/2 the remaining time, and keep repeating a request for a new lease at each 1/2 of the remaining lease time until it gets one or the lease expires. So, on a one week lease, it will try to renew at 3 1/2 days, then if that fails at about 30 hours, then 15 hours, and so on.
Now, if you put the mac address of a device along with the IP address in the router's permanent assignment table, the router's DHCP server simply never changes the IP address and gives that MAC address the same IP address every time it requests an assignment even if there were lower numbers available. It also never gives any other MAC address that IP.
So the point being is that a DHCP server such as your typical router / wireless router should accept DHCP lease requests all the time and it shouldn't matter whether a device already has an IP address, the device is going to ask to renew its lease from time to time. And it's possible if the device has cleared itself (like IPCONFIG /RELEASE forllowed by IPCONFIG /RENEW) that it can request a lease even if it still has time remaining on an existing lease.
As for router response problems, I have found lately that it makes sense to reboot the router on a regular basis - every few days - because sometimes the networking stops working and servers on my network suddenly vanish even when they were working a couple minutes earlier.
When a device first needs to obtain an IP address it broadcasts a DHCP request to any srver, and some DHCP server that sees it assigns the device the IP address to the device's MAC address, along with other information such as the network mask and the gateway address, and, most importantly, a time limit it is promised to be granted the assignment for, which is called a "lease." Unless you set it differently the lease is usually one week.
The device will, when 1/2 of the lease time has expired, issue a request to renew its lease. If it does not get a response it will try again at 1/2 the remaining time, and keep repeating a request for a new lease at each 1/2 of the remaining lease time until it gets one or the lease expires. So, on a one week lease, it will try to renew at 3 1/2 days, then if that fails at about 30 hours, then 15 hours, and so on.
Now, if you put the mac address of a device along with the IP address in the router's permanent assignment table, the router's DHCP server simply never changes the IP address and gives that MAC address the same IP address every time it requests an assignment even if there were lower numbers available. It also never gives any other MAC address that IP.
So the point being is that a DHCP server such as your typical router / wireless router should accept DHCP lease requests all the time and it shouldn't matter whether a device already has an IP address, the device is going to ask to renew its lease from time to time. And it's possible if the device has cleared itself (like IPCONFIG /RELEASE forllowed by IPCONFIG /RENEW) that it can request a lease even if it still has time remaining on an existing lease.
As for router response problems, I have found lately that it makes sense to reboot the router on a regular basis - every few days - because sometimes the networking stops working and servers on my network suddenly vanish even when they were working a couple minutes earlier.
"Baby, I was afraid before
I'm not afraid, any more."
- Belinda Carlisle, Heaven Is A Place On Earth
I'm not afraid, any more."
- Belinda Carlisle, Heaven Is A Place On Earth
In this thread Tdarcos spends 4 paragraphs explaining how DHCP works. In the last paragraph, he states that he has the exact same problem that Ice Cream Jonsey is having, and is doing the exact same thing (cycling the router's power) to fix it.Tdarcos wrote:I'm not sure how much of this you are aware of so forgive me if I go over stuff you already know.
When a device first needs to obtain an IP address it broadcasts a DHCP request to any srver, and some DHCP server that sees it assigns the device the IP address to the device's MAC address, along with other information such as the network mask and the gateway address, and, most importantly, a time limit it is promised to be granted the assignment for, which is called a "lease." Unless you set it differently the lease is usually one week.
The device will, when 1/2 of the lease time has expired, issue a request to renew its lease. If it does not get a response it will try again at 1/2 the remaining time, and keep repeating a request for a new lease at each 1/2 of the remaining lease time until it gets one or the lease expires. So, on a one week lease, it will try to renew at 3 1/2 days, then if that fails at about 30 hours, then 15 hours, and so on.
Now, if you put the mac address of a device along with the IP address in the router's permanent assignment table, the router's DHCP server simply never changes the IP address and gives that MAC address the same IP address every time it requests an assignment even if there were lower numbers available. It also never gives any other MAC address that IP.
So the point being is that a DHCP server such as your typical router / wireless router should accept DHCP lease requests all the time and it shouldn't matter whether a device already has an IP address, the device is going to ask to renew its lease from time to time. And it's possible if the device has cleared itself (like IPCONFIG /RELEASE forllowed by IPCONFIG /RENEW) that it can request a lease even if it still has time remaining on an existing lease.
As for router response problems, I have found lately that it makes sense to reboot the router on a regular basis - every few days - because sometimes the networking stops working and servers on my network suddenly vanish even when they were working a couple minutes earlier.
- Ice Cream Jonsey
- Posts: 30067
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
I appreciate that.Tdarcos wrote:I'm not sure how much of this you are aware of so forgive me if I go over stuff you already know.
Let me take the opportunity to say thanks for sticking with this BBS over the years. It's appreciated.
It's weird. And what I worry about is if I have just *one* device with a reserved IP address, that they all start screwing up. I really want the Raspberry Pi boards to have a reserved IP so I can just FTP files over. That and the fact that to play the video game baseball game I like needs a static IP is what is causing all this awfulness.Now, if you put the mac address of a device along with the IP address in the router's permanent assignment table, the router's DHCP server simply never changes the IP address and gives that MAC address the same IP address every time it requests an assignment even if there were lower numbers available. It also never gives any other MAC address that IP.
I guess the weak way to fix this is to have the router reset itself at 3AM or something. I wonder if that's possible with this ASUS one, to send it a restart signal...
the dark and gritty...Ice Cream Jonsey!
- RealNC
- Posts: 2289
- Joined: Wed Mar 07, 2012 4:32 am
You can login to that router through SSH. Or Telnet, if SSH doesn't work. It runs Linux and has a Busybox environment. That means you could set up a cron job that reboots it.
However, if the stock firmware doesn't allow for cron jobs, then you can flash a custom firmware. That router should be compatible with DD-WRT, I think. That firmware can do everything imaginable after you flash it. It might actually even fix your original problem, so that you won't even need the cron job in the first place...
However, if the stock firmware doesn't allow for cron jobs, then you can flash a custom firmware. That router should be compatible with DD-WRT, I think. That firmware can do everything imaginable after you flash it. It might actually even fix your original problem, so that you won't even need the cron job in the first place...
- RealNC
- Posts: 2289
- Joined: Wed Mar 07, 2012 4:32 am
Forgot to mention:
If you're afraid that flashing DD-WRT will void your warranty, then don't worry. Asus actually support this:
http://www.asus.com/us/site/routers/DD-WRT
Also, Asus routers are virtually impossible to brick when flashing them.
If you're afraid that flashing DD-WRT will void your warranty, then don't worry. Asus actually support this:
http://www.asus.com/us/site/routers/DD-WRT
Also, Asus routers are virtually impossible to brick when flashing them.
- Tdarcos
- Posts: 9529
- Joined: Fri May 16, 2008 9:25 am
- Location: Arlington, Virginia
- Contact:
I'm curious, why just one? I have two NAS boxes, one computer that is Ethernet connected to the router, one that has both an ethernet and wireless connection, one that has wireless only, and my network printer that is wireless connected. All of these have permanent IP addresses on my network.Ice Cream Jonsey wrote:It's weird. And what I worry about is if I have just *one* device with a reserved IP address, that they all start screwing up.
Also, since you're putting Raspberry PIs on your network, have you considered not having the PI use a DHCP client or the router's DHCP server, but simply inserting its static IP address set up in the router's table in the Pi's .hosts file? Or both, leave the DHCP client on in the PI, but also include its static IP address in its .hosts file?
"Baby, I was afraid before
I'm not afraid, any more."
- Belinda Carlisle, Heaven Is A Place On Earth
I'm not afraid, any more."
- Belinda Carlisle, Heaven Is A Place On Earth
- RealNC
- Posts: 2289
- Joined: Wed Mar 07, 2012 4:32 am
It's a Unix system facility that allows you to schedule tasks to run at specific intervals. Like doing a reboot at 3am each day.AArdvark wrote:I got lost right after the router going to sleep. What is a cron job?
Wikipedia is your friend ;-)
- AArdvark
- Posts: 17742
- Joined: Tue May 14, 2002 6:12 pm
- Location: Rochester, NY
Shhhhh! I didn't care that much, really. All I want is for the device to see the router and have them connect so I can come here.
There's a line from the movie 'Baby Boom' where whatsherface screams: "I just want hot water! I don't care where it comes from!" Sadly, that's how I feel when it comes to stuff like wi-fi.
SOMETIMES THE
DETAILS DON'T MATTER
AARDVARK
There's a line from the movie 'Baby Boom' where whatsherface screams: "I just want hot water! I don't care where it comes from!" Sadly, that's how I feel when it comes to stuff like wi-fi.
SOMETIMES THE
DETAILS DON'T MATTER
AARDVARK
- Flack
- Posts: 9058
- Joined: Tue Nov 18, 2008 3:02 pm
- Location: Oklahoma
- Contact:
I start my DHCP address lease space at .100 which allows me to use anything less than for static IP addresses. I usually put servers in the .2-.9 range, admin workstations in the .20 range, printers in the .30 range and now Raspberry Pis in the .40 range. Helps me keep track of stuff.
"I failed a savings throw and now I am back."
- Jizaboz
- Posts: 5420
- Joined: Tue Jan 31, 2012 2:00 pm
- Location: USA
- Contact:
- The Happiness Engine
- Posts: 868
- Joined: Thu Aug 02, 2012 4:16 pm
- Ice Cream Jonsey
- Posts: 30067
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact: