**** BEGIN LOGGING AT Mon Jun 27 02:59:57 2011 Jun 27 15:47:36 khanku: I committed a bunch of stuff (in particular wifi client mode) last weekend Jun 27 16:15:41 blathijs: saw that this morning Jun 27 16:16:34 I ran make this morning a work and just saw it stopped with an error Jun 27 16:16:51 hmm, I haven't tried a clean make since a while Jun 27 16:16:54 what's the error? Jun 27 16:18:31 blathijs: http://pastebin.ubuntu.com/633714/ Jun 27 16:18:40 thanks Jun 27 16:19:18 Hmm, funky Jun 27 16:19:23 You're compiling for 2.0g? Jun 27 16:19:29 2.0n Jun 27 16:19:34 let me just check Jun 27 16:20:19 I was indeed compiling for 2.0g... Jun 27 16:21:09 I must have deleted the .config at some point Jun 27 16:21:12 sorry about that Jun 27 16:21:36 That's probably the cause of the error as well Jun 27 16:21:52 switching architectures is not handled gracefully somewhere Jun 27 16:22:02 Happened to me more times I can count as well ;-) Jun 27 16:24:00 :o) Jun 27 16:24:24 it seems to be compiling alright now Jun 27 16:25:00 cool Jun 27 17:11:59 khanku: I just had a stab at implementing wifi-bridge mode as well, btw (comining the wifi client with bridge mode without NAT) Jun 27 17:12:17 khanku: Compiling that now Jun 27 17:13:09 blathijs: sounds good Jun 27 17:14:43 If it fits your usecase, I could provide the patch for testing after some basic testing of mine? Jun 27 17:15:11 blathijs: sure, I'd like to test that Jun 27 17:15:44 k :-) Jun 27 18:25:08 blathijs: compiled and flashed the latest svn Jun 27 18:25:37 so how much is supposed to be running? Jun 27 18:57:41 khanku: How do you mean, "how much" ? Jun 27 18:58:04 wifi mode should be fully functional, with NAT Jun 27 18:58:21 mhm, well, I see the "wifi" connection type and am able to configure it Jun 27 18:58:35 but it doesn't seem to do anything Jun 27 19:03:17 hmm Jun 27 19:03:58 khanku: Do you have a /sbin/ap_client executable? Jun 27 19:06:00 I do Jun 27 19:08:52 hmm Jun 27 19:08:57 khanku: Is it running? Jun 27 19:09:05 nope Jun 27 19:09:20 I'm trying to connect to the AP from the command line Jun 27 19:09:35 "No signal found to connect to Jun 27 19:09:45 khanku: What happens if you run "ap_client SSID WPA-KEY" ? Jun 27 19:09:47 that would explain it Jun 27 19:09:54 Where did you get that message? Jun 27 19:10:16 running /sbin/ap_clint Jun 27 19:11:08 you catch on quickly :-) Jun 27 19:11:33 Does it list your SSID in the output? Jun 27 19:12:11 it doesn't Jun 27 19:12:47 well I'm more comfortable with wpa_{cli,supplicant}, but there is '--help' :) Jun 27 19:12:59 apcli0 is not associated Jun 27 19:12:59 Scanning for networks... 0 0 Jun 27 19:12:59 No signal found to connect to Jun 27 19:13:07 so... no Jun 27 19:14:49 this is really strange (I take it '0 0' means it doesn't find any network) as there are a dozen of wifi network around here and mine is definitely strong enough to be received Jun 27 19:17:51 You could try running ap_client without arguments, it should do a scan and then show all SSIDs found Jun 27 19:18:11 Hmm, I wonder where those "0 0" come from Jun 27 19:19:00 they are actually on a separate line, irssi somehow messed with the formatting Jun 27 19:19:03 lemme check the ap_client sources (it's just a tiny custom tool written by Fon, btw) Jun 27 19:20:19 after a fresh boot, 'ps aux |grep ap' doesn't show anything and neither does '/sbin/ap_client' Jun 27 19:20:41 both are weird (and probably separate problems) Jun 27 19:20:44 (ok, good to know) Jun 27 19:21:07 Can't find anything that would print zeroes in the source :-) Jun 27 19:21:15 so something is fishy Jun 27 19:21:49 I can still see the wifi I configured in the WebUI (ssid, password, dhcp) Jun 27 19:22:26 oh wait Jun 27 19:22:52 I just remembered there is a wifi "kill switch" on the fonera2n Jun 27 19:23:57 that's embarassing Jun 27 19:24:52 Hmm, but I'm not sure that should kill the wifi client as well Jun 27 19:25:01 or are you trying to connect to another 2.0n? Jun 27 19:25:26 no, to a "normal" AP Jun 27 19:25:41 flipping the switch starts ap_client Jun 27 19:25:54 and running it manually shows the expected output Jun 27 19:26:10 hmkay Jun 27 19:26:28 Not sure if that's a useful feature, but well :-) Jun 27 19:26:56 I guess showing a "wifi disabled with switch" in the dashboard might be a useful feature anyway Jun 27 19:30:44 definitely Jun 27 19:45:20 So, it's working for you now? Jun 27 19:46:18 (I'm away every now and then, trying to get my wifi-bridge mode working. Apparently I screwed up somewhere, yay for serial access :-) ) Jun 27 19:47:52 seems to be Jun 27 19:50:17 yes it does! Jun 27 19:50:29 just check with my laptop and traceroute Jun 27 19:50:37 blathijs: good work and thanks :) Jun 27 19:55:21 awesome :-) Jun 27 19:57:11 indeed :) Jun 27 20:38:58 Awesome, this seems to work Jun 27 20:38:59 :-) Jun 27 20:39:19 I'm not quite sure if switching to and from this mode will work flawlessly, though Jun 27 20:39:27 the network configuration scripts are a bit of a messs Jun 27 20:48:40 Hmm, even that seems to work without problems Jun 27 20:55:18 nice! Jun 27 21:00:25 Hmm is trac.fonosfera.org working for you? Jun 27 21:03:43 khanku: here's the patch, if you want to try it: http://www.stdout.nl/static/tmp/wifi-bridge.patch Jun 27 21:04:51 will do Jun 27 21:06:43 Cool, let me know how it goes Jun 27 21:07:03 Bedtime now :-) Jun 27 21:09:10 probably tomorrow, bedtime is approaching for me too Jun 27 21:09:19 heh Jun 27 21:09:27 Good night, in that case :-) Jun 27 21:09:48 'night **** BEGIN LOGGING AT Tue Jun 28 00:11:46 2011 **** ENDING LOGGING AT Tue Jun 28 02:59:58 2011