LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2003, 05:01 PM   #1
razormonkey
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Hat 9
Posts: 9

Rep: Reputation: 0
slackware not running rc.inet1 at boot?


Howdy,

Problem with setting up the eth0 interface in slackware 9.0.

I have run the netconfig program, and when that failed I edited the rc.inet1 script manually, but still slackware will not configure the eth0 interface at boot automatically. I have to do ifconfig and add the default gateway each time manually!

Any ideas whats going on?

Also, how can I make my own scripts execute at boot?

Thanks
 
Old 10-05-2003, 08:43 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Is rc.inet1 executable? Is it actually called upon from one of the other scripts like say rc.M for instance?
 
Old 10-06-2003, 06:05 AM   #3
razormonkey
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Hat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Well it was an interesting resolution in the end.
Yes it was called from rc.M, inside an if construct can't remember the exact syntax....
Anyway I comented out the if part, and the next time it ran it came back saying eth0 device not found!!
Then I was told I could run custom scripts from rc.local, so I did this:

modprobe 3c59x
ifconfig eth0 192.168.1.21 netmask 255.255.255.0
route add default gw 192.168.1.1

and added that script to the rc.local file.

Now everything runs smoothly

But cheers for the feedback!

PS: yea it was executable to start with too
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rc.inet1 isn't running at boot oxleyk Slackware 26 08-04-2005 03:23 PM
Copy of Slackware 9.1 rc.inet1 Looking_Lost Slackware 3 10-30-2003 09:57 AM
Slackware 9.1 Rc.inet1 help Psyman014 Slackware 3 10-03-2003 09:10 AM
Slackware 8.1 rc.inet1 shell script problems matruschka Linux - Networking 3 07-22-2002 03:37 AM
rc.inet1 to start PFTPD on sys boot bripage Linux - Networking 0 04-01-2002 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration