[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:95101] Re: 3枚目のNICの認識


長嶋です。いつもお世話になっています。

おおさとさん大変失礼いたしました。
何回も送ったつもりはない&故意ではないのですが、
わたしのところには、おおさとさんが最初に指摘されたときの
メールが届いていませんでした。
Webの過去ログ検索をしてみて気がついた始末です。

いずれにしても、
機種依存文字に使用してしまい申し訳ないです。


> 長嶋と申します。
> いつもお世話になっています。
> 
> Linuxマシン(Versapro VA60J)に3枚のNIC
> (1つは内蔵、残り2つはPCMCIAのカード)を挿してファイアウォールを
> 構築したいのですが、3枚中残り1枚(下図の(3))のNICの認識が出来ずに
> 困っています。
> 
> 環境は以下の通りです。
> 
> 
>       |  global IP
>  +----+--------+
>  | YAMAHA RT60W| ← ルータ(NAPT稼動)
>  +----+--------+
>       | 192.168.1.1(NETMASK 255:255:255:0)
>       | 
>       | 
>    | 192.168.1.7(COREGA 無線LANカード(wvlan0) NETMASK 255:255:255:0)−(1)
>  +----+--------------+
>  | REDHAT NOTE VA60J |
>  |                   |---------------
>  |                   |  ↑xxx.xxx.xxx.xxx
>  |                   |      (Allied Telesis CentreCom LA100-PCM-T V2) −(3) 
>  |                   |
>  +----+--------------+
>       | 192.168.0.7(NIC (eth0)NETMASK 255:255:255:192) −(2)
>       |
>    |
>       |
>    | 192.168.0.5(NETMASK 255:255:255:192)
>    | デフォルトゲートウェイ192.168.0.7
> +----+--------------+
> | Windows NOTE VA60J|
> +----+--------------+
> 
> (1)、(2)間のIP転送、NICの認識は成功し、普通にやり取りは出来ています。
> (3)のドライバの設定がうまくいっていないようなのです。
> (3)をeth1として認識させたいのですが...。
>  NICのスピード10M/100Mなのが気になりますが....
> 
> 以下に非常に長くて申し訳ありませんが、ログを添付します。
> 
> ご存知の方がいらっしゃいましたらよろしくご教授願います。
> 
> [root _at_ va60j etc]# cd pcmcia
> [root _at_ va60j pcmcia]# vi config
> "config" 1968L, 44797C#
> # PCMCIA Card Configuration Database
> #
> # config 1.154 2001/01/05 00:03:17 (David Hinds)
> #
> 
> # config.opts is now included at the very end
> 
> #
> # Device driver definitions
> #
> device "wvlan_cs"
>   class "network" module "wvlan_cs"
> 
> device "epic100"
>   class "network" module "cb_enabler", "epic100"
> 
> device "eepro100"
>   class "network" module "cb_enabler", "eepro100"
> 
> #
> # Ethernet adapter definitions
> #
> 
> #nagasi
> #card "CentreCOM LA-PCM V2 Ethernet"
> #  version "Allied Telesis, K.K.", "CentreCOM LA-PCM_V2"
> #  bind "pcnet_cs"
> 
> 
> # 10/100baseT network adapters
> #
> #使用したいのはこれ!
> card "Allied Telesis CentreCOM LA100-PCM-T V2"
>   version "Allied Telesis, K.K.",
>     "CentreCOM LA100-PCM-T V2 100/10M LAN PC Card"
>   bind "pcnet_cs"
> 
> 
> [root _at_ va60j etc]# cardctl ident
> Socket 0:
>   product info: "Allied Telesis K.K.", "LA100-PCM V2" 
>   manfid: 0xc00f, 0x0001
>   function: 6 (network)
> Socket 1:
>   product info: "corega_K.K.", "Wireless_LAN_PCCB-11", "Version 01.02", ""
>   manfid: 0xc00f, 0x0000
>   function: 6 (network)
> [root _at_ va60j etc]# lsmod
> Module                  Size  Used by    Tainted: P  
> autofs                  9092   1  (autoclean)
> wvlan_cs               22048   1 
> ds                      6464   2  [wvlan_cs]
> yenta_socket            8384   2 
> pcmcia_core            39072   0  [wvlan_cs ds yenta_socket]
> apm                     8988   3 
> e100                   62020   1 
> md                     43584   0  (unused)
> mousedev                3872   1 
> usb-storage            97984   0 
> hid                    17696   0  (unused)
> scsi_mod               87544   1  [usb-storage]
> usbmouse                1760   0  (unused)
> input                   3264   0  [mousedev hid usbmouse]
> usb-uhci               20996   0  (unused)
> usbcore                52864   1  [usb-storage hid usbmouse usb-uhci]
> reiserfs              163552   3 
> 
> 
> [root _at_ va60j /]# cat /var/log/messages
> 抜粋
> Sep  3 19:39:17 va60j syslogd 1.4.1: restart.
> Sep  3 19:39:17 va60j syslog: syslogd startup succeeded
> Sep  3 19:39:17 va60j kernel: klogd 1.4.1, log source = /proc/kmsg started.
> 
> 省略
> Sep  4 04:38:51 va60j sysctl: net.ipv4.ip_forward = 1 
> Sep  3 19:39:20 va60j kernel: IA-32 Microcode Update Driver: v1.09 <tigran _at_ veritas.com>
> Sep  4 04:38:51 va60j sysctl: net.ipv4.conf.default.rp_filter = 1 
> Sep  3 19:39:19 va60j pcmcia: Starting PCMCIA services:
> Sep  3 19:39:20 va60j kernel: Starting kswapd
> Sep  4 04:38:51 va60j sysctl: net.ipv4.tcp_ecn = 0 
> Sep  3 19:39:20 va60j kernel: kinoded started
> Sep  3 19:39:21 va60j pcmcia:  modules
> 
> 省略
> Sep  3 19:39:10 va60j network: Setting network parameters:  succeeded 
> Sep  3 19:39:22 va60j pcmcia:  cardmgr.
> Sep  3 19:39:22 va60j kernel: Linux IP multicast router 0.06 plus PIM-SM
> Sep  3 19:39:11 va60j network: Bringing up interface lo:  succeeded 
> Sep  3 19:39:22 va60j cardmgr[970]: starting, version is 3.1.22
> Sep  3 19:39:22 va60j kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> Sep  3 19:39:16 va60j network: Bringing up interface eth0:  succeeded 
> Sep  3 19:39:22 va60j rc: Starting pcmcia:  succeeded
> Sep  3 19:39:22 va60j kernel: RAMDISK: Compressed image found at block 0
> Sep  3 19:39:17 va60j network: Bringing up interface wvlan0:  succeeded 
> Sep  3 19:39:23 va60j kernel: Freeing initrd memory: 364k freed
> Sep  3 19:39:17 va60j portmap: portmap startup succeeded 
> Sep  3 19:39:23 va60j kernel: VFS: Mounted root (ext2 filesystem).
> Sep  3 19:39:23 va60j random: Initializing random number generator:  succeeded
> Sep  3 19:39:23 va60j cardmgr[970]: watching 2 sockets
> Sep  3 19:39:23 va60j cardmgr[970]: unsupported card in socket 0
> 
> Sep  3 19:39:23 va60j cardmgr[970]:   product info: "Allied Telesis K.K.", "LA100-PCM V2"
> Sep  3 19:39:23 va60j kernel: usb-uhci.c: High bandwidth mode enabled
> Sep  3 19:39:23 va60j cardmgr[970]:   manfid: 0xc00f, 0x0001  function: 6 (network)
> Sep  3 19:39:23 va60j kernel: PCI: Found IRQ 10 for device 00:07.2
> Sep  3 19:39:23 va60j cardmgr[970]: socket 1: corega_K.K. Wireless_LAN_PCCB-11
> Sep  3 19:39:23 va60j netfs: Mounting other filesystems:  succeeded
> Sep  3 19:39:23 va60j kernel: usb-uhci.c: USB UHCI at I/O 0xef80, IRQ 10
> Sep  3 19:39:24 va60j cardmgr[970]: executing: 'modprobe wvlan_cs eth=0'
> Sep  3 19:39:24 va60j kernel: usb-uhci.c: Detected 2 ports
> Sep  3 19:39:24 va60j kernel: usb.c: new USB bus registered, assigned bus number 1
> Sep  3 19:39:24 va60j cardmgr[970]: + Warning: loading /lib/modules/2.4.18-10k/kernel/drivers/net/pcmcia/wvlan_cs.o will taint the kernel: no license
> Sep  3 19:39:24 va60j cardmgr[970]: executing: './network start wvlan0'
> 
> 省略
> Sep  3 19:39:34 va60j kernel: Intel(R) PRO/100 Fast Ethernet Adapter - Loadable driver, ver 1.6.29
> Sep  3 19:39:34 va60j kernel: Copyright (c) 2001 Intel Corporation
> Sep  3 19:39:34 va60j kernel: PCI: Found IRQ 10 for device 00:06.0
> Sep  3 19:39:34 va60j kernel: PCI: Sharing IRQ 10 with 00:03.0
> Sep  3 19:39:34 va60j kernel: 
> Sep  3 19:39:34 va60j kernel: eth0: Intel(R) 8255x-based Ethernet Adapter
> Sep  3 19:39:34 va60j kernel:   Mem:0xfebff000  IRQ:10  Speed:0 Mbps  Dx:N/A
> Sep  3 19:39:34 va60j kernel:   Failed to detect cable link.
> Sep  3 19:39:34 va60j kernel:   Speed and duplex will be determined at time of connection.
> Sep  3 19:39:34 va60j kernel: Linux Kernel Card Services 3.1.22
> Sep  3 19:39:34 va60j kernel:   options:  [pci] [cardbus] [pm]
> Sep  3 19:39:34 va60j kernel: PCI: Found IRQ 5 for device 00:03.1
> Sep  3 19:39:34 va60j kernel: PCI: Sharing IRQ 5 with 00:00.2
> Sep  3 19:39:35 va60j kernel: PCI: Sharing IRQ 5 with 00:04.0
> Sep  3 19:39:35 va60j kernel: PCI: Found IRQ 10 for device 00:03.0
> Sep  3 19:39:35 va60j kernel: PCI: Sharing IRQ 10 with 00:06.0
> Sep  3 19:39:35 va60j kernel: Yenta IRQ list 0a98, PCI irq5
> Sep  3 19:39:35 va60j kernel: Socket status: 30000010
> Sep  3 19:39:35 va60j kernel: Yenta IRQ list 0a98, PCI irq10
> Sep  3 19:39:35 va60j kernel: Socket status: 30000010
> Sep  3 19:39:35 va60j kernel: cs: IO port probe 0x0c00-0x0cff: clean.
> Sep  3 19:39:35 va60j xinetd[1346]: Unknown user: guest [line=8]
> Sep  3 19:39:35 va60j kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x400
> -0x44f 0x4d0-0x4d7
> Sep  3 19:39:35 va60j kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
> Sep  3 19:39:35 va60j kernel: wvlan_cs: WaveLAN/IEEE PCMCIA driver v1.0.6
> Sep  3 19:39:35 va60j kernel: wvlan_cs: (c) Andreas Neuhaus <andy _at_ fasta.fh-dortmund.de>
> Sep  3 19:39:35 va60j kernel: wvlan_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
> Sep  3 19:39:35 va60j kernel: wvlan_cs: Registered netdevice wvlan0
> Sep  3 19:39:35 va60j kernel: wvlan_cs: MAC address on wvlan0 is 00 90 99 81 69 bd 
> Sep  3 19:39:35 va60j kernel: wvlan_cs: This is a PrismII card, not a Wavelan IEEE card :-(
> Sep  3 19:39:35 va60j kernel: You may want report firmare revision (0x8) and what the card support.
> Sep  3 19:39:35 va60j kernel: I will try to make it work, but you should look for a better driver.
> Sep  3 19:39:35 va60j kernel: wvlan_cs: Found firmware 0x8 (vendor 3) - Firmware capabilities : 1-0-0-0-1
> Sep  3 19:39:35 va60j kernel: wvlan_cs: MAC address on wvlan0 is 00 90 99 81 69 bd 
> Sep  3 19:39:35 va60j kernel: wvlan_cs: This is a PrismII card, not a Wavelan IEEE card :-(
> Sep  3 19:39:35 va60j kernel: You may want report firmare revision (0x8) and what the card support.
> Sep  3 19:39:35 va60j kernel: I will try to make it work, but you should look for a better driver.
> Sep  3 19:39:35 va60j kernel: wvlan_cs: Found firmware 0x8 (vendor 3) - Firmware capabilities : 1-0-0-0-1
> 
> 省略
> 
> Sep  3 19:40:22 va60j kernel: PCI: Found IRQ 5 for device 00:04.0
> Sep  3 19:40:22 va60j kernel: PCI: Sharing IRQ 5 with 00:00.2
> Sep  3 19:40:22 va60j kernel: PCI: Sharing IRQ 5 with 00:03.1
> Sep  3 19:40:22 va60j kernel: maestro3: Configuring ESS Allegro found at IO 0xE400 IRQ 5
> Sep  3 19:40:22 va60j kernel: maestro3:  subvendor id: 0x80f11033
> Sep  3 19:40:23 va60j kernel: ac97_codec: AC97 Audio codec, id: 0x4583:0x8308 (ESS Allegro
>  ES1988)
> Sep  3 19:40:23 va60j modprobe: modprobe: Can't locate module sound-service-0-3
> Sep  3 19:40:28 va60j gnome-name-server[1966]: starting
> Sep  3 19:40:28 va60j gnome-name-server[1966]: name server starting
> Sep  3 19:40:30 va60j gconfd (root-1968): starting (version 1.0.6), pid 1968 user 'root'
> Sep  3 19:40:37 va60j kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
> Sep  3 19:40:37 va60j kernel: usb-uhci.c: interrupt, status 3, frame# 579
> Sep  3 19:40:37 va60j kernel: sr0: scsi-1 drive
> Sep  3 19:40:37 va60j kernel: Uniform CD-ROM driver Revision: 3.12
> Sep  3 19:40:46 va60j xinetd[1991]: warning: can't get client address: Transport endpoint 
> is not connected
> Sep  3 19:42:18 va60j kernel: e100: eth0 NIC Link is Up 100 Mbps Full duplex
> Sep  3 19:44:57 va60j login(pam_unix)[3186]: session opened for user nagasi by (uid=0)
> 
> 
> ◎config関連
> [root _at_ va60j /]# 
> [root _at_ va60j /]# cd /etc
> [root _at_ va60j /]# cat /etc/pcmcia/config
> #
> # PCMCIA Card Configuration Database
> #
> # config 1.154 2001/01/05 00:03:17 (David Hinds)
> #
> 
> # config.opts is now included at the very end
> 
> #
> # Device driver definitions
> #
> 
> device "wvlan_cs"
>   class "network" module "wvlan_cs"
> 
> device "epic100"
>   class "network" module "cb_enabler", "epic100"
> 
> device "eepro100"
>   class "network" module "cb_enabler", "eepro100"
> 
> 
> #
> # Ethernet adapter definitions
> #
> 
> #これはコメント化した方がよいのか不明
> card "Allied Telesis LA-PCM Ethernet"
>   manfid 0xc00f, 0x0002
>   cis "cis/LA-PCM.dat"
>   bind "pcnet_cs"
> 
> 
> #nagasi(コレガのPCCB-11の競合するのでコメント化)
> #card "CentreCOM LA-PCM V2 Ethernet"
> # version "Allied Telesis, K.K.", "CentreCOM LA-PCM_V2"
> # bind "pcnet_cs"
> 
> #
> # 10/100baseT network adapters
> #
> 
> #使用したいカードはこれ!
> card "Allied Telesis CentreCOM LA100-PCM-T V2"
>   version "Allied Telesis, K.K.",
>     "CentreCOM LA100-PCM-T V2 100/10M LAN PC Card"
>   bind "pcnet_cs"
> 
> #
> # Wireless network adapters
> #
> card "corega_K.K. Wireless_LAN_PCCB-11"
> version "corega_K.K.", "Wireless_LAN_PCCB-11", "Version 01.02",""
>  bind "wvlan_cs"
> 
> 
> # Include configuration files for add-on drivers
> 
> source ./*.conf
> 
> # Include local configuration settings
> 
> source ./config.opts
> 
> 
> [root _at_ va60j pcmcia]# cat config.opts
> #
> # Local PCMCIA Configuration File
> #
> #----------------------------------------------------------------------
> 
> # System resources available for PCMCIA devices
> include port 0x100-0x4ff, port 0xc00-0xcff
> include memory 0xc0000-0xfffff
> include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
> 
> # High port numbers do not always work...
> # include port 0x1000-0x17ff
> 
> # Extra port range for IBM Token Ring
> #include port 0xa00-0xaff
> 
> # Resources we should not use, even if they appear to be available
> 
> # First built-in serial port
> #exclude irq 4
> # Second built-in serial port
> #exclude irq 3
> # First built-in parallel port
> #exclude irq 7
> # PS/2 Mouse controller port, comment this out if you don't have a PS/2
> # based mouse
> exclude irq 12
> 
> #----------------------------------------------------------------------
> 
> # Examples of options for loadable modules
> # Options for Raylink/WebGear driver: uncomment only one line...
> # Generic ad-hoc network
> module "ray_cs" opts "essid=ADHOC_ESSID hop_dwell=128 beacon_period=256 translate=1"
> # Infrastructure network for older cards
> #module "ray_cs" opts "net_type=1 essid=ESSID1"
> # Infrastructure network for WebGear
> #module "ray_cs" opts "net_type=1 essid=ESSID1 translate=1 hop_dwell=128 beacon_period=256"
> # Options for WaveLAN/IEEE driver (AccessPoint mode)...
> #module "wvlan_cs" opts "station_name=MY_PC"
> # Options for WaveLAN/IEEE driver (ad-hoc mode)...
> #module "wvlan_cs" opts "port_type=3 channel=1 station_name=MY_PC"
> 
> module "wvlan_cs" opts "eth=0"
> 
> 
> [root _at_ va60j pcmcia]# cat wireless.opts
> # Wireless LAN adapter configuration
> 
> case "$ADDRESS" in
> 
> # Activate with "cardctl scheme essidany"
> # Generic example (decribe all possible settings)
> *,*,*,*)
> #    INFO="Fill with your own settings..."
> 	INFO="NAGA SETTING"
> # ESSID (extended network name) : My Network, any
> #     ESSID=""
>    	 ESSID="09FBCA"
> # NWID/Domain (cell identifier) : 89AB, 100, off
>      	 NWID=""
> # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
> #     MODE=""
>     	 MODE="Managed"
> # Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
>  	 FREQ=""
>          CHANNEL="1"
> # Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
>          SENS=""
> # Bit rate : auto, 1M, 11M
>          RATE="11M"
> # Encryption key : 4567-89AB-CD, s:password
> #    KEY="12345ABCDE"
> 
> # RTS threshold : off, 500
>    	 RTS=""
> # Fragmentation threshold : off, 1000
>          FRAG=""
> # Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
>          IWCONFIG=""
> # iwspy parameters : + 01:23:45:67:89:AB
>          IWSPY=""
> # iwpriv parameters : set_port 2, set_histo 50 60
>          IWPRIV=""
>     ;;
> esac
> 
> [root _at_ va60j sysconfig]# cat pcmcia
> PCMCIA=yes
> PCIC=yenta_socket
> PCIC_OPTS=
> CORE_OPTS=
> 
> [root _at_ va60j etc]# cat modules.conf
> alias eth0 e100
> alias parport_lowlevel parport_pc
> alias sound-slot-0 maestro3
> post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
> pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
> alias usb-controller usb-uhci
> 
> [root _at_ va60j etc]# 
> [root _at_ va60j etc]# 
> [root _at_ va60j etc]# 
> [root _at_ va60j etc]# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:00:4C:2E:5D:C9  
>           inet addr:192.168.0.7  Bcast:192.168.0.63  Mask:255.255.255.192
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1209 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:971 errors:3 dropped:0 overruns:0 carrier:3
>           collisions:0 txqueuelen:100 
>           RX bytes:99705 (97.3 Kb)  TX bytes:545338 (532.5 Kb)
>           Interrupt:10 Base address:0xef00 Memory:febff000-febff038 
> 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:262 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:262 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:19366 (18.9 Kb)  TX bytes:19366 (18.9 Kb)
> 
> wvlan0    Link encap:Ethernet  HWaddr 00:90:99:81:69:BD  
>           inet addr:192.168.1.7  Bcast:192.168.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:463 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:525 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100 
>           RX bytes:394557 (385.3 Kb)  TX bytes:81792 (79.8 Kb)
>           Interrupt:3 Base address:0x100 
> 
> 
> 
> 
> -- 
> Nobuyoshi Nagashima <nagasi _at_ msb.biglobe.ne.jp>
> 

-- 
Nobuyoshi Nagashima <nagasi _at_ msb.biglobe.ne.jp>

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: