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

Problem downloading from Mightyohm

Post by RobotTech »

After a couple of days getting the router set up, I was finally able to connect to mightohm.com
but cannot download...anyone have a clue what's going on here?
The last thing I did was a ping to make sure I was getting through...


login as: root
root@192.168.0.49's password:


BusyBox v1.11.2 (2008-12-01 16:57:55 PST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r12857) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:~# vi /etc/opkg.conf
src/gz snapshots http://mightyohm.com/files/kamikaze-2.4/packages/mipsel
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
root@OpenWrt:~# opkg update
Downloading http://mightyohm.com/files/kamikaze-2.4 ... ackages.gz
Connecting to mightyohm.com (108.59.4.231:80)
wget: cannot connect to remote host (108.59.4.231): Connection timed out
Signiture check for snapshots skipped because GPG support was not enabled in this build
Collected errors:
* opkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -P /tmp/opkg-Jok9Xc http://mightyohm.com/files/kamikaze-2.4 ... ackages.gz'
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=30.672 ms
64 bytes from 108.59.4.231: seq=1 ttl=55 time=31.837 ms
64 bytes from 108.59.4.231: seq=4 ttl=55 time=31.203 ms
64 bytes from 108.59.4.231: seq=5 ttl=55 time=34.884 ms
[1] + Stopped ping mightyohm.com
root@OpenWrt:~#
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

Really? No ideas?
Maybe I didn't give enough info, I purchased the router two weeks ago from Amazon (and sound adapter).

The router is a WL-520GU, H/W ver A1, FW Ver. V3.0.0.8
I was following the directions from TinkerNut's video on youtube.
The config files are exactly like the ones listed here on the forum, except for wireless info and ip address.

I was trying to load the additional packages from the mightyohm website (via wireless),
CAN ping mightyohm, but everytime I try to run 'opkg update' I get the messages listed
above...but it seems to take several minutes before it faults.

I'm a linux beginner and other than the no connection fault I do not know what the other errors
mean.
Is it possible I have a firewall problem on my existing router? I've really hit a brick wall here
and don't have any idea how to proceed. I tried hooking the routers together (wired) and did
see some changes in messages but did not help. Maybe I should try hooking directly to the modem,
I'm not even sure if the 520gu will function as a normal router and allow me to make the connection.
help? anyone?
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Problem downloading from Mightyohm

Post by gerben »

Try using the guide here on this site: http://mightyohm.com/blog/2008/11/build ... ome-noise/
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

Nope, no luck, I even tried connecting ethernet directly to my incoming internet connection (via the
WAN connector). Followed the (page 5) instructions to the letter (with exception of creating my
own server). It still waits, then faults out with a no commection.

The only thing I noticed was the difference in ip address between what I was seeing and what
is listed on page 5.

On the up side...I've re-flashed the router so many times I now have it memorized.

Here is the current incarnation of my lan configuration in the /etc/config/network file...
#### LAN configuration
config interface lan
#option type bridge
option ifname "eth0.0"
option proto static
option ipaddr 172.100.0.10
option gateway 192.168.0.1
option dns 192.168.0.1
option netmask 255.255.255.0

I'm stumped, I've tried all kinds of configurations and wired/wireless with no difference.
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Problem downloading from Mightyohm

Post by gerben »

the ip you specify (172.100.0.10) is not in the same subnet as the gateway (192.168.0.1). Which is probably what causes the problem. What is the ip of the gateway, i.e. the router the WL520 is connected to?
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

Locally it's the same as the Asus, 192.168.xx.xx.

That's been a matter of confusion on my part...suggestions?
I tried using the 'Part 4' information and as soon as I restarted the network I lost
connection and was unable to determine what ip address to use since I am using
the LAN1 connection....instead of the serial port.
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

Thanks for your help, by the way..
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Problem downloading from Mightyohm

Post by gerben »

Try setting option

Code: Select all

ipaddr 192.168.0.10
.

What I did was just leave the network config as it was after flashing and connection it to the network via the WAN port. But I didn't need the radio to be wireless. If you want to see some results, try this, and try to fix the network problem some other time. This will probably help you keep your sanity.
RobotTech
Posts: 12
Joined: Thu Sep 13, 2012 6:00 pm

Re: Problem downloading from Mightyohm

Post by RobotTech »

A strange thing happens when I use that address (192.168.0.10)
- Logged in as root
- vi /etc/config/network
- set ipaddr to 192.168.0.10
- write and close
- /etc/init.d/network restart
- (no updates on screen, I'm using Putty by the way)
- unplug ethernet cable to router (to re-establish the ip address)
- computer port resets and reports 192.168.0.10 as new address
- open Putty and attempt to log in...nothing, 'Connection timed out'

I'll try another 192.168.0.9, but I have to re-flash the firware since I cannot log in
and can't seem to find any other address that will let me log in.
User avatar
gerben
Posts: 164
Joined: Sat Oct 16, 2010 8:41 am
Location: Netherlands

Re: Problem downloading from Mightyohm

Post by gerben »

Try out failsafe mode; viewtopic.php?f=2&t=460#p1947

Would save you the trouble of having to reflash all the time.

What about the second alternative?
Post Reply