> Upon launching ./net start in /etc/rc.d I get these errors on standard
> out:
>
> SIOCSIFADDR: No such device
> eth0: unknown interface: No such device
> SIOCSIFNETMASK: No such device
> SIOCADDR: Network is unreachable
>
> Helge F.
This message normally means that eth0 doesn't exist. When asking a
question it would really help if you posted the relevant
config/scrips/output e.g what does your rc.d/net look like?
# more net
#!/bin/sh
#
# /etc/rc.d/net: start/stop network
#
case $1 in
start)
/sbin/modprobe 3c59x
/sbin/ifconfig lo
127.0.0.1 /sbin/ifconfig eth0
10.0.0.10 netmask
255.255.255.0 /sbin/route add default gw
10.0.0.138# /sbin/dhcpcd eth0
;;
stop)
# killall -q /sbin/dhcpcd
/sbin/ifconfig eth0 down
/sbin/ifconfig lo down
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file
#
What is the output of ifconfig?
ifconfig has only listing of the loopback device.
If you compiled the natsemi module as a module did
it load? What's the output of lsmod?
Didn't compile natsemi as a module, did a reconfigure of the kernel as adviced since
I couldn't find any support on my CD for making this as a module.
You can tell if the kernel you're running has the natsemi code available
by looking at the subdirectories of /sys/module.
Hmm, nope, couldn't see any natsemi stuff there.
Thanks,
Helge F.