LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-23-2009, 11:23 AM   #1
lumacho
LQ Newbie
 
Registered: Sep 2009
Location: Turin
Distribution: Slackware 13.0
Posts: 23

Rep: Reputation: 15
Can anyone past me his slack's 13.0 NATIVE /etc/rc.d/rc.inet1?


Like subject, I've deleted it :\

Nice to meet you, I'm Fabio

(paste me!)

Last edited by lumacho; 09-23-2009 at 11:24 AM. Reason: The reason is that I'm italian...
 
Old 09-23-2009, 11:32 AM   #2
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Code:
cd /var/log/packages
grep rc.inet1 *
network-scripts-13.0-noarch-2

Code:
# wget www.your-mirror.com/slackware/slackware-13.0/slackware/n/network-scripts-13.0-noarch-2.txz

CWD=$PWD
wget http://mirrors.easynews.com/linux/slackware/slackware-13.0/slackware/n/network-scripts-13.0-noarch-2.txz
mkdir -p $HOME/temp-dir
cd $HOME/temp-dir
tar xf $CWD/network-scripts-13.0-noarch-2.txz
cd $HOME/temp-dir/usr/etc/rc.d
Sorry code pasting isn't a good idea for this when you can easily get it from the package it self.


EDIT:
Oh yeah... if you deleted it and you can't get the package directly on your computer, like say you are on a windows machine, 7-zip should be able to extract the contents. If it doesn't like the file extension; change it to .tar.xz

Last edited by lumak; 09-23-2009 at 12:08 PM.
 
Old 09-23-2009, 11:43 AM   #3
lumacho
LQ Newbie
 
Registered: Sep 2009
Location: Turin
Distribution: Slackware 13.0
Posts: 23

Original Poster
Rep: Reputation: 15
Thank you so much, I'm getting it from the slack dvd... I'm new of this world, and ask for the code seems me the right way ^^
 
Old 09-23-2009, 12:09 PM   #4
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
sorry, added 'tar xf package.txz'
The 'xf' stands for 'extract' 'file'
GNU tar automatically determines the compression method used.

Additionally, because it is a package, there is no master directory inside the compressed file. That's why you should make a sub directory and go to it to extract the file.

Last edited by lumak; 09-23-2009 at 12:11 PM.
 
Old 09-23-2009, 12:18 PM   #5
lumacho
LQ Newbie
 
Registered: Sep 2009
Location: Turin
Distribution: Slackware 13.0
Posts: 23

Original Poster
Rep: Reputation: 15
Everything is ok, I've extracted the txz archive and putted the right file in the right folder, and everything works... I was editing the /etc/rc.d/rc.inet1.conf, with no effect... the fact was that I override the script with the .conf file :P

Thank you Lumak!
 
Old 09-23-2009, 12:20 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Even easier:
Code:
wget http://slackware.osuosl.org/slackware-13.0/source/n/network-scripts/scripts/rc.inet1
Eric
 
  


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
Slack's login messages nakedlunch Slackware 2 05-06-2007 03:59 PM
Slack's 10.2 security against crackers? biledaemon Slackware 2 10-28-2005 11:04 PM
rc.inet1 and rc.inet1.conf edafe Slackware 0 02-16-2005 09:51 AM
Slack's Example vimrc File mijenks Slackware 2 12-30-2004 10:08 AM
slack's history? gui10 Slackware 13 04-26-2002 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:08 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