Author Topic: Router issues...  (Read 14150 times)

0 Members and 1 Guest are viewing this topic.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Router issues...
« on: November 04, 2009, 07:28:17 pm »
As I told some of you, I'm away in New York right now. Naturally, since I'm out of town, that = computer problems.

I narrowed it down to my Linksys WRT54g router dropping most packets for non-established connections (but, strangely, working fine for established connections). That means that once I'm SSHed in, everything's fine.

I wish I could reboot my router remotely, but it appears that Linksys WRT54g with stock firmware doesn't let you. I've been looking for a way, but it doesn't look promising.

So, if you manage to see this before I get back on Sunday, congrats!! :)

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: Router issues...
« Reply #1 on: November 05, 2009, 12:23:59 am »
Hurray!  :)
And like a fool I believed myself, and thought I was somebody else...

Offline Towelie

  • pwnstar
  • x86
  • Hero Member
  • *****
  • Posts: 4873
    • View Profile
Re: Router issues...
« Reply #2 on: November 05, 2009, 11:36:00 am »
Did I win? I had to refresh many times to get this far.

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Router issues...
« Reply #3 on: November 05, 2009, 05:25:40 pm »
does your wrt54g have a console interface?
You might be able to find it at Administration->Diagnostics.

If so, the "reboot" command should do the trick.

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: Router issues...
« Reply #4 on: November 06, 2009, 02:49:15 am »
Sadness :(
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Router issues...
« Reply #5 on: November 06, 2009, 10:13:30 am »
1. Go to the Administration tab after logging into the router
2. Go to Config Management
3. Click Backup button and back up the Config.bin file to the default directory or of your choice.
4. Click Browse and choose the same Config.bin file.
5. Click Restore button. The router will restart.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #6 on: November 06, 2009, 11:55:44 am »
does your wrt54g have a console interface?
You might be able to find it at Administration->Diagnostics.

If so, the "reboot" command should do the trick.
Nope, I looked for that. :(

1. Go to the Administration tab after logging into the router
2. Go to Config Management
3. Click Backup button and back up the Config.bin file to the default directory or of your choice.
4. Click Browse and choose the same Config.bin file.
5. Click Restore button. The router will restart.
Hmm, interesting! I'll take a look at that one. :)

Offline Armin

  • Honorary Leader
  • x86
  • Hero Member
  • *****
  • Posts: 2480
    • View Profile
Re: Router issues...
« Reply #7 on: November 06, 2009, 12:34:04 pm »
so what's with all the recent traveling?
Hitmen: art is gay

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Router issues...
« Reply #8 on: November 06, 2009, 02:04:00 pm »
Yay for x86 without CSS! I'll see you on Sunday. :(
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #9 on: November 06, 2009, 05:17:12 pm »
so what's with all the recent traveling?
Conference, then a course. :)

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Router issues...
« Reply #10 on: November 07, 2009, 01:16:16 am »
I'm getting ready to offer to host it on the same server where jinxbot.net lives.  Geez.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Router issues...
« Reply #11 on: November 07, 2009, 10:56:47 am »
iago already turned down my offer to have it hosted on my server

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #12 on: November 07, 2009, 05:52:32 pm »
I'm getting ready to offer to host it on the same server where jinxbot.net lives.  Geez.
I think you missed the part where I'm out of town. It's hard to fix something like a broken router without physical access.

Bad luck happens. You'll get over it! :)

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Router issues...
« Reply #13 on: November 07, 2009, 09:12:38 pm »
Ideally, someone could have set up a HTTP server that turns all requests over to your server through a tunnel, so that they're all one actual connection to your server. But oh well.

It seems to be working okay now. Did you fix something?
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #14 on: November 08, 2009, 02:33:57 pm »
Yeah, I just got home and powercycled my gear (router + switch + modem). As expected, it instantly fixed everything. Woo!

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: Router issues...
« Reply #15 on: November 08, 2009, 03:15:43 pm »
 /cheers
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Router issues...
« Reply #16 on: November 08, 2009, 04:06:43 pm »
Oh. That's cheating. :P
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Router issues...
« Reply #17 on: November 08, 2009, 04:24:35 pm »
iago, have you considered putting dd-wrt on your router?  There's a feature that allows you to do scheduled reboots.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #18 on: November 08, 2009, 04:43:15 pm »
Yeah, I've considered it. But I don't like running unofficial software like that in a production-type environment. My biggest concern is that dd-wrt has all kinds of vulnerabilities found on a regular basis.

That being said, it might be a good option. Buying a better router might be a better option. :)

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Router issues...
« Reply #19 on: November 08, 2009, 04:46:28 pm »
I'm getting ready to offer to host it on the same server where jinxbot.net lives.  Geez.
I think you missed the part where I'm out of town. It's hard to fix something like a broken router without physical access.

Bad luck happens. You'll get over it! :)

I knew you were out of town.  But since the site always happens to go offline whenever you're out of town, I thought you might be amicable to hosting it somewhere that's not dependent on your hardware.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #20 on: November 08, 2009, 05:13:12 pm »
I'm getting ready to offer to host it on the same server where jinxbot.net lives.  Geez.
I think you missed the part where I'm out of town. It's hard to fix something like a broken router without physical access.

