Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Re-purpose and old laptop as APFW, but not finding PCMCIA ethernet card

    Scheduled Pinned Locked Moved Hardware
    18 Posts 2 Posters 3.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NOYB
      last edited by

      @Xotic750:

      If I could just get the PCMCIA card working then I think I would be well under way.

      Yup, think so.  When I first started I was using a Xircom or Intel PCMCIA card in notebook for WAN.  It's been a while since then so don't recall if I was running that natively (bare metal) or in a Win7 hosted VM.

      A Virtualbox VM might be another way to get both LAN and WAN via the single onboard NIC without the need of VLAN and smart switch.  If that notebook can run an OS that is supported by Oracle VirtualBox then it might be worth looking into.  Bare metal would be better but working trumps bare metal that's not working.

      VirtualBox
      https://www.virtualbox.org/
      http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html

      1 Reply Last reply Reply Quote 0
      • X
        Xotic750
        last edited by

        Thanks for the further suggestion. I guess what I need to figure out is whether there is a driver being loaded to handle the PCMCIA host controller or whether it is the actual PCMCIA adapter driver that is not loading or not available? Suggestions about how I should investigate the problem are more than welcome, I'm willing to put in some effort to track down the issue and hopefully be able to resolve it.

        As a note, I was able to get the PCMCIA adapter working with OpenWRT by compiling in the support into the kernel, but I have been unable to get the WIFI working with that

        1 Reply Last reply Reply Quote 0
        • N
          NOYB
          last edited by

          I'm not a driver person myself but I know there are some folk around here that are very drivers knowledgeable and hopefully someone will step in with some help.

          By the way.  Which version of pfSense are you using for this?  Perhaps the FreeBSD drivers needed for that PCMCIA card are in a different version.

          1 Reply Last reply Reply Quote 0
          • X
            Xotic750
            last edited by

            I'm using the latest stable 2.2.6 install from the download page. https://www.pfsense.org/download/

            That's the only version that I have tried.

            1 Reply Last reply Reply Quote 0
            • N
              NOYB
              last edited by

              So that runs on FreeBSD 10.1-RELEASE-p25
              The upcoming pfSense 2.3 runs on FreeBSD 10.3-RELEASE.

              Check those two versions of FreeBSD to see if they have drivers for the PCMCIA card and chip set.

              1 Reply Last reply Reply Quote 0
              • X
                Xotic750
                last edited by

                10.1 Hardware https://www.freebsd.org/releases/10.1R/hardware.html

                I see support for RealTek RTL8169, which appears to be the driver that fedora 17 and OpenWrt loads

                03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
                    Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
                    Kernel driver in use: r8169
                

                No mention of my exact PCMCIA card.

                One would assume that the host controller is supported, but I don't see it mentioned. Though not sure which piece of hardware it is from my 'lspci' output (link in original post). But I guess it is

                02:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b1)
                    Subsystem: NEC Corporation Device 824c
                    Kernel driver in use: yenta_cardbus
                

                This is an 'lspci -k' from my OpenWRT build, and it can be seen to be somewhat similar to that from the original Fedora 17 list that I originally posted.

                http://pastebin.com/Whd2aCNt

                I will boot pfsense and try to capture the output from that.

                1 Reply Last reply Reply Quote 0
                • X
                  Xotic750
                  last edited by

                  There doesn't appear to be any 'lspci' on the live dvd of pfsense, is there some way that I can achieve something similar?

                  I did manage to find a command 'pciconf -lv' from the following post

                  https://forum.pfsense.org/index.php?topic=24035.0

                  which gives some information but not the same

                  http://pastebin.com/7VZgeARz

                  And I have the dmesg.boot log file

                  http://pastebin.com/jNGZK3y5

                  And is this info relevant?

                  
                  cbb0: <rf5c476 pci-cardbus="" bridge=""> at device 10.0 on pci2
                  cardbus0: <cardbus bus=""> on cbb0
                  pccard0: <16-bit PCCard bus> on cbb0</cardbus></rf5c476>
                  

                  I also have the output from 'kldstat -v'
                  http://pastebin.com/m64Rw76L

                  1 Reply Last reply Reply Quote 0
                  • N
                    NOYB
                    last edited by

                    What does console option 1 show for available interfaces?

                    1 Reply Last reply Reply Quote 0
                    • X
                      Xotic750
                      last edited by

                      It shows 'ath0' (the on-board WIFI) and 'rl0' (the on-board ethernet)

                      1 Reply Last reply Reply Quote 0
                      • N
                        NOYB
                        last edited by

                        Well it looks to me like the re driver would be the most likely to support the Realtek 8110.  But even that seems to indicate 811xS.  You might see if you could get the re driver to load.  Getting a bit outside of my league here though.

                        https://www.freebsd.org/cgi/man.cgi?query=re&sektion=4

                        1 Reply Last reply Reply Quote 0
                        • X
                          Xotic750
                          last edited by

                          Thanks, looking through the 'kldstat -v' I can see 'miibus' and 're' appear to be loaded. Scratching my head over what to check/try next.

                          1 Reply Last reply Reply Quote 0
                          • N
                            NOYB
                            last edited by

                            Any BIOS settings that may alter the PCMCIA?
                            Turn off WiFi adapter in BIOS.

                            Other than the chipset just not being supported by any of the FreeBSD drivers, that's all I have left.

                            Oh and also try pfSense 2.3.

                            1 Reply Last reply Reply Quote 0
                            • X
                              Xotic750
                              last edited by

                              Nothing for altering the PCMCIA in any way. There is an on/off option for the WIFI but it doesn't make any difference wrt the PCMCIA card working. As a side note, I have now managed to get all the hardware working with a custom OpenWRT build, and the laptop works as an APFW. I would still like to get pfsense working and perform some comparisons, and have a choice. I'm just out of ideas of what can be done to diagnose and the fix the problem, if it is at all possible. Thanks for all your suggestions so far and hopefully someone with the needed experience can provide some input. Going to play with it using OpenWRT for now (connected to the internet with it while writing this). ;)

                              1 Reply Last reply Reply Quote 0
                              • N
                                NOYB
                                last edited by

                                @Xotic750:

                                Thanks, looking through the 'kldstat -v' I can see 'miibus' and 're' appear to be loaded. Scratching my head over what to check/try next.

                                Does ifconfig show the re interface?  Admittedly a moonshot but would be interesting if it does and pfSense doesn't see it.

                                1 Reply Last reply Reply Quote 0
                                • X
                                  Xotic750
                                  last edited by

                                  No, 'ifconfig -a' does not show the missing interface. :(

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.