Click to See Complete Forum and Search --> : Getting DSL NIC to be a eth# interface


dp007
11-11-2002, 08:52 PM
OK, im running Debian 'woody' 3.0r0 and running a 2.4.18-k7 kernel (2.4.18 for athlon/duron)
My card is a Dlink 100D internal modem but it appears to need to be installed as eth0 or whatever in linux. The module is compiled for 2.4.8 on redhat i think and so modprobe comes up with an error (have to use insmod -f) so can anyone gimme the step by step stuff to set up a module to become a eth interface? Currently dont even have any eth# on my system - and debian doesnt have all those nice config utils like redhat, so the nic install help file kinda useless for me. (alot of other help files are usless coz they use modeprobe or whatever and dont give the info to do it manually using insmod and ifconfig or whatever)
Pls pls pls help, 3 days and no luck lookin thru how-tos and man pages etc. :(

The module name is 100d1483, needs to be set up as a eth# that can then have pppoe run through it from what i can gather - but im stumped, tried a few things but nothing seems to get it to go from loading module to making the module run as eth0.

mdwatts
11-12-2002, 06:47 AM
Do you already have the 100d1483 module?

What error messages do you get from

modprobe 100d1483

lsmod to verify it loaded.

Does

ifconfig

show eth0 up and running?

PnP OS disabled in the bios?

dp007
11-12-2002, 09:58 AM
for insmod without -f modprobe modconf i get this sorta error
Using /lib/modules/2.4.18-k7/kernel/drivers/net/100d1483.o
Warning: kernel-module version mismatch
/lib/modules/2.4.18-k7/kernel/drivers/net/100d1483.o was compiled for kernel version 2.4.8
while this kernel is version 2.4.18-k7

modprobe will jus quit not loading it at all.
readme with driver says to use insmod -f. It also says should work for any kernel from 2.4.8 - 2.4.16 so im assuming 2.4.18 is fine.

after forcing with insmod -f, lsmod shows:
Module Size Used by Tainted: PF
100d1483 841600 0 (unused)
soundcore 3684 0 (autoclean)
tap0 2528 1 (autoclean)
pppoe 6880 0 (unused)
pppox 1176 1 [pppoe]
ppp_generic 19112 0 [pppoe pppox]
slhc 4640 0 [ppp_generic]
af_packet 11848 1
rtc 5592 0 (autoclean)
unix 13636 75 (autoclean)
ide-disk 6816 1 (autoclean)
ide-probe-mod 8096 0 (autoclean)
ide-mod 131404 1 (autoclean) [ide-disk ide-probe-mod]
ext2 30848 1 (autoclean)
ext3 57248 0 (autoclean)
jbd 35640 0 (autoclean) [ext3]

which looks loaded fine to me? system doesnt hang or anything.

and finally, ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:336 errors:0 dropped:0 overruns:0 frame:0
TX packets:336 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18775 (18.3 KiB) TX bytes:18775 (18.3 KiB)

tap0 Link encap:Ethernet HWaddr FE:FD:00:00:00:00
inet addr:192.168.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:5

no eth# :|

any help would be greatly appreciated as i recently decided to try linux again coz i saw these drivers - be kinda waste of hard drive if i cant get it to network hehe

mdwatts
11-12-2002, 08:01 PM
Do you happen to know what tap0 is for?

Also could you please post the url to the site from where you downloaded the 100d1483 driver/module from.

dp007
11-12-2002, 09:06 PM
tap0 - ummm Ethertap - debian install has some option to set up "ethertap devices", no clue what the hell they are so I just answered yes

edit: btw ifconfig shows tap0 there BEFORE loading the driver.

URL for these drivers are:
http://www.dlink.com.au/tech/drivers/files/modems/dsl100d.htm

if u wanna have a look at those readmes in them. They sorta go
insmode -f 100d.......
ifconfig eth0 up
so the readmes kinda miss a few steps somewhere there i think

If u know where i can find the "Original Unmodified" Itex installation instructions i reckon they might have some answers but i cant find an unmodified one. Some on pppoa (which involve kernel patching and stuff) but none on pppoe which seems the easier of the two to setup because linux already supports pppoe. (and my isp is pppoe)