Find the answer to your Linux question:
Results 1 to 5 of 5
How do I restart my network in slackware??? (for ex:in redhat was /etc/init.d ./network restart---simple) how can I do same thing in Slackware?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Location
    Romania
    Posts
    38

    restart my network


    How do I restart my network in slackware???
    (for ex:in redhat was /etc/init.d
    ./network restart---simple)
    how can I do same thing in Slackware?

  2. #2
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    try
    Code:
    ifconfig eth0 down
    cd /etc/rc.d/
    ./rc.inet1 restart
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    1

    restart my network

    Quote Originally Posted by Flatline
    try
    Code:
    ifconfig eth0 down
    cd /etc/rc.d/
    ./rc.inet1 restart

    Hi! I found this forum when searching for a network restart way in slackware. And it works fine.
    I'm using an adsl modem in bridged mode and if I need to access the admin account in it I need to restart the network and change a cable. And with your tip this works!!! Thanks Flatline!

  4. #4
    Just Joined! phanthaihuan's Avatar
    Join Date
    Jan 2009
    Posts
    1

    Wink

    Quote Originally Posted by Flatline View Post
    try
    Code:
    ifconfig eth0 down
    cd /etc/rc.d/
    ./rc.inet1 restart
    Dear Flatline,

    I we are working on remote host with SSH, we shouldn't use command "ifconfig eth0 down" or any kind of it. I think the following command is enough:
    HTML Code:
    user$ su-
    root# /etc/rc.d/rc.inet1 restart
    If we use command "ifconfig eth0 down" we cannot reach the server to enter "ifconfig eth0 up".

    Best regards,
    Huan

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Welcome to the forums, Huan!

    This thread is over 5 years old so you won't get a response here. If you need help, please start a new thread of your own describing any problems you are having.

    Thank you.
    oz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •