Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: Re[2]: Re[2]: tlug: Cable Modem Access



>>>>> "shawn" == shawn@example.com  <shawn@example.com> writes:


    shawn> Hmmm, ok. Mine has all Zeroes for inet addr, Bcast, and
    shawn> Mask.

Shawn,

	Thats OK,because we have not set them to anything yet :) The
first step is to get to the point where set can set them
manually. Once that is working, then we can get dhcpcd to do it.

    shawn> So it looks like my controller is being detected after all.
    shawn> (No need for kernel recompile...)

Sounds good.

    shawn> 2) Added entries to /etc/conf.modules:

    shawn> alias eth0 ne2k-pci (aka "Satan spawn") options eth0
    shawn> i=0x1600 irq=11

You can get get rid of the '(aka "Satan spawn")' bit. That was just
showing someone's love of the driver :) That may be causing other
strangeness.

    shawn> 3) ran modprobe eth0, which gave:

    shawn> /lib/modules/preferred/net/ne2k-pci.o: symbol for paramater
    shawn> i not found.

    shawn> (Not sure about that - is it referring to the i in
    shawn> conf.modules above? )

I'm not sure either. I would have thought that its the i/o address.

    shawn> anyway, didn't quite know what to do, so tried

    shawn> 4) modprobe ne and got:

    shawn> PCI BIOS reports NE 2000 clone at i/o 0x600, irq 11

Ok,I think you want the /etc/conf.modules:

alias eth0 ne2k-pci 
options eth0 io=0x600 irq=11

    shawn> so it seems my controller is definitely there, which I saw
    shawn> again when I did

    shawn> 5) /sbin/ifconfig eth0 :

    shawn> But all the values for inet addr, Bcast, and Mask are
    shawn> Zeroes.

Yup is still will be. If the above conf.modules is correct, then you
should be able to do:

	modprobe eth0

This will lookup eth0 in conf.modules and find out the actual module
and options to use. If you don't see any error there, then try:

/sbin/ifconfig eth0  192.168.3.1 broadcast 192.168.3.255 netmask 255.255.255.0


Then, do ifconfig eth0

You should then see something like:

ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:10:4B:18:9C:49
          inet addr:192.168.3.1  Bcast:192.168.3.255 Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0

If that all works, then the next thing to attack is getting dhcpcd to
request the ip address from the cable modem.

Regards,

	Andy
-------------------------------------------------------------------
Next Technical Meeting: April 10 (Sat), 12:30   place: Temple Univ.
*** featuring: LabView and UDB/DB2 for Linux
Next Nomikai: May 21 (Fri), 19:30    Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links