**** BEGIN LOGGING AT Sun Sep 04 02:59:56 2005 Sep 04 04:51:43 hi can anyone tell me how to use .jar files under Unslung? Sep 04 05:40:36 hi! anyone around with experience of using openvpn on the slug? Sep 04 10:43:30 Nickserv Sep 04 13:22:02 hi, is there anybody that can help me config samba with swat? Sep 04 13:22:34 I think i did it all, but it prompts for a user/passwd and I do not know how to switch that off (or what passwd to give) Sep 04 13:24:55 ? Sep 04 13:26:27 i can run swat, made a share, but when i connect to it windows prompts for a passwd Sep 04 13:30:12 You mean when you want to map a share it's asking for a password? Sep 04 13:33:02 yes Sep 04 13:33:14 i'm not very proficient in this Sep 04 13:33:19 I made the share with swat Sep 04 13:35:23 The problem is that i never use swat myself. Sep 04 13:35:43 Do you use "unslung" with samba 3? Sep 04 13:35:54 i haven't either, but I had to move over to openslug and there the linksys web i/f is not there any more Sep 04 13:36:10 just want to export a share to windows Sep 04 13:39:58 Can you sent me your smb.conf? Sep 04 13:41:27 sure Sep 04 13:42:40 hang on Sep 04 13:45:46 hm this is nastier than I expected. Sep 04 13:45:56 i have no share so cannot get it off that way Sep 04 13:46:09 trying a memstick but don't know the dev to mount it on Sep 04 13:46:17 Do you have "ssh" installed? Sep 04 13:46:20 yes Sep 04 13:46:28 i'm using openslug Sep 04 13:46:33 Just use that to log into the slug? Sep 04 13:46:48 i am Sep 04 13:47:11 Please type "find / -name smb.conf" Sep 04 13:47:43 I am not sure were the file is. Sep 04 13:47:46 i know where the file is (in /etc/samba) just don't know how to copy it to my pc so I can send it to you Sep 04 13:48:00 Oke. That's simple. Sep 04 13:48:17 Probably you are using windows at this moment? Sep 04 13:48:22 yes Sep 04 13:48:43 xp Sep 04 13:48:57 Just install "winscp". Sep 04 13:49:15 i have that one and it complains that sftp is not running on my slug Sep 04 13:51:29 Use the "scp" mode of winscp. Sep 04 13:53:01 say what does the top green light blinking in green signify Sep 04 13:54:25 marceln, i just send you smb.conf Sep 04 13:55:34 case0511 there is a page on the wiki that describes this (don't know this by heart) Sep 04 13:55:54 alright, i'll scour it. thanks by the way :) Sep 04 13:56:24 marceln the file transfer timed out Sep 04 13:56:33 did you see the file ? Sep 04 13:56:52 No. My client doesn't onderstand file transfer. Just sent it to: nslu2@pion.xs4all.nl Sep 04 13:57:03 ok Sep 04 13:58:28 its on its way Sep 04 14:00:10 1) smb passwd file = /etc/samba/smbpasswd Sep 04 14:00:23 So the users are in "/etc/samba/smbpasswd"! Sep 04 14:01:14 ok, i just want to make a share that is accessible by everyone Sep 04 14:02:42 There is a second line "guest account=guest" so any unknown account is mapped to guest. Sep 04 14:02:55 Is there a "guest" account in "/etc/passwd"? Sep 04 14:04:04 yes Sep 04 14:04:28 passwordless Sep 04 14:04:41 also did smbpasswd -a guest Sep 04 14:04:47 and entered return on the passwd Sep 04 14:05:22 smbpasswd says: Sep 04 14:05:22 guest:502:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U ]:LCT-431B60ED: Sep 04 14:05:37 502 is the uid of guest in /etc/passwd Sep 04 14:09:13 Well in that case you placed a password in the guest account. Sep 04 14:09:37 I have on "unslung": guest:501:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NU ]:LCT-37D44FF6: Sep 04 14:10:28 hmm lets try that Sep 04 14:15:55 changed the passwd file Sep 04 14:16:40 i now can browse to the slug and see the shares, but if I click on the disk 1 share it complains about that I do not have the right credentials Sep 04 14:17:00 doesn't ask for a password any more Sep 04 14:21:04 Ok. Sep 04 14:21:33 I just installed samba on openslug so that i can see how it works. Sep 04 14:21:52 I just sent you the standard config which works. Sep 04 14:22:16 tnx Sep 04 14:22:37 But i think your config is working now. Sep 04 14:22:52 Which share did you use? Sep 04 14:23:34 disk 1 Sep 04 14:23:35 Only "DISK 1" is public. Sep 04 14:23:39 yes Sep 04 14:23:49 The second problem is the unix permisions. Sep 04 14:24:23 Check the permisions on "/usr/public/" Sep 04 14:25:18 it has mode rwxrwxr-x (so 775) and is owned by guest Sep 04 14:27:10 [2005/09/04 21:25:48, 0] lib/username.c:map_username(128) Sep 04 14:27:10 can't open username map no. Error No such file or directory Sep 04 14:27:28 this is what is in the log file after i attempt to access the slug Sep 04 14:27:44 (it is still on gmt hence the 21:25 iso 23.25) Sep 04 14:28:22 in /var/log/smdb.log Sep 04 14:36:34 found something on the web stating that I have to change Sep 04 14:36:34 > username map = no Sep 04 14:36:34 > to Sep 04 14:36:34 > username map = # no Sep 04 14:36:42 but that did not work Sep 04 14:38:42 Remove the "valid user" line in the "[DISK 1]" and replace it with "public = yes" Sep 04 14:39:12 AT this moment "guest" isn't a valid user for this share. Sep 04 14:40:29 currently valid users says @administrators, @everyone; i'll change to guest Sep 04 14:41:54 where can i change the ip of the nslu2 ? Sep 04 14:42:36 case0511, if you are using the std linksys or unslung sw, you can do that via the web i/f Sep 04 14:42:53 well i keep getting a system error via the web interface Sep 04 14:42:55 don't know which one it actually is (and I am not running either of these any more) Sep 04 14:43:16 case0511 are you on unslung or on linksys sw Sep 04 14:43:24 yep Sep 04 14:43:27 unslung Sep 04 14:43:29 marceln, guest didn't make a difference Sep 04 14:44:05 hm, you could try to reflash, i hope your config area is not broken Sep 04 14:44:40 haven't had this before. the ip address is in the configuration area Sep 04 14:44:53 eFfeM: Just remove the valid user line and add "public = yes" Sep 04 14:47:20 marceln added this, this has no effect Sep 04 14:47:25 same error Sep 04 14:48:53 ehm may have made a mistake, let me try again Sep 04 14:51:13 hmm you wouldnt be using samba 3 with osx there would you eFfeM ? Sep 04 14:51:39 nope. xp Sep 04 14:52:35 ah. Sep 04 14:52:39 samba3 and osx == no go Sep 04 14:52:43 i now do get a connection Sep 04 14:52:51 but when I browse still no access Sep 04 14:54:23 this is what i get in the log: Sep 04 14:54:24 [2005/09/04 21:52:25, 0] lib/username.c:map_username(128) Sep 04 14:54:24 can't open username map no. Error No such file or directory Sep 04 14:54:24 [2005/09/04 21:52:25, 0] smbd/service.c:make_connection(794) Sep 04 14:54:24 woonkamer (192.168.123.4) couldn't find service disk Sep 04 14:56:56 The share is called "DISK 1" not "disk". Sep 04 14:57:41 i know, i haven't typed the name, i browsed it from explorer Sep 04 14:57:55 browse to the slug, see a share disk 1 and click on it Sep 04 14:58:37 windows then says disk 1 is not accessible, you might not have the right credentials (if I translate the error msg correctly) Sep 04 15:01:41 Could you try to add this to your config file: Sep 04 15:01:44 [tmp] Sep 04 15:01:44 comment = Temporary file space Sep 04 15:01:44 path = /tmp Sep 04 15:01:44 read only = no Sep 04 15:01:44 public = yes Sep 04 15:02:00 I have this share working. Sep 04 15:02:17 ok, one sec Sep 04 15:05:05 hey, that works for me as well. Sep 04 15:05:14 the disk1 section reads: Sep 04 15:05:14 [DISK 1] Sep 04 15:05:14 comment = For everyone Sep 04 15:05:14 path = /usr/public/ Sep 04 15:05:14 public = yes Sep 04 15:05:14 write list = @administrators, @everyone Sep 04 15:05:16 guest ok = Yes Sep 04 15:10:42 marceln, got it! Sep 04 15:10:56 apparently samba cannot deal with the space in the share name Sep 04 15:11:11 if I change [DISK 1] to [DISK1] it works like a charm Sep 04 15:12:20 I am not sure about that. I can connect to the standard unslung share "DISK 1". Sep 04 15:12:57 yeah, i peeked at the unslung smb.conf file while crafting the openslug one Sep 04 15:13:08 could you on your openslug version try to create a share with a space in it? Sep 04 15:14:37 it doesn't work for me Sep 04 15:14:44 dont know if this is in the config Sep 04 15:15:25 [t e s t] Sep 04 15:15:25 comment = test share Sep 04 15:15:25 path = /var/tmp Sep 04 15:15:25 read only = no Sep 04 15:15:25 public = yes Sep 04 15:15:37 This share works with 3 spaces. Sep 04 15:18:11 hmm. this works for me as well Sep 04 15:18:50 can you rename to [DISK 1] Sep 04 15:18:57 and keep all the rest the same ? Sep 04 15:19:55 No problem. It just works Sep 04 15:22:07 i'm completely flabbergasted. if I name the share [DIS 1] it works, if I name it [DISKY 1] it works, if I name it [DISK 1] it doesn't Sep 04 15:22:18 perhaps windows has something cached somewhere Sep 04 15:23:00 maybe rebooting the pc would help, don't think I'm going to try that now. Sep 04 15:23:09 marceln, I have one Q left: Sep 04 15:23:32 If I go to swat it tells me that smbd is not running Sep 04 15:23:50 but of course it is as I can access shares now and ps also shows the process Sep 04 15:23:56 how can this be? Sep 04 15:24:44 I am not sure. Sep 04 15:25:27 I don't know how swat checks it. Sep 04 15:26:32 ok. let's leave that challenge for another time. thanks alot/ontzettend bedankt! Sep 04 15:26:48 I've definitely learned a lot. Sep 04 15:27:29 catch u later, calling it a day ... Sep 04 19:22:02 is there anyone here that can help me with a "undetected drive" problem Sep 04 19:22:28 exhausted website resources :( Sep 04 19:36:06 anyone? Sep 04 19:36:35 define "exhausted website resources" Sep 04 19:40:32 my problem is similar to the one described in http://www.nslu2-linux.org/wiki/FAQ/DiskNotRecognized Sep 04 19:40:40 but i have both USB_detect processes running Sep 04 19:40:58 it mentions that they do not have a solution for my scenario Sep 04 19:41:04 and you tried out the how to on drive missing condition Sep 04 19:41:08 wondering if anyone here would have more info Sep 04 19:41:13 yes Sep 04 19:41:15 when I df Sep 04 19:41:18 no sda1 is listed Sep 04 19:41:45 i just noticed that it has mounted my drive in the /share/flash Sep 04 19:41:52 i used to mount is /share/hdd Sep 04 19:41:54 it* Sep 04 19:42:01 is it plugged into port2? Sep 04 19:42:09 *it used to mount in /share/hdd Sep 04 19:42:26 right now it is, but i get the same issue when its plugged into port1 Sep 04 19:42:43 port2 is /dev/sdb Sep 04 19:43:13 when plugged into port1, I still get no sda1 on df Sep 04 19:44:48 can you plug into another linux box to test... Sep 04 19:45:13 no linux box available right now Sep 04 19:45:16 what would you have me test Sep 04 19:46:22 see if it mounts there Sep 04 19:47:03 there are some enclosures that Just Don't Work (tm) Sep 04 19:55:40 mine is IO data Sep 04 19:55:51 is that list on the slug site or linksys Sep 04 19:56:16 I've never seen an enclosure list at linksys Sep 04 19:56:25 it worked fine with linksys firmware Sep 04 19:56:51 then it should work with unslung Sep 04 19:57:41 you can always go back to linksys firmware to get it working there.... Sep 04 19:58:05 and then re-flash unslung and re-unsling Sep 04 19:58:55 I Sep 04 19:59:04 I've tried reflashing the unslung firmware Sep 04 19:59:08 maybe i'll try that Sep 04 19:59:14 to linksys i mean Sep 04 19:59:20 bbl Sep 04 19:59:21 thx Sep 04 20:16:44 ByronT : anyway to shut down a nslu2 over ssh/net/telnet...or ring wife! Sep 04 20:17:10 sync then halt Sep 04 20:17:32 from any ssh, telnet connection would do it Sep 04 20:18:02 only other way is from the web interface - or did I completely misunderstand your question? Sep 04 20:18:10 ok.. i couldn't find a shutdown ..the 101 was poweroff. i am having a issue with a person in thailand. Sep 04 20:18:40 no thats cool i was not looking for the right command. Sep 04 20:20:57 fixed...if the doors not there..you can't even knock.