LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 04: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, 07:43 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 05: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



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 02:23 PM
Copy of Slackware 9.1 rc.inet1 Looking_Lost Slackware 3 10-30-2003 08:57 AM
Slackware 9.1 Rc.inet1 help Psyman014 Slackware 3 10-03-2003 08:10 AM
Slackware 8.1 rc.inet1 shell script problems matruschka Linux - Networking 3 07-22-2002 02:37 AM
rc.inet1 to start PFTPD on sys boot bripage Linux - Networking 0 04-01-2002 03:53 PM

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

All times are GMT -5. The time now is 10:45 PM.

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
Open Source Consulting | Domain Registration