I have read through the common mistakes and the faq.
I have checked the wiki and seen and applied this firewall rule:
uci set firewall.@zone[0].forward=ACCEPT; uci commit firewall; /etc/init.d/firewall restart
from an ssh terminal command line as I read to do here:
http://wiki.openwrt.org/oldwiki/openwrt … figuration
Here is my configuration
root@OpenWrt:~# cat /etc/openwrt_version
8.09 (banner at ssh login says: KAMIKAZE (8.09.1, r16278) )
and user firewall
root@OpenWrt:~# cat /etc/firewall.user
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.
I am running on a WRT54GS v. 2 which runs off of a Netgear FVS114
Basically, I can ping any other machine on the network successfully while logged into the router as root via ssh, but when I attempt to use:
opkg update
I receive a timeout msg.
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/kamikaze/8 … ackages.gz
Connecting to downloads.openwrt.org (195.56.146.238:80)
wget: cannot connect to remote host (195.56.146.238): Connection timed out
My network looks like this:
cable modem
|
netgear fvs114 via wan port-> wired machines on this network can access the internet and run the same wget command
|
wrt54gs via wan port -> wired/wireless machines on this network can access the internet and run the same wget command
When I ssh into the wrt54gs router itself, however, to run opkg update, for example, the connection times out.
Can anyone please suggest what I should do so that I can successfully run opkg update? The linksys must stay behind the netgear.
Thank you!
Piesia
EDIT: I reinstalled with an X-WRT image (openwrt-brcm-2.4-squashfs.trx) from luci's Update Firmware and am now running x-wrt.
The error msg is the same, but formatted slightly differently so I'll add it for completeness.
It is a slightly older version: 8.09, r15452, and /etc/firewall.user does NOT exist
----------------------
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/kamikaze/8 … ackages.gz
Connecting to downloads.openwrt.org (195.56.146.238:80)
wget: cannot connect to remote host (195.56.146.238): Connection timed out
Downloading http://downloads.x-wrt.org/xwrt/kamikaz … s/Packages
Connecting to downloads.x-wrt.org (88.198.39.176:80)
wget: cannot connect to remote host (88.198.39.176): Connection timed out
Collected errors:
* opkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -P /tmp/opkg-Zaqt23 http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/Packages.gz'
* opkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -P /tmp/opkg-Zaqt23 http://downloads.x-wrt.org/xwrt/kamikaze/8.09/brcm-2.4/packages/Packages'
P.
I can ssh into the router or get into x-wrt via a web browser while I am on a wired connection to the WRT54GS, but I cannot when attached to the netgear fvs114. Perhaps I just missed an option to administer the router via the wan port or perhaps this is also a symptom of the problem. I'm not sure so I mention it.
P.
(Last edited by piesia on 8 Aug 2009, 14:21)