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

Re: SIOCADDRT : No such device



On Thu,  2 May 2002 12:29:44 +0500 (IST)
dkotian3@vsnl.net wrote:

> Thanks ,
> Could someone help in how to add network drivers for debian.
> The network card seems to be  RTL8129.
> 
> Thanks and Regards
> Deepak


RTL8129/39.. Drivers have an excellent support these days. I have been using mine with no difficulty. I prefer to compiler the driver into the kernel and I am pretty sure that in your case also you just have to set up the interface right and everything will be fine. 
As David said in his mail, do the following if you have a static IP

Put the info in /etc/network/interfaces.  Mine looks like:

auto eth0
iface eth0 inet static
        address 192.168.8.30
        netmask 255.255.255.0
        network 192.168.8.0
        broadcast 192.168.8.255
        gateway 192.168.8.254


If howevery you want to load the driver as a module , first see the output of the lsmod command. Do you see any 8139too ? If "not" then what you might have to do is download the driver and "insmod". This will load the driver into the running kernel as a module. 

Man pages to see:- insmod lsmod  ifconfig 

Thanks
Kapil

> 
> 
> 
> 
> 
> smead@amplepower.com wrote
> You'll have to put a driver for your nic in /etc/modules.
> 
> -- 
> Sincerely,
> 
> David Smead
> http://www.amplepower.com.
> 
> On Thu, 2 May 2002 dkotian3@vsnl.net wrote:
> 
> > Hi,
> >
> > I have a similar porblem.
> > I have upgraded it to 2.4.18 from the source code www.kernel.org.
> > And when I do ifconfig eth0, I get No such device.
> > Is there a way to do it ?
> >
> > Any help on this would be appreciated.
> >
> > Thanks and Regards
> > Deepak
> >
> >
> > soggytrousers@yahoo.com wrote
> > "Kapil Khosla" <khoslakapil@lycos.com> writes:
> >
> > > Hi, I want to set up the route of my newly setup network. I have DEC
> > > 21143 chipsets and I have compiled/insmod the driver but am not sure
> > > if it works as I dont have the networking set up yet. I am working
> > > with Potato 2.2.19 kernel.
> >
> > > Do I need networking setup before I can setup 'route' ?
> >
> > You need to have the NICs bound to an ethernet device for route to
> > work.
> >
> > Generally, ifconfig should show you whether or not a NIC is noticed by
> > the kernel. You said that you insmod'ed them - did you receive any
> > report that this may have not worked while doing it?
> >
> > sockios.h:
> > /* Routing table calls. */
> > #define SIOCADDRT	0x890B		/* add routing table entry	*/
> > #define SIOCDELRT	0x890C		/* delete routing table entry	*/
> > #define SIOCRTMSG	0x890D		/* call to routing system	*/
> >
> > The SIOCADDRT is what operation is reporting the error.
> >
> > When you do an ifconfig eth0, do you see anything?
> >
> > Regards, Eliizabeth
> >
> >
> > > The problem which I am having while setting up route is : route add
> > > -net 192.168.2.0 netmask 255.255.255.0 eth0 SIOCADDRT : No such
> > > device
> > >
> > > route add default gw 192.168.2.1 eth0 Network unreachable
> > >
> > > 192.168.2.1 is my gateway to the world and all the computers on the
> > > LAN have to be assigned IP in the range of 192.168.2.*
> > >
> > > What does this error mean ( SIOCADDRT)?  Thanks Kapil
> >
> >
> >
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: