**** BEGIN LOGGING AT Mon Apr 24 09:59:58 2006 Apr 24 10:16:20 hi. i canīt ping my nslu2, the setup wizard on the cd canīt find it and i canīt telnet into it. i can however find it with the sercom application.. what might be the problem? Apr 24 10:18:13 seems like a) it hangs somewhere during the boot (before setting up the ethernet interface) b) bad flash c) it's running fine, but you cannot find it, because it has a different ip-address Apr 24 10:21:39 thereīs no indication judging by the lights that something might be wrong. im figuring that they wouldnīt be permanently green if it wouldvīe hung during boot. and iīm pretty sure the ip is correct Apr 24 10:22:10 is there any way to start over clean and do it all again? http://groups.yahoo.com/group/nslu2-linux/message/12662 Apr 24 10:25:10 kevlarmusik kind of Apr 24 10:26:02 hey joga...did you get my pm? Apr 24 10:26:09 hmm, no Apr 24 10:26:24 freenode doesn't allow unregistered clients to send pms Apr 24 10:26:32 I think.. Apr 24 10:26:39 and I've forgot my password myself hehe Apr 24 10:26:41 :( Apr 24 10:26:45 weird... Apr 24 10:26:53 helps with abuse I guess Apr 24 10:26:57 oh well...colloquy let me send it anyways Apr 24 10:27:12 yeah, but it doesn't get through.. Apr 24 10:28:15 basically, i said that after i tried getting the nslu set up for that re-init (had to remove the hdd) the main config stuff all worked again! Apr 24 10:28:58 i guess now i know for sure that there's some weird conflict going on with whatever i had installed on the system Apr 24 10:29:24 namely that copy of thttpd i would assume Apr 24 10:30:24 anyways...that's good news i suppose...saves me some headaches trying to get into redboot to sort things out Apr 24 11:24:26 have you guys tried using a bluetoth dongle with unslung? Apr 24 11:28:17 f Apr 24 11:33:46 MWall: using Bluetooth with OpenSlug over here... works well... Apr 24 11:34:04 same with debianslug MWall pahartik Apr 24 11:37:25 pahartik: for what purpose are you using bluetooth? Apr 24 11:38:46 MWall: Bluetooth PAN access point for iBook G4 (running Debian GNU/Linux) Apr 24 11:39:28 thanks. Apr 24 11:41:13 i, however, still have no connection what-so-ever to my slug. frustrating... Apr 24 11:41:49 EvilDevil: EPoX BT-DG07A+ (Bluetooth 2.0 class 1, CSR chip) Apr 24 11:47:32 EvilDevil: works well, but I noticed that it contains no Bluetooth logo anywhere on packaging or adapter... I suppose EPoX wants to avoid paying some license fees to some commercial entity Apr 24 11:49:57 EvilDevil: not sure if that is good or bad, as Linux is not qualified use of Bluetooth... "http://www.holtmann.org/linux/bluetooth/devices.html"... since I am not qualified user, they do not want my money either, right? Apr 24 11:54:01 MWall: you have got Bluetooth adapter and have installed driver modules and utilities? Apr 24 12:10:06 * pahartik plans on getting Nokia 770 someday and use Bluetooth PAN access point with that as well Apr 24 13:28:22 <[TEHb]> Accidently delete it from my hdd Apr 24 13:31:10 Can anyone help me with an issue or two with unslung 6.8? Apr 24 13:40:44 When I try to login as root, I get the following "No directory, logging in with HOME=/" and then telnet/ssh quits Apr 24 13:41:01 same happens when I boot the slug with no drive attached Apr 24 13:53:17 corey, have you modified your /etc/passwd ? Apr 24 13:53:45 yes Apr 24 13:53:55 what have you done? Apr 24 13:55:35 I am confused somewhat by the differed passwd files Apr 24 13:55:44 differed = different Apr 24 13:56:24 I thought with no hdd attached, I would get what was part of the original unslung passwd file Apr 24 13:57:10 So I would use the standard uNSLUng password or the password that I specified during the flash Apr 24 13:57:26 without hdd attached it use /etc/passwd with an attached hdd it use /share/[hdd|flash]/conf/passwd Apr 24 13:57:37 I chose to use my own password. Apr 24 13:57:43 but your problem isn't a password problem Apr 24 13:58:02 I think it has to do with that the /home/root or /root directory does not exist Apr 24 13:58:15 How can I change that tho with no hdd attached Apr 24 13:58:21 no, it works too, if /root doesn't exist Apr 24 13:58:46 it seems, that there is no valid login shell Apr 24 13:59:12 have you modified your /etc/passwd ? and when yes, what have you done? Apr 24 13:59:26 I need to look. Apr 24 13:59:35 but first I need to fix a disk not formatted condition Apr 24 13:59:39 how can you see it? Apr 24 14:00:13 seems like I get a Apr 24 14:00:18 corey: "${SHELL}" binary is missing or does not end up in interactive mode... or quits unexpectedly... Apr 24 14:00:22 df -k Apr 24 14:00:37 (nevermind - wrong window) Apr 24 14:00:48 seems like I get a 'disk not formatted' when I shutdown the slug. Apr 24 14:01:11 Not sure how I can get in there now to see the passwd file. I may reflash Apr 24 14:01:25 corey: can you run commands over SSH in non-interactive mode? Apr 24 14:02:01 right now I am trying to telnet to the slug with no drive attached Apr 24 14:02:02 corey: like "ssh nslu2 ls /"? Apr 24 14:03:31 pahartik, ssh isn't a base package at unslung, it must be installed manually Apr 24 14:04:48 pahartik, I'm in windows right now. Don't have 'ssh'. putty gives an invalid port number. Apr 24 14:05:05 caplink811_log: but corey told "[...] and then telnet/ssh quits", so I assumed both have been functional Apr 24 14:10:32 Yes, when the drive is seen as formatted properly. I need to connect the drive to another machine and run fsck. Apr 24 14:11:23 Once I have the drive working, the change that I made to the passwd file for root was change the shell to /bin/bash. (I installed bash thru ipkg). Apr 24 14:11:46 be back in a couple to fix the drive... Apr 24 14:11:57 and that is the problem Apr 24 14:12:14 corey: missing "${HOME}" should not be fatal for SSH, unless password authentication is disabled and matching public key for private key cannot be found... but that would have caused failed authentication before getting notification about "${HOME}" not being available Apr 24 14:12:19 when you installed a package, it goes to /opt/bin or another path above /opt Apr 24 14:12:37 and change it for user root is a bad idea, too Apr 24 14:14:11 beneath .. i meant Apr 24 14:14:40 corey: you performed bad trick Apr 24 14:15:04 ok. what is a better trick? Apr 24 14:15:29 Create a user with root privs and leave 'root' alone? Apr 24 14:16:43 corey: good trick is to not change login shell for "root" Apr 24 14:17:39 I still don't understand how I changed the shell in the firmware Apr 24 14:17:58 with no drive connected, I should have the unslung passwd file, correct? Apr 24 14:18:25 When I cycle power to the slug with no drive connected, it should be /bin/sh, correct? Apr 24 14:19:26 maybe, but if you edit (with an attached drive) /etc/passwd, it becomes a real file (before and normally it is a link -> /share/hdd/conf/passwd) Apr 24 14:20:01 err. apparrently not. Apr 24 14:20:20 root:asdf:0:0:root:/home/root:/bin/bash Apr 24 14:20:31 Thats with no drive connected Apr 24 14:21:36 I see the problem now Apr 24 14:22:02 since bash is not part of the unslung install, and the drive is not connected, it dies Apr 24 14:22:20 no bash, no shell, no login Apr 24 14:24:26 right Apr 24 14:24:55 How do I fix passwd on the slug itself? Reflash? Apr 24 14:25:14 yes, that is the fastest, and imho, the only way Apr 24 14:25:34 corey: use "scp", edit file, use "scp" other way? Apr 24 14:29:01 corey: but be careful with newline characters, if you are forced to use windoze editors, they may end up being broken... Apr 24 14:29:27 With no drive connected, cannot use scp. I use gVim on Winderz. Apr 24 14:29:56 I am going to reflash to fix passwd. Apr 24 14:30:06 corey: connect drive then? Apr 24 14:30:29 Drive is 'not formatted'. Getting laptop ready to fsck the drive Apr 24 14:30:57 About 90% of the time when I shutdown the slug, the drive becomes 'not formatted' Apr 24 14:31:49 If I can login as root via telnet, I can use the slug's fsck and then reboot. Apr 24 14:32:38 corey: damn that Apr 24 14:34:46 I have 'my document' mapped to a share on the slug. Maybe that is what is doing it? Apr 24 14:35:46 be back in a bit. Going to fix a couple of things. Apr 24 14:36:10 Thanks for the help. Apr 24 15:50:36 Is it safe to clear out /share/flash/conf? Apr 24 15:51:36 It seems that once I unsling, the passwd file from /share/flash/conf is copied to the internal passwd file. Next time I boot with no drive, I end up with the same thing as before. Apr 24 15:52:07 Alternatively, I can edit /share/flash/conf/passwd prior to unsling-ing (after I re-flash again) Apr 24 15:52:42 By clearing out, I mean "rm -fr *" Apr 24 15:58:23 corey, don't delete the contents of /share/hdd/conf Apr 24 15:59:32 just boot without disk, login, cp /etc/passwd /tmp , attach the disk, wait until it is mounted rw, and then cp /tmp/passwd /share/hdd/conf/passwd Apr 24 15:59:56 after that, run /sbin/unsling... Apr 24 16:05:29 aye. Thanks Apr 24 20:29:27 mika_ :) Apr 24 20:31:16 capbot: :) Apr 24 23:45:17 Yes - I got it Apr 24 23:45:27 Debian on the nslu2 Apr 25 07:08:42 pahartik? Apr 25 08:02:53 anyone? Apr 25 08:07:22 do you guys know if i can instsall redhat directly over win98? Apr 25 08:07:37 how does this relate to nslu? :) Apr 25 08:07:49 just format the drive and install... Apr 25 08:08:24 and probably the installer can do all of it too.. Apr 25 08:08:36 im having problems installing my nslu (you know this by now :) ) and im thinking about trying it on redhat Apr 25 08:08:57 what kind of problems? Apr 25 08:11:47 right now its a connection problem. i finally reflashed the slug with the original linksys firmware using the sercomm app. but now i cant find the slug on the network, i cant ping it (tried both the default ip and the one i set previously), the setup wizard on the cd cant find it. funny thing though, the sercomm app. finds it perfectly Apr 25 08:17:42 MWall: on wintel architecture, one could supposedly install i386 version of Debian GNU/Linux... Apr 25 08:18:55 installing linux wont help you finding the slug Apr 25 08:19:05 you must be on the same network Apr 25 08:19:30 well the computer and the slug are on the same network/subnet Apr 25 08:19:32 the sercomm app finds it by using the mac adress i think Apr 25 08:20:16 so there must be some kind of connection between them Apr 25 08:20:34 and if it finds the slug even now after flashing it is still in upgrade mode so no wonder you cant find it in windows Apr 25 08:21:23 do you know what i need to do? Apr 25 08:21:26 MWall: does your LAN have access to DHCP server? Apr 25 08:21:38 how do i check that? Apr 25 08:23:03 MWall: let DHCP client request for DHCP lease and see if there is response...? Apr 25 08:25:28 im sorry bout being such a newbi to these things but can i use netsh to do that? Apr 25 08:26:55 MWall: probably, if "netsh" contains "DHCP client"... Apr 25 08:27:49 now im at the netsh command prompt. what do i write? Apr 25 08:28:19 MWall: but I am trying to say, if your Linksys NSLU2 device gets lease for IP address from DHCP server that is not under your control, you might not know what IP address it got... Apr 25 08:28:50 MWall: I do not have any idea about what "netsh" is... use "man netsh"? Apr 25 08:30:17 i guess i know what youre saying. but if i 'know' that the slug and the computer are in the same subnet, shouldnīt the slug show in the setup wizard then? Apr 25 08:32:18 MWall: if they are on same subnet... Apr 25 08:34:29 the network assigns my computer an ip under 192.168.0.x. can i try searching for the linksys under 192.168.1.x by setting the computers ip to 192.168.1.x disconnect the computer, connect the slug directly to the computer and search for it? Apr 25 08:34:52 "...disconnect the computer from the network" Apr 25 08:35:26 MWall: ...maybe you could try to find out by sending ICMP ping broadcast and see if Linksys NSLU2 responds... Apr 25 08:36:01 is that done from the command prompt? Apr 25 08:37:13 but wouldnīt the setup wizard find the slug even if they are on different subnets? Apr 25 08:40:41 eiffel: can the slug still be in upgrade mode despite the fact that both "ready/start" and "ethernet" lights are lit permanently green just as usual? and do you in that case know how to get out of upgrade mode? i mean if that turns out to be the problem.... Apr 25 08:46:24 alright here i go. brb Apr 25 08:46:56 MWall: I do not know "setup wizard" or "original firmware", as I never tried using them... but if Linksys NSLU2 is booted without network and only workstation gets directly connected to it, it supposedly shows up at 192.168.1.33/255.255.255.0 Apr 25 08:47:28 isnīt it 192.168.1.77? Apr 25 08:48:35 MWall: yes, for second or two in RedBoot before Linux kernel starts getting loaded Apr 25 08:49:13 ok. iīll try this. brb Apr 25 08:49:21 thanks btw Apr 25 08:49:29 MWall: and actually it is 192.168.0.77/255.255.255.0 for RedBoot Apr 25 09:11:42 here i am again Apr 25 09:13:36 that was kind of dumb. by changing the computers ip to 192.168.1.x i found the slug on 192.168.1.77 by both pinging and finding it in the setup wiz. then i tried to just go through the setup process in order to save its new ip (under 192.168.0.x) but when it tried savind the new conf. it failed Apr 25 09:15:53 this dialog box popped up: "saving conf. has failed. pls check your network condition". ive got the slug connected to the pc via an isolated hub, maybe i should change hub (think i can find another one somewhere around here) och tryng a crosswired cable instead. what do you say? Apr 25 09:16:58 MWall: damn it, I got wrong IP addresses in my memory Apr 25 09:17:13 funny thing is although saving of the configuration failed when i tried running the setup wizard again (after trying to changing the slugs ip) it showed up with its new ip Apr 25 09:21:27 what do you mean by that btw? Apr 25 09:23:33 MWall: I hope you enjoyed getting wrong information from me... RedBoot listens to 192.168.0.1/255.255.255.0 and not 192.168.0.77/255.255.255.0 Apr 25 09:25:34 when i enter the web interface it says the slug has the latest release of linksys firmware installed. now i really would like to format the usb flash disk ive got. but none of the usb ports are installed in the web interface and since i cant complete the setup process it doesnīt ask me wether i would like to usb disk formatted when saving is done. ive read in the installation notes that is supposed to happen. i really would like to in Apr 25 09:27:55 can i install a usb port without using the setup wizard? Apr 25 09:37:04 is this a good way to do it? http://www.nslu2-linux.org/wiki/HowTo/UseAMemoryStickAsMainDrive. maybe i didnīt tell you that iīm planning to run unslung from a 256 mb memory stick **** ENDING LOGGING AT Tue Apr 25 09:59:57 2006