LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-30-2002, 01:11 PM   #1
Tekime
Member
 
Registered: Feb 2002
Location: East Coast USA
Distribution: Slackware
Posts: 53

Rep: Reputation: 15
I'm a slacker in need


At last, I am a slacker

A little history, to shed some light on why I changed:

After using Red Hat on my gateway boxen for about a year, I started to have some serious issues with it crashing on me. I had a hard time believing it was an OS fault, and instead convinced myself it was the hard drive. However, after a few days of kernel panic pandemonium, and the final crash and burn, I replace the HDD witha known good one and... nothing. SO, my old box is dead. Not surprisingly though, being a P133 from 1996 that has been running virtually non-stop for those 6 years.

So, I stole my girlfriend's 233MHz P55C and gave her my secondary gaming rig (also a P55C, but 208MB RAM and a Rage128 card *sigh*).

I was planning on installing RH 7.3, but I have to tell you, now that I have learned more about Linux, I'm pretty sick of RPM's, all the bloatware RH likes to install, and that damn red hat.

Anyway, to my question (I swear I have one here somewhere). Everything went surprisingly smoothly installing Slackware, took about 1/3 of the time as Red Hat and everything was MOSTLY okay when finished.

This computer will be used as a gateway for my LAN (I'm on Verizon ADSL, so I'm using rp-pppoe), a firewall, web server and FTP server.

Slackware did not detect my second network card, though with a little research I found that my Netgear FA311 uses the natsemi driver, so I ran 'modprobe natsemi' and it picked up the second NIC.

Now in order to get my adsl connection and IP MASQ started after booting, I have to run the following commands (in this order):
$ modprobe natsemi
$ ifconfig eth0 down
$ ifconfig eth1 up
$ adsl-start
$ ifconfig eth0 up
$ ./rc.firewall

Firstly, will I need to recompile my kernel with the natsemi driver, or will it be simpler than that?

Secondly, how can I avoid just putting these commands into my rc.local file? I would like my firewall started up right after networking services are initialized, then both ethernet interfaces and then my adsl-connect.

*whew* Sorry for the mad novel, I'm just excited to get away from RH (albeit one dead Pentium ). Any help would be, um... helpful... I'm still a quasi-newbie but I think Slackware wil be a much better environment to really learn GNU/Linux.

Thanks in advance.
 
Old 07-30-2002, 02:19 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Firstly, will I need to recompile my kernel with the natsemi driver, or will it be simpler than that?
Not necessarily, you could probably add the line:

/sbin/modprobe natsemi

To your /etc/rc.d/rc.netdevice file.

And you could also edit the startup scripts for your networking in the same directory, but editing the rc.inet1 and rc.inet2 to start any other services you want like your firewall.. etc.
 
Old 07-30-2002, 02:33 PM   #3
Tekime
Member
 
Registered: Feb 2002
Location: East Coast USA
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Thank you for the reply trickykid, I'll try your suggestions out tonight. If all goes well then I should be ready to get portsentry installed....
 
  


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
I'm a new Slacker olias Slackware 29 08-27-2014 12:07 PM
A Happy Slacker :) thegeekster LinuxQuestions.org Member Success Stories 5 12-30-2003 05:27 PM
redhater become slacker?? yenonn General 15 12-07-2003 07:53 PM
Brand New Slacker wdavidson Slackware 9 08-22-2003 10:08 PM
n00b Slacker Linuxidiot Slackware 3 05-27-2002 01:18 PM


All times are GMT -5. The time now is 05:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration