**** BEGIN LOGGING AT Wed Jul 29 02:59:57 2009 Jul 29 07:26:52 good morning Jul 29 11:06:39 <_trine> I have just compiled the code for my TEW632 and it does not work because it has no default IP address Jul 29 11:07:01 <_trine> I had to go back to my old image Jul 29 11:07:46 <_trine> and netdiscover does not see any IP address for the router when it has been flashed with the newest trunk Jul 29 12:21:08 whoa, somebody fscking around with trac? Jul 29 12:22:14 http://openwrt.pastebin.ca/1510970 Jul 29 12:22:43 works again Jul 29 12:23:44 grr. again: Trac detected an internal error: OperationalError: database is locked Jul 29 12:48:09 <_trine> xMff, ping Jul 29 12:52:46 _trine: pong Jul 29 12:56:17 <_trine> xMff, there is a problem in truck for the atheros code I have compiled for my tew632 Jul 29 12:56:34 <_trine> I have just compiled the code for my TEW632 and it does not work because it has no default IP address Jul 29 12:56:48 <_trine> I had to go back to my old image Jul 29 12:57:19 I only did limited testing on a Dir-300, there everything was well Jul 29 12:57:29 hard to tell what's wrong in your case without some bootlog Jul 29 12:57:34 maybe some switch issue Jul 29 12:57:48 <_trine> I compiled it 3 times and flashed it Jul 29 12:58:10 <_trine> but I could not connect to it and sniffing produced no ip address Jul 29 13:04:12 <_trine> so in the end I had to go back to the old image Jul 29 17:54:16 1/2 of my little support patch for the Asus WL-330gE in trunk made it in to 8.09.1, anyone want to merge trunk/target/linux/brcm-2.4/base-files/etc/init.d/netconfig in to the 8.09 branch? Jul 29 17:59:10 Just something to think about :P Jul 29 18:09:15 Red Hat certified release, version 1.92pv2 - built 17:10:19, May 3 2006 Jul 29 18:09:15 Platform: IXDP425 Development Platform (XScale) Jul 29 18:09:23 is that upgradable? Jul 29 18:09:28 RedBoot Jul 29 18:09:59 dont really wanna fuck this device up but I probably need to upgrade redboot, it seems old Jul 29 18:25:56 <_trine> juhosg, the code is completely broken on trunk for the TEW632 Jul 29 18:26:22 <_trine> at the moment Jul 29 18:38:12 juhosg, I've got a stack of 5 WRT160NL boxes here, got one booting via uboot-tftp fine, and I want to tackle the ethernet driver for this one. Jul 29 18:38:49 but i have a dumb question first, is the flashmap you put in 'correct' for the box, or, just guesses, ie, should I re-visit that first, before I actually write this into flash and carry on from there Jul 29 18:39:20 I've got serial console running, and planning to get a usb attach ethernet going first, then tackle the on board ethernet drivers Jul 29 18:42:10 nobody_0156: the on board ethernet shouldn't be too bad, probably just needs the ar8216 fixup we apply to a number of ap81 boards Jul 29 18:42:36 _trine: the code being support as a whole, or just wifi? Jul 29 18:43:55 hmm, I'll have to look into that Jul 29 18:44:27 hi Bartman007 Jul 29 18:44:31 groz: try cloning the network config section from the wrt400n Jul 29 18:44:36 i just got a couple of these a few days ago, and wanna play with em for a fun little project Jul 29 18:45:02 thanks for the pointer, I'll head there first Jul 29 18:45:23 haven't actually done any of this for a while, kinda fun to get back into it a bit Jul 29 18:45:30 groz: if you're the groz who used to be active in the project, hello :) Jul 29 18:45:35 yes i am Jul 29 18:45:38 but i've been mia for years Jul 29 18:45:41 \o/ Jul 29 18:45:45 danage: hey Jul 29 18:45:46 combination of work taking me around the world a bunch Jul 29 18:45:49 and some health issues Jul 29 18:46:12 i've spent way to much time in places with no internet connectivity over the last 3 years Jul 29 18:46:27 groz: can be nice.... Jul 29 18:46:51 hehe, guess that depends, but, spending months at a time in the middle of nowhere gets tedious after a while too Jul 29 18:47:07 sounds romantic, in a way Jul 29 18:47:34 hhaha, it does, then when work takes you there, the 'romance' goes away very quickly, and, it's 'just another ugly place to fly airplanes ' Jul 29 18:48:00 yeah Jul 29 18:48:05 i can imagine Jul 29 18:50:45 * Kaloz pokes groz Jul 29 18:51:10 hehe, howdy stranger Jul 29 18:51:15 :) Jul 29 18:51:34 was wonderign when will you show up, given another year passed ;) Jul 29 18:51:47 we are headed on a holiday in a couple weeks, i got a wrt160nl here, wanna get it working with a usb stick 3g modem I have here Jul 29 18:51:55 it's almost a law that you suddently appear on the channel after a year :P Jul 29 18:51:57 so I can stuff it in the van for the trip, internet on the go for us Jul 29 18:52:09 groz: nice project Jul 29 18:52:10 haha, well, i've been working in some rather 'out of the way' places Jul 29 18:53:56 xyn: ignore the age of it :) Jul 29 18:54:07 * Bartman007 susepcts groz is a secret agent Jul 29 18:54:10 xyn: you just need it to boot a kernel, and it's able to do that Jul 29 18:54:22 traveling from country to country, overthrowing dictators. Jul 29 18:54:32 wooing womens. Jul 29 18:54:37 Bartman007: with some luck one day he will arrive to the states as well :P Jul 29 18:54:41 more like, loading and unloading ariplanes full of freight Jul 29 18:54:59 Kaloz: he's too late for when it was really needed Jul 29 18:55:00 nope, die hard canuck here, gonna be hard pressed to get me south of the 49th Jul 29 18:55:11 my passport has way to many stamps from 'out of the way places' in it Jul 29 18:55:21 customs folks dont wanna let me thru the 49th southbound Jul 29 18:55:22 Bartman007: don't drink the cool aid, you still in need of his services Jul 29 18:55:23 :) Jul 29 18:55:23 groz: hey, we got mbm down here. Jul 29 18:55:46 Kaloz: we need to give the current one some time to prove/disprove himself first. Jul 29 18:56:24 Bartman007: well, i know black is the new white and white is the new black, but for real, remmeber that comic on sinfest :) Jul 29 18:59:22 Bartman007: http://www.sinfest.net/archive_page.php?comicID=2994 -- this one Jul 29 18:59:46 bartman, is the wrt400 the same switch as the 160nl ? do you know offhand ? Jul 29 19:00:10 groz: I don't know, haven't seen internal photos, but I'd bet money on it. Jul 29 19:00:47 i'm just digging to find info on the 400 Jul 29 19:00:59 there are two ways to control the ar8216 switch, via mdio or ethernet frames Jul 29 19:02:02 AFAIK we have the needed info to money with MDIO but don't know the magic data to config via ethernet frames. I haven't looked at the driver code nbd wrote yet. Jul 29 19:02:05 ok, but i think the 160 is a different beast, it's an rtl 8306SD Jul 29 19:02:21 bah. stupid linksys. Jul 29 19:02:25 groz: nbd has a driver which will be public soon Jul 29 19:02:38 i've found a driver file for it elsewhere, was gonna see about merging it Jul 29 19:03:24 hmm, any idea on when 'soon' may be , I'm trying to get this running before we leave on vacation :) Jul 29 19:03:34 so i can have 'internet to go' in the van on our trip for 2 weeks Jul 29 19:03:55 groz: use a fonera20 ? Jul 29 19:04:08 cant get one of them around here Jul 29 19:04:20 ah Jul 29 19:04:29 when do you leave ? Jul 29 19:04:32 at least not in the timeframe i've got, no biggie, I've found what perports to be a driver for this one Jul 29 19:04:36 c files, on another site Jul 29 19:04:42 gonna try merging it this afternoon Jul 29 19:04:46 ok Jul 29 19:04:52 hehe, if all goes well, we'll be leaving on friday afternoon Jul 29 19:05:18 if work issues at chris office slow us up, we'll leave as soon as she can break away from the office Jul 29 19:05:42 which has to be no later than next wednesday, we have a wedding to be at on the other side of the country the following weekend Jul 29 19:07:10 hmm, i may as well go make a pot of coffee now, typed 'make clean' in the wrong directory Jul 29 19:07:11 ooops Jul 29 19:11:06 groz: although i have no such board yet, but the flashmap comes from the original bootlog, so it should be correct Jul 29 19:11:21 if the bootloader initializes the switch correctly, it should be working without any special code Jul 29 19:11:28 thanks ju, i've got a few spares, so, it's not the end of the world if i kill it Jul 29 19:11:32 you have to determine the correct phy masks and the type mii interface for the ag71xx driver Jul 29 19:11:36 switch is not working right now Jul 29 19:12:03 looking at the scroll on the default linksys firmware, I see prints where it's fiddling registers in the rtl chip Jul 29 19:12:35 but what I was gonna do first, get it all running with a usb attached ethernet, makes life a little easier Jul 29 19:18:03 so, the next dumb question, from somebody that's never looked inside the ag71 stuff before, is there an easy place to go looking and figure out what the phy masks etc would need to be for this one ? Jul 29 19:18:13 or is it simple 'trial and error figure it out' kinda stuff ? Jul 29 19:23:32 because the original bootlog does not help too much, it is a 'trial and error' Jul 29 19:25:19 hehe, ok Jul 29 19:25:38 i'm set up pretty good with it here, I can likely figger it out Jul 29 19:25:59 i may try pick your brains in a while, on just where i'm looking, simply because i dont know my way around that part quite yet Jul 29 19:26:10 * groz pretty good at figuring things out tho Jul 29 19:26:29 and i've got a couple of 'expendable' routers here to experiment with Jul 29 19:26:54 gotta love it when they come 'out of the box' with the serial header already soldered in Jul 29 19:27:15 is one of the reasons, when I saw them in the store last nite, I picked up 5 instead of just one Jul 29 19:27:38 figured i'll likely kill a couple experimenting Jul 29 19:51:41 groz: please take a look at this: https://dev.openwrt.org/browser/trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c#L131 Jul 29 19:51:59 the ar9132 contains two ethernet macs, and 'phy_if_mode' can be Mii or RMii for mac0, and RMii for mac1 Jul 29 19:52:29 if the mac is connected to a phy, then 'phy_mask' contains one bit only, and the driver should be able to detect the correct speed/duplex values Jul 29 19:52:46 if the mac is connected to another mac within the switch, then 'phy_mask' contains multiple/no bits, and you have to specify the speed and duplex settings manually Jul 29 19:53:20 <_trine> juhosg, did you see my comment about the code for the AR71 stuff earlier Jul 29 19:53:32 <_trine> it's well broken Jul 29 19:53:37 Thanks much ju.if i do get this working Jul 29 19:53:45 do i forward patches to you ? Jul 29 19:54:19 i dont think i have write acccess anymore Jul 29 19:54:28 and if i do, i dont know how to get to it anymore :) Jul 29 19:54:51 * juhosg checks the backlog Jul 29 19:54:56 haha Jul 29 19:55:05 groz: sure, you can send me the patches Jul 29 19:55:09 oh, it wont be a 'you need to work on it' kinda thing Jul 29 19:55:17 it'll be an 'all tested here, works on my stuff' thing Jul 29 19:55:33 :) Jul 29 19:56:04 this box, the 160nl is rapidly showing up all over in my part of the world Jul 29 19:56:12 so, i think it's a good box to get supported Jul 29 19:59:48 _trine: weird, i have no problems with the ar71xx code on the RouterStation, but i did not test it on the TEW-632 since two weeks Jul 29 20:00:45 ju, if you have any interest in poking directly at the 160nl, i can set one up with a remoted serial console etc if you wanna take a look at one first hand Jul 29 20:01:31 [florian]: maybe we should do that too at some point Jul 29 20:01:42 it never occurred to me Jul 29 20:02:27 <[florian]> danage: do what? Jul 29 20:02:39 i could give you ssh console to the serial Jul 29 20:02:42 on the bcm63xx Jul 29 20:02:53 <[florian]> danage: ah, well, why not Jul 29 20:03:14 <[florian]> that's actually a brilliant idea Jul 29 20:03:22 :) Jul 29 20:03:32 i would need some time setting it up Jul 29 20:03:41 gonna be gone till sunday from tomorrow morning Jul 29 20:03:56 <[florian]> no problems, take your time Jul 29 20:16:38 i set it up here using ser2net, very simple setup Jul 29 20:16:54 have the 160nl plugged into a box on the other side of the room, with a usb serial adapter Jul 29 20:17:30 simple telnet connection to a port on that box, and i'm looking at the serial scroll from the nl Jul 29 20:30:56 florian * r17043 /trunk/target/linux/rdc/patches-2.6.28/006-bzip2_lzma_x86.patch: [rdc] fix the lzma patch after r16944 and r16939, thanks agb Jul 29 21:05:46 groz: nice Jul 29 21:28:12 florian * r17044 /trunk/package/kernel/modules/netsupport.mk: [package] fix isdn symbols for 2.4 kernels Jul 29 21:28:35 florian * r17045 /trunk/include/kernel-version.mk: [kernel] use 2.4.37.4 for brcm-2.4 Jul 29 21:28:55 oh boy, will 2.4 ever be discontinued? Jul 29 21:29:31 <[florian]> danage: one day or the other, we all hope so Jul 29 21:29:36 <[florian]> danage: but it is not for tomorrow Jul 29 21:30:43 florian, one day, brcm wifi on 2.6 will work well, or, all brcm hardware will be dead and gone, whichever happens first Jul 29 21:30:48 then 2.4 will go away Jul 29 21:31:13 would this cpu be supported by openwrt ppc port: owerPC 403GCX Jul 29 21:33:10 <[florian]> danage: it should be, since it's a ppc40x Jul 29 21:33:21 <[florian]> danage: now just make sure that linux 2.6 has not dropped support for it Jul 29 21:33:42 cool, i'm gonna try this soon, i have an older ibm network station at the house Jul 29 21:34:16 <[florian]> ah, I got some NCD explora terminals using it Jul 29 21:34:27 <[florian]> did not find time yet to update to 2.6 that stuff: http://sourceforge.net/projects/explora-linux/ Jul 29 21:34:44 cool Jul 29 21:41:05 wooohoooo Jul 29 21:41:09 root@OpenWrt:/# ifconfig ppp0 Jul 29 21:41:09 ppp0 Link encap:Point-to-Point Protocol Jul 29 21:41:09 inet addr:10.73.171.191 P-t-P:68.182.192.100 Mask:255.255.255.255 Jul 29 21:41:09 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 Jul 29 21:41:09 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 Jul 29 21:41:10 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 Jul 29 21:41:12 collisions:0 txqueuelen:3 Jul 29 21:41:14 RX bytes:72 (72.0 B) TX bytes:126 (126.0 B) Jul 29 21:41:23 got the usb 3g modem working on the wrt160nl Jul 29 21:41:27 and it's connected Jul 29 21:41:41 2 steps left Jul 29 21:41:42 <[florian]> nice ! Jul 29 21:41:51 a) write this to the on board flash instead of netboot Jul 29 21:41:57 b) get the ethernet switch working Jul 29 21:42:05 BUT, for some of what I want this for Jul 29 21:42:13 ethernet is actually optional Jul 29 21:42:22 if i have wifi and the 3g connection, i can get by Jul 29 21:42:46 groz: use the umts manager i made for fon Jul 29 21:42:51 its written in lua Jul 29 21:42:57 suppots most huawei Jul 29 21:43:13 and the nes where it dont are ttyUSBX jumbles Jul 29 21:43:27 my typing is bad today Jul 29 21:43:30 for this application, just gonna launch pppd with persist when it comes up Jul 29 21:43:36 haha Jul 29 21:43:38 and leave it connected Jul 29 21:44:05 ok Jul 29 21:44:20 its gonna live in the camper van Jul 29 21:44:28 and be our 'link to the world' when we are travelling Jul 29 21:44:31 for our netbooks Jul 29 21:44:39 good **** ENDING LOGGING AT Thu Jul 30 02:59:57 2009