LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2016, 02:12 PM   #1
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: Antix 16 and PCLinuxOS Mate
Posts: 258

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Is there a way to manually control an ethernet connection??


The os is PCLinuxOS 2014 and the ethernet automatically connects at boot. Is there some place or configuration to set it up manually?? Thanks!!
 
Old 11-17-2016, 02:25 PM   #2
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 3,671
Blog Entries: 10

Rep: Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014
There are the ifup and ifdown commands for starting and stopping a connection. Most distros that use sysvinit have those scripts. The ifconfig and ip programs can be used beforehand to assign an address and a route to an interface. But why would you want to do that when it's so much more convenient to have it start automatically?
 
Old 11-17-2016, 02:48 PM   #3
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: Antix 16 and PCLinuxOS Mate
Posts: 258

Original Poster
Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
It is nice that the ethernet starts automatically but I need a way to disconnect it besides just pulling the plug out of the back of my computer! As a computer illiterate I need some help with this please!
 
Old 11-17-2016, 02:56 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,237

Rep: Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653
What is the output of:

Code:
ip a
Remove your IP address if needed. Just need to see the name of your active interface.
 
Old 11-17-2016, 03:08 PM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,316

Rep: Reputation: Disabled
Code:
ip link set <I/F> down
It should bring it down, replace down with up to bring it up.
 
Old 11-17-2016, 03:14 PM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,237

Rep: Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653
There is also:

Code:
ifup <interface name>
ifdown <internface name>
 
1 members found this post helpful.
Old 11-18-2016, 02:06 AM   #7
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: Antix 16 and PCLinuxOS Mate
Posts: 258

Original Poster
Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Thanks everyone!! As usual I had to re-install my os and then " configure the ethernet in the control panel" before starting the firewall! Thanks Again!!
 
  


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
PulseAudio Volume Control; Connection Failed; Connection Terminated buccaneere Linux - Software 0 01-29-2013 03:44 AM
Ethernet NIC Card require manually up every time? mandar.pimplapure Linux - Hardware 4 12-07-2011 05:55 AM
can't load ethernet modules manually varun_saa Mandriva 5 03-14-2007 10:16 PM
How to set up internet connection manually in FC5 jojojo Linux - Newbie 2 06-03-2006 11:27 AM
How do I 'switch on' net connection manually? Adrian Baker SUSE / openSUSE 3 05-20-2006 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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