Problem downloading from Mightyohm

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

Ok, here's the latest...last night I reflashed the firmware (thanks for the failsafe mode tip, I'll
try it next time).
Set my ip address to 192.168.0.9 (static mode) and was able to log in (sorprisingly) as root.
Tried wireless connection, was able to ping, but same as before... not able to retrieve software
with 'opkg update'.

So...I hardwired it and tried again...same results. (I reset both the router by power down, up
and unplugged the lan-1 cable to reset the ip).

Then I tried using the ip address 192.168.0.11 with the same results.
I even hooked the router DIRECTLY to my high speed modem (I have cable internet) just to
eliminate my Netgear (wireless) router.

Any more thoughts? I'm beginning to think there is something wrong/different with the Asus
itself....
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Problem downloading from Mightyohm

Post by gerben »

Try doing nothing to the network settings. Just connect the router via the WAN port to the network. Connect your PC to a LAN port on the Asus. Telnet to 192.168.1.1 (I think that is the default IP).

Seems to me like you just mis-configuring the network. Not like something is wrong with the Asus.
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

I re-flashed the router, and opened a telnet session just to change the password.
Logged in at 192.168.1.1 (SSH)
Network cable directly to Asus WAN port, and just for giggles I issued a network restart command.

Then did the following (typed commands in bold)

root@OpenWrt:~# opkg update
Downloading http://mightyohm.com/files/kamikaze-2.4 ... ackages.gz
Connecting to mightyohm.com (108.59.4.231:80)
file_move: ERROR: failed to rename /tmp/opkg-TamA7q/Packages.gz to /tmp/opkg.6KHp89/snapshots.gz: No such file or directory
Signiture check for snapshots skipped because GPG support was not enabled in this build
An error ocurred, return value: 1.
root@OpenWrt:~# wget http://mightyohm.com/files/kamikaze-2.4/packages/mipsel
Connecting to mightyohm.com (108.59.4.231:80)
wget: cannot connect to remote host (108.59.4.231): Connection timed out
root@OpenWrt:~# ping mightyohm.com
PING mightyohm.com (108.59.4.231): 56 data bytes
64 bytes from 108.59.4.231: seq=0 ttl=55 time=50.239 ms
64 bytes from 108.59.4.231: seq=1 ttl=55 time=17.562 ms
64 bytes from 108.59.4.231: seq=2 ttl=55 time=17.496 ms
64 bytes from 108.59.4.231: seq=3 ttl=55 time=17.550 ms

--- mightyohm.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 17.496/25.711/50.239 ms
root@OpenWrt:~# wget http://mightyohm.com/files/kamikaze-2.4/packages/mipsel
Connecting to mightyohm.com (108.59.4.231:80)
wget: cannot connect to remote host (108.59.4.231): Connection timed out
root@OpenWrt:~#
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Problem downloading from Mightyohm

Post by gerben »

Could you post the ifconfig output?
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

Here's the output, I dropped the last four of the address
What are we looking for?

root@OpenWrt:~# ifconfig
br-lan Link encap:Ethernet HWaddr F4:6D:04:7E:xx:xx
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2016 (1.9 KiB) TX bytes:2694 (2.6 KiB)

eth0 Link encap:Ethernet HWaddr F4:6D:04:7E:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:559 errors:0 dropped:0 overruns:0 frame:0
TX packets:500 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:73542 (71.8 KiB) TX bytes:89788 (87.6 KiB)
Interrupt:4

eth0.0 Link encap:Ethernet HWaddr F4:6D:04:7E:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:548 errors:0 dropped:0 overruns:0 frame:0
TX packets:439 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:50724 (49.5 KiB) TX bytes:63642 (62.1 KiB)

eth0.1 Link encap:Ethernet HWaddr F4:6D:04:7E:xx:xx
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13830 (13.5 KiB) TX bytes:24206 (23.6 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2022 (1.9 KiB) TX bytes:2022 (1.9 KiB)
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Problem downloading from Mightyohm

Post by gerben »

It's kind of weird that the router has the IP 192.168.0.11 on br-lan, and at the same time 192.168.0.6 on eth0.1

I think it might be easier if you tried to solve this via some more direct communication for (Skype, Facebook chat, email or something else), instead of using this forum. Just send me an private message.
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

Private message sent.

After you pointed out the ip address conflict I started looking at the existing router (netgear) and
after some fiddling I managed to get them to report the same with ifconfig
Basically I forced a static address for the Asus mac address, anytime it sees that mac address
it forces it to 192.168.0.11

Didn't change any of the results, still able to ping websites but wget and opkg update still fail
with "connection timeout"
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Problem downloading from Mightyohm

Post by gerben »

This is what I found on this forum.
viewtopic.php?f=2&t=174&p=808&hilit=ping#p1027
viewtopic.php?t=376&f=2

PS Sorry I didn't contact you. I've been really swamped. Sorry...
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

Thanks, I'll give that a shot. I haven't been in a hurry anyway...thanks for the help!
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

That took care of the downloading problem! I need to do some research to settle it for myself, but
it's nice to see something different happen for once.

Thank you!
Post Reply