On Mon, Apr 24, 2000 at 03:02:42PM +0200, Kovacs Istvan wrote > Hello! > > I've just installed potato, re-compiled the kernel, and now (some of) > my modules will not auto-load. I can load them with modprobe and/or > insmod. I have to load the driver for my Initio SCSI card, SB AWE32 > sound card and RTL8019-based NIC by hand. The question is: why? And of > course: how do I correct the situation? > Also: how (and where) do I supply module parameters for auto-loading? > To load my NIC driver, I have to issue insmod ne io=0x340 irq=10 -- > where do I put this info so I don't need to supply it every time? I use > kmod, not kerneld. > In /etc/modutils/aliases, I inserted the following for the sound card: > --- > # SB AWE > alias midi awe_wave > post-install awe_wave /usr/bin/sfxload /usr/synthfm.sbk > options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 > alias sound sb > --- > > Is this okay? >
Yes, although it might be tidier if the options and post-install lines were in their own file (say, /etc/modutils/sound). You can do the same for your network card - just put options ne io=0x340 irq=10 in (e.g.) /etc/modutils/ne and then add a line with just "ne" on it to /etc/modules. Or, run modconf which will allow you to do the same thing in a more GUI way. After editing files in /etc/modutils always run update-modules, so that /etc/conf.modules gets updated. > Another question: I used pppconfig to set up my dialup Internet > connection. I supplied the IP address of the ISP's name server, which > was properly placed in /etc/resolv.conf. nslookup works okay, but > nothing else: ping and browsers cannot resolve names. Everything works > when IP addresses are given instead of names. > Did you choose the defaultroute option in pppconfig? Run # route -n while your PPP connection is up; it should include a line like 0.0.0.0 192.168.113.110 0.0.0.0 UG 1 0 0 ppp0 where 192.168.113.110 is the IP address of the far end of the PPP connection. John P. -- [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.mdt.net.au/~john Debian Linux admin & support:technical services