OpenWrt Forum Archive

Topic: Putting my openwrt G624T to work

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi guys,

My G624T now runs OpenWRT (compiled from trunk) and is on the internet, but I have a few questions before I'm done here.

1) The wireless works, and I'm able to connect the craptop to the network via wireless. But it's open and I want to encrypt it, but it stays open regardless of how I change the /etc/config/wireless file. What's the simplest way of getting this done?

2) I'm sure is a firewall wired/wireless bridging thing, but I can't ping (and more importantly ssh) the desktop(wired) from the craptop(wireless). The name gets resolved to the IP address, but no connection can be made. I thought I had taken down the firewall and it was still doing it, but maybe I hadn't got the firewall down. Any tips how to proceed?

3) Space! Almost any extra package I try and install, I get a message that there is X blocks needed and only Y blocks available. I'm not sure if there is any thing I can do with the mtd partitioning because it looks like /tmp and /jffs are mostly free. What about a NAS? I'm wondering about getting some kind of cheap network USB hub then attaching one of the big externals and maybe a USB stick. Could I mount those to provide more space to install packages? The ideal is to get this setup to do large downloads, maybe host a personal website. Speed isn't too important here, I figure even with modest spec, with enough storage it can do the job even if slowly. When I'm there, it will be just a router for the desktop/laptop, but when I'm not it can take over some of the work and bring down the power requirements involved (maybe even allow me to wake and connect to the desktop remotely). ;-)


Thanks for any tips.


Joe

Hi guys,

Don't know if anyone is interested, but 1 down. Rebuilt, including wpa_supplicant
Then did:

uci set wireless.@wifi-iface[0].encryption=wep
uci set wireless.@wifi-iface[0].key1='AAAAAAAAAA'
uci set wireless.@wifi-iface[0].key=1
uci commit wireless
wifi

10 characters of hex for a 64-bit WEP key

This resulted in a /etc/config/wireless


config 'wifi-device' 'wlan0'
    option 'type' 'acx'
    option 'channel' '5'

config 'wifi-iface'
    option 'device' 'wlan0'
    option 'network' 'lan'
    option 'mode' 'ap'
    option 'ssid' 'OpenWrt'
    option 'hidden' '1'
    option 'distance' '20'
    option 'encryption' 'wep'
    option 'key1' 'AAAAAAAAAA'
    option 'key' '1'


Turned out to be dead easy. :-)


Joe

Hi anyone interested.

Solved 2) as well. Turns out bridging between wired and wireless is a bad idea for routing, and I read someone say it's not part of the 802 standard. So I put the wireless interface and wired interface on different IP subnets. Still no change, but if I disabled the firewall, I could then ping and ssh between the two. So I then add forwarding between the two networks to my firewall rules (/etc/config/firewall) and it worked with firewall enabled too.

So now, it's just 3), find a way of getting enough space to expand the openwrt router to host a website and do downloads. :-)

Joe

The discussion might have continued from here.