mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Science & Technology

Reply
 
Thread Tools
Old 2015-06-26, 19:19   #1
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default Bricked router

My website being down is a consequence of this:

https://www.reddit.com/r/techsupport...y_power_surge/

Do any of the folks here know about flashing dead routers or manually configuring Linux eth interfaces?
Dubslow is offline   Reply With Quote
Old 2015-06-27, 09:16   #2
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

2·3·29·67 Posts
Default

Quote:
Originally Posted by Dubslow View Post
My website being down is a consequence of this:

https://www.reddit.com/r/techsupport...y_power_surge/

Do any of the folks here know about flashing dead routers or manually configuring Linux eth interfaces?
Yes to the latter. "man ifconfig" should tell you what you need to do.
xilman is offline   Reply With Quote
Old 2015-07-07, 04:05   #3
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

Tonight upon the hearsay advice of a friend, we messed around with the "WAN Port Assignment" setting of DD-WRT, under the Setup->Network tabs. The ethernet cable connected to the ISP is now in LAN1 (WAN port is now unused, fortunately I previously had the last LAN port unneeded), and LAN2-LAN4 now get internet through LAN1, though not actually controlled by my router; rather, each gets its own IP addr on the ISP's subnet. The wireless doesn't currently work, nor do I know how to access the OS on the router (at least not while the outside connection is plugged in), and I can't control and IP address assignments on the ISP's subnet, nor any port control.

The upshot is that my server is connected to the internet again, though I currently don't know its IP address on the ISP's subnet, much less how to connect to it from the outside. But at least my desktop isn't crippled anymore. (Playing bot matches of DotA 2 can only entertain me for so long.)

One curious side effect of the current setup is that both me and my roommate's computer (and presumably my server) all seemingly share the same external IP address, despite having separate addresses on the ISP's subnet. Even more curiously, this is the exact same address as we had previously, when my router was a router -- the ISP assigned me a static IP addr on their subnet, gave me the corresponding external IP addr, which I then controlled via my router's own subnet. And now we still all share this same external IP addr, despite having *different* addresses on the ISP's subnet, and automatically assigned to boot. I'm not really sure why this might be.
Dubslow is offline   Reply With Quote
Old 2015-07-07, 15:14   #4
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×72×113 Posts
Default

Quote:
Originally Posted by Dubslow View Post
And now we still all share this same external IP addr, despite having *different* addresses on the ISP's subnet, and automatically assigned to boot. I'm not really sure why this might be.
If what you say is true, then it sounds like your ISP is NAT'ing your public IPs to the original one at their end. Very strange.

One test would be to "ping" (or SSH, etc) from a remote machine to the non-server machines, and see if the traffic gets through. TCPDump is your friend in such analysis.

If it does, then your ISP is NOT NAT'ing. If it doesn't, then it /may/ not be, but could be. Again, if they are this is a very unusual configuration.
chalsall is offline   Reply With Quote
Old 2015-07-07, 15:50   #5
chris2be8
 
chris2be8's Avatar
 
Sep 2009

2×1,213 Posts
Default

Try traceroute from your systems to an external address. That should list the IP addresses your traffic is going through. And traceroute to your systems from an external system.

It sounds as if the WAN socket may have been damaged by the power surge. And possibly the wireless as well.

Chris
chris2be8 is offline   Reply With Quote
Old 2015-07-07, 18:26   #6
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

722110 Posts
Default

The wireless was working fine previously, when it was still in router mode and everything worked except for the WAN port. Yes I concluded that the WAN port was broken, I guess by the power surge (though the physical connector is also somewhat looser than the LAN ports). Edit: It seems I forgot to mention that my attempts to fix the issue in the OP of this thread all failed. After leaving it on for a couple days, the router/firmware miraculously and spontaneously recovered itself, and even retained all the old settings. Everything was working except for the WAN port. All the computers could connect to the router via wireless or the LAN ports, and were all receiving the correct static IP addresses that I had assigned, and could communicate with each other... all worked except for the WAN port, hence why I tried changing the WAN port in software.

As for the traceroute:

Code:
bill@GravemindโŒš1319 ~ โˆฐโˆ‚ sudo ifconfig eth1
eth1      Link encap:Ethernet  HWaddr e0:69:95:dd:2a:08  
          inet addr:192.168.135.187  Bcast:192.168.135.255  Mask:255.255.255.0
          inet6 addr: fe80::e269:95ff:fedd:2a08/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10804493 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4835438 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15848949059 (14.7 GiB)  TX bytes:571822407 (545.3 MiB)
          Interrupt:20 Memory:f6300000-f6320000 

bill@GravemindโŒš1319 ~ โˆฐโˆ‚ traceroute google.com
traceroute to google.com (216.58.216.238), 30 hops max, 60 byte packets
 1  192.168.135.1 (192.168.135.1)  0.276 ms  0.538 ms  0.523 ms
 2  10.9.3.1 (10.9.3.1)  1.073 ms  1.068 ms  1.060 ms
 3  10.0.1.24 (10.0.1.24)  1.543 ms  1.544 ms  1.787 ms
 4  76.191.16.2 (76.191.16.2)  2.127 ms  2.127 ms  2.359 ms
 5  host-0-225.cmi.clients.pavlovmedia.com (216.171.0.225)  2.356 ms  2.348 ms  2.342 ms
 6  te0-0-1-2-3523.edge1.ilord1.pavlovmedia.net (173.230.125.50)  6.449 ms  5.702 ms  4.807 ms
 7  eqix-ch-100g.google.com (206.223.119.21)  4.783 ms  4.782 ms  4.779 ms
 8  209.85.143.152 (209.85.143.152)  5.137 ms  5.134 ms  5.128 ms
 9  216.239.51.227 (216.239.51.227)  5.122 ms  4.596 ms  4.821 ms
10  ord31s22-in-f238.1e100.net (216.58.216.238)  4.817 ms  4.811 ms  5.107 ms
whatismyip.com still shows 76.191.23.96, which is also what you get if you perform the DNS lookup for dubslow.tk. My ISP's address range is 76.191.16.0 - 76.191.31.255, so note that the 4th hop is still within my ISP (and the 5th hop is another local provider).


Code:
bill@GravemindโŒš1321 ~ โˆฐโˆ‚ ping 76.191.23.96
PING 76.191.23.96 (76.191.23.96) 56(84) bytes of data.
From 76.191.23.96 icmp_seq=21 Destination Host Unreachable
From 76.191.23.96 icmp_seq=24 Destination Host Unreachable
From 76.191.23.96 icmp_seq=27 Destination Host Unreachable
^C
--- 76.191.23.96 ping statistics ---
29 packets transmitted, 0 received, +3 errors, 100% packet loss, time 28199ms

bill@GravemindโŒš1322 ~ โˆฐโˆ‚ ping 192.168.135.1
PING 192.168.135.1 (192.168.135.1) 56(84) bytes of data.
64 bytes from 192.168.135.1: icmp_seq=1 ttl=64 time=0.270 ms
64 bytes from 192.168.135.1: icmp_seq=2 ttl=64 time=0.266 ms
64 bytes from 192.168.135.1: icmp_seq=3 ttl=64 time=0.308 ms
64 bytes from 192.168.135.1: icmp_seq=4 ttl=64 time=0.327 ms
^C
--- 192.168.135.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.266/0.292/0.327/0.033 ms

Last fiddled with by Dubslow on 2015-07-07 at 18:30
Dubslow is offline   Reply With Quote
Old 2015-07-07, 20:59   #7
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

2×13×257 Posts
Default

Or, I don't know, maybe you could buy a new router.
retina is online now   Reply With Quote
Old 2015-07-07, 21:51   #8
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by retina View Post
Or, I don't know, maybe you could buy a new router.
I would rather not spend the $30, especially when my current plans involve moving in with new roommates who have their own router already in a ~month. And it seems a shame to waste a 95% functional router just because of one bad ethernet port.

Last fiddled with by Dubslow on 2015-07-07 at 21:51
Dubslow is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Openrout, opensource router, helping the prime search openrout Hardware 8 2016-02-26 02:04
What's the official lingo for this Internet router concept? jasong Information & Answers 4 2013-12-09 10:55
Local port shaping(meaning only on own router) jasong Hardware 1 2008-02-03 10:56
Wireless Router Citrix Prime Sierpinski Project 2 2005-07-09 00:26

All times are UTC. The time now is 11:47.


Thu Feb 2 11:47:53 UTC 2023 up 168 days, 9:16, 1 user, load averages: 1.17, 1.09, 1.06

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

โ‰  ยฑ โˆ“ รท ร— ยท โˆ’ โˆš โ€ฐ โŠ— โŠ• โŠ– โŠ˜ โŠ™ โ‰ค โ‰ฅ โ‰ฆ โ‰ง โ‰จ โ‰ฉ โ‰บ โ‰ป โ‰ผ โ‰ฝ โŠ โŠ โŠ‘ โŠ’ ยฒ ยณ ยฐ
โˆ  โˆŸ ยฐ โ‰… ~ โ€– โŸ‚ โซ›
โ‰ก โ‰œ โ‰ˆ โˆ โˆž โ‰ช โ‰ซ โŒŠโŒ‹ โŒˆโŒ‰ โˆ˜ โˆ โˆ โˆ‘ โˆง โˆจ โˆฉ โˆช โจ€ โŠ• โŠ— ๐–• ๐–– ๐–— โŠฒ โŠณ
โˆ… โˆ– โˆ โ†ฆ โ†ฃ โˆฉ โˆช โŠ† โŠ‚ โŠ„ โŠŠ โŠ‡ โŠƒ โŠ… โŠ‹ โŠ– โˆˆ โˆ‰ โˆ‹ โˆŒ โ„• โ„ค โ„š โ„ โ„‚ โ„ต โ„ถ โ„ท โ„ธ ๐“Ÿ
ยฌ โˆจ โˆง โŠ• โ†’ โ† โ‡’ โ‡ โ‡” โˆ€ โˆƒ โˆ„ โˆด โˆต โŠค โŠฅ โŠข โŠจ โซค โŠฃ โ€ฆ โ‹ฏ โ‹ฎ โ‹ฐ โ‹ฑ
โˆซ โˆฌ โˆญ โˆฎ โˆฏ โˆฐ โˆ‡ โˆ† ฮด โˆ‚ โ„ฑ โ„’ โ„“
๐›ข๐›ผ ๐›ฃ๐›ฝ ๐›ค๐›พ ๐›ฅ๐›ฟ ๐›ฆ๐œ€๐œ– ๐›ง๐œ ๐›จ๐œ‚ ๐›ฉ๐œƒ๐œ— ๐›ช๐œ„ ๐›ซ๐œ… ๐›ฌ๐œ† ๐›ญ๐œ‡ ๐›ฎ๐œˆ ๐›ฏ๐œ‰ ๐›ฐ๐œŠ ๐›ฑ๐œ‹ ๐›ฒ๐œŒ ๐›ด๐œŽ๐œ ๐›ต๐œ ๐›ถ๐œ ๐›ท๐œ™๐œ‘ ๐›ธ๐œ’ ๐›น๐œ“ ๐›บ๐œ”