LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 01:12 PM   #1
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: Antix 16 and PCLinuxOS Mate
Posts: 303

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
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, 01:25 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 6,894
Blog Entries: 17

Rep: Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135
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, 01:48 PM   #3
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: Antix 16 and PCLinuxOS Mate
Posts: 303

Original Poster
Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
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, 01:56 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693
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, 02:08 PM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,513

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, 02:14 PM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693
There is also:

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

Original Poster
Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
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 02:44 AM
Ethernet NIC Card require manually up every time? mandar.pimplapure Linux - Hardware 4 12-07-2011 04:55 AM
can't load ethernet modules manually varun_saa Mandriva 5 03-14-2007 09:16 PM
How to set up internet connection manually in FC5 jojojo Linux - Newbie 2 06-03-2006 10:27 AM
How do I 'switch on' net connection manually? Adrian Baker SUSE / openSUSE 3 05-20-2006 05:45 PM

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

All times are GMT -5. The time now is 01:45 AM.

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