**** BEGIN LOGGING AT Fri Sep 18 02:59:56 2009 Sep 18 19:18:59 Hmm, I'm having some problems with accessing the webGUI or SSH consoles from the WAN port Sep 18 19:19:19 Enabling then on the WAN port on the Firewall settings tab should be sufficient, I'd expect? Sep 18 20:22:23 Bah, I killed my dropbear and now can't figure out how to start it again :-) Sep 18 20:23:08 Apparently the init script doesn't do that, but something that works with /etc/config/services does Sep 18 20:24:07 blathijs: regarding your wan question eariler: iirc the fon firmware checks the password strength Sep 18 20:24:30 it needs to be 8 chars and contain small and capital letters Sep 18 20:24:40 erm letters and digits Sep 18 20:25:01 only if it's sufficient the wan port is actually opened Sep 18 20:25:11 Hmm, kinda crappy feedback then :-) Sep 18 20:25:20 Anything I can do to check if that's the case? Sep 18 20:25:36 I do have small and capital letters, but not digits Sep 18 20:26:08 anything on the dashboard? Sep 18 20:31:08 Doesn't seem to mater Sep 18 20:31:11 matter Sep 18 20:31:23 maybe it's just an urban legend Sep 18 20:31:31 I honestly do not know Sep 18 20:31:39 I've changed the password to something with small/caps/letters and an underscore, doesn't change anything Sep 18 20:32:10 Any pointer on what program or script is responsible for setting up the firewall? Sep 18 20:36:53 Bah, this is annoying.. My network connection keeps dropping when I switch between wired and wireless :-) Sep 18 20:38:21 hm on which page was that option to enable ssh on wan? Sep 18 20:39:02 settings -> firewall Sep 18 20:39:53 and in the url? fon_admin/fon_fw/policy ? Sep 18 20:42:17 Just fon_fw Sep 18 20:44:14 k, so according to the source it's written to /etc/config/services Sep 18 20:44:30 an then a "FWallDaemon" event is triggered Sep 18 20:45:18 which should be responsible for setting up the appropriate iptables rules Sep 18 20:46:01 the script is in /etc/fonstated/FWallDaemon Sep 18 20:46:51 it's a lua script that iterates over /etc/config/services and makes an iptables rule for each entry Sep 18 20:47:22 iptables -nvL input_daemon should list some rule with port 22 Sep 18 20:50:35 xMff: Ah, that helps Sep 18 20:51:00 xMff: I've been looking at the iptables output a bit, but it didn't make enough sense yet Sep 18 20:51:50 What's this tun0 device with a 192.168.182.1 address? Sep 18 20:52:21 most likely tied to chillispot Sep 18 20:52:52 xMff: There's only a rule for port 6881, lemme see why that is Sep 18 20:53:19 and in /etc/config/services? anything with 22? Sep 18 20:54:34 Yeah, there's ssh there Sep 18 20:54:57 option 'fwall' '1' Sep 18 20:54:57 then the firewall was not properly reloaded I think Sep 18 20:55:11 I've rebooted the device twice already :-) Sep 18 20:55:39 Ah, FWall is Firewall :-) Hadn't figured that one out yet Sep 18 20:55:42 what happens if you execute /etc/fonstated/FWallDaemon Sep 18 20:56:54 diddn't help Sep 18 20:57:14 Getting the source for FWallDaemon probably entails getting the svn version? Sep 18 20:57:27 is it binary in your case? Sep 18 20:58:02 I currently look at this: http://trac.fonosfera.org/fon-ng/browser/trunk/fon/fonstate/files/etc/fonstated/FWallDaemon Sep 18 20:58:13 (have no Fonera2 around here) Sep 18 20:58:15 Yup, it is Sep 18 21:00:06 ah see line 21-23 Sep 18 21:00:12 there is indeed a password check Sep 18 21:00:13 How persistent is the fon filesystem? Does it save changes across reboots? Or just to /jffs ? Sep 18 21:00:24 it saves changes across reboots Sep 18 21:00:35 in every location except /rom and /tmp Sep 18 21:00:51 (and /var) Sep 18 21:01:05 Uh? It doesn't save /var? Sep 18 21:01:16 Ah, that actually makes sense I guess :-) Sep 18 21:01:19 not sure, on OpenWrt /var is a symlink to /tmp Sep 18 21:01:25 maybe it's not the case on Fon-NG Sep 18 21:02:44 Where does this uci:get point to? Sep 18 21:03:03 the first argument selects the file in /etc/config/ Sep 18 21:03:13 the second arguments specifies the section within that config Sep 18 21:03:21 the third specifies the option Sep 18 21:03:39 .. with the section Sep 18 21:03:43 *within Sep 18 21:03:46 Hmm, I guessed that much Sep 18 21:03:51 No pass_good option there Sep 18 21:04:06 Perhaps I should try changing it through the web interfaces Sep 18 21:04:10 I used the "passwd" command Sep 18 21:04:16 ahh Sep 18 21:04:32 yeah, the webif will calculate the strength and store the flag Sep 18 21:04:44 passwd obviously knows nothing about that mechanism Sep 18 21:05:32 It could have known, if things were integrated a bit more tightly Sep 18 21:05:41 but, manually setting that flag helped :-) Sep 18 21:05:53 hehe Sep 18 21:07:17 hmm, but now I get a HTTP login prompt instead of a HTML form for the password Sep 18 21:07:24 which doesn't eat my password :-S Sep 18 21:07:29 Should the login be root or admin? Sep 18 21:07:36 admon Sep 18 21:07:39 admin Sep 18 21:07:50 Hmm, that didn't seem to work Sep 18 21:07:50 I think Sep 18 21:07:56 And now I got locked out :-p Sep 18 21:08:06 ssh dead as well? Sep 18 21:08:13 No, just the WAN HTTP Sep 18 21:08:52 SSH on WAN does work Sep 18 21:09:51 good question, don't know. iirc the httpd get it's credentials from /etc/passwd Sep 18 21:10:27 I'm just surpised that I get a different login prompt there Sep 18 21:12:08 Oh well, let's just leave that for now Sep 18 21:12:30 I was actually trying to get USB audio to work, but it seems the kernel doesn't have that in flipper? Sep 18 21:13:06 have you installed the audiocli plugin? Sep 18 21:13:19 one of the plugins should contain the appropriate kmods Sep 18 21:13:34 Ah, like that Sep 18 21:13:48 No, I haven't (I was hoping to get pulseaudio running as a next step) Sep 18 21:13:51 Let's try that Sep 18 21:14:12 you need to obtain the kernel modules from fon, other packages can be installed from the openwrt repo I think Sep 18 21:15:23 I'll have a go with audio_cli Sep 18 21:15:52 Ah, bah, those tgz's don't contain a top level directory Sep 18 21:16:00 luckily I've only polluted /tmp with that Sep 18 21:16:31 they are meant to be installed through the webif Sep 18 21:16:43 Yeah, but I was curious as to what's in it :-) Sep 18 21:16:55 make sense Sep 18 21:18:52 Hmm, that did something Sep 18 21:19:02 Now, how to test :-) Sep 18 21:19:28 dmesg Sep 18 21:19:36 to see whether it detected sound hardware Sep 18 21:19:48 Yeah, it did, /proc/asound says it's there Sep 18 21:19:51 then audiocli -h or so Sep 18 21:19:59 is a command line program Sep 18 21:20:14 I was hoping for a echo > /dev/dsp, but audiod already took the alsa device it seems :-p Sep 18 21:20:26 Let's find myself a headset first Sep 18 21:22:17 I think it's mpd style Sep 18 21:22:36 you need to give audiod a playlist or directory with mp3s to output something Sep 18 21:22:49 Yup, seems like it Sep 18 21:23:07 Pity that audiocli doesn't accept the LIST option it advertises :-p Sep 18 21:23:17 Let's try the dashboard Sep 18 21:25:21 Hm, that wants a file on a USB stick Sep 18 21:25:28 let's scp something on it Sep 18 21:25:53 Bah, scp stalls at 60% :-S Sep 18 21:26:17 wrond dir perhaps? Sep 18 21:26:36 hah, works Sep 18 21:27:17 The song will end 40% too soon, but well :-) Sep 18 21:34:38 Hmm, but now the usb stick stopped working... Let's replug it Sep 18 21:35:28 Ah, the file never got written, I played it from cache Sep 18 21:40:21 Hmm, it seems my USB stick is coming apart, it's erroring on my laptop as well... Sep 18 21:42:56 Let's get another disk :-) Sep 18 22:00:09 Heh, ext3fs complains (warns) that uid=1000 is nog supported Sep 18 22:00:22 I guess the mount scripts weren't expected to mount ext filesystems :-p Sep 18 22:10:25 Hmm, now the other disk is broken-ish Sep 18 22:10:41 My laptop doesn't create dev files for the extended partitions Sep 18 22:10:42 wth... Sep 18 22:11:10 maybe it formats the disk? Sep 18 22:11:36 can't iamgine that Sep 18 22:11:38 I don't think so Sep 18 22:11:43 dmesg still shows the permissions Sep 18 22:11:54 And I succesfully browsed them on the fonspot as well Sep 18 22:12:36 Let's try the Windows thing Sep 18 22:12:38 reboot :-) Sep 18 22:16:58 Yup, that helped... Sep 18 22:34:24 Everything back to working again :-) Sep 18 22:44:08 Now, let's see if I can get pulseaudio running Sep 18 22:44:16 It seems there is a openwrt package for it Sep 18 23:04:13 holy crap, does fon sources require 3G of space? Sep 18 23:09:41 yep Sep 18 23:17:08 Can I compile a package without compiling all of it? Sep 18 23:17:22 no Sep 18 23:17:25 well Sep 18 23:17:45 you could try to use the openwrt sdk to cross compile for the fonera 2 Sep 18 23:17:56 but it's better to do this from within the fon sources Sep 18 23:18:25 Then I'll see if I can set it to compile before I go to bed Sep 18 23:18:35 What does this install.sh script do? Sep 18 23:18:45 postinstall logic Sep 18 23:25:27 Not actual updating? That's what the wiki and script seem to suggest Sep 18 23:25:35 Oh well, let's see Sep 18 23:27:04 It downloads packages that are standard on the fonera, but not included in the main svn repos? Sep 18 23:30:29 seems like Sep 18 23:30:55 Let's hope that I won't get newer versions of those packages that won't build with flipper Sep 18 23:35:38 Bah, the pulse version in openwrt is broken :-) Sep 18 23:35:52 Oh well, let's just compile the unmodified fon firmware first then Sep 18 23:39:23 Hmm, getting lots of warnings Sep 18 23:39:30 oh well, let's see in the morning Sep 18 23:40:13 xMff: Thanks for all the help so far Sep 18 23:40:50 xMff: Your pointers have proven quite helpful in getting a grasp of the system, without them I'd not have learned as much as I have now :-) Sep 18 23:40:58 Good night! **** ENDING LOGGING AT Sat Sep 19 02:59:58 2009