This is a discussion on 3com905c driver compiling woes within the Linux Networking forums, part of the Linux Forums category; Still not working Script started on Fri Jul 18 13:02:16 2003 debian:/usr/local/src/kernel/3c90x-1....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Still not working
Script started on Fri Jul 18 13:02:16 2003 debian:/usr/local/src/kernel/3c90x-1.0.0# lsmod Module Size Used by 3c90x 22580 0 (unused) debian:/usr/local/src/kernel/3c90x-1.0.0# ifconfig eth0 up SIOCSIFFLAGS: No such device debian:/usr/local/src/kernel/3c90x-1.0.0# cat /etc/modules.conf ### This file is automatically generated by update-modules # # Please do not edit this file directly. If you want to change or add # anything please take a look at the files in /etc/modutils and read # the manpage for update-modules. # ### update-modules: start processing /etc/modutils/0keep # DO NOT MODIFY THIS FILE! # This file is not marked as conffile to make sure if you upgrade modutils # it will be restored in case some modifications have been made. # # The keep command is necessary to prevent insmod and friends from ignoring # the builtin defaults of a path-statement is encountered. Until all other # packages use the new `add path'-statement this keep-statement is essential # to keep your system working keep ### update-modules: end processing /etc/modutils/0keep ### update-modules: start processing /etc/modutils/aliases # Aliases to tell insmod/modprobe which modules to use # Uncomment the network protocols you don't want loaded: # alias net-pf-1 off # Unix # alias net-pf-2 off # IPv4 # alias net-pf-3 off # Amateur Radio AX.25 # alias net-pf-4 off # IPX # alias net-pf-5 off # DDP / appletalk # alias net-pf-6 off # Amateur Radio NET/ROM # alias net-pf-9 off # X.25 # alias net-pf-10 off # IPv6 # alias net-pf-11 off # ROSE / Amateur Radio X.25 PLP # alias net-pf-19 off # Acorn Econet alias char-major-10-130 softdog alias char-major-10-175 agpgart alias char-major-81 bttv alias char-major-108 ppp_generic alias /dev/ppp ppp_generic alias tty-ldisc-3 ppp_async alias tty-ldisc-14 ppp_synctty alias ppp-compress-21 bsd_comp alias ppp-compress-24 ppp_deflate alias ppp-compress-26 ppp_deflate alias eth0 3c90x # Crypto modules (see http://www.kerneli.org/) alias loop-xfer-gen-0 loop_gen alias loop-xfer-3 loop_fish2 alias loop-xfer-gen-10 loop_gen alias cipher-2 des alias cipher-3 fish2 alias cipher-4 blowfish alias cipher-6 idea alias cipher-7 serp6f alias cipher-8 mars6 alias cipher-11 rc62 alias cipher-15 dfc2 alias cipher-16 rijndael alias cipher-17 rc5 ### update-modules: end processing /etc/modutils/aliases ### update-modules: start processing /etc/modutils/paths # This file contains a list of paths that modprobe should scan, # beside the once that are compiled into the modutils tools # themselves. # This used to be quite a list, but upstream merged some Debian patches # so we currently don't need to do anything here ### update-modules: end processing /etc/modutils/paths ### update-modules: start processing /etc/modutils/setserial # # This is what I wanted to do, but logger is in /usr/bin, which isn't loaded # when the module is first loaded into the kernel at boot time! # #post-install serial /etc/init.d/setserial start | logger -p daemon.info -t "setserial-module reload" #pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t "setserial-module uload" post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null pre-remove serial /etc/init.d/setserial modsave > /dev/null 2> /dev/null ### update-modules: end processing /etc/modutils/setserial ### update-modules: start processing /etc/modutils/arch/i386 alias parport_lowlevel parport_pc alias char-major-10-144 nvram alias binfmt-0064 binfmt_aout alias char-major-10-135 rtc ### update-modules: end processing /etc/modutils/arch/i386 debian:/usr/local/src/kernel/3c90x-1.0.0# exit Script done on Fri Jul 18 13:02:56 2003 "Steve Wolfe" <un@codon.com> wrote in message news:9DVRa.52$mo4.29@fe01.atl2.webusenet.com... > > debian:/usr/local/src/kernel/3c90x-1.0.0# insmod 3c90x.o > > debian:/usr/local/src/kernel/3c90x-1.0.0# ifconfig eth0 up > > SIOCSIFFLAGS: No such device > > Make sure that you have, indeed, loaded the module succesfully, with > "lsmod". If it is, then try putting this in your /etc/conf.modules (or > modules.conf): > > Alias eth0 3c90x > > THEN try the "ifconfig eth0 up" again. > > steve > > > |
|
|||
|
In article <RTWRa.22935$BM.6704864@newssrv26.news.prodigy.com >,
tom wrote: > Still not working And you're still looking at what is probably the wrong solution to the problem. You say 3Com says not to use the kernel driver for the "C". Are you sure of this? Did you try it? (Do you even know HOW to try it?) From what I've seen of the thread it appears that you unquestioningly assumed that 3Com was correct. 3c509C? let me check: 00:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 74) Is that your card? I have one. Right now it's running on the 2.4.17 kernel's included driver. I've used it in other machines under 2.4.5 and ..18-.20. I never bothered to look around 3com's site. Frankly I rarely consider the Linux advice of hardware manufacturers. Most of them have no involvement whatsoever in the development of Linux drivers, so they can hardly be considered an authoritative resource on their proper use. Consult your Debian documentation on how to set up a network interface. Follow those instructions carefully. Connect. Enjoy. Later on it wouldn't hurt you to learn a bit about how the Linux kernel and modutils do their work. -- /dev/rob0 - preferred_email=i$((28*28+28))@softhome.net or put "not-spam" or "/dev/rob0" in Subject header to reply |
|
|||
|
In article <slrnbhggqp.vkg.rob0@linuxbox.stpaultel.com>, I wrote:
> 3c509C? let me check: s/509/905/ Anyway I should have mentioned that the name of the kernel driver is 3c59x. "modprobe 3c59x". Although if you're using a 2.2.x kernel (good catch, Timo!) it is possible that it's not supported. Is there any reason why you can't upgrade to 2.4.21? If so you could also try the latest 2.2.25 kernel. -- /dev/rob0 - preferred_email=i$((28*28+28))@softhome.net or put "not-spam" or "/dev/rob0" in Subject header to reply |
|
|||
|
In article <gzZRa.22994$BM.6737552@newssrv26.news.prodigy.com >,
tom wrote: > I recompiled kernel 2.2.25 using 3c590 and > I ran ifconfig eth0 up and dhcpcd and lo and > behold I have a connection. I'm not surprised. Anyway, the ifconfig step is unnecessary. That's what you would use to assign yourself a static IP. Is that 3c590 or 3c59x? > How do I get a connection to the internet automatically > using Debian now when I reboot? I've not used Debian, but I would bet that their documentation would cover this. Where did you look -- what did you try? -- /dev/rob0 - preferred_email=i$((28*28+28))@softhome.net or put "not-spam" or "/dev/rob0" in Subject header to reply |
|
|||
|
tom wrote:
> How do I get a connection to the internet automatically > using Debian now when I reboot? Humm. I use dhcpcd to obtain a dynamic IP from my ISP, so I think that copypasting this config should work. Anyway, the following is the relevant portion of /etc/network/interfaces : # The first network card auto eth0 iface eth0 dhcp If you installed dhcpcd from the Debian package (as you probably did), then the startup links in /etc/rc?.d/ should be correct. HTH, -Timo -- Timo Voipio | Helsinki, Finland | ICBM at: 60 11.800 N 024 52.760 E GeekCode ver 3: GU>CC d s-: a--- C++ UL(+)$>+++$ P+>+++ L++(+) E- W++ N++ o? K? w O M- V- PS PE Y+ PGP+ t 5++ X R tv- b++(++++) DI+ D G e- h! r !y |