我是一名新手,請教各位高手:我在maxtor shared storage(mss)上安裝了debian,用putty的ssh可以登
錄,mldonkey和bt下載都沒問題,我的問題是:
1. 請問能夠從mss的串口上外接一個外置modem(接到modem的rs-232口上)安裝再裝hylafax嗎?也就是
我想在mss上裝傳真伺服器軟體,我知道mss的串口在j10上(見圖片,沒有焊接頭),要買什麼東西呢?
http://www.linuxsir.org/bbs/attachment. ... 1211784740
國內有個blog上看過一篇文章 http://suanli.blogbus.com/logs/18316191.html ,他接上了rs-232介面
有些沒看懂,是在這幾個孔中插上什麼東西引出線來嗎?這個max3232的轉換裝置在哪里有賣的呢?
我看到國外論壇上有不少老外在NSLU2上接過串口rs-232,可控制很多東西,我想思路應該差不多吧
http://rwhitby.sourceforge.net/nslu2/serial.html
http://www.sunslug.com/sunslugblog/archives/2007/10/16/
http://www.ingensand.com/?stuff:webradio
http://oww.sourceforge.net/
http://wiki.getthekettleon.co.uk/doku.p ... eatherslug
http://www.meteohub.de/joomla/index.php?language=eng
2. 如果不好接出來,我可以用現有的一個usb轉串口的轉接頭轉出rs-232嗎?(採用pl2303A版+max213解
決方案,能支援各種rs-232通訊類型),這個轉接頭有linux驅動,分別有redhat7,redhat8,redhat9三個
目錄,每個目錄下都有makefile 和pl2303.c兩個檔,我不知道如何編譯,怎麼安裝到我的debian下呢
?
我的debian啟動後顯示Linux debian_bcm47xx 2.4.20 #55 Fri Nov 12 11:30:54 CST 2004 mips
GNU/Linux
輸入(none):~# uname -a
Linux (none) 2.4.20 #1 Wed Feb 1 15:12:33 PST 2006 mips GNU/Linux
輸入(none):~# dmesg後顯示
CPU revision is: 00029006
Primary instruction cache 16kb, linesize 16 bytes (2 ways)
Primary data cache 16kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (mxobuilder@calbuild01) (gcc version 3.0 20010422 (prerelease) with
bcm4710a0 modifications) #1 Wed Feb 1 15:12:33 PST 2006
BCM47XX ChipID = 0x4704, RevisionID = 8, Options = 0x2
Setting GPIO 6 to output of 1.
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
CPU: BCM4704 rev 8 at 264 MHz
Calibrating delay loop... 263.78 BogoMIPS
Memory: 29544k/32768k available (2371k kernel code, 3224k reserved, 132k data, 84k init, 0k
highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver v1.1.22 [Flags: R/O]
i2c-core.o: i2c core module
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
i2c-algo-bit.o: i2c bit algorithm module
i2c-proc.o version 2.6.1 (20010825)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
Generic MIPS RTC Driver v1.0
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AEC6265: IDE controller on PCI bus 01 dev 10
PCI: Enabling device 01:02.0 (0000 -> 0001)
AEC6265: chipset revision 7
AEC6265: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AEC6265: ROM disabled at 0x00000000
Enabling AEC GPO for HD power.
ide2: BM-DMA at 0x0120-0x0127, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0x0128-0x012f, BIOS settings: hdg:pio, hdh:pio
hde: MAXTOR 6L040J2, ATA DISK drive
ide2 at 0x100-0x107,0x10a on irq 2
blk: queue 802b7888, I/O limit 4095Mb (mask 0xffffffff)
hde: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=77557/16/63, (U)DMA
Partition check:
/dev/ide/host2/bus0/target0/lun0: p1 p2 p3 p63<6>PPP generic driver version 2.4.2
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Physically mapped flash: Found an alias at 0x200000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x600000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xa00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xe00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1200000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1600000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1a00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1e00000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.0 at 0x0040
number of CFI chips: 1
Flash device: 0x200000 at 0x1c000000
Physically mapped flash: cramfs filesystem found at block 1387
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x001e0000 : "linux"
0x0015acec-0x001e0000 : "rootfs"
0x001e0000-0x001f0000 : "nvramcopy"
0x001f0000-0x00200000 : "nvram"
sflash: found no supported devices
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 01:03.2 (0000 -> 0002)
ehci_hcd 01:03.2: PCI device 1106:3104
ehci_hcd 01:03.2: irq 2, pci mem c000f000
usb.c: new USB bus registered, assigned bus number 1
ECHI PCI device 31041106 found.
ECHI reg 0x49 = 80235b20
ECHI reg 0x49 changed to = 80235b00
ECHI reg 0x4b = 80235b09
ECHI reg 0x4b changed to = 80235b29
PCI: 01:03.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correcting to 32
ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
host/usb-uhci.c: $Revision: 1.275 $ time 15:14:16 Feb 1 2006
host/usb-uhci.c: High bandwidth mode enabled
PCI: Enabling device 01:03.0 (0000 -> 0001)
ECHI PCI device 30381106 found.
UCHI reg 0x41 = 10
UCHI reg 0x41 changed to = 0
host/usb-uhci.c: USB UHCI at I/O 0x140, IRQ 2
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:03.1 (0000 -> 0001)
ECHI PCI device 30381106 found.
UCHI reg 0x41 = 10
UCHI reg 0x41 changed to = 0
host/usb-uhci.c: USB UHCI at I/O 0x160, IRQ 2
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
host/usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
host/usb-ohci.c: usb-00:03.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Skipping autodetection of RAID arrays.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 84k freed
Algorithmics/MIPS FPU Emulator v1.5
hub.c: port 3 over-current change
hub.c: port 4 over-current change
hub.c: new USB device 01:03.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x67b/0x2303) is not claimed by any active driver.
i2c-dev.o: Registered 'Broadcom 2-wire serial bus' as minor 0
i2c-core.o: adapter Broadcom 2-wire serial bus registered as adapter 0.
i2c-core.o: driver STM41T81 registered.
i2c-core.o: client [STM41T81] registered to adapter [Broadcom 2-wire serial bus](pos. 0).
bcmlm63.o version 2.6.5 (20020915)
i2c-core.o: driver LM63 sensor driver registered.
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.39.0
unregister_netdevice: device eth1/81efea00 never was registered
BCM582x driver v1.85:
<BCM4718, Bus 0, Slot 7, IRQ 2> ubSec: enabling Interrupt.
BCM582x: Selftest flag not set. Not doing Selftest
BCM582x: 4708: part number 00000000
Loading Broadcom streaming encryption device module...
SE driver version 1.0, maximum 256 SE devices
/dev/ide/host2/bus0/target0/lun0: p1 p2 p3<6> /dev/ide/host2/bus0/target0/lun0: p1 p2 p3
p63<6>md: bind<ide/host2/bus0/target0/lun0/part63,1>
md: nonpersistent superblock ...
md: ide/host2/bus0/target0/lun0/part63's event counter: 00000000
md: md0: raid array is not clean -- starting background reconstruction
md: RAID level 1 does not need chunksize! Continuing anyway.
md0: max total readahead window set to 124k
md0: 1 data-disks, max readahead per data-disk: 124k
raid1: device ide/host2/bus0/target0/lun0/part63 operational as mirror 0
raid1: md0, not all disks are operational -- trying to recover array
raid1: raid set md0 active with 1 out of 8 mirrors
md: recovery thread got woken up ...
md0: no spare disk to reconstruct array! -- continuing in degraded mode
md: recovery thread finished ...
Adding Swap: 499992k swap-space (priority -1)
md: bind<ide/host2/bus0/target0/lun0/part3,1>
md: nonpersistent superblock ...
md: ide/host2/bus0/target0/lun0/part3's event counter: 00000000
md1: max total readahead window set to 124k
md1: 1 data-disks, max readahead per data-disk: 124k
[events: 00000040]
md: autorun ...
md: considering md/1 ...
md: adding md/1 ...
md: created md2
md: bind<md/1,1>
md: running: <md/1>
md: md/1's event counter: 0000003f
md: RAID level 1 does not need chunksize! Continuing anyway.
md2: max total readahead window set to 124k
md2: 1 data-disks, max readahead per data-disk: 124k
raid1: device md/1 operational as mirror 0
raid1: raid set md2 active with 1 out of 1 mirrors
md: updating md2 RAID superblock on device
md: md/1 [events: 00000040]<6>(write) md/1's sb offset: 38556032
md: ... autorun DONE.
reiserfs: checking transaction log (device fe:02) ...
reiserfs: replayed 5 transactions in 1 seconds
Using r5 hash to sort names
ReiserFS version 3.6.25
GPIO input handling: /sbin/miscio_input_change
GPIO input handling: /sbin/miscio_input_change
(none):~#
我這個想法能實現嗎?謝謝指點
[/img]