Re: PCMCIA NIC and Inet connection

"Nucking Futs" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Here is the requested information, hope it helps as I have exhausted 
searching on www.freebsd.org/search/

rc.conf
# -- sysinstall generated deltas -- # Wed May 21 22:30:25 2003
# Created: Wed May 21 22:30:25 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="YES"
nfs_reserved_port_only="YES"
saver="daemon"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
pccard_enable="YES"
----------------------------------------------
DMESG

thugged# dmesg
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE #0: Thu Apr  3 10:53:38 GMT 2003
    [email protected]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Celeron(R) CPU 2.00GHz (1993.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  
Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 266797056 (260544K bytes)
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 254357504 (248396K bytes)
pnpbios: Bad PnP BIOS data checksum
Preloaded elf kernel "kernel" at 0xc051d000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc051d09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fdf30
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82845 (i845 GMCH) SVGA controller> mem 
0xe0000000-0xe007ffff,0xf0000000-0xf7ffffff irq 10 at device 2.0 on pci0
agp0: detected 892k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1cc0-0x1cdf irq 10 
at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1ce0-0x1cff irq 11 
at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <USB controller> at 29.7 irq 10
pcib1: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib1
pci2: <unknown card> (vendor=0x14e4, dev=0x4401) at 1.0 irq 10
pcic0: <TI PCI-1510 PCI-CardBus Bridge> irq 10 at device 4.0 on pci2
pcic0: PCI Memory allocated: 0x88000000
pcic0: TI12XX PCI Config Reg: [pwr save][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card 16-bit bus (classic)> on pcic0
isab0: <PCI to ISA bridge (vendor=8086 device=24c0)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 ATA100 controller> port 
0x2020-0x202f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x8086, dev=0x24c3) at 31.3 irq 10
pci0: <unknown card> (vendor=0x8086, dev=0x24c5) at 31.5 irq 10
pci0: <unknown card> (vendor=0x8086, dev=0x24c6) at 31.6 irq 10
orm0: <Option ROMs> at iomem 
0xc0000-0xcbfff,0xcc000-0xccfff,0xcd000-0xce7ff,0xdf800-0xdffff,0xe0000-0xe3fff 
on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
ad2: 28615MB <HITACHI_DK23EA-30> [58140/16/63] at ata1-master UDMA100
acd0: CD-RW <HL-DT-STCD-RW/DVD-ROM GCC-4240N> at ata0-master PIO4
Mounting root from ufs:/dev/ad2s3a
pccard: card inserted, slot 0
pccard: card removed, slot 0
pccard: card inserted, slot 0
ed1 at port 0x300-0x31f irq 10 flags 0x80000 slot 0 on pccard0
ed1: address 00:04:5a:09:dd:00, type Linksys (16 bit)
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
thugged#
----------------------------------------------------------------------------
/boot/kernel.conf

di bt0
di aic0
di aha0
di adv0
q
--------------------------------------------------------------------------
****Note kernel.conf doesnt mention ed1***  what does this mean?

Thanks for taking the time to check out my problem :)





>From: "Kevin Oberman" <[email protected]>
>To: "Nucking Futs" <[email protected]>
>Subject: Re: PCMCIA NIC and Inet connection Date: Fri, 23 May 2003 20:41:33 
>-0700
>
> > From: "Nucking Futs" <[email protected]>
> > Date: Fri, 23 May 2003 19:02:06 -0400
> > Sender: [email protected]
> >
> >    I have installed FBSD 4.8 on my Dell notebook Inspiron 1100. The 
>internal
> > NIC is not recognized at all (best as I can tell) so I am trying to use 
>a
> > PCMCIA Linksys model PCM100 PC card. The card is on the supported 
>hardware
> > list found here
> > http://www.freebsd.org/releases/4.8R/hardware-i386.html#ETHERNET As you
> > might has guessed I'm writing because I cant get the card to function
> > correctly. During a normal install of FBSD on a workstation with a PCI 
>NIC
> > the DHCP scan finds the Road Runner connection from my router 
>automatically
> > and I'm set up with internet connectivity, end of story.
> >
> >   The PCMCIA card was not recognized during install so after reading an
> > archive I added pccard_enable="YES" to /etc/rc.conf.  This made the card 
>to
> > be recognized during boot up with a "Beep." I then went  back into the 
>post
> > install configuration via /stand/sysinstall and attempted to configure
> > additional network interfaces and when doing so the choice "ed1 <3C503
> > compatible PCMCIA>" showed up.  I let it automatically configure DHCP 
>and it
> > found my connection and  I had internet connectivity!  After a reboot I 
>had
> > no internet connectivity again.  In order to get connectivity again I 
>had to
> > go to /etc/rc.conf and delete the line ifconfig_ed1="DHCP" and
> > hostname="hostname" and go through the automatic configuration which i
> > described above.  Again if I reboot I lose inet connectivity.  What do I
> > need to add or do differently to make this work?  Thanks in advance for 
>any
> > assistance.
>
>There are a few details missing that would help.
>1. dmesg
>2. rc.conf
>
>I see you are configuring ed1. Unless you have another ed interface, it
>should be ed0. What is the device line for ed in you kernel config?  It
>should probably be just"device ed" since PCCards are basically PCI
>devices and the the configuration for the device in the GENERIC kernel
>is for an ISA device.
>
>Once this is done, the card should become ed0 and the rc.conf line
>should be changed to ifconfig_ed0="DHCP".
>
>Also, if you extract and reinsert the card, what happens? (Same effect
>can be achieved with "pccardc power 0 0;sleep 10;pccardc power 0 1" (This
>assumes that you are plugging the card into slot 0, normally the upper
>slot.) The output could be very useful.
>
>Hope all of this helps.
>
>R. Kevin Oberman, Network Engineer
>Energy Sciences Network (ESnet)
>Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
>E-mail: [email protected]			Phone: +1 510 486-8634

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.