From: linux lover <linux_lover2004@yahoo.com>
To: linuxkernel <linux-kernel@vger.kernel.org>
Cc: kernelnewbies <kernelnewbies@nl.linux.org>
Subject: problem in installing snull.o
Date: Mon, 20 Dec 2004 01:17:32 -0800 (PST) [thread overview]
Message-ID: <20041220091732.86196.qmail@web52205.mail.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]
Hi all,
I downloaded ldd examples from internet. I
want to run snull.c module on kernel 2.4.20-8 with
redhat 9 . so i compiled it successfully and try to
use it with following file snull_load script
#!/bin/sh
export PATH=/sbin:/bin
# Use a pathname, as new modutils don't look in the
current dir by default
insmod ./snull.o $*
ifconfig sn0 192.168.0.1
ifconfig sn1 192.168.1.2
where i set my eth0 as local0 as 192.168.0.1 and
eth1 as local1 as 192.168.1.2
then when i try to load it by giving command
./snull_load i got following errors
SIOCSIFADDR: No such device
sn0: unknown interface: No such device
SIOCSIFADDR: No such device
sn1: unknown interface: No such device
what am i missing in setting snull device driver?
i am compiling snull.c with following command
gcc -c snull.c -I /usr/src/linux-2.4.20-8/include/
PS. I am here attaching snull files as snull.tar.gz
regards,
linux_lover
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
[-- Attachment #2: snull.tar.gz --]
[-- Type: application/x-gzip, Size: 16488 bytes --]
reply other threads:[~2004-12-20 9:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041220091732.86196.qmail@web52205.mail.yahoo.com \
--to=linux_lover2004@yahoo.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®