00:12:50 | ToyKeeper | Ah, pulsing backlight. |
00:16:40 | jacques | ToyKeeper: ?? |
00:17:00 | ToyKeeper | python. |
00:17:02 | ToyKeeper | Handy. :) |
00:24:47 | jacques | well as long as it's intentional :-) |
01:26:29 | dneuer | hi all |
02:15:45 | Bub | ji |
02:15:50 | Bub | hi, even |
02:16:41 | jacques | hi Bub |
02:19:27 | Bub | how does it go? |
02:20:18 | pisymbol | hey, need a little help here |
02:20:30 | pisymbol | I just xmodem'ed bootldr-2.14.8 |
02:20:38 | pisymbol | via teraterm pro |
02:20:58 | pisymbol | it sent it but I still havne't got verify done... |
02:22:06 | pisymbol | there is an option on the bottom for checksum, crc, 1k? |
02:23:16 | pisymbol | anybody - I did checksums, everything looks fine |
02:23:42 | pisymbol | I'm using XMODEM(checksum) protocol to load the bootldr? |
02:24:19 | pisymbol | anybody around for a little? |
02:24:42 | jacques | pisymbol: sorry I know nothing about terraterm |
02:24:45 | pisymbol | when I do peek flash 0x20 |
02:24:55 | pisymbol | I get value is 0000000 |
02:24:59 | pisymbol | addr 0000020 |
02:25:14 | pisymbol | what protocl should I be using? |
02:25:36 | pisymbol | xmodem (checksum) xmodem (crc) xmodem (1k) - does it make a difference as long as its xmodem |
02:25:45 | jacques | pisymbol: xmodem |
02:25:57 | jacques | pisymbol: try downloading the bootldr again |
02:26:09 | jacques | pisymbol: are you getting any NACK errors? |
02:26:46 | pisymbol | no |
02:27:09 | pisymbol | the first time I did send file which was a mistake |
02:27:17 | pisymbol | damnit - Igot loads of RXSTAT Errors |
02:27:31 | pisymbol | can I reboot windows while connected? |
02:28:20 | jacques | pisymbol: ?? what do you mean while connected? |
02:28:41 | pisymbol | connected via the serial to the iPAQ via teraterm |
02:29:28 | jacques | pisymbol: is ipaq fully charged? |
02:29:32 | pisymbol | yes |
02:29:41 | pisymbol | its connected to the ac adapter right now |
02:29:56 | jacques | pisymbol: if so, I would remove it from cradle while rebooting the PC but *do not* reset the ipaq until you are sure bootldr is right |
02:29:59 | pisymbol | when I do a xmodem send - it doesn't seem tos end anything |
02:30:12 | pisymbol | what do you mean by reset? |
02:30:16 | pisymbol | turn on and off? |
02:30:31 | jacques | pisymbol: DO NOT flip switch on ipaq or push the reset button |
02:31:08 | pisymbol | okay I just got it to send - but its stuck on 4% |
02:31:16 | jacques | hmmm |
02:31:26 | pisymbol | is the rate to high? 115200 |
02:31:54 | pisymbol | I checked the serial settings - they seem right |
02:31:58 | jacques | 115200 8N1 NO hardware flow control NO software flow control |
02:32:07 | jacques | if you have flow control on, it will hang |
02:32:57 | pisymbol | alirght it doesn't seem so can I shutdown teraterm and restat it? |
02:33:07 | pisymbol | if I don't reset the iPAQ should I get a boot> screen? |
02:33:26 | jacques | do not reset the ipaq |
02:33:28 | pisymbol | I think I connected first and then made the right serial connectios |
02:33:29 | pisymbol | I won't |
02:33:36 | jacques | once the download times out you shold be back to boot> prompt |
02:33:43 | pisymbol | it already is |
02:33:44 | jacques | which is what you want |
02:33:51 | pisymbol | I want to reconnect |
02:34:03 | pisymbol | can I make a new serial -close this one and reconnect? |
02:34:21 | jacques | pisymbol: dunno, I am not too familar with windows |
02:35:27 | pisymbol | its working !!! |
02:35:31 | jacques | pisymbol: ?? |
02:35:53 | pisymbol | I erasing |
02:35:54 | pisymbol | writing |
02:35:56 | pisymbol | verify..done! |
02:36:08 | pisymbol | I reconnected with the right serial parameters!! |
02:36:45 | pisymbol | no birck for me! |
02:36:58 | pisymbol | can I reset? |
02:37:48 | jacques | pisymbol: yes, at this point you need to rset |
02:37:53 | jacques | reset |
02:38:12 | pisymbol | alrighty - about to reset (damn I'ma little scared) |
02:38:15 | jacques | pisymbol: after the reset, do the check t omake sure the bootldr is protected |
02:39:14 | jacques | pisymbol: did you reset yet? |
02:39:21 | pisymbol | how do I reset - disconnect my connection and poewr cycle? |
02:39:32 | jacques | pisymbol: best way is remove ipaq from cradle |
02:39:46 | pisymbol | alright and then? |
02:39:50 | jacques | pisymbol: and press stylus tip into small hole on bottom right of ipaq |
02:40:23 | jacques | pisymbol: just press the button in the hole for about 0.5 seconds |
02:40:27 | pisymbol | dude - I GOT A PENGUIN! |
02:40:32 | jacques | pisymbol: great! |
02:40:45 | sjohnson | Hi pisymbol. congrats. |
02:40:50 | pisymbol | what option now |
02:41:00 | jacques | pisymbol: ok, put it back into the cradle ahd do the check to make sure bootldr is protected |
02:41:00 | pisymbol | hey sj - thanks |
02:41:20 | pisymbol | I reconnected the serial |
02:41:34 | pisymbol | I have some options here: serail bootldr console |
02:41:43 | pisymbol | boot Linux |
02:41:50 | pisymbol | I'massumoing tap serial bootldr console??? |
02:42:20 | jacques | pisymbol: before you do anything, do the bootloader protection check |
02:42:41 | pisymbol | okay - start teraterm again then...? |
02:42:53 | jacques | pisymbol: yes, sorry I thought you had already done that |
02:43:18 | pisymbol | I got 00010001 |
02:43:20 | pisymbol | !!!! |
02:43:23 | pisymbol | yeee ha |
02:43:33 | pisymbol | should I do pflash anyway? |
02:43:42 | sjohnson | The worst is over. |
02:43:48 | jacques | pisymbol: excellent, now you can do whatever you want, it's very hard to brick it now |
02:43:59 | pisymbol | okay thanks jacques |
02:44:04 | pisymbol | now, I have two files |
02:44:29 | pisymbol | task-familiar-complete.jffs2 |
02:44:38 | pisymbol | and zImage-2.4.3 |
02:44:41 | pisymbol | do I need anything else? |
02:45:00 | sjohnson | pisymbol: Did you get my message about the flipout cases? |
02:45:00 | jacques | nope |
02:45:23 | jacques | pisymbol: follow all the next steps carefully so you don't have to reflash |
02:45:41 | pisymbol | alrighty I'm assuming I should cut/paste the boot commands |
02:45:44 | pisymbol | exactly? |
02:46:13 | sjohnson | pisymbol: Yes. That's the best way to be sure. |
02:46:55 | pisymbol | I'm so excited - its like Xmas all over again |
02:48:19 | jacques | pisymbol: make sure the partitions are setup correctly linuxargs etc |
02:48:23 | pisymbol | who has a 32MB flash rOM? |
02:48:30 | jacques | i do |
02:48:36 | pisymbol | is that with a lfash card |
02:48:53 | jacques | ? no, my ipaq just came that way |
02:48:55 | sjohnson | is envious of jacques. |
02:48:57 | pisymbol | what! |
02:49:02 | jacques | i got it in september |
02:49:10 | jacques | they were having a parts shortage |
02:49:10 | pisymbol | why did they downgrade the ROMs? |
02:49:18 | pisymbol | oh that friggin bites |
02:49:19 | jacques | so they used some 32MB parts |
02:49:26 | pisymbol | WTF |
02:49:31 | jacques | well, I have heard the 32MB parts are slower than the 16MB parts |
02:49:38 | pisymbol | really? :) |
02:49:47 | pisymbol | oh hell let me continue with tihs |
02:50:48 | pisymbol | when I do load kernel - I send the zImage yes? |
02:51:03 | sjohnson | pisymbol: yes. |
02:51:24 | pisymbol | alrighty loading now |
02:51:40 | pisymbol | sorry - I'm just a little paranoid - this is so different from your typical linux install |
02:52:03 | pisymbol | if I get linux up and running on my iPAQ I may not fall asleep today |
02:52:16 | jacques | pisymbol: I believe ppl *should* be paranoid about flashing the bootldr |
02:52:17 | sjohnson | Don't worry not. If you screwup you can alway do it over again. |
02:52:30 | sjohnson | s/not/now/ |
02:54:29 | pisymbol | ahhh |
02:54:38 | pisymbol | that the loading of the jffs2 image failed |
02:54:47 | pisymbol | I have don't understand command |
02:54:50 | pisymbol | can I reset and try again? |
02:55:36 | pisymbol | I was able to load the root image but not the filesystem |
02:55:45 | jacques | pisymbol: you have already setup partitions and flashed the kernel? |
02:55:52 | pisymbol | yes |
02:56:09 | pisymbol | last step was loading the filesystem and "boot" |
02:56:18 | pisymbol | it screwed loading the filesystem? |
02:56:27 | jacques | pisymbol: ok, you can just start the load root again |
02:56:38 | pisymbol | the terminal seems hung |
02:56:48 | pisymbol | I would have to power cycle |
02:57:04 | pisymbol | will that erase all of the params |
02:57:21 | sjohnson | pisymbol: No its all in flash |
02:57:44 | sjohnson | AS long as your did a 'params save' |
02:58:12 | pisymbol | crap its trying to boot linux |
02:58:47 | pisymbol | how do I get back? |
02:59:07 | sjohnson | Just use the reset button. |
02:59:12 | pisymbol | it uncompresses linux when I do reset |
02:59:18 | pisymbol | and then tries to mount the filesystem? |
02:59:31 | pisymbol | then of course a kernel panic |
02:59:52 | sjohnson | After you reset, hit the space on the terminal a few times to get the boot prompt. |
03:00:07 | pisymbol | thank you! |
03:00:21 | sjohnson | Don't hit Enter. That causes it to start booting. |
03:00:24 | pisymbol | looks like kernel made it but not the fs - I will try to send the fs again |
03:00:48 | sjohnson | the fs image will take around 20 minutes to upload. |
03:01:04 | pisymbol | that's why maybe it didn't hang/ |
03:01:42 | pisymbol | its doing now!!! |
03:01:44 | pisymbol | :) |
03:02:00 | pisymbol | alrighty then - I guess aferit loads it I should be able to boot up |
03:02:24 | sjohnson | Yes, and then the fun really starts. |
03:02:37 | pisymbol | yea! |
03:02:47 | pisymbol | Now can I use my serial cable to forward packets via my linxu box? |
03:03:19 | pisymbol | I think I'm gonna write up a newer install with a little bit more details |
03:03:37 | pisymbol | there were some parts that were clear - but not completely precise |
03:03:50 | sjohnson | You can use PPP to connect to your desktop. |
03:04:05 | sjohnson | Is you desktop Linux or something else? |
03:04:18 | pisymbol | Both! |
03:04:27 | pisymbol | Its a RH7.1 / Win98 (2 HDs) |
03:04:37 | | ppp is http://handhelds.org/z/wiki/PPPHowto |
03:04:37 | sjohnson | ibot ppp |
03:04:58 | sjohnson | Yes that on how to setup your desktop to connect to ipaq. |
03:05:52 | sjohnson | wonders how 'Read' became 'Yes' as he typed it?!?!?!? |
03:06:23 | pisymbol | looks simple enough |
03:06:35 | pisymbol | 25% done! |
03:07:15 | sjohnson | Now lets see if those cron changes fixed the CPU load problem... |
03:07:57 | sjohnson | is checking in at work... |
03:09:45 | sjohnson | pisymbol: Did you get my message about the Flipout cases? |
03:10:05 | pisymbol | no I did not |
03:10:19 | pisymbol | I ordered one - bad or good |
03:10:40 | sjohnson | I got my case today. The medium will NOT hold an IPAQ + CF sleeve. |
03:10:43 | pisymbol | turns off Gamebody Advance |
03:10:48 | pisymbol | I know - I got the large |
03:10:52 | pisymbol | its states it on the webpage |
03:11:24 | pisymbol | wait - maybe I'm wrong, I think the medium was suppose to fit the CF/IPAQ |
03:11:40 | sjohnson | The case works great. I put the base IPAQ in and I was able to work with while the case was flipped. |
03:11:46 | pisymbol | nice |
03:11:57 | pisymbol | I'm getting the large (it shipped out this morning) |
03:12:07 | pisymbol | My microdrive/PCMCIA should arrive by Monday |
03:12:22 | sjohnson | Pi the medium is supposed to work with iPAQ+CF but it doesn't fit. The lid isn't deep enough. |
03:12:39 | pisymbol | nice - I will take note of that |
03:13:06 | pisymbol | I ordered the large because the site claimed it was a perfect fit for the iPAq/PCMCIA sleeve |
03:13:24 | pisymbol | btw, you knw how crazy embedded linux is these days |
03:13:29 | sjohnson | I found out that the local CompUSA is now stocking the sleeves. But they were out of the PCMCIA sleeve. :-/ |
03:13:35 | pisymbol | :( |
03:13:50 | pisymbol | yea, I bought mine from the same place I got the microdrive - 155 though |
03:14:59 | sjohnson | I orders a large case and I will be returning the medium along with a letter citing my irritation. |
03:15:31 | sjohnson | And I got a little over 2:37 minutes in my battery test last night. |
03:15:45 | pisymbol | eek |
03:15:59 | sjohnson | That was with MP3 player + uDrive + USB networking . |
03:16:08 | pisymbol | ohh well... |
03:16:15 | pisymbol | when you put in perspective |
03:16:27 | pisymbol | hey you can run a iPAQ firewall/mailserver |
03:16:29 | pisymbol | ha |
03:16:35 | sjohnson | After the drive stopped work. I could still ping the IPAQ in the morning. That was over 8 hours later. |
03:16:46 | pisymbol | hell - non-stop clustering for iPAQs |
03:17:07 | sjohnson | A beowulf cluster of IPAQS... |
03:17:18 | pisymbol | 78%....the waiting is killing me... |
03:17:26 | jacques | sjohnson: that's a complaint I have about ipaq/udrive |
03:17:35 | | battery life is, like, vastly improved with the other sleeve however |
03:17:35 | pisymbol | battery life? |
03:17:44 | jacques | sjohnson: udrive stops working due to low voltage while ipq still claims about 60% batt left |
03:18:01 | pisymbol | interesting |
03:18:32 | jacques | sjohnson: it scared the hell out of me the first time it happned because it was saying "device not ready" or something like that |
03:18:36 | pisymbol | does familiar automatically recognize the microdrive |
03:18:39 | jacques | I thought my udrive had died |
03:18:58 | pisymbol | ohh jesus... "jacques kernel panic" |
03:19:04 | sjohnson | pisymbol: Anticipation...Anticipation...It's making me wait... Dum de Dum... |
03:19:47 | pisymbol | heehee...btw, do the fam kernel version numbers coexist with the full kernel distros |
03:19:51 | sjohnson | pisymbol: Card services with reconized, but you have to edit some scripts to make it auto mount it. |
03:20:05 | pisymbol | yeah - that's no big deal if its just like regular linux |
03:20:18 | pisymbol | as long as the probe comes back saying I have a microdrive there! |
03:20:31 | pisymbol | 95%....closer....and closer.... |
03:20:40 | sjohnson | pisymbol: It IS regular linux. You just don't have a keyboard or monitor... :) |
03:20:50 | pisymbol | but I can xdisplay right? |
03:21:02 | pisymbol | if I can xdisplay a terminal window - I'm gold |
03:21:40 | sjohnson | Yes. Your can even 'export DISPLAY=1.2.2.3:0' and run programs on iPAQ to your desktop. |
03:22:27 | pisymbol | holy crap this fs is erasing a lot of sectors |
03:22:37 | pisymbol | no its filling in theblanks |
03:23:26 | sjohnson | The familiar kernels are sort of beta kernels. Nicos feeds patches to RMK who feed them to Alan Cox or Linus which make it into the mainstream kernel. |
03:23:40 | pisymbol | ahhh... |
03:23:44 | pisymbol | hey I'm done |
03:23:47 | pisymbol | boot is a coming |
03:23:50 | pisymbol | here we go... |
03:23:52 | sjohnson | boott that puppy. |
03:23:59 | pisymbol | presses big red button |
03:24:30 | sjohnson | pisymbol: How you used a Palm us any type? |
03:24:44 | pisymbol | yes a palmIII |
03:24:44 | sjohnson | ...of any type. |
03:25:16 | sjohnson | Then you won't have a problem with fscrib. It's alphabet is very, grafitti like. |
03:25:31 | pisymbol | I got a login |
03:25:37 | sjohnson | root rootme |
03:26:01 | pisymbol | I'm in! I got xset/xrdb not found |
03:26:16 | pisymbol | ahh this looks familar |
03:26:25 | pisymbol | could not init font path? |
03:26:26 | sjohnson | xset not found? |
03:26:30 | pisymbol | yes |
03:26:57 | pisymbol | ipkg install_pending |
03:26:59 | pisymbol | ?? |
03:27:46 | pisymbol | I got xset/xrdb - not found && "could not init font path" |
03:28:08 | sjohnson | pisymbol: The second one it normal. Not all the X fonts are loaded. |
03:28:27 | pisymbol | I don't get "find" |
03:28:30 | sjohnson | do - ipkg search xset |
03:28:52 | pisymbol | The following packags are ready to be installed Install Y/N? |
03:28:56 | pisymbol | Y? |
03:29:16 | sjohnson | Yes. The xbase-clients aren't installed yes. |
03:29:35 | pisymbol | what about xrdb |
03:29:39 | sjohnson | That will finish install X and generate the sshd host keys. |
03:29:43 | pisymbol | samething |
03:29:51 | sjohnson | xrdb and xset are in xbase-clients |
03:30:07 | pisymbol | I installed both |
03:30:25 | sjohnson | do a reboot and your should be fine. |
03:30:30 | pisymbol | I just did init 6 |
03:31:09 | pisymbol | yup that's it |
03:31:14 | pisymbol | I still get could not init font path |
03:31:29 | sjohnson | pisymbol: That's normal. Ignore it. |
03:32:58 | pisymbol | weird - the arrow is not centered with the pen |
03:33:11 | pisymbol | its like one box above the stylus |
03:33:46 | sjohnson | You need to calibrate your screen. Configuration -> Touch Screen -> Calibrate. |
03:34:19 | pisymbol | the thing fell asleep |
03:34:21 | sjohnson | Then do Configuration -> Touch Screen -> Save settings when done. |
03:34:39 | sjohnson | pisymbol: That the X screen saver. Hit one of the keys. |
03:34:53 | sjohnson | buttons. |
03:36:25 | pisymbol | ahh much better |
03:36:33 | pisymbol | thku |
03:36:42 | pisymbol | let me reboot into my linux box |
03:36:48 | pisymbol | brb |
03:45:40 | pisymbol | ahh, on my linux box |
03:45:50 | pisymbol | the parsippany server is down - oh well |
03:47:02 | pisymbol | okay I need to get a better windowing system - I guess once I'm "online" - pkgs will be easier to install |
03:47:23 | pisymbol | now - is there anyway to transfer data from my box to the iPAQ via ttyS)1 |
03:47:23 | pisymbol | S01 |
03:47:33 | sjohnson | z-modem from minicom. |
03:48:48 | sjohnson | Once you have ppp working your can scp and ssh to your ipaq. |
03:48:56 | pisymbol | that I realize |
03:49:10 | pisymbol | but right now can I use minicom to get a terminal window like ttpro |
03:49:48 | sjohnson | Yes. Setup set your serial to 115200, 8N1 and not handshaking.. |
03:50:27 | pisymbol | I am not familar with minicom |
03:50:35 | pisymbol | minicom -s as root? |
03:51:04 | jacques | pisymbol: yes |
03:51:24 | pisymbol | not handshaking == no hardware/no software flow control? |
03:51:58 | sjohnson | Yes. sjohnson can't type to save his wife, er, life. |
03:52:31 | jacques | pisymbol: yes, NO hard, NO soft |
03:53:37 | pisymbol | how doI log in - I just started minicom I got a window (Ctrl-Z A for help) |
03:53:53 | sjohnson | Hit enter to get a login prompt. |
03:54:09 | pisymbol | not getting it |
03:54:19 | pisymbol | do I have to reboot fam |
03:54:37 | sjohnson | Do ctrl-A o to get setup screen. |
03:54:41 | pisymbol | got that |
03:55:03 | sjohnson | Make sure serial setting point to the right serial port. |
03:55:16 | pisymbol | whoops |
03:55:44 | pisymbol | crap com2 is S1 isn't it |
03:55:48 | pisymbol | its late |
03:56:00 | sjohnson | Brainfart... |
03:56:10 | sjohnson | :> |
03:56:13 | pisymbol | so " /dev/ttyS1" |
03:56:25 | pisymbol | still no login though |
03:57:47 | pisymbol | got it - restarted minicom and I got hte login |
03:57:47 | sjohnson | Try reboot'ing familiar to see if you can set output from IPAQ. Utilies->Reboot on the Familiar menu. |
03:57:48 | pisymbol | hooray |
03:58:19 | sjohnson | To send or receive files is ctrl-A + s or are respectively. |
03:58:34 | pisymbol | anyreason why I can't run minicom as a user |
03:58:42 | pisymbol | it says cannot create lock file? |
03:58:49 | pisymbol | lock file is specified in /var/lock |
03:58:58 | pisymbol | what - its not w+? |
04:00:07 | sjohnson | You user id need to be a part of the uucp group (assuming RedHat) |
04:01:13 | sjohnson | ADd your user ID to the uucp group in the /etc/group file. |
04:02:02 | sjohnson | What a minute mincom is supposed to be setgid. |
04:02:45 | pisymbol | that didn't do it |
04:02:56 | sjohnson | pisymbol: Do a 'ls -l /usr/bin/minicom' . Are the permissions -rwxr-sr-x ? |
04:03:25 | pisymbol | yeah - I can execute it |
04:03:28 | pisymbol | but I get |
04:03:33 | pisymbol | Could not create lock file |
04:03:56 | jacques | yeh i get that too |
04:04:02 | pisymbol | there is a console.lock file in /var/lock |
04:04:03 | jacques | i gave up and run as root |
04:04:08 | pisymbol | ahh |
04:04:48 | sjohnson | What are the permissions on /usr/bin/minicom. There should an 's' in there. |
04:05:23 | pisymbol | there isn't |
04:05:42 | pisymbol | -rwxr-xr-x |
04:07:13 | sjohnson | Do a 'chmod 2755 /usr/bin/minicom' and that should fix your problem. |
04:08:09 | pisymbol | nope |
04:08:23 | pisymbol | -rwxr-sr-x |
04:08:47 | sjohnson | Which group owns minicom? |
04:08:52 | pisymbol | root |
04:09:10 | sjohnson | minicom is 'root root'? |
04:09:16 | sjohnson | Mine is |
04:09:18 | sjohnson | -rwxr-sr-x 1 root uucp 167324 Feb 23 06:31 /usr/bin/minicom |
04:10:07 | pisymbol | change group? |
04:10:07 | | pisymbol: that doesn't look right |
04:10:29 | pisymbol | alrighty - I've never touched minicom and htis IS a fresh install of 7.1 |
04:10:41 | pisymbol | -rwxr-sr-x 1 root root 167452 May 3 22:36 /usr/bin/minicom |
04:10:54 | pisymbol | obviously the chmod command was done |
04:11:40 | sjohnson | You have a newer minicom RPM than I do. RedHat screwed it up. |
04:12:31 | sjohnson | Do 'ls -ld /var/lock' and what are the permissions and groups? |
04:13:30 | pisymbol | yea initeresting |
04:13:38 | pisymbol | drwxrwxr-x 4 root uucp 4096 Jun 28 00:57 lock |
04:14:25 | sjohnson | Do a 'chgrp uucp /usr/bin/minicom' and see if that works. |
04:14:52 | sjohnson | That's what my /var/lock looks like. |
04:17:46 | pisymbol | how do I set drwxwrxwrx |
04:18:07 | sjohnson | chmod 777 /var/lock |
04:18:08 | ToyKeeper | chmod 777 file |
04:18:17 | pisymbol | ahh I was doing 7777 |
04:18:29 | ToyKeeper | Or "chmod a+rwx file" |
04:18:37 | pisymbol | thats it |
04:18:44 | pisymbol | I did chmod +rwx file |
04:18:46 | pisymbol | a == all |
04:20:18 | pisymbol | okay I fixed it |
04:20:32 | pisymbol | also I set chmod a+wr to ttyS0 and minicom popped up |
04:21:20 | pisymbol | what is linuxrc? |
04:21:49 | pisymbol | alright - its the startup script |
04:21:56 | pisymbol | but why is it there? |
04:23:10 | sjohnson | There a a bit of how keeping to before running /sbin/init. We don't have a initrd as on a desktop machine. |
04:23:31 | sjohnson | ...a bit of house keeping to do... |
04:23:40 | pisymbol | ahh |
04:23:51 | pisymbol | what is /dev/mtdblock/3 |
04:24:25 | sjohnson | The raw MTD device to the 'root' parition in flash. |
04:25:13 | pisymbol | I figured that |
04:25:27 | pisymbol | hey minicom is sending all CAPS? |
04:25:57 | sjohnson | No your iPAQ is sending all caps. Try exiting and loging in again. |
04:26:10 | pisymbol | thats funny |
04:26:18 | pisymbol | yea - whats that all about |
04:26:47 | sjohnson | A legacy from the very early days of UNIX |
04:27:02 | jacques | if you log in in all caps |
04:27:09 | jacques | it assumes your terminal can only do caps |
04:27:48 | pisymbol | ahh - how do I set the terminal to register BS as delete - I do Ctrl-A T and then set Delete to BS but that doesn't seem to work?? |
04:28:07 | jacques | stty erase |
04:28:12 | jacques | then hit BS |
04:28:25 | sjohnson | stty erase and then your backspace char of choice. |
04:28:28 | pisymbol | yea - I'm tired - I'm asking stupid q's |
04:28:34 | pisymbol | I knew that - I swear |
04:28:38 | pisymbol | I just forgot |
04:28:51 | pisymbol | its been so long tha tI used a modem/terminal connection to anything |
04:29:19 | sjohnson | Now you can keep in practice... ;> |
04:29:24 | pisymbol | yea |
04:29:50 | pisymbol | I can't believe I have Linux on my iPAQ - this is absolutely the coolest |
04:30:06 | ToyKeeper | Me too. :) |
04:30:09 | pisymbol | yea |
04:30:17 | pisymbol | now - this isn't a debug kernel - can I make one |
04:30:21 | ToyKeeper | Now I have to get a network connection to it so I can start playing with things... :) |
04:30:33 | pisymbol | yea - ppp over serial is fine by me for now TK |
04:30:38 | | i heard ppp was http://handhelds.org/z/wiki/PPPHowto |
04:30:38 | sjohnson | ibot ppp |
04:30:44 | sjohnson | iobot usbnet |
04:30:48 | | usbnet is at http://handhelds.org/z/wiki/How%20do%20I%20setup%20USB%20networking |
04:30:48 | sjohnson | ibot usbnet |
04:31:01 | pisymbol | usbnet - how reliable is that |
04:31:06 | pisymbol | I DO have a USB cradle |
04:31:19 | ToyKeeper | I have a USB/serial cradle. I had to add the serial part of it, though. |
04:31:51 | pisymbol | okay can someone tell me why 'find' and 'clear' don't work |
04:31:56 | sjohnson | pisymbol: Very reliable. But you need to have a later kernel on your desktop. A later 2.4.4-ac kernel or 2.4.5. to be stable. |
04:32:12 | pisymbol | eeek - serial it is |
04:32:47 | sjohnson | pisymbol: They are not there. Even with jffs2, we've only got around 31 MB of usable storage space in flash. |
04:32:54 | jacques | pisymbol: uh, because they aren't installed? |
04:32:59 | pisymbol | lol |
04:33:01 | pisymbol | ahhh |
04:33:04 | sjohnson | things where drop to save spce. |
04:33:07 | sjohnson | things where drop to save space |
04:33:07 | ToyKeeper | Uh, silly question... |
04:33:15 | pisymbol | sure sure - sorry |
04:33:37 | pisymbol | I just laughed when I did clear and got "clear: not found" |
04:33:43 | pisymbol | that's an all-time first |
04:33:46 | ToyKeeper | Every time I show someone the ipaq, they inevitably play with the onscreen keyboard. They touch Ctrl or Alt, and drag the mouse off before releasing. |
04:33:48 | sjohnson | 'ls -lR | grep file' works find as a replacement for find. |
04:33:49 | ToyKeeper | The alt key gets stuck. |
04:33:58 | ToyKeeper | Any idea how to recover from that without rebooting? |
04:34:00 | pisymbol | yea - I just did |
04:34:02 | pisymbol | that |
04:34:05 | jacques | ToyKeeper: use xkbd instead of xvkbd |
04:34:20 | pisymbol | wow - I am tired |
04:34:22 | ToyKeeper | Heh, okay. Must get a network connection first, then. :) |
04:34:27 | jacques | ToyKeeper: restarting X should fix it I think |
04:34:40 | pisymbol | jacques: I just thought you said xkDb for x kernel debugger - nice |
04:34:50 | ToyKeeper | Hard to restart X when it's not connected to a serial console. |
04:35:03 | ToyKeeper | Is there a direct way to do it? |
04:35:31 | pisymbol | what flavor of linux is fam0.4complete most like |
04:35:31 | pisymbol | RH, Debian, etc. etc. |
04:35:37 | sjohnson | ToyKeeper: I just keep pluggin away at xkbd until the ctrl or alt clears. |
04:35:43 | sjohnson | pisymbol: Debian. |
04:35:46 | pisymbol | figures |
04:35:51 | pisymbol | from the ipkg routines |
04:36:01 | pisymbol | and the intimate initiative |
04:36:05 | pisymbol | any reason for that in particular |
04:36:32 | sjohnson | Ask a7r, he is the one who initial put together Familar. |
04:37:02 | pisymbol | alrighty - all - thank you for the help - tonight has been really really exciting |
04:37:15 | jacques | im heading home |
04:37:23 | sjohnson | Yeah. It's after 12:30 for me. Nite' all. |
04:37:26 | pisymbol | I'm going ot bed its 1:36 |
04:37:32 | pisymbol | nite all ttyl |
04:37:34 | pisymbol | thanks agian |
05:23:43 | ToyKeeper | wonders how to change the default familiar font to one which isn't aliased... |
22:09:01 | dneuer | hi jg |
22:09:11 | dneuer | oops |
23:03:39 | aps | hey anyone setup a ppp connection via the serial cable before |
23:03:57 | pisymbol | anyone |
23:03:58 | pisymbol | ls |
23:06:52 | pisymbol | does anyone have a sample of their /etc/passwd file for ppp |
23:07:20 | pisymbol | I noticed that a ppp user was already added as default |
23:07:48 | pisymbol | I'm getting 'UNKNOWN USER' error |
23:07:55 | pisymbol | but I have a ppp in my /etc/passwd file |
23:08:29 | jacques | pisymbol: this is on familiar? |
23:08:36 | pisymbol | yeah |
23:08:58 | pisymbol | this is some weird bug cause I had connected but I got a loopback error because my ttyS* was off |
23:09:18 | pisymbol | I'm getting BAD USERNAME |
23:09:41 | pisymbol | I erased the ppp user out of the /etc/passwd file by accident and then added at the end a ppp account |
23:09:47 | jacques | strange, I haven't seen that error before |
23:10:08 | pisymbol | jacques what does your /etc/passwd file look like under 'ppp' |
23:10:38 | jacques | pisymbol: checking |
23:10:44 | pisymbol | thku |
23:10:52 | jacques | ppp::99:99:PPP Account:/tmp:/usr/sbin/pppd |
23:13:31 | pisymbol | alrighty - now I get check pass: user unkown: authenticatoin failure |
23:15:36 | pisymbol | login (uid=0) - unknown |
23:16:08 | pisymbol | when I first did I got a connection but it copped out with script failed |
23:17:50 | pisymbol | hmmmm....this is very bizarre |
23:19:05 | pisymbol | now I can't log on as root on my ipaq |
23:19:29 | pisymbol | ` |
23:20:23 | pisymbol | this is really really strange |
23:22:34 | pisymbol | wtf: now I can't log in as root AT ALL |
23:23:12 | pisymbol | what other default logons do I get with fam0.4-complete |
23:24:03 | jacques | hmmm, not sure |
23:24:14 | pisymbol | check your passwd file |
23:24:22 | jacques | root:iWuSGrtezXz0E:0:0:root:/root:/bin/sh |
23:24:23 | jacques | daemon:*:1:1:daemon:/usr/sbin:/bin/sh |
23:24:23 | jacques | bin:*:2:2:bin:/bin:/bin/sh |
23:24:23 | jacques | sys:*:3:3:sys:/dev:/bin/sh |
23:24:23 | jacques | ppp::99:99:PPP Account:/tmp:/usr/sbin/pppd |
23:24:23 | pisymbol | this is truely f'ed up |
23:24:23 | jacques | nobody:*:65534:65534:nobody:/home:/bin/sh |
23:24:27 | jacques | that's the whole thing |
23:24:48 | pisymbol | yeah I added (without looking) the sample ppp account from thehow-to |
23:29:42 | pisymbol | to reinstall linux, just reboot, press space bar, and load root/kernel again? |
23:29:42 | pisymbol | in minicom - use zmodem to send files ? |
23:29:43 | jacques | you should not need to reload the kernel |
23:29:43 | pisymbol | umm I can't log in |
23:29:43 | pisymbol | at all |
23:29:43 | jacques | root should be enough |
23:29:43 | pisymbol | Ikeep on getting USER UNKOWN |
23:29:43 | pisymbol | ohh |
23:29:43 | pisymbol | so load root, zmodem down task-familar-complete again/ |
23:29:43 | jacques | pisymbol: you are trying to log in to the serial console and it won't let you? |
23:29:43 | jacques | wow |
23:29:43 | pisymbol | yes |
23:29:44 | pisymbol | and yes |
23:29:44 | pisymbol | Iget a standard boot:familiar logon |
23:29:44 | pisymbol | I do root |
23:29:44 | pisymbol | I get USER UNKNOWN |
23:29:53 | jacques | wow |
23:30:00 | pisymbol | do I use xmodem or zmodem to upload |
23:30:15 | jacques | bootldr supports xmodem |
23:30:22 | pisymbol | z |
23:32:15 | pisymbol | what about familiar? |
23:32:18 | BZFlag | you can boot into init=/bin/sh and fix it. |
23:32:31 | pisymbol | how |
23:32:45 | BZFlag | my bet is that you echoed the ppp > /etc/passwd instead of >> /etc/passwd |
23:32:48 | jacques | init=/bin/sh |
23:32:52 | jacques | in linuxargs |
23:32:57 | jacques | sorry i gotgot about that |
23:33:01 | jacques | forgot |
23:33:10 | pisymbol | alright |
23:33:17 | BZFlag | whacks jacques with a 50lb linux book |
23:33:24 | jacques | sigh |
23:33:28 | BZFlag | heh |
23:33:37 | jacques | :-) |
23:33:40 | pisymbol | just goto the boot prompt and set init=/bin/sh |
23:33:45 | pisymbol | will that give me root priv? |
23:33:51 | BZFlag | pisymbol: no. |
23:33:57 | jacques | pisymbol: you have to set all your linuxargs at once |
23:34:11 | pisymbol | |
23:34:11 | BZFlag | pisymbol: change the "init=/linuxrc" in linuxargs to "init=/bin/sh" |
23:34:11 | | BZFlag: that doesn't look right |
23:34:12 | pisymbol | root |
23:34:26 | pisymbol | wait hold on |
23:34:31 | BZFlag | whacks ibot |
23:34:56 | pisymbol | when I send a file using minicom - like the root image - should I should use xmodem right? |
23:34:59 | pisymbol | not zmodem |
23:35:05 | BZFlag | rught |
23:35:15 | BZFlag | er right, but try the init= trick first. |
23:35:39 | jacques | BZFlag: what causes ibot to say that? |
23:36:14 | BZFlag | jacques: not sure... |
23:36:16 | pisymbol | my init is not set toa nything right now |
23:36:23 | pisymbol | I just did params show |
23:36:24 | pisymbol | nothing |
23:36:33 | jacques | pisymbol: wat is the linuxargs line? |
23:38:03 | BZFlag | jacques: in that case ibot thought I wanted it to "change" something. it should have ignored the message cause it started with someone elses nick. hmm. |
23:38:05 | | Since Thu Jun 28 18:29:41 2001, there have been 32 modifications and 136 questions. I have been awake for 6 hours, 8 minutes, 24 seconds this session, and currently reference 2531 factoids. Addressing is in optional mode. |
23:38:05 | BZFlag | ibot: status |
23:38:07 | pisymbol | huh |
23:38:14 | | Sorry, BZFlag, I'll keep my mouth shut. |
23:38:14 | BZFlag | ibot: shut up |
23:38:16 | | Since Thu Jun 28 18:29:41 2001, there have been 32 modifications and 137 questions. I have been awake for 6 hours, 8 minutes, 35 seconds this session, and currently reference 2531 factoids. Addressing is in optional mode. |
23:38:16 | BZFlag | ibot: status |
23:38:26 | | BZFlag: what? |
23:38:26 | BZFlag | ibot: be quiet |
23:38:41 | | Sorry, BZFlag, I'll keep my mouth shut. |
23:38:41 | BZFlag | ibot: shutup |
23:38:45 | | Since Thu Jun 28 18:29:41 2001, there have been 32 modifications and 138 questions. I have been awake for 6 hours, 9 minutes, 4 seconds this session, and currently reference 2531 factoids. Addressing is in optional mode. |
23:38:45 | BZFlag | ibot: status |
23:38:51 | BZFlag | hmm... |
23:39:20 | pisymbol | I get Authentication services cannot retrieve info |
23:39:23 | pisymbol | after the change |
23:39:29 | pisymbol | this sucks royally |
23:40:19 | pisymbol | sending the root file again |
23:40:32 | pisymbol | I have no idea how I broke authentication - thats weird |
23:40:41 | jacques | yeh |
23:40:43 | BZFlag | "after the change" <- explain? |
23:40:52 | pisymbol | I was setting up ppp |
23:41:07 | BZFlag | pisymbol: what is linuxargs set to now? |
23:41:18 | pisymbol | I did the "echo <ppp paswd line>" from the ppp-howto |
23:41:21 | pisymbol | that's all |
23:41:25 | BZFlag | pisymbol: what is linuxargs set to now? |
23:41:54 | pisymbol | the same except init=/bin/sh |
23:42:07 | pisymbol | I'm going to upload root again to start clean |
23:42:18 | pisymbol | wants to learn how to use minicom effectively as wel |
23:42:49 | pisymbol | I am going to reconstruct the same procedure again - somehow I broke authentication |
23:43:11 | pisymbol | btw, in vi, 'dd' is bugged, it deletes the line one above instead of the current one |
23:43:14 | jacques | pisymbol: maybe you corrupted passwd file? |
23:43:23 | pisymbol | maybe - that's what I'm thinking |
23:43:27 | pisymbol | don't know how though |
23:43:37 | jacques | pisymbol: well you edited it right? |
23:43:48 | pisymbol | yea but: ESC:wq shouldn't corrupt anyhting |
23:43:51 | pisymbol | and root WAS in there |
23:45:00 | BZFlag | if you did the echo with '>' instead of '>>' you would get exactly what you have now. |
23:45:12 | pisymbol | I didn't do that |
23:45:21 | pisymbol | I concatted no truncated |
23:45:32 | BZFlag | hmmm.. perhaps it didn't finish writing before you rebooted? |
23:45:38 | pisymbol | yea, that could be it |
23:46:01 | pisymbol | I was thinking about that just now - cause I rebooted it a couple of times due ot minicom crashing and locking ttyS1 |
23:46:32 | BZFlag | I recommend you do a sync before rebooting or wait like 30 seconds. |
23:46:56 | pisymbol | sync? |
23:47:26 | jacques | sync |
23:47:33 | BZFlag | sync <- command to force filesystem pending writes to disk. |
23:47:52 | pisymbol | oooh SYNC |
23:48:01 | pisymbol | I thought you meant like sync the iPAQ with my host |
23:48:05 | pisymbol | I waslike wtf? |
23:48:13 | BZFlag | so what happened with the boot when init= was changed? |
23:48:16 | pisymbol | flush buffers sync |
23:48:26 | pisymbol | nothing -I rebooted got a logon screen |
23:48:30 | pisymbol | I did: |
23:48:44 | pisymbol | set linuxargs "sameline with change" |
23:48:44 | pisymbol | boot |
23:48:52 | pisymbol | root failed with authentication error |
23:49:42 | pisymbol | wow serial is slow...2MB and counting |
23:59:15 | BZFlag | "root failed with authentication error" = bummer. |