I'm trying to get this working on Kamikaze 8.09
Because I wasn't able to find any PermitTunnel (or similiar) option in dropbear I just simply skipped that part. When I connect to dropbear using sudo ssh -w any:any 192.168.1.1 I get a connection, but neither my server nor my client get a tunX device. tun is loaded for both server and client. Am I doing something wrong, is there a PermitTunnel option for dropbear, that I missed or is dropbear not capable of what I'm trying to do?
PS: I've just stumpled upon this:
Second: You need OpenSSH at least version 4.3. I'll use version 4.3p2 for this HowTo.
This might be the problem :-/
PPS:
When trying to install openssh-sever I get:
* Only have 1024 available blocks on filesystem /, pkg libopenssl needs 1257
I'll need to build a custom image to get openssh fit onto my WRT54G, or? Is there somewhere a list of optional packages that I can freely drop from my image? I need WPA2 WLAN and I'm connected through DSL so I need pppoe (that's what I've seen suggested in another thread). I'd rather also keep luci, because sometimes it simply makes my life easier (I'm no Linux guru), but might also drop it if there's no other good option - and learn how to administer OpenWRT through shell
PPPS:
Ok, I decided I'm going to build Kamikaze 8.09 myself. I'm not sure however which packages I need and which not. I used the BRCM profile + target from within make menuconfig and compared the selected packages with those currently installed an my router (opkg list_installed). I found most packeges where selected. However, some wheren't and some which where selected aren't currently installed on my router.
Packages which are currently installed but not selected:
hostapd-mini
hotplug2
kmod-crypto-core
kmod-crypto-aes
kmod-crypto-arc4
kmod-b43 (did not even find it in the configuration menu)
ppp-mod-pppoe (did not find it in configuration menu)
udevtrigger (did not find it in configuration menu)
mac80211 (did not find it in configuration menu)
luci-* (not in menu either, but never mind that stuff)
lua + liblua (I suppose luci depends on them)
Packets selected in the configuration menu, but not currently installed on my router:
Some BRCM packets from the propieratary kernel module drivers (can't recall exact names currently)
Additionally I want kmod-tun and openssh server installed. If I install openssh server I don't have to install dropbear, right?
Why are the packets up there not selected by default? Some of the seem rather important (for a wifi router) eg hotplug2 or hostapd-mini.
And do I really need those kernel module drivers that are currently not installed on my router?
When I have built my image I suppose the best way to flash it is using mtd, right? One thing I currently cannot figure out though is how I will get my image from my laptop to my router? I could certainly wget it, but I'd need a webserver for that. Is there another way I'm currently missing?
(Last edited by dev0 on 1 Nov 2009, 05:00)