vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have slackware 8 from about a year or more ago installed. I don't use it much, but sometimes I need to. A few weeks ago the network card in the machine that runs slackware went bad. I have removable drives and usually boot windows os's for testing software. Now, I need to use linux again, but the network doesn't work because it still thinks that I have the linksys card. But now there is a 3com 3C905C... card in the machine. What is the easiest way to get linux to forget about linksys and know about the 3com card. My kernel version is 2.4.19. thanks, William |
| |||
| On Saturday 25 October 2003 11:44 am in alt.os.linux.slackware William Wuister wrote: > I have slackware 8 from about a year or more ago installed. I don't > use it much, but sometimes I need to. A few weeks ago the network card > in the machine that runs slackware went bad. I have removable drives > and usually boot windows os's for testing software. Now, I need to use > linux again, but the network doesn't work because it still thinks that > I have the linksys card. But now there is a 3com 3C905C... card in the > machine. > > What is the easiest way to get linux to forget about linksys and know > about the 3com card. My kernel version is 2.4.19. edit /etc/rc.d/rc.netdevice -- My real address is crn (at) netunix (dot) com WARNING all messages containing attachments or html will be silently deleted. Send only plain text. |
| |||
| William Wuister wrote: > I have slackware 8 from about a year or more ago installed. I don't > use it much, but sometimes I need to. A few weeks ago the network card > in the machine that runs slackware went bad. I have removable drives > and usually boot windows os's for testing software. Now, I need to use > linux again, but the network doesn't work because it still thinks that > I have the linksys card. But now there is a 3com 3C905C... card in the > machine. > > What is the easiest way to get linux to forget about linksys and know > about the 3com card. My kernel version is 2.4.19. If it is the stock kernel you can use "netconfig" to do it. Or you could edit /etc/modules.conf and change the line for the right ethX device. I'm not sure which module that card uses but the line below would be the one you need to change. alias eth0 tulip Then without a reboot you can remove the old driver with this. rmmod tulip.o and load the new one. modprobe module-name You should also run "depmod -a". -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2 Uptime: 18 days, 19:22, 1 user, load average: 0.01, 0.04, 0.03 |
| |||
| On 2003-10-25, William Wuister <wuister32@yahoo.com> wrote: > What is the easiest way to get linux to forget about linksys and know > about the 3com card. My kernel version is 2.4.19. The easiest way probably is to edit the file /etc/rc.d/rc.netdevice to load the module for your new network interface card instead of the old one, and then reboot. -- When the fog came in on little cat feet last night, it left these little muddy paw prints on the hood of my car. |
| |||
| William Wuister <wuister32@yahoo.com> wrote: > I have slackware 8 from about a year or more ago installed. I don't > use it much, but sometimes I need to. A few weeks ago the network card > in the machine that runs slackware went bad. I have removable drives > and usually boot windows os's for testing software. Now, I need to use > linux again, but the network doesn't work because it still thinks that > I have the linksys card. But now there is a 3com 3C905C... card in the > machine. > > What is the easiest way to get linux to forget about linksys and know > about the 3com card. My kernel version is 2.4.19. Find out how your system loads the driver for Linksys. Then, replace that module with '3x59x'. Usually, put modprobe 3c59x somewhere in your boot sequence. -- William Park, Open Geometry Consulting, <opengeometry@yahoo.ca> Linux solution for data management and processing. |
| |||
| On 2003-10-25, Julio Uehara <julueh@Shinzen.discovery.net> wrote: > > > William Hamblen <william.hamblen@earthlink.net> writes: > >> The easiest way probably is to edit the file /etc/rc.d/rc.netdevice to > I can't find this file in my Slack 9.0 The file /etc/rc.d/rc.netdevice is created by the Slackware installer when probing for your ethernet interface during installation. If the installer did not find your ethernet interface you won't have the file. The file /etc/rc.d/rc.netdevice is run from the file /etc/rc.d/rc.modules. The file /etc/rc.d/netdevice contains the command that loads the kernel module for the ethernet interface. You can create the /etc/rc.d/rc.netdevice file manually if you have an ethernet interface the installer didn't recognize rather than edit the fairly long /etc/rc.d/rc.modules file. -- When the fog came in on little cat feet last night, it left these little muddy paw prints on the hood of my car. |
| |||
| William Hamblen <william.hamblen@earthlink.net> writes: > On 2003-10-25, Julio Uehara <julueh@Shinzen.discovery.net> wrote: > > > > I can't find this file in my Slack 9.0 > > The file /etc/rc.d/rc.netdevice is created by the Slackware installer when > probing for your ethernet interface during installation. If the installer > did not find your ethernet interface you won't have the file. The file > /etc/rc.d/rc.netdevice is run from the file /etc/rc.d/rc.modules. The > file /etc/rc.d/netdevice contains the command that loads the kernel module > for the ethernet interface. You can create the /etc/rc.d/rc.netdevice > file manually if you have an ethernet interface the installer didn't > recognize rather than edit the fairly long /etc/rc.d/rc.modules file. Thanks for the detailed explanation. My network card was detected during installation and I am connected to the internet through this card. Checked again for the file but it isn't there. The explanation could be that it is a pcmcia card in my laptop. Thanks again. -- Julio |
| |||
| Julio Uehara wrote: > Thanks for the detailed explanation. My network card was detected during > installation and I am connected to the internet through this card. Checked > again for the file but it isn't there. The explanation could be that it is > a pcmcia card in my laptop. yes. rc.inet1 and rc.netdevice are not used for pcmcia cards. see /etc/pcmcia/network.opts for that. -- Joost Kremers since when is vi an editor? a discussion on vi belongs in comp.tools.unusable or something... ;-) |
| ||||
| Hi William Wuister wrote: > ... > What is the easiest way to get linux to forget about linksys and know > about the 3com card. My kernel version is 2.4.19. Rather than rebooting and testing, try it manually first. For example, as root # ifconfig -a ; check that you have no ethx device # modprobe 3c59x ; if no news, its good news # ifconfig -a ; now there should be a ethx # ifconfig etx n.n.n.n netmask m.m.m.m ;replace x, n and m! # ping <your default gateway here> ;should find it! # route add default gw <your default gw here> # ping <some ip outside> If all that works, look at /etc/rc.d/rc.modules and rc.M Arun. |