LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2004, 04:34 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Command to startup network?


To start my internet connectino from command line, I do " ifconfig eth0 up " nothing happens, when I do " ifconfig eth0 start " I get " cannot lookup host name " so I did " ./inet1 " to startup up my internet connection and that works. What is the proper command to startup internet connection from command line, I asked this about a month ago but found nothing that worked. Thanks.
 
Old 07-11-2004, 10:43 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
do you have ifup?
 
Old 07-11-2004, 10:56 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
If this is a slack-box, the script is
/etc/rc.d/rc.inet1 start

If it's been configured properly (either using
netconfig or manually, editing /etc/rc.d/rc.inet1.conf)
it should come up automagically on boot.


Cheers,
Tink
 
Old 07-12-2004, 12:49 AM   #4
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Ive tried ifup and it does nothing.
yes it is a slack system and It does come up automatically but sometimes I forget to turn on my router and modem then I have to start it manually. Ive just been doing ./rc.inet1 but was not sure if that is right (even though it works) or if I need to do ./rc.inet2 also?

Last edited by BajaNick; 07-12-2004 at 01:40 AM.
 
Old 07-12-2004, 05:28 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
There should be no need to run rc.inet2 for
normal connectivity ...

A /etc/rc.d/rc.inet1 stop and /etc/rc.d/rc.inet1
start should get you running...


Cheers,
Tink
 
Old 07-12-2004, 07:37 PM   #6
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Ok, Thanks
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Startup command mpgram Linux - Software 2 09-19-2005 08:30 PM
running a command on startup scankyfrank Linux - General 8 05-08-2005 06:03 PM
startup command skull98 Linux - Newbie 2 04-14-2004 10:37 AM
Running a command at Startup TuxTimo Linux - Newbie 6 02-27-2004 06:11 PM
how can i get into command prompt at startup ? suede666 Linux - Newbie 2 05-25-2003 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration