On 30 Aug, 2011, at 00:23, Erik Blomberg wrote:

> It's been many years since I've used DOS so this might be wrong but I think 
> you need a CTTY comamnd in your
> autoexec.bat file to get it to switch to the serial console.
> 
> Something like CTTY COM1 should work if I remember correctly.
> 

:) yeah i know, thanks! currently my autoexec.bat looks like this: 
(now here's a phrase i thought i wouldn't ever use again) 


> REM borrowed from the top of freedos\fdauto.bat
> @echo off
> SET DEBUG=N
> SET NLSPATH=A:\FREEDOS
> set dircmd=/P /OGN /4
> set lang=EN
> SET PATH=A:\FREEDOS;A:\DRIVER
> 
> REM serial console redirect
> MODE COM1:19200,N,8,1,P
> CTTY COM1


i also tried 'CTTY AUX' :)

the output i get is this:

> > boot f0
> 
> Intel UNDI, PXE-2.0 (build 082)
> Copyright (C) 1997,1998,1999  Intel Corporation
> VIA Rhine III Management Adapter v2.43 (2005/12/15)
> 

> CLIENT MAC ADDR: 00 00 24 CC C9 1C  
> CLIENT IP: 172.23.23.4  MASK: 255.255.255.240  DHCP IP: 172.23.23.2           
>  
> MEMDISK 3.63 Debian-2008-07-15  Copyright 2001-2007 H. Peter Anvin            
>  
> e820: 0000000000000000 000000000009fc00 1
> e820: 000000000009fc00 0000000000000400 2
> e820: 00000000000f0000 0000000000010000 2
> e820: 0000000000100000 000000001ff00000 1
> e820: 00000000fff00000 0000000000100000 2
> Ramdisk at 0x1f490000, length 0x00b40000
> command line: nopassany=1 stack=2048 raw=1 initrd=freedos-feedface.img 
> BOOT_IMAGE=memdisk 
> MEMDISK: Image seems to have fractional end cylinder
> Disk is hard disk 0, 11520 K, C/H/S = 2/236/36, EDD on
> Using raw access to high memory
> Total size needed = 2357 bytes, allocating 3K
> Old dos memory at 0x9f800 (map says 0x9fc00), loading at 0x9ec00
> 1588: 0xffff  15E801: 0x3c00 0x1e49
> INT 13 08: Success, count = 1, BPT = 0000:0000
> old: int13 = f0002520  int15 = f000511e
> new: int13 = 9ec0000a  int15 = 9ec0037c
> Loading boot sector... booting...
> FreeDOS


which leads me to assume that FreeDOS is actually booted successfully by 
memdisk, but doesn't quite have the right console settings… 

/f






_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to