**** BEGIN LOGGING AT Mon Nov 23 02:59:56 2009 Nov 23 08:11:28 Buongiorno! Nov 23 09:36:12 oi Nov 23 09:37:58 oi! Nov 23 09:38:34 ieri ho scoperto una bella funzione della fon 2.0n Nov 23 09:38:40 quella del DHCP lease Nov 23 09:38:52 cioè che assegna l'ip al pc Nov 23 09:39:00 in base all'ip mac Nov 23 09:39:24 ciastek: Well, 2.0g only became 2.0g after 2.0n was released, originally it was just 2.0 :-) Nov 23 09:40:02 ;) Nov 23 09:44:21 blathijs: i see :) Nov 23 16:49:06 olà Nov 23 16:57:18 ¡Hola! Oi! Hi! Nov 23 17:20:27 ave Nov 23 18:02:00 anyone know how I can reset my fonofera trac account password? Nov 23 18:02:13 I'd like to update a ticket I submitted but can't login. Nov 23 18:25:44 hey Nov 23 18:26:32 habanot: howdy Nov 23 18:26:39 im trying to install dd-wrt on my fon 2100, it has the r3 firmware so ive been trying to downgrade it but i havn't been succesful Nov 23 18:27:17 From what I've been told downgrading in not yet supported on la fonera. At least the 2.0g hardware. Nov 23 18:27:23 I'd imagine it's the same with others too. Nov 23 18:27:43 I've got a 2202 Nov 23 18:28:40 ive seen a couple of tuts to downgrade but they require having a second standard router which i dont have at the momment Nov 23 18:29:24 Do not have experience installing any 3rd party firmwares as of yet. If Fon doesn't come out with a release version soon, I may be looking to install a 3rd party firmware as well. Nov 23 18:29:34 Bah, that sounds pretty lame, the 2nd router requirement. Nov 23 18:29:49 k Nov 23 18:30:11 The 2100 has a completely different firmware, AFAIU, so not sure how that works. Nov 23 18:30:37 that is my understanding as well. Nov 23 18:31:03 And the 2.0's have had downgrading explicitely disabled for a while, which the current firmware version (2.3) should change. Nov 23 18:31:15 Although I'd be surprised if there is not some type of read only emergency recovery firmware that allows you to feed it a new firmware image via tftp Nov 23 18:32:01 blathijs: IIRC it was iurgi himself in this chat room that told me downgrading with v2.3.0.1RC1 was not yet supported. Nov 23 18:32:30 Perhaps that will change with the release version, whenever *that* is coming down the pipe. Nov 23 18:32:33 srf21c: Downgrading _to_ 2.3 is supported Nov 23 18:32:51 srf21c: The limitation is in the tgz, not in the running firmware :-) Nov 23 18:32:52 2.3, as in 2.3.0.0? Nov 23 18:33:06 Yeah, or 2.3.0.1RC1 Nov 23 18:33:24 Hm. I will have to try that. Nov 23 18:33:49 (But since there is no newer version available yet, there is nowhere to downgrade _from_) Nov 23 18:33:54 I wanted to roll back to 2.2.6.0... Nov 23 18:33:58 gotcha Nov 23 18:34:40 gee, another firefox downloader announcement on the blog, but nothing about a new release. woot. Nov 23 18:34:55 Downgrading is supported when using the SSH or TFTP flashing methods Nov 23 18:35:09 (Though that does lose your settings) Nov 23 18:35:22 blathijs: I can always back up my settings, not a problem. Nov 23 18:35:27 Or failsafe mode, for 2.0g Nov 23 18:35:31 They're not that complicated anyways. Nov 23 18:35:50 blathijs: Do you know if I get back to the factory firmware on the 2.0g? Nov 23 18:36:32 Only by flashing it, it's not on the device anymore after an upgrade. Nov 23 18:37:18 Aye. Nov 23 18:38:28 2.3.0.1 is alright. I just get irritated when the a single bittorrent download causes the router to become unresponsive on web admin and ssh ports. Nov 23 18:39:21 Using NTFS, by any chance? Nov 23 18:39:37 blathijs: nope, MacOS file system on my USB hard drive. Nov 23 18:42:00 Experience has made me wary of using NTFS with *NIX systems. Nov 23 18:42:48 ntfs-3g is pretty good, but is too slow for the Fonera's (It's a complex filesystem, apparently...) Nov 23 18:43:22 The other thing about the newer fonera firmware that irritates me is I cannot access SMB shares from macs running Snow Leopard. I was hoping if I could go back to the last official release, at least I could get SMB access. Nov 23 18:44:01 Agreed. I've used ntfs-3g on Puppy Linux with pretty good results. But that was on desktop systems with quite a bit more hardware muscle. Nov 23 18:45:14 srf21c: Hmm, any clue what causes your SMB issue? AFAIK the Samba version hasn't changed or anything... Nov 23 18:46:28 I think it's the same issue that Windows Vista/7 have with accessing SMB shares... the default security policy does not allow NTLMv2 authentication. Nov 23 18:46:49 Easy enough to fix on Windows Vista, just edit a registry key. Nov 23 18:47:02 Not sure how to fix on Windows Siete or Snow Leopard. Nov 23 18:47:19 Ah, right. I think a similar problem surfaced before with plaintext passwords and win2k :-) Nov 23 18:47:32 srf21c: But you're saying that the previous Fon firmware didn't have this problem? Nov 23 18:47:50 blathijs: I don't know. But I wanted to downgrade and at least give it a try. Nov 23 18:48:04 Ah, right. Nov 23 18:48:11 and could not. Stuck with the v2.3xx firmware for now. Nov 23 18:48:18 Or at least I thought I was. Nov 23 18:49:43 Here's my board thread about the SMB password problem. http://boards.fon.com/viewtopic.php?f=33&t=6436&sid=fa5aa85d85e3236a1332909e18faf8b3 Nov 23 18:50:18 Has a few links at the bottom where others have run into a similar problem. Mostly on Windows but a few other on macs have been hit as well. Nov 23 18:51:21 Ah look, there's something in the wiki about it: http://wiki.fon.com/wiki/External_Storage_Use#Using_network_shares_with_MacOSX_.22Snow_Leopard.22 Nov 23 18:51:27 If it's a matter of changing the samba configuration, then that should probably be taken care of... Nov 23 18:52:07 Step one: DO NOT UPGRADE TO THIS VERSION. hahahahah! Nov 23 18:52:22 indeed :-) Nov 23 18:52:37 Don't know if changing the samba config can solve it or not. Nov 23 18:52:48 That would be a seemingly easy fix if that were the case. Nov 23 18:54:02 Hmm, seems samba with security=server cannot be used with NTLMv2 (http://lists.samba.org/archive/samba/2004-February/080470.html) Nov 23 18:54:02 I'm trying Step 2 right now. Nov 23 18:54:06 Though that's an old post.. Nov 23 18:54:11 aye. Nov 23 18:55:13 Step 2 failed. Nov 23 18:55:51 bah Nov 23 18:56:20 It seems Samba should support NTLMv2 by default, though perhaps only if NTLMv1 is disabled (http://www.devshed.com/c/a/Administration/Authentication-in-Samba/1/) Nov 23 18:57:03 srf21c: You could try putting "ntlm auth = no" (and perhaps the other config directives at the bottom of that article) in your smb.conf to see if that helps Nov 23 18:57:15 srf21c: You'll have to flash in the dev firmware first, though, to get SSH access. Nov 23 18:57:30 I think Samba does support NTLMv2. It's the "higher" or more secure authentication methods that it doesn't appear to support. Nov 23 18:58:13 I do have SSH access enabled Nov 23 18:58:19 so good there. Nov 23 18:58:35 I was having problems getting edits to /etc/samba/smb.conf to persist across reboot however. Nov 23 18:58:57 file appears to get wiped and replaces with the default everytime I boot. Nov 23 18:59:01 srf21c: From the Fon wiki, settings for Vista, I gather that the new default is NTLMv2 only, so NTLMv2 is the critical thing. Nov 23 18:59:32 srf21c: Yeah, it's probably created by something inet /etc/rc.d or /etc/fonstated (or /var/lib/fonstated perhaps, I don't remember) Nov 23 18:59:35 I wonder what version they're talking about not upgrading to, with regards to snow leopard. Nov 23 18:59:52 is /etc/fonstated some type of master options file? Nov 23 19:00:07 srf21c: I think the Fon wiki means "Don't upgrade to Snow Leopard!" :-) Nov 23 19:00:32 srf21c: /etc/config contains master configs AFAIK, and is (mostly) controllable through the WebGUI Nov 23 19:00:44 srf21c: Real config files are generated from /etc/config Nov 23 19:00:58 I guess they are saying in the fon wiki "don't upgrade to Snow Leopard". Laaaaaaaaaaaaaaaaaaameee. Nov 23 19:01:18 Hehe, not everybody has the time to find real solutions :-p Nov 23 19:01:25 blathijs: yes, just caught that too. Nov 23 19:01:46 blathijs: have you ever hand edited /etc/config? Nov 23 19:01:59 Small parts :-) Nov 23 19:02:13 But in your case, you probably need to edit the script that generates smb.conf Nov 23 19:03:12 srf21c: Which would be http://trac.fonosfera.org/fon-ng/browser/tags/2.3.0.0/fon/samba3/files/etc/fonstated/RestartSamba Nov 23 19:03:21 and/or http://trac.fonosfera.org/fon-ng/browser/tags/2.3.0.0/fon/samba3/files/etc/fonstated/ReloadSamba Nov 23 19:03:50 Which probably live in /etc/fonstated on your device Nov 23 19:03:58 And which probably contain compiled lua code Nov 23 19:04:02 OK thanks, let me take a quick look. Nov 23 19:04:07 lua code? Nov 23 19:04:22 Yeah, these are scripts in the lua language Nov 23 19:04:56 The fun part is, that you can just replace the compiled lua code with the lua source code and they'll still work (keep the file executable, though, and keep the #! at the top) Nov 23 19:07:22 interesting Nov 23 19:08:23 blathijs: Hey do you happen to know if I can change the web admin password from the SSH shell using the passwd command? Nov 23 19:08:37 Or will that bork web gui authentication? Nov 23 19:08:57 srf21c: I'm afraid it will screw up the samba password Nov 23 19:09:37 Aye. Nov 23 19:09:39 srf21c: Also, it will not properly set the pass_good value, so it won't enable WAN SSH access if it wasn't enabled yet (that needs a "secure" password, which the WebGUI checks) Nov 23 19:10:15 blathijs: do you happen to know where/how the WebGUI password is stored? Nov 23 19:10:28 In /etc/passwd AFAIK Nov 23 19:10:42 But probably also in some samba file somewhere Nov 23 19:10:52 It's not stored plaintext anywhere, though Nov 23 19:10:56 What do you want to do? Nov 23 19:11:58 nothing in particular, just curious by what mechanism the web gui handled password storage. Nov 23 19:12:28 So it's a bummer that there's no easy fix for the snow leopard SMB problem like there is for Vista. Nov 23 19:13:17 srf21c: You should try the smb.conf thing, if that works we could try to get it into the next release Nov 23 19:15:43 will do. So I edit the /etc/fonstated/ReloadSamba or the /etc/fonstated/RestartSamba Nov 23 19:16:07 Restart, probably. Both if it doesn't work :-) Nov 23 19:18:50 Well, I'm using vi, and there's a lot of @^@^@^ crap in the file. Nov 23 19:19:00 Just ignore and put the line at the bottom of the file? Nov 23 19:19:03 Yeah, that's because it's compiled code Nov 23 19:19:11 No, replace it with the code from trac Nov 23 19:19:50 Using wget is probably easiest: wget "http://trac.fonosfera.org/fon-ng/export/1526/tags/2.3.0.0/fon/samba3/files/etc/fonstated/RestartSamba" -O /etc/fonstated/RestartSamba Nov 23 19:19:59 copy and paste? Nov 23 19:20:08 ah, ok. Nov 23 19:20:28 (Check that the file still has +x bits afterwards) Nov 23 19:20:31 werd Nov 23 19:21:32 done. Nov 23 19:21:40 had to run chmod +x on the file. Nov 23 19:22:01 Shall I run a kill -HUP on the smbd process then? Nov 23 19:22:16 Or do I have to restart the router? Nov 23 19:22:46 Well, now you should be able to restart the router. If you were going to -HUP it, you could as well have edited smb.conf directly I guess :-p Nov 23 19:29:06 ok. Nov 23 19:29:29 Rebooting now. Be back in a minute hopefully. Nov 23 19:40:50 ok I'm back Nov 23 19:42:08 added "snow leopard" as version to the wiki :-) Nov 23 19:42:31 SkyNETbbs: Hmm, where? Nov 23 19:42:33 srf21c: And? Nov 23 19:42:42 I don't think samba was "broken" by upgrading from 2.2.6 to 2.3 fon-ng firmware...all problems started when Snow Leopard was released Nov 23 19:43:03 just changed the sentence "do not upgrade to /THIS/Snow Leopard" Nov 23 19:43:04 SkyNETbbs: You're silently reading backlog? :-) Nov 23 19:43:16 SkyNETbbs: Yeah we figured that already. Nov 23 19:43:16 yes when time permits I check the logs Nov 23 19:43:26 and now that I'm home I can connect to irc as well Nov 23 19:43:43 It gives you an uncanny power to comment on things you shouldn't have heard :-p Nov 23 19:44:02 I know but you called it lame... tell it to those people that upgraded their iPhone to 3.1 (and then 3.1.1) and then complain they couldn't jailbreak it anymore for at least a month :-) Nov 23 19:44:18 Hehe. Nov 23 19:44:43 They've taken away irc access from Blogic I guess? :=( Nov 23 19:45:16 Dunno, perhaps he's trying to get some work done :-) Nov 23 19:45:54 I don't think 3rd party firmwares will improve stuff like "samba".... and if it's about the fonera 2.0n I guess dd-wrt doesn't even support this ralink chipset ? Nov 23 19:46:12 blathijs: No success. Nov 23 19:47:15 SkyNETbbs: I'm working with la fonera 2202 2.0g for now. Nov 23 19:47:25 srf21c: if i'm correct you only replaced the compiled samba with the uncompiled version.... now the fun is just starting :-) Nov 23 19:47:30 srf21c: Which line did you try exactly? Nov 23 19:47:42 er, I forget to add the line. Nov 23 19:47:48 haha :-) Nov 23 19:47:50 So looks like I will have to add it, then reboot again. Nov 23 19:47:50 does smbd -V also tells you it's 3.0.24? Nov 23 19:48:00 SkyNETbbs: lemme check, stand by. Nov 23 19:48:06 srf21c: You could also just add it to smb.conf and -HUP it Nov 23 19:48:20 SkyNETbbs: Version 3.0.24, correct. Nov 23 19:48:34 srf21c: AFAICS, that shouldn't make fonstated rebuild smb.conf Nov 23 19:48:42 blathijs: that would be way more convenient then rebooting and having to reconnect my IRC sessions. Nov 23 19:48:48 not to mention the wait. Nov 23 19:49:26 yeah the f2g does take a while to boot... Nov 23 19:49:40 Just to recap, I'm going to add the "ntlm auth = no" line to the [global] section of smb.conf? Nov 23 19:49:53 srf21c: Yup Nov 23 19:50:51 ok, here goes... Nov 23 19:50:51 you mean vi /etc/config/samba? Nov 23 19:52:33 yes Nov 23 19:52:35 well, not. Nov 23 19:52:45 I edited /etc/samba/smb.conf Nov 23 19:52:54 wrong file? Nov 23 19:53:57 The fonstated files seem to suggest it's /tmp/smb.conf Nov 23 19:55:26 everything in /tmp is "created" during boot... I believe it's contents will be created dynamically by the stuff mentioned in /etc/config/samba Nov 23 19:55:36 which is a "uci" style of configuration Nov 23 19:56:02 so I'd add to both samba and sambamedia section the following Nov 23 19:56:15 option 'ntlm_auth' 'no' ? Nov 23 19:57:38 SkyNETbbs: We tackled that already, but it requires a reboot. Nov 23 19:57:58 SkyNETbbs: This was the quick test only to see if it would actually help Nov 23 19:58:48 okay I understand Nov 23 20:06:25 * blathijs is afk for a bit Nov 23 20:07:24 be back in a bit, have to attend to something else right now. Nov 23 20:51:18 Alright, so I entered "ntlm auth = no" in the [global] section of /etc/samba/smb.conf and ran killall -HUP smbd Nov 23 20:51:35 still cannot authenticate to the SMB share from Snow Leopard Nov 23 20:52:53 did you enter it in the /tmp/smb.conf ? Nov 23 20:53:05 nope, will try that now Nov 23 20:53:45 wait, looks they are the same file Nov 23 20:54:06 sure but the /tmp/smb.conf is the one used Nov 23 20:54:13 there is no "symbolic" link between the two Nov 23 20:55:21 Well my changes to /etc/samba/smb.conf showed up in /tmp/smb.conf Nov 23 20:55:42 and a long listing of /etc/samba shows that the smb.conf there is just a link to /tmp/smb.conf Nov 23 20:55:46 am I missing something? Nov 23 20:56:00 ah yes the symbolic link is in /etc/samba now I see :-) Nov 23 20:56:12 you could do "ps -ef" Nov 23 20:56:36 then "kill " of smb Nov 23 20:56:51 OK Nov 23 20:56:55 then rerun /bin/smbd -D Nov 23 20:57:18 done Nov 23 20:57:28 well, looks like the smbd is still loading Nov 23 20:57:44 has not returned the prompt yet... Nov 23 20:58:53 Hm. Still has no control of the shell yet.... Nov 23 20:59:09 wonder how long it will take the daemon to fork into the background Nov 23 20:59:11 can you access the share from macosx now? Nov 23 20:59:19 let me try, hang on. Nov 23 20:59:43 negative Nov 23 21:00:30 Nope, same error. Nov 23 21:01:20 smbd -D command still has not returned by prompt yet. Nov 23 21:01:36 I put the process in the background for now. Nov 23 21:01:58 http://forum.qnap.com/viewtopic.php?f=30&t=18561 Nov 23 21:03:24 Seems there's not veto files option on the Fonera, though Nov 23 21:04:31 another suggestion is to tell snow leopard of not writing these hidden semaphores in the first place : http://discussions.apple.com/thread.jspa?messageID=10607113 Nov 23 21:07:50 and it seems Apple didn't fix it in 10.6.2 as well :( Nov 23 21:08:45 srf21c : Try smbclient //ip-address-of-NAS/share-name -W workgroupname -U username -d4 Nov 23 21:08:58 d4 gives full debugging Nov 23 21:09:35 and: Or try this in a shell: defaults write com.apple.desktopservices DSDontWriteNetworkStores true Nov 23 21:16:11 SkyNETbbs: alright, good idea. Nov 23 21:17:06 what? Nov 23 21:17:49 Is there anything you don't want to know? :-p Nov 23 21:19:08 barbon: Trying to debug samba issues with Snow Leopard Nov 23 21:19:16 oh... Nov 23 21:19:26 what is snow leopard? Nov 23 21:19:32 lolz Nov 23 21:20:15 SkyNETbbs: whoa, lots of output. Nov 23 21:20:23 pastebin coming up... Nov 23 21:20:50 barbon: Mac OS 10.6 Nov 23 21:21:06 ah Nov 23 21:21:53 SPNEGO login failed: Logon failure session setup failed: NT_STATUS_LOGON_FAILURE Nov 23 21:21:58 that's the last two lines of output. Nov 23 21:25:27 http://pastebin.com/m37dcc486 Nov 23 21:25:30 enjoy Nov 23 21:26:14 Command was "smbclient //fonera/Media -W FON -U fonero -d4 Nov 23 21:26:41 SkyNETbbs: Just saw your tip for apple defaults mod Nov 23 21:26:44 will try that now Nov 23 21:30:02 SkyNETbbs: tried the apple defaults DSDontWriteNetworkStores edit, then attempted to access the share using both smbcliend and finder on OS X. Both attemps unsuccessful. Nov 23 21:30:39 along with my attempts to type the letter "t". ;) Nov 23 21:35:48 try sbmclient //192.168.10.1/Media .... Nov 23 21:35:53 ip adres instead of name Nov 23 21:36:24 or open Finder, press K, and enter the IP address of the host Nov 23 21:38:35 others mention that a password of numbers work... perhaps there is an uppercase/lowercase issue with the mac Nov 23 21:38:51 smbconf is using "user" security instead of "share" security which is good Nov 23 21:39:02 another solution would be to just share without any authentication... Nov 23 21:39:06 SkyNETbbs: you mean command-K in finder? That opens the "connect to server" dialogue Nov 23 21:39:11 yeah Nov 23 21:39:15 and then "ipadres"... Nov 23 21:39:25 SkyNETbbs: I did try the numbers password workaround...but that did not work. Nov 23 21:39:50 SkyNETbbs: If you put in just the IP address in the server connect dialogue, by default it will try to connect using AFP. Nov 23 21:39:55 SMB must be specified. Nov 23 21:40:13 they mention a bug in macosx (for 3 months now) : nsswitch.conf edit it and edit into :osts: files dns wins Nov 23 21:40:31 I tried smb://192.168.10.1 , it throws up a password box, I type in username fonero and master password, and it says "password invalid. Nov 23 21:40:33 hosts: files dns wins Nov 23 21:40:38 (wins as last option) Nov 23 21:41:01 did you use the gui of the fonera to edit the password once more? Nov 23 21:41:04 there was a bug with that Nov 23 21:41:15 you have to set the password twice to have "fonero" working Nov 23 21:41:32 settings -> password Nov 23 21:41:44 SkyNETbbs: Yeah, I used the gui to set the password. Nov 23 21:42:04 will try setting the password twice in the gui Nov 23 21:42:14 Damn this is some buggy firmware. Nov 23 21:42:39 Where is the nsswitch.conf file? on the mac or on the fonera? Nov 23 21:44:32 So if I have to used the GUI to set the password two times, do I need to log out and back into the gui before the 2nd password reset? Nov 23 21:44:42 the mac Nov 23 21:45:17 No /etc/nsswitch.conf on the mac that I could find. Nov 23 21:45:21 and it's the mac that is buggy.... if you google you will find more than 220.000 people having issues with 10.6 & samba .... and this is going on for 3 months Nov 23 21:45:25 since september Nov 23 21:45:39 I have no issues with samba (ubuntu) Nov 23 21:45:57 peope have issues with nslu2, WD, company servers, ... Nov 23 21:46:03 SkyNETbbs: really. Well that is some hogwash on the part of Apple. Nov 23 21:46:16 so it won't go away by downgrading the fonera :( Nov 23 21:46:31 does FTP work for you? Nov 23 21:46:37 SkyNETbbs: OK, well that gives me one less thing about the Fonera to bitch about. ;) Nov 23 21:46:46 SkyNETbbs: Yes, FTP has always worked fine. Nov 23 21:46:48 does Mac offer anything else? CIFS? NFS? Nov 23 21:47:06 perhaps you could ask to have samba replaced (optionally) with something else that the mac supports out of the box Nov 23 21:47:26 SkyNETbbs: Errrr, CIFS is the standards name for SMB o'er the intertubes, is it not? Nov 23 21:47:43 Not sure if Leopard has an NFS client or not. Nov 23 21:49:53 well personally i'm out of ideas.... Nov 23 21:51:13 Didn't know that La Fonera could function as an NFS server Nov 23 21:51:41 SkyNETbbs: Did you get any clues from the smbcliend debug output pastebin? Nov 23 21:56:30 SkyNETbbs: looks like NFS client is built into Leopard and very easy to use http://www.behanna.org/osx/nfs/howto1.html Nov 23 21:57:10 I was thinking about using SCP and MacFuse as a workaround. Nov 23 21:57:31 IIRC I had some problems using sftp on the fonera Nov 23 22:00:49 Ok, I'm going to the beach before it gets too cold. ;) Will hammer on this some more later tonight, but I imagine most of you will be sleeping. GMT -9 here. Nov 23 22:04:47 where is the .reg fix for XD Nov 23 22:04:49 lol Nov 23 22:12:59 no prob i have resolved **** ENDING LOGGING AT Tue Nov 24 03:00:00 2009