Quantcast

Multiple network cards

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Multiple network cards

Nicholas Kirchner
I'm playing around with a two network card setup on Virtualbox.  I
understand that it might be theoretically possible to have one packet
driver for each network card.  From the looks of things, pcntpk by
default finds the first network card.  It looks like it should be
possible to run, say, `pcntpk int=0x61 ioaddr=???` or some such to get a
packet driver running for that card.  Unfortunately, I'm not having a
lot of luck on this front; anyone have any pointers?

Thanks,
Nick

P.S. Apologies if this sent twice; I resent it because it didn't seem to
send the first time.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple network cards

Louis Santillan
Try using PCINIC [0] from David Dunfield [1] to figure out where the
second NIC is on the bus.

Here's what VirtualBox does for me when I add a second NIC and run PCINIC [2].

[0] http://www.classiccmp.org/dunfield/dos/pcinic.zip
[1] http://www.classiccmp.org/dunfield/dos/index.htm
[2] http://imgur.com/a/dJqlw

On Thu, Dec 29, 2016 at 6:50 PM, Nicholas Kirchner <[hidden email]> wrote:

> I'm playing around with a two network card setup on Virtualbox.  I
> understand that it might be theoretically possible to have one packet
> driver for each network card.  From the looks of things, pcntpk by
> default finds the first network card.  It looks like it should be
> possible to run, say, `pcntpk int=0x61 ioaddr=???` or some such to get a
> packet driver running for that card.  Unfortunately, I'm not having a
> lot of luck on this front; anyone have any pointers?
>
> Thanks,
> Nick
>
> P.S. Apologies if this sent twice; I resent it because it didn't seem to
> send the first time.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Freedos-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/freedos-user

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple network cards

dosgeek57
I have an ISA NE2000 (CNET 200E) compatible card and an  INTEL PCI E1000 Gigabit card and I run a batch file with choice to install the packet driver for whichever is th connected NIC card.

On Fri, Dec 30, 2016 at 2:02 AM, Louis Santillan <[hidden email]> wrote:
Try using PCINIC [0] from David Dunfield [1] to figure out where the
second NIC is on the bus.

Here's what VirtualBox does for me when I add a second NIC and run PCINIC [2].

[0] http://www.classiccmp.org/dunfield/dos/pcinic.zip
[1] http://www.classiccmp.org/dunfield/dos/index.htm
[2] http://imgur.com/a/dJqlw

On Thu, Dec 29, 2016 at 6:50 PM, Nicholas Kirchner <[hidden email]> wrote:
> I'm playing around with a two network card setup on Virtualbox.  I
> understand that it might be theoretically possible to have one packet
> driver for each network card.  From the looks of things, pcntpk by
> default finds the first network card.  It looks like it should be
> possible to run, say, `pcntpk int=0x61 ioaddr=???` or some such to get a
> packet driver running for that card.  Unfortunately, I'm not having a
> lot of luck on this front; anyone have any pointers?
>
> Thanks,
> Nick
>
> P.S. Apologies if this sent twice; I resent it because it didn't seem to
> send the first time.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Freedos-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/freedos-user

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple network cards

Nicholas Kirchner
In reply to this post by Nicholas Kirchner
> Try using PCINIC [0] from David Dunfield [1] to figure out where the
> second NIC is on the bus.
Tried this, and it gave me the I/O address like I needed (thanks!). Now
I have the following conundrum:

Running
`pcnpkt int=0x60` works with the first network card, and outputs a line
"Interrupt number 0xa (10)".  DHCP works.
Rebooting, then running
`pcnpkt int=0x60 ioaddr=0xd020` seems to work in that pcnpkt doesn't
error, but I get the output "Interrupt number 0x (0)", and then DHCP
fails to communicate.
Rebooting again, then running
`pcnpkt int=0x60 ioaddr=0xd020 irq=(irq #)` fails for all values of irq
# from 1 to 15 and 0x1 to 0xf with the error "PCI device IRQ number
mismatch."  (The irq value reported by pcinic for this card is 10)

Is there something easy I'm missing (other than picking out another
network card in VirtualBox  :-D )?  Right now I'm suspecting a bug, and
looking at the pcntpk source to figure out why it doesn't capture the
right irq when given an ioaddr.

--Nick

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Loading...