皆有可能 2007-11-23 00:07
PC 安装JUNOS 7.2 成功!
PC 安装JUNOS 7.2 成功!机器配置如下:
[table=546][tr][td]CPU[/td][td]AMD ATHLON XP 1800+[/td][/tr][tr][td]MEM[/td][td]DDR 2G[/td][/tr][tr][td]MAINBOARD[/td][td]ASROCK K7VM2[/td][/tr][tr][td]NIC[/td][td]INTEL 82559[/td][/tr][tr][td]OS[/td][td]FREEBSD MINIINSTALL 4.11[/td][/tr][tr][td]JUNOS[/td][td]jinstall-7.2R4.2-domestic-signed.tgz[/td][/tr][tr][td]HARDISK[/td][td]20G[/td][/tr][tr][td]参考[/td][td]FreeBSD和JUNOS完整安装手册(2006-9-15)修改版[/td][/tr][tr][td]安装结果[/td][td]成功[/td][/tr][/table]
console线:自制DB9 NULL MODEM CABLE
安装过程中碰到的问题如下:
1. 以为可以将Freebsd 4.11安装到主IDE的主盘的第二基本分区,通过使用ln -s /dev/ad0s2 /dev/wd0c欺骗JUNOS安装程序;经过实践,不可行,JUNOS安装的时候脚本已经写成了ad0s1;安装失败,继续安装。
2. 由于机器需要使用多系统win2003+FreeBSD6.2在主IDE主盘,以为将JUNOS安装到第二IDE主盘,使用ln -s /dev/ad2c /dev/wd2c能够欺骗JUNOS安装程序,经过实践,pkg_add过程可以欺骗过去,但是reboot以后JUNOS在配置文件系统的时候出错,安装脚本还是定位安装到ad0s1;没有办法只能将原主IDE设备拔掉,将需要安装JUNOS的硬盘插到主IDE并设置为MASTER盘。
3. 以为安装完成JUNOS以后,可以通过修改/boot/loader.conf中c 为“vidconsole”,从而可以直接在本机使用Olive,经过测试,启动失败,只能使用另外一台机器来操作Olive了!
结论:
1. 如果需要使用PC直接安装OLIVE,那么安装位置一定是主IDE通道的主盘的第一基本分区。
2. 虽然在pkg_add jinstall-7.2R4.2-domestic-signed.tgz 完成以后,可以通过修改/boot/loader.conf中c为"vidconsole",能够在JUNOS做文件分区的时候在本地显示器可以看到显示输出,但是一旦JUNOS安装完成重新启动以后,系统还是使用了comconsole。所以完全安装手册的那个修改/boot/loader.conf的过程可以完全取消。
3. Olive也不能在本机操作显示,只能使用另外的机器。
4. Olive完全可以在AMD CPU机器上顺利安装!
5. Olive可以完全使用2G内存!我没有修改任何有关内存设置。
以上问题当然不排除有高手能够通过修改jinstall安装脚本来解决。但是作为大部分使用者来说好像不太可能实现了!
希望这些内容能给那些想直接在PC 上安装OLIVE的朋友一些帮助!
[attach]719[/attach]
[attach]720[/attach]
[attach]721[/attach]
[attach]722[/attach]
[attach]723[/attach]
[attach]724[/attach]
皆有可能 2007-11-23 00:17
PC 安装JUNOS 7.2 成功!
如图(图为DB25的,应该选择DB9的)所示的DB9母头转RJ45座适配器2个
直通网线一根,长度根据实际需要确定。
一个适配器按照STRAIGHT方式接线,另一个适配器按照NULL方式接线!
[attach]725[/attach]
[attach]726[/attach]
皆有可能 2007-11-23 00:18
/var/log/message信息如下:
Oct 27 00:18:08 olive /kernel: Copyright (c) 1996-2001, Juniper Networks, Inc.
Oct 27 00:18:08 olive /kernel: All rights reserved.
Oct 27 00:18:08 olive /kernel: Copyright (c) 1992-2001 The FreeBSD Project.
Oct 27 00:18:08 olive /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Oct 27 00:18:08 olive /kernel: The Regents of the University of California. All rights reserved.
Oct 27 00:18:08 olive /kernel: JUNOS 7.2R4.2 #0: 2006-02-14 07:33:49 UTC
Oct 27 00:18:08 olive /kernel: [email]builder@melusine.juniper.net[/email]:/build/melusine-c/7.2R4.2/obj-i386/sys/compile/JUNIPER
Oct 27 00:18:08 olive /kernel: Timecounter "i8254" frequency 1193182 Hz
Oct 27 00:18:08 olive /kernel: Timecounter "TSC" frequency 1532614064 Hz
Oct 27 00:18:08 olive /kernel: CPU: AMD Athlon(tm) XP 1800+ (1532.61-MHz 686-class CPU)
Oct 27 00:18:08 olive /kernel: Origin = "AuthenticAMD" Id = 0x681 Stepping =1
Oct 27 00:18:08 olive /kernel: Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
Oct 27 00:18:08 olive /kernel: AMD Features=0xc0400000<AMIE,DSP,3DNow!>
Oct 27 00:18:08 olive /kernel: real memory = 2113929216 (2064384K bytes)
Oct 27 00:18:08 olive /kernel: sio0: gdb debugging port
Oct 27 00:18:08 olive /kernel: avail memory = 2051964928 (2003872K bytes)
Oct 27 00:18:08 olive /kernel: Olive CPU
Oct 27 00:18:08 olive /kernel: Preloaded elf kernel "kernel" at 0xc05e7000.
Oct 27 00:18:08 olive /kernel: DEVFS: ready for devices
Oct 27 00:18:08 olive /kernel: Pentium Pro MTRR support enabled
Oct 27 00:18:08 olive /kernel: md0: Malloc disk
Oct 27 00:18:08 olive /kernel: npx0: <math processor> on motherboard
Oct 27 00:18:08 olive /kernel: npx0: INT 16 interface
Oct 27 00:18:08 olive /kernel: pcib0: <Host to PCI bridge> on motherboard
Oct 27 00:18:08 olive /kernel: pci0: <PCI bus> on pcib0
Oct 27 00:18:08 olive /kernel: pcib1: <PCI to PCI bridge (vendor=1106 device=b091)> at device 1.0 on pci0
Oct 27 00:18:08 olive /kernel: pci1: <PCI bus> on pcib1
Oct 27 00:18:08 olive /kernel: pci1: <S3 model 8d04 graphics accelerator> at 0.0 irq 11
Oct 27 00:18:08 olive /kernel: fxp0: <Intel EtherExpress Pro 10/100B Ethernet>port 0xec00-0xec3f mem 0xdfe00000-0xdfefffff,0xdffff000-0xdfffffff irq 10 at device 9.0 on pci0
Oct 27 00:18:08 olive /kernel: pcib2: <DEC 21152 PCI-PCI bridge> at device 10.0 on pci0
Oct 27 00:18:08 olive /kernel: pci2: <PCI bus> on pcib2
Oct 27 00:18:08 olive /kernel: fxp1: <Intel EtherExpress Pro 10/100B Ethernet>port 0xbc00-0xbc3f mem 0xdf000000-0xdf0fffff,0xdf1ff000-0xdf1fffff irq 3 at device 4.0 on pci2
Oct 27 00:18:08 olive /kernel: fxp2: <Intel EtherExpress Pro 10/100B Ethernet>port 0xb800-0xb83f mem 0xdef00000-0xdeffffff,0xdf1fe000-0xdf1fefff irq 5 at device 5.0 on pci2
Oct 27 00:18:08 olive /kernel: fxp3: <Intel EtherExpress Pro 10/100B Ethernet>port 0xb400-0xb43f mem 0xdee00000-0xdeefffff,0xdf1fd000-0xdf1fdfff irq 11 at device 6.0 on pci2
Oct 27 00:18:08 olive /kernel: fxp4: <Intel EtherExpress Pro 10/100B Ethernet>port 0xb000-0xb03f mem 0xded00000-0xdedfffff,0xdf1fc000-0xdf1fcfff irq 10 at device 7.0 on pci2
Oct 27 00:18:08 olive /kernel: pcib3: <DEC 21152 PCI-PCI bridge> at device 11.0 on pci0
Oct 27 00:18:08 olive /kernel: pci3: <PCI bus> on pcib3
Oct 27 00:18:08 olive /kernel: fxp5: <Intel EtherExpress Pro 10/100B Ethernet>port 0xcc00-0xcc3f mem 0xdf900000-0xdf9fffff,0xdfaff000-0xdfafffff irq 5 at device 4.0 on pci3
Oct 27 00:18:08 olive /kernel: fxp6: <Intel EtherExpress Pro 10/100B Ethernet>port 0xc800-0xc83f mem 0xdf800000-0xdf8fffff,0xdfafe000-0xdfafefff irq 11 at device 5.0 on pci3
Oct 27 00:18:08 olive /kernel: fxp7: <Intel EtherExpress Pro 10/100B Ethernet>port 0xc400-0xc43f mem 0xdf700000-0xdf7fffff,0xdfafd000-0xdfafdfff irq 10 at device 6.0 on pci3
Oct 27 00:18:08 olive /kernel: fxp8: <Intel EtherExpress Pro 10/100B Ethernet>port 0xc000-0xc03f mem 0xdf600000-0xdf6fffff,0xdfafc000-0xdfafcfff irq 3 at device 7.0 on pci3
Oct 27 00:18:08 olive /kernel: pci0: <VIA 83C572 USB controller> at 16.0 irq 11
Oct 27 00:18:08 olive /kernel: pci0: <VIA 83C572 USB controller> at 16.1 irq 10
Oct 27 00:18:08 olive /kernel: pci0: <VIA 83C572 USB controller> at 16.2 irq 3
Oct 27 00:18:08 olive /kernel: pci0: <USB controller> at 16.3 irq 5
Oct 27 00:18:08 olive /kernel: isab0: <PCI to ISA bridge (vendor=1106 device=3177)> at device 17.0 on pci0
Oct 27 00:18:08 olive /kernel: isa0: <ISA bus> on isab0
Oct 27 00:18:08 olive /kernel: atapci0: <VIA Apollo ATA controller> port 0xfc00-0xfc0f at device 17.1 on pci0
Oct 27 00:18:08 olive /kernel: ata0: at 0x1f0 irq 14 on atapci0
Oct 27 00:18:08 olive /kernel: pci0: <unknown card> (vendor=0x1106, dev=0x3059) at 17.5 irq 3
Oct 27 00:18:08 olive /kernel: pci0: <unknown card> (vendor=0x1106, dev=0x3065) at 18.0 irq 11
Oct 27 00:18:08 olive /kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Oct 27 00:18:08 olive /kernel: fdc0: FIFO enabled, 8 bytes threshold
Oct 27 00:18:08 olive /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Oct 27 00:18:08 olive /kernel: ata2 at port 0x170-0x177,0x376 irq 15 on isa0
Oct 27 00:18:08 olive /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
Oct 27 00:18:08 olive /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Oct 27 00:18:08 olive /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Oct 27 00:18:08 olive /kernel: sc0: <System console> at flags 00 on isa0
Oct 27 00:18:08 olive /kernel: sc0: VGA <16 virtual consoles, flags=00>
Oct 27 00:18:08 olive /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0
Oct 27 00:18:08 olive /kernel: sio0: type 16550A, console
Oct 27 00:18:08 olive /kernel: sio1: configured irq 5 not in bitmap of probed irqs 0
Oct 27 00:18:08 olive /kernel: sio2: configured irq 3 not in bitmap of probed irqs 0
Oct 27 00:18:08 olive /kernel: sio3: configured irq 7 not in bitmap of probed irqs 0
Oct 27 00:18:08 olive /kernel: fxp0: Ethernet address 00:90:27:54:47:fa
Oct 27 00:18:08 olive /kernel: fxp1: Ethernet address 08:00:1b:40:18:a8
Oct 27 00:18:08 olive /kernel: fxp2: Ethernet address 08:00:1b:40:18:a5
Oct 27 00:18:08 olive /kernel: fxp3: Ethernet address 08:00:1b:40:18:a7
Oct 27 00:18:08 olive /kernel: fxp4: Ethernet address 08:00:1b:40:18:a6
Oct 27 00:18:08 olive /kernel: fxp5: Ethernet address 08:00:1b:40:0e:c8
Oct 27 00:18:08 olive /kernel: fxp6: Ethernet address 08:00:1b:40:0e:c5
Oct 27 00:18:08 olive /kernel: fxp7: Ethernet address 08:00:1b:40:0e:c7
Oct 27 00:18:08 olive /kernel: fxp8: Ethernet address 08:00:1b:40:0e:c6
Oct 27 00:18:08 olive /kernel: DEVFS: ready to run
Oct 27 00:18:08 olive /kernel: ad0: 19092MB <ST320413A> [38792/16/63] at ata0-master using WDMA2
Oct 27 00:18:08 olive /kernel: ata0-slave: <DVD-ROM DDU1621/VER S3.1> CDROM device - NO DRIVER!
Oct 27 00:18:08 olive /kernel: Mounting root from ufs:/dev/ad0s1a
Oct 27 00:18:09 olive init: watchdog (PID 2767) started
Oct 27 00:18:09 olive init: tnp-process (PID 2768) started
Oct 27 00:18:09 olive init: interface-control (PID 2769) started
Oct 27 00:18:09 olive init: chassis-control (PID 2770) started
Oct 27 00:18:09 olive init: alarm-control (PID 2771) started
Oct 27 00:18:09 olive init: craft-control (PID 2772) started
Oct 27 00:18:09 olive init: ntp (PID 2773) started
Oct 27 00:18:09 olive xntpd[2773]: ntpd 4.0.99b Tue Feb 14 07:12:14 GMT 2006 (1)
Oct 27 00:18:09 olive init: management (PID 2774) started
Oct 27 00:18:09 olive init: snmp (PID 2775) started
Oct 27 00:18:09 olive init: mib-process (PID 2776) started
Oct 27 00:18:09 olive init: routing (PID 2777) started
Oct 27 00:18:09 olive init: inet-process (PID 2778) started
Oct 27 00:18:09 olive init: sonet-aps (PID 2779) started
Oct 27 00:18:09 olive init: vrrp (PID 2780) started
Oct 27 00:18:09 olive init: sntp (PID 2781) started
Oct 27 00:18:09 olive init: pfe (PID 2782) started
Oct 27 00:18:09 olive init: sampling (PID 2783) started
Oct 27 00:18:09 olive init: ilmi (PID 2784) started
Oct 27 00:18:09 olive init: remote-operations (PID 2785) started
Oct 27 00:18:09 olive init: class-of-service (PID 2786) started
Oct 27 00:18:09 olive init: network-access (PID 2787) started
Oct 27 00:18:09 olive init: ipsec-key-management (PID 2788) started
Oct 27 00:18:09 olive init: helper (PID 2789) started
Oct 27 00:18:09 olive init: remote-hello (PID 2790) started
Oct 27 00:18:09 olive init: link-management (PID 2791) started
Oct 27 00:18:09 olive init: syslogd (PID 2528) started
Oct 27 00:18:09 olive init: disk-monitoring (PID 2792) started
Oct 27 00:18:09 olive init: firewall (PID 2793) started
Oct 27 00:18:09 olive init: internal-routing-service (PID 2794) started
Oct 27 00:18:09 olive init: routing-socket-proxy (PID 2795) started
Oct 27 00:18:09 olive init: pic-services-logging (PID 2796) started
Oct 27 00:18:09 olive init: adaptive-services (PID 2797) started
Oct 27 00:18:09 olive init: ecc-error-logging (PID 2798) started
Oct 27 00:18:09 olive init: pgm (PID 2799) started
Oct 27 00:18:09 olive init: neighbor-liveness (PID 2800) started
Oct 27 00:18:09 olive init: service-deployment (PID 2801) started
Oct 27 00:18:09 olive init: redundancy-device (PID 2802) started
皆有可能 2007-11-23 00:18
Oct 27 00:18:09 olive mib2d[2776]: snmp_ipc_try_connect: connect to master (unix sock) failed: No such file or directory, retry in 1
Oct 27 00:18:09 olive pfed: snmp_ipc_try_connect: connect to master (unix sock) failed: No such file or directory, retry in 1
Oct 27 00:18:10 olive chassisd[2770]: CHASSISD_IFDEV_DETACH_ALL_PSEUDO: ifdev_detach(pseudo devices: all)
Oct 27 00:18:10 olive ilmid[2784]: snmp_ipc_try_connect: connect to master (unix sock) failed: No such file or directory, retry in 1
Oct 27 00:18:10 olive eccd[2798]: Chipset 0x31161106 not supported
Oct 27 00:18:10 olive craftd[2772]: craftd detected platform olive
Oct 27 00:18:11 olive alarmd[2771]: chassisd connection succeeded after 1 retries
Oct 27 00:18:11 olive alarmd[2771]: resending alarm state
Oct 27 00:18:11 olive mib2d[2776]: snmp_ipc_try_connect: connect to master (unix sock) failed: No such file or directory, retry in 1
Oct 27 00:18:11 olive rmopd[2785]: snmp_ipc_try_connect: connect to master (unix sock) failed: No such file or directory, retry in 1
Oct 27 00:18:11 olive alarmd[2771]: craftd connection succeeded after 1 retries
Oct 27 00:18:11 olive alarmd[2771]: resending alarm state
Oct 27 00:18:11 olive pgmd[2799]: PGMD_RPD_SESSION_CONNECT_FAILED: rpd_session_connect() failed: No such file or directory (2). will retry
Oct 27 00:18:11 olive alarmd[2771]: Alarm set: fxp0 color=RED, class=ETHER, reason=fxp0: ethernet link down
Oct 27 00:18:11 olive cosd[2786]: snmp_ipc_try_connect: connect to master (unix sock) failed: No such file or directory, retry in 1
Oct 27 00:18:11 olive ilmid[2784]: snmp_ipc_try_connect: connect to master (unix sock) failed: No such file or directory, retry in 1
Oct 27 00:18:11 olive snmpd[2775]: SNMPD_TRAP_COLD_START: trap_generate_cold: SNMP trap: cold start
Oct 27 00:18:11 olive smartd[2792]: Device /dev/ad0a, found and is SMART capable
Oct 27 00:18:11 olive rpd[2777]: RPD_TASK_BEGIN: Commencing routing updates, version 7.2R4.2, built 2006-02-14 07:34:21 UTC by builder
Oct 27 00:18:13 olive /kernel: fxp0: media DOWN 10Mb / half-duplex
Oct 27 00:18:13 olive /kernel: fxp1: media DOWN 10Mb / half-duplex
Oct 27 00:18:13 olive /kernel: fxp2: media DOWN 10Mb / half-duplex
Oct 27 00:18:13 olive /kernel: fxp3: media DOWN 10Mb / half-duplex
Oct 27 00:18:13 olive /kernel: fxp4: media DOWN 10Mb / half-duplex
Oct 27 00:18:13 olive /kernel: fxp5: media DOWN 10Mb / half-duplex
Oct 27 00:18:13 olive /kernel: fxp6: media DOWN 10Mb / half-duplex
Oct 27 00:18:13 olive /kernel: fxp7: media DOWN 10Mb / half-duplex
Oct 27 00:18:13 olive /kernel: fxp8: media DOWN 10Mb / half-duplex
Oct 27 00:18:13 olive irsd.log[2794]: irsd_rts_async_ifd_msg: bad interface name in async ifd msg: fxp8
Oct 27 00:18:23 olive login: LOGIN_INFORMATION: User root logged in from host [unknown] on device ttyd0
Oct 27 00:18:23 olive login: LOGIN_ROOT: User root logged in as root from host[unknown] on device ttyd0
kauffman 2008-1-16 00:07
you pay more effort on it ,great man