scientificlinuxforum.org QR code
Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> How to not have to manually connect to internet upon restart?, How do I set it to automatically connect
papazulu
 Posted: Jun 25 2012, 06:22 AM
Quote Post


SLF Newbie


Group: Members
Posts: 7
Member No.: 1635
Joined: 21-June 12









Every time I reboot I have to manually click on connection icon and set system eth0 on. How do I set it to automatically connect upon reboot?

And also incidentally how do I manually turn on eth0 in terminal?
PM
^
Josea
 Posted: Jun 25 2012, 02:12 PM
Quote Post


SLF Newbie


Group: Members
Posts: 4
Member No.: 1643
Joined: 25-June 12









QUOTE (papazulu @ Jun 25 2012, 01:22 AM)
Every time I reboot I have to manually click on connection icon and set system eth0 on.  How do I set it to automatically connect upon reboot?

And also incidentally how do I manually turn on eth0 in terminal?

If you are on a laptop you may just need to use Fn and another FX key X being a number from 1 to 9 or zero.
This command may work in term sudo ifconfig eth0 up
You should listen to Tux99 he knows way more than I do about Linux
~~~~ I was just wondering are questions only answered if they are about Scientiific?
Thanks Josea
PM
^
tux99
 Posted: Jun 25 2012, 02:44 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









QUOTE (papazulu @ Jun 25 2012, 08:22 AM)
Every time I reboot I have to manually click on connection icon and set system eth0 on.  How do I set it to automatically connect upon reboot?


Check the eth0 config file /etc/sysconfig/network-scripts/ifcfg-eth0

It should contain a line saying:
ONBOOT="yes"

If that line is missing, add it or if it says "no" edit the file and change it to "yes".

QUOTE (papazulu @ Jun 25 2012, 08:22 AM)
And also incidentally how do I manually turn on eth0 in terminal?


ifup eth0 (as 'root' user), don't use 'ifconfig' as mentioned by Josea ('ifconfig' isn't wrong, but with 'ifconfig' you have to specify all parameters manually) as that will not take into consideration any specific config options included in the ifcfg-eth0 file.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll