* Two network-cards under Alpha Linux @ 1999-10-04 4:00 Nick Brok 1999-10-04 4:00 ` Marco Benton 0 siblings, 1 reply; 6+ messages in thread From: Nick Brok @ 1999-10-04 4:00 UTC (permalink / raw) Hello all, I heart that you must pass some parameters through MILO so linux can recognize two network cards. Both cards are the same, 3Com... I didn't find any faq with this item... What must I do, or where can i find the howto, to get my alpha box running with two networkcards. Greetings, Nick Brok nick@stack,nl , nick@iae.nl ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two network-cards under Alpha Linux 1999-10-04 4:00 Two network-cards under Alpha Linux Nick Brok @ 1999-10-04 4:00 ` Marco Benton 1999-10-04 4:00 ` JJ 0 siblings, 1 reply; 6+ messages in thread From: Marco Benton @ 1999-10-04 4:00 UTC (permalink / raw) I still think Linux needs a REAL way to discover multiple e-net cards in a system! why can't it be like Digital UNIX?! plop the card in, boot generic kernel, rebuild kernel, reboot, and poof... it's there... (the long way...) you can use either modules or compiled in static kernel. if you're using modules, edit /etc/conf.modules or use linuxconf to configure another card. this forces the drivers to search for more net cards. but the problem i come across is what if you have more than one of the same kind!!!?? some cards are ok, but some, like DE435, DE450, DE500's don't wanna see the next card without performing voodoo on the kernel! I eventually got it working but i forgot how! the other way would be to pass milo arguments to the kernel. like: ether=0,0,eth0 ether=0,0,eth1 etc... this also forces the kernel to make a pass at probing drivers until one works or not. doesnt always work unless you know the exact address and irq that cards sits at. it all depends on how the driver polls to see what cards are in the system. if the driver doesnt bother to check certain base addresses, it aint gonna find it. i have a few 3com cards that had no problem being seen all at once on the same system! mileage my vary. so be prepared to spend alot of time in front of your machine. Nick Brok <nick@stack.nl> wrote in message news:7t9d96$nv3$1@toad.stack.nl... > Hello all, > > I heart that you must pass some parameters through MILO so linux can recognize > two network cards. > Both cards are the same, 3Com... I didn't find any faq with this item... > What must I do, or where can i find the howto, to get my alpha box running with > two networkcards. > > > Greetings, > > Nick Brok > nick@stack,nl , nick@iae.nl ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two network-cards under Alpha Linux 1999-10-04 4:00 ` Marco Benton @ 1999-10-04 4:00 ` JJ 1999-10-04 4:00 ` Marco Benton 0 siblings, 1 reply; 6+ messages in thread From: JJ @ 1999-10-04 4:00 UTC (permalink / raw) Linux/Alpha kernel will auto detect the PCI Ethernet cards, I've had 4 de500's in a 4100 running linux with the driver (tulip.c v9?). Nothing special on boot, bus probe finds them all. (2.2.3 & 2.2.11) JJ Marco Benton wrote in message ... >I still think Linux needs a REAL way to discover multiple e-net cards in a >system! why can't it be like Digital UNIX?! plop the card in, boot generic >kernel, rebuild kernel, reboot, and poof... it's there... (the long way...) > >you can use either modules or compiled in static kernel. > >if you're using modules, edit /etc/conf.modules or use linuxconf to >configure another card. this forces the drivers to search for more net >cards. but the problem i come across is what if you have more than one of >the same kind!!!?? some cards are ok, but some, like DE435, DE450, DE500's >don't wanna see the next card without performing voodoo on the kernel! I >eventually got it working but i forgot how! > >the other way would be to pass milo arguments to the kernel. like: >ether=0,0,eth0 ether=0,0,eth1 etc... this also forces the kernel to make a >pass at probing drivers until one works or not. doesnt always work unless >you know the exact address and irq that cards sits at. > >it all depends on how the driver polls to see what cards are in the system. >if the driver doesnt bother to check certain base addresses, it aint gonna >find it. i have a few 3com cards that had no problem being seen all at once >on the same system! mileage my vary. > >so be prepared to spend alot of time in front of your machine. > > >Nick Brok <nick@stack.nl> wrote in message >news:7t9d96$nv3$1@toad.stack.nl... >> Hello all, >> >> I heart that you must pass some parameters through MILO so linux can >recognize >> two network cards. >> Both cards are the same, 3Com... I didn't find any faq with this item... >> What must I do, or where can i find the howto, to get my alpha box running >with >> two networkcards. >> >> >> Greetings, >> >> Nick Brok >> nick@stack,nl , nick@iae.nl > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two network-cards under Alpha Linux 1999-10-04 4:00 ` JJ @ 1999-10-04 4:00 ` Marco Benton 1999-10-05 4:00 ` Charles Weber 0 siblings, 1 reply; 6+ messages in thread From: Marco Benton @ 1999-10-04 4:00 UTC (permalink / raw) really???? maybe i was using an older kernel...? mmmm... now i'm going to go back and try this again... ;) JJ <johnj@bicnet!net> wrote in message news:rvigirgrrad28@corp.supernews.com... > Linux/Alpha kernel will auto detect the PCI Ethernet cards, I've had 4 > de500's in a 4100 running linux with the driver (tulip.c v9?). Nothing > special on boot, bus probe finds them all. (2.2.3 & 2.2.11) > > JJ > > > > Marco Benton wrote in message ... > >I still think Linux needs a REAL way to discover multiple e-net cards in a > >system! why can't it be like Digital UNIX?! plop the card in, boot > generic > >kernel, rebuild kernel, reboot, and poof... it's there... (the long > way...) > > > >you can use either modules or compiled in static kernel. > > > >if you're using modules, edit /etc/conf.modules or use linuxconf to > >configure another card. this forces the drivers to search for more net > >cards. but the problem i come across is what if you have more than one of > >the same kind!!!?? some cards are ok, but some, like DE435, DE450, DE500's > >don't wanna see the next card without performing voodoo on the kernel! I > >eventually got it working but i forgot how! > > > >the other way would be to pass milo arguments to the kernel. like: > >ether=0,0,eth0 ether=0,0,eth1 etc... this also forces the kernel to make a > >pass at probing drivers until one works or not. doesnt always work unless > >you know the exact address and irq that cards sits at. > > > >it all depends on how the driver polls to see what cards are in the system. > >if the driver doesnt bother to check certain base addresses, it aint gonna > >find it. i have a few 3com cards that had no problem being seen all at > once > >on the same system! mileage my vary. > > > >so be prepared to spend alot of time in front of your machine. > > > > > >Nick Brok <nick@stack.nl> wrote in message > >news:7t9d96$nv3$1@toad.stack.nl... > >> Hello all, > >> > >> I heart that you must pass some parameters through MILO so linux can > >recognize > >> two network cards. > >> Both cards are the same, 3Com... I didn't find any faq with this item... > >> What must I do, or where can i find the howto, to get my alpha box > running > >with > >> two networkcards. > >> > >> > >> Greetings, > >> > >> Nick Brok > >> nick@stack,nl , nick@iae.nl > > > > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two network-cards under Alpha Linux 1999-10-04 4:00 ` Marco Benton @ 1999-10-05 4:00 ` Charles Weber 1999-10-05 4:00 ` Mark Hesselink 0 siblings, 1 reply; 6+ messages in thread From: Charles Weber @ 1999-10-05 4:00 UTC (permalink / raw) I have done the same with compaq and intel nics on x86 linux, isnt a modern kernel wonderful! Chuck ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two network-cards under Alpha Linux 1999-10-05 4:00 ` Charles Weber @ 1999-10-05 4:00 ` Mark Hesselink 0 siblings, 0 replies; 6+ messages in thread From: Mark Hesselink @ 1999-10-05 4:00 UTC (permalink / raw) If you have an old ISA network card en you don't want to use modules, there's a solution to detect more than one card during booting. You have to change some lines in the file Space.c in /usr/src/linux/drivers/net. Firstly somewhere around line 644 (it depends on your kernel version) the following is written: #ifndef ETH0_ADDR # define ETH0_ADDR 0 #endif #ifndef ETH0_IRQ # define ETH0_IRQ 0 #endif To add another NIC, you have to add the following lines after these lines: #ifndef ETH1_ADDR # define ETH1_ADDR 0 #endif #ifndef ETH1_IRQ # define ETH1_IRQ 0 #endif To add more NIC's, change ETH1 into ETH2, ETH3 or ETH4, etc. Secondly somewhere around line 673 the following is written: static struct device eth0_dev = { "eth0", 0, 0, 0, 0, ETH0_ADDR, ETH0_IRQ, 0, 0, 0, ð1_dev, ethif_probe }; To add another NIC, change the lines 670 and 671 into: static struct device eth1_dev = { "eth1", 0, 0, 0, 0, ETH1_ADDR, ETH1_IRQ, 0, 0, 0, ð2_dev, ethif_probe }; To add more NIC's change the lines 669 till 658 according the above instructions. This solution works on x86 machines, but I think it's a general solution. Mark Hesselink ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-10-05 4:00 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1999-10-04 4:00 Two network-cards under Alpha Linux Nick Brok 1999-10-04 4:00 ` Marco Benton 1999-10-04 4:00 ` JJ 1999-10-04 4:00 ` Marco Benton 1999-10-05 4:00 ` Charles Weber 1999-10-05 4:00 ` Mark Hesselink
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox