**** BEGIN LOGGING AT Sat Jan 17 02:59:56 2009 Jan 17 10:02:38 morning Jan 17 12:04:21 yeeeehaaaa Jan 17 15:31:47 damn, i changed the cpu cooler .... now is the power supply the noisiest ... gimme a silence system :( Jan 17 15:40:44 ? Jan 17 15:40:50 use a laptop :) Jan 17 15:41:00 * blogic has not been near a proper desktop in years Jan 17 15:41:05 (except of via ssh) Jan 17 15:44:40 a laptop is unfortunately no alternative for me :/ Jan 17 15:44:53 why? Jan 17 15:46:07 i need up to four monitors on one system Jan 17 15:48:03 thats a reason, are you doing CAD or sth similar? Jan 17 15:48:54 yep, architecture cad Jan 17 15:49:51 i can even do it on a laptop but it takes a lot more time because of window switching etc Jan 17 15:51:58 brb reboot Jan 17 20:43:53 how do I re-enable ssh access to my fonera 2.0 once I've updated its firmware? Jan 17 20:48:14 it is enabled by default Jan 17 20:48:26 after a flash you need to do 1 power cycle for it to work Jan 17 20:48:43 so I have to reboot it? Jan 17 20:52:24 thank you, it worked Jan 17 20:56:59 :) Jan 17 20:57:00 cool Jan 17 20:57:56 the reason is, that on first boot the crypto key needs to be generated and the "slow" cpu needs about 30s, so we do not start ssh on firstboot, as there wont be keys and it would cause an error :) Jan 17 20:58:14 and we could make a small script, but it think that would be dirty Jan 17 21:00:14 thanks for the explanation Jan 17 21:03:07 I read on the wiki that /etc/init.d is "gone mostly in the new firmware Jan 17 21:03:09 " Jan 17 21:03:34 does that mean I cannot use it for my personnal use anymore? Jan 17 21:04:22 then how do would I run a script when the fonera boots, now? Jan 17 21:09:30 I need my fonera to change its mac at boot, because the modem my isp provide me only accept one mac address Jan 17 21:21:48 what are the interfaces eth0.0 and eth0.1? and do they need to have the same mac as eth0? Jan 17 21:23:49 christophe-marie: ok, init.d still owrks Jan 17 21:23:58 we are 100% compatible to a normal linux/openwrt Jan 17 21:24:09 eth0.0 and eth0.1 are vlans to the swithc Jan 17 21:24:20 because the cpu only has 1 eth port Jan 17 21:24:31 so we use 2 vlans to generate 2 ethernet ports Jan 17 21:24:41 changing the mac ... Jan 17 21:24:51 1 sec Jan 17 21:24:58 i think that might work out of the box Jan 17 21:25:03 if not i will add this feature Jan 17 21:25:12 if I change eth0's mac adress and not eth0.0 and eth0.1, will it work? Jan 17 21:25:40 i think os, yes Jan 17 21:25:45 i think so, yes Jan 17 21:25:58 ok, then how do I enable the script? Jan 17 21:26:07 it is in /etc/init.d Jan 17 21:26:37 I have to run acommand on it, can't remember which one, adn c'ant find it on the web Jan 17 21:26:46 ln -s /etc/init.d/myscript /etc/rc.d/S41mac Jan 17 21:26:53 i think S41 would be best Jan 17 21:26:55 not sure Jan 17 21:27:08 ok, thank you :) Jan 17 21:27:12 1wait Jan 17 21:27:14 wait Jan 17 21:27:48 ? ok Jan 17 21:27:57 vi /etc/config/network Jan 17 21:28:10 yes Jan 17 21:28:11 then find the lan section and add "option macaddr 00:11:...." Jan 17 21:28:16 i think that mght work aswell Jan 17 21:28:18 not sure Jan 17 21:28:33 it works for normal ethX devices. not sure about ethx.y Jan 17 21:28:44 if it does not work, let me know and we will make it work somehow Jan 17 21:29:28 I don't care about eth0.0 and eth0.1, the only thing I want is the fonera is seen by the modem as my old laptop Jan 17 21:29:35 :) Jan 17 21:29:41 I'm trying that Jan 17 21:30:16 ok ok Jan 17 21:31:19 there is no section with eth0, should I add it? Jan 17 21:31:46 no Jan 17 21:31:46 no, just add option macaddr to the lan section Jan 17 21:31:53 try the lan section Jan 17 21:31:56 ok Jan 17 21:32:02 xMff: does it work on vlans ? Jan 17 21:32:06 i was not sure Jan 17 21:32:36 blogic: it will do ifconfig down; if config hw ether up Jan 17 21:33:56 ok Jan 17 21:35:59 it doesn't seem to work Jan 17 21:36:56 I made the modif, saved, typed reboot Jan 17 21:37:31 but then when I log again and type ifconfig, still the same mac addr on eth0 Jan 17 21:37:51 look for eth0.1 Jan 17 21:37:58 or br-lan Jan 17 21:38:25 no Jan 17 21:38:51 I mean, br-lan has the same mac as before Jan 17 21:39:11 and that's weird, caus' I can't find eth0.1 Jan 17 21:39:52 ifconfig | grep eth0.1 : no output Jan 17 21:41:05 in the section lan of /etc/config/network : I just added at the end : Jan 17 21:41:33 option 'macadr' 'mymac' Jan 17 21:41:45 typo Jan 17 21:42:01 ad*d*r Jan 17 21:42:05 where mymac is something like 11:22:33:44:55:66 Jan 17 21:42:16 oh yeah ok Jan 17 21:42:37 no, Jan 17 21:42:47 actually I did not copy this right Jan 17 21:42:58 there is the second 'd' Jan 17 21:43:51 if you run "ifup lan", do you gat an error? Jan 17 21:43:56 *get Jan 17 21:44:36 /sbin/uci : parse error Jan 17 21:45:03 found it! Jan 17 21:45:05 so it looks like you have an syntax error in the config Jan 17 21:45:11 I forgot a ' Jan 17 21:51:26 now I don't get an error when I run ifup lan, I am just disconnected from the fonera because the wifi stops to work Jan 17 21:53:42 hmm Jan 17 21:54:49 seems bad, I can't access the ssh of the fonera Jan 17 21:55:27 ok Jan 17 21:55:57 ok, hold the reset button for about 20-30 secs, to factiry reset the fonera Jan 17 21:56:26 wait, does it need to connect to the net when you do that? Jan 17 21:56:36 no Jan 17 21:56:53 ok, fine :) Jan 17 21:58:13 lol, I have to fine something sharp, and my plac is a real mess :) Jan 17 22:00:11 when do I know the reset is done? Jan 17 22:04:19 15-20 minutes Jan 17 22:04:28 well Jan 17 22:04:36 hold the button for 20-30 seconds Jan 17 22:04:42 and it will set a flag, reboot and reinit Jan 17 22:04:54 is it normal that now I can see again the webinterface? Jan 17 22:04:57 the reinit takes about 5 minutes, pkus the reboot (3m) Jan 17 22:05:02 so 10 minutes is save to wait Jan 17 22:06:01 and the firmware will be the old firware, the same as when I bought it, i guess? Jan 17 22:08:17 no Jan 17 22:08:21 the last you flashed Jan 17 22:08:36 but, the state it was flashed int, with all changes reset Jan 17 22:09:00 it was really fast, so Jan 17 22:09:10 because I can connect Jan 17 22:09:32 my pasword was reseted to 'admin' Jan 17 22:10:22 yes Jan 17 22:10:33 ssh does not work again, I guess it's fine to click on reboot, or should I wait? Jan 17 22:11:09 wait for a few mintues Jan 17 22:11:17 all right Jan 17 22:11:18 firstboot after flash is a bit critical Jan 17 22:13:48 I don't understand what happened. I mean : was eth0 the right interface to modify? Jan 17 22:15:44 eth0 is the interface that stands for the ethernet port, isn't it? Jan 17 22:16:16 it's usually the switch itself Jan 17 22:16:54 so what is the interface that stands for the ethernet port? Jan 17 22:17:29 check with ifconfig which interface has the ip Jan 17 22:17:54 the ip 192.168.1.1? Jan 17 22:24:41 xMff: tell him :) Jan 17 22:24:46 i will fix it later today Jan 17 22:25:18 christophe-marie: looks like there's a patch for the ethernet driver required Jan 17 22:25:35 so? Jan 17 22:26:11 christophe-marie: you should wait for an update unless you don't want to compile and patch the firmware yourself Jan 17 22:27:10 xMff, that means I just wait for an update to be released and I'll be able to change the mac again? Jan 17 22:28:02 christophe-marie: yes Jan 17 22:28:12 i will add the fix to our firmware tonght Jan 17 22:28:18 and the next release will be very soon Jan 17 22:28:34 like when ? =) Jan 17 22:29:15 the link to the new firmware will be on the wiki? Jan 17 22:30:32 yes Jan 17 22:30:41 are you subscribed to the mailing list ? Jan 17 22:30:45 we will post it there too Jan 17 22:30:54 yes I am Jan 17 22:30:55 ok Jan 17 22:32:27 ok Jan 17 22:33:33 after that, hopefully I'll be able to use my fonera as a sound server thanks to pm2036. I bought the same device as him, but it did not work so I eventually tried to upgrade the firmware. Jan 17 22:34:46 guys, I wich you courage for patching this :) bye! Jan 17 22:35:06 bye **** ENDING LOGGING AT Sun Jan 18 02:59:57 2009