Results 1 to 5 of 5
I was running suse 9 and I had a script at start up to share my internet connection. Now this script don't work in suse 9.1. The script has these:
...
- 05-16-2004 #1Just Joined!
- Join Date
- May 2004
- Posts
- 5
Anyone know how to rewrite this?
I was running suse 9 and I had a script at start up to share my internet connection. Now this script don't work in suse 9.1. The script has these:
And it returns me "No such file or directory" for all!Code:/sbin/insmod ip_tables /sbin/insmod ip_conntrack /sbin/insmod ip_conntrack_ftp /sbin/insmod ip_conntrack_irc /sbin/insmod iptable_nat /sbin/insmod ip_nat_ftp
What I must change?
Thanks
- 05-16-2004 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
it is "/sbin/insmod" it is complaining about.
does /sbin/insmod exist? i presume it does not, so run "updatedb" then "locate insmod" to find the correct location of insmod. update your script accordingly.
Generally your kernel should already have most of those modules built in anyway, without the need to use insmod or modprobe to load them.
Jason
- 05-17-2004 #3Just Joined!
- Join Date
- May 2004
- Posts
- 5
Yeah insmod exist in /sbin, take a look of message:
Code:nsmod: can't read 'ip_tables': No such file or directory ip_conntrack insmod: can't read 'ip_conntrack': No such file or directory ip_conntrack_ftp insmod: can't read 'ip_conntrack_ftp': No such file or directory ip_conntrack_irc insmod: can't read 'ip_conntrack_irc': No such file or directory iptable_nat insmod: can't read 'iptable_nat': No such file or directory ip_nat_ftp insmod: can't read 'ip_nat_ftp': No such file or directory
- 05-17-2004 #4
- 05-17-2004 #5Just Joined!
- Join Date
- May 2004
- Posts
- 5
That worked thank you all for the replies


Reply With Quote