Bad luck happens. You'll get over it! :)

I knew you were out of town.  But since the site always happens to go offline whenever you're out of town, I thought you might be amicable to hosting it somewhere that's not dependent on your hardware.
Well, it's just bad luck. We'll see what happens next time I go away (I'm half considering going to DC in February.. dunno if that'll actually happen :) ).

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Router issues...
« Reply #21 on: November 08, 2009, 06:02:00 pm »
My non-54g WRT has reboot.

Then again, it has DD-WRT on it, too.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Router issues...
« Reply #22 on: November 08, 2009, 08:02:43 pm »
When you restructure your Virtual Machines, I'd recommend (on no educational basis) using the host operating system for two functions: A router, and a VM host. That way, next time something bad happens, SSH into the host machine, issue a "reboot now", and then cleverly written boot scripts restart all your VMs and whatnot.

Opinion?
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Router issues...
« Reply #23 on: November 08, 2009, 08:49:31 pm »
Yeah, I've considered it. But I don't like running unofficial software like that in a production-type environment. My biggest concern is that dd-wrt has all kinds of vulnerabilities found on a regular basis.

That being said, it might be a good option. Buying a better router might be a better option. :)

Do something so it doesn't die when you go out of town.  I think the forums are doing poorly enough as it is. :P

Offline Armin

  • Honorary Leader
  • x86
  • Hero Member
  • *****
  • Posts: 2480
    • View Profile
Re: Router issues...
« Reply #24 on: November 09, 2009, 12:48:12 am »
I can't imagine x86 on a server not run by iago.
Hitmen: art is gay

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #25 on: November 09, 2009, 06:55:15 am »
When you restructure your Virtual Machines, I'd recommend (on no educational basis) using the host operating system for two functions: A router, and a VM host. That way, next time something bad happens, SSH into the host machine, issue a "reboot now", and then cleverly written boot scripts restart all your VMs and whatnot.

Opinion?
I used to do that. The problem is, my current connection is PPPoE, and drops pretty regularly. My Linksys router is pretty good at re-establishing the connection quickly, Linux might not be so good. My friend used to use Linux for PPPoE, and he got a lot of nasty crashes.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Router issues...
« Reply #26 on: November 11, 2009, 10:28:37 am »
whatever it is, it needs fixing.  FIX IT.

how do I recommend you do that?  it's a simple, three step plam:

1) FIX IT
2) FIX IT
and finally, 3) FIX IT.

Offline Lead

  • x86
  • Hero Member
  • *****
  • Posts: 635
  • Shaman of Sexy.
    • View Profile
Re: Router issues...
« Reply #27 on: November 11, 2009, 10:44:06 am »
whatever it is, it needs fixing.  FIX IT.

how do I recommend you do that?  it's a simple, three step plam:

1) FIX IT
2) FIX IT
and finally, 3) FIX IT.

You forgot 4) ????? and 5) Profit.


Quote
Son, if you really want something in this life, you have to work for it. Now quiet! They're about to announce the lottery numbers. - Homer Simpson

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: Router issues...
« Reply #28 on: November 11, 2009, 11:12:44 am »
whatever it is, it needs fixing.  FIX IT.

how do I recommend you do that?  it's a simple, three step plam:

1) FIX IT
2) FIX IT
and finally, 3) FIX IT.

I have a simple 1 step plan:

1) Succeed.

If you follow the plan, you're golden.
And like a fool I believed myself, and thought I was somebody else...

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Router issues...
« Reply #29 on: November 11, 2009, 02:42:38 pm »
My Linksys router is pretty good at re-establishing the connection quickly, Linux might not be so good. My friend used to use Linux for PPPoE, and he got a lot of nasty crashes.
WRT-54G is Linux, so that's a pretty bad argument :)

When I lived in the Fraternity house, I set up a Gentoo box to serve as a gateway/NATing router. Before we spent the money on the dedicated machine, I tried several different flavors of firmware for WRT-54G (we got three of these so we could get WiFi almost everywhere in the house), and none of them could scale to the ~50 computers on the network. They simply didn't have enough ram to persist that many connections.

We also bought two 20-something-port 100MBit/2-port gigabit switches, which we planted in the attic. It took about a month for me and one other person to finish wiring every room (2 singles, 14 doubles, 2 triples). It's been 4 years, and the system only gone down once in that entire time, due to the power going out.

In going with this solution, I realized how crippled these little boxes really are. As switches, they are fine, but the minute you start relying on a limited-RAM machine to perform NAT, you're pretty screwed. Aside from the obvious benefit of not having to reboot the WRTs six times a day, the internet-bound latency dropped significantly, and WiFi connections stopped dropping.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #30 on: November 11, 2009, 08:13:58 pm »
My Linksys router is pretty good at re-establishing the connection quickly, Linux might not be so good. My friend used to use Linux for PPPoE, and he got a lot of nasty crashes.
WRT-54G is Linux, so that's a pretty bad argument :)

When I lived in the Fraternity house, I set up a Gentoo box to serve as a gateway/NATing router. Before we spent the money on the dedicated machine, I tried several different flavors of firmware for WRT-54G (we got three of these so we could get WiFi almost everywhere in the house), and none of them could scale to the ~50 computers on the network. They simply didn't have enough ram to persist that many connections.

We also bought two 20-something-port 100MBit/2-port gigabit switches, which we planted in the attic. It took about a month for me and one other person to finish wiring every room (2 singles, 14 doubles, 2 triples). It's been 4 years, and the system only gone down once in that entire time, due to the power going out.

In going with this solution, I realized how crippled these little boxes really are. As switches, they are fine, but the minute you start relying on a limited-RAM machine to perform NAT, you're pretty screwed. Aside from the obvious benefit of not having to reboot the WRTs six times a day, the internet-bound latency dropped significantly, and WiFi connections stopped dropping.
It's not really an argument so much as a true story.

My friends used to use Gentoo for their PPPoE connection, and it would regularly kernel panic when the PPPoE dropped. This was as recently as maybe 6 months ago. As such, I don't trust Linux to maintain a stable PPPoE connection.

At the moment, I'm using Linux as a gateway/switch. All the router does is a dumb PPPoE connection. Everything else is handled behind it.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Router issues...
« Reply #31 on: November 12, 2009, 12:49:58 am »
[half-sarcastic]And it can't even do that right.[/half-sarcastic]
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Router issues...
« Reply #32 on: November 13, 2009, 11:55:30 am »
I don't understand how you can keep saying that, iago. Your WRT-54G has a Linux kernel, and uses almost entirely (excluding the web interface) upstream open-source software, so it's completely absurd to blame Linux' PPPoE support. A better explanation would be that your friend just doesn't know how to use Gentoo, since Linux PPPoE has been stable for almost a decade.
« Last Edit: November 13, 2009, 11:58:43 am by Camel »

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #33 on: November 13, 2009, 07:04:08 pm »
You don't understand how I tell a true story that actually happened? It's pretty easy, you start with facts and go from there. That's what I keep saying!

Whether or not WRT54g is running Linux under the hood, it's pretty specialized hardware. Definitely different than what you'd have in a standard desktop/server. That's the best explanation I can think of for the difference, but who knows? Whatever the case, I'm not going to take the effort of setting up PPPoE on a gateway machine when the potential consequences outweigh the benefits.

And for what it's worth, I'd gamble that the people running the box have more Linux experience than anybody here. They definitely knew what they were doing. It's pretty hard to cause kernel panics with stock systems by simply not knowing what you're doing. :P


Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Router issues...
« Reply #34 on: November 15, 2009, 05:57:33 am »
Quote
Whether or not WRT54g is running Linux under the hood, it's pretty specialized hardware. Definitely different than what you'd have in a standard desktop/server.
What's special about a 125MHz ARM processor connected to a 4-port switch and some LEDs?

Quote
Whatever the case, I'm not going to take the effort of setting up PPPoE on a gateway machine when the potential consequences outweigh the benefits.
I'm not suggesting that you should; I just think the arguments you made are unfounded, because they beg the question.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #35 on: November 15, 2009, 08:36:35 am »
Quote
Whether or not WRT54g is running Linux under the hood, it's pretty specialized hardware. Definitely different than what you'd have in a standard desktop/server.
What's special about a 125MHz ARM processor connected to a 4-port switch and some LEDs?
The difference is, it's designed for one very special purpose in life: networking. When something is specialized, it typically handles weird cases better.

Quote
Whatever the case, I'm not going to take the effort of setting up PPPoE on a gateway machine when the potential consequences outweigh the benefits.
I'm not suggesting that you should; I just think the arguments you made are unfounded, because they beg the question.
[/quote]
What I'm saying isn't even an argument.. it's a true story. That happened. You can't really refute that..

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Router issues...
« Reply #36 on: November 15, 2009, 02:47:05 pm »
I think we can conclude this now. Camel obviously wants iago to set up a Linux box as a router, and iago obviously isn't going to do it. Case closed.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Router issues...
« Reply #37 on: November 15, 2009, 02:48:59 pm »
This is what I was referring to:
My Linksys router is pretty good at re-establishing the connection quickly, Linux might not be so good. My friend used to use Linux for PPPoE, and he got a lot of nasty crashes.

I think we can conclude this now. Camel obviously wants iago to set up a Linux box as a router, and iago obviously isn't going to do it. Case closed.
When did I say iago should do this? I was just pointing out that iago was blaming the wrong thing for his friend's kernel panics.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Router issues...
« Reply #38 on: November 15, 2009, 03:02:00 pm »
This is what I was referring to:
My Linksys router is pretty good at re-establishing the connection quickly, Linux might not be so good. My friend used to use Linux for PPPoE, and he got a lot of nasty crashes.
And semantics aside, I think it's still valid. :P

I think we can conclude this now. Camel obviously wants iago to set up a Linux box as a router, and iago obviously isn't going to do it. Case closed.
When did I say iago should do this? I was just pointing out that iago was blaming the wrong thing for his friend's kernel panics.
Don't get trolled. :P