Hi,
Trying to get uPnP packages onto my WRT54g v2 running backfire using the instructions (http://wiki.openwrt.org/doc/howto/upnp?s[]=upnp), but have hit a bit of a problem.
On the LuCi interface Status is Free Space : 0.0B (0%) is reported (which I assume is because squashfs is read-only?).
If I try to update the package list from LuCi I'm told...
Package lists updated: Error (Could not set default destination)
I've ssh'd into the box and tried updating from the CLI and get...
# opkg update
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/brcm47xx/packages/Packages.gz.
wget: cannot connect to remote host (78.24.191.177): Network is unreachable
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/backfire/10.03.1-rc4/brcm47xx/packages/Packages.gz, wget returned 1.
So I went in and checked some settings...
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
...and the configuration...
# cat /etc/conf/network
config 'switch' 'eth0'
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'type' 'bridge'
option 'ifname' 'eth0.0'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '192.168.1.2'
option 'dns' '192.168.1.254'
option 'username' 'root'
option 'password' '*********'
option 'defaultroute' '1'
option 'peerdns' '0'
config 'interface' 'wan'
option 'ifname' 'eth0.1'
option 'proto' 'dhcp'
option 'type' 'bridge'
option 'peerdns' '0'
option 'dns' '192.168.1.254'
option 'username' 'root'
option 'password' '*********'
option 'defaultroute' '1'
config 'switch_vlan' 'eth0_0'
option 'device' 'eth0'
option 'vlan' '0'
option 'ports' '1 2 3 4 5'
config 'switch_vlan' 'eth0_1'
option 'device' 'eth0'
option 'vlan' '1'
option 'ports' '0 5'
...but I've no idea what I need to configure to get this working, and once I've reached the network will opkg download the updated package list to the one place I've got space left (/dev/mtdblock3)...
# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 1.9M 1.9M 0 100% /rom
tmpfs 6.5M 388.0K 6.2M 6% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 1.0M 228.0K 796.0K 22% /overlay
mini_fo:/overlay 1.9M 1.9M 0 100% /
Any insight/advice greatly appreciated.
Cheers