How to restore wifi after using ifup to connect to network


up vote
0
down vote
favorite
I am using the following method to connect to a certain network via terminal.
1. Wifi working perfectly fine.
2. Change /etc/network/interfaces from:
auto lo
iface lo inet loopback
to
auto lo
iface lo inet loopback
#
auto wlp3s0
iface wlp3s0 inet static
address 192.168.42.150
netmask 255.255.255.0
gateway 192.168.42.10
wpa-essid EmRtkGps3:43:73
wpa-psk emlidreach
3. Run the following commands:
$ sudo service network-manager restart
$ sudo ifup wlp3s0
4. Now my wifi looks like this and I can't get it back to default
unless I change /etc/network/interfaces back to default and RESTART my computer.
How to get my wifi to look like first image without restarting my computer?
networking wireless interface
add a comment |Â
up vote
0
down vote
favorite
I am using the following method to connect to a certain network via terminal.
1. Wifi working perfectly fine.
2. Change /etc/network/interfaces from:
auto lo
iface lo inet loopback
to
auto lo
iface lo inet loopback
#
auto wlp3s0
iface wlp3s0 inet static
address 192.168.42.150
netmask 255.255.255.0
gateway 192.168.42.10
wpa-essid EmRtkGps3:43:73
wpa-psk emlidreach
3. Run the following commands:
$ sudo service network-manager restart
$ sudo ifup wlp3s0
4. Now my wifi looks like this and I can't get it back to default
unless I change /etc/network/interfaces back to default and RESTART my computer.
How to get my wifi to look like first image without restarting my computer?
networking wireless interface
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using the following method to connect to a certain network via terminal.
1. Wifi working perfectly fine.
2. Change /etc/network/interfaces from:
auto lo
iface lo inet loopback
to
auto lo
iface lo inet loopback
#
auto wlp3s0
iface wlp3s0 inet static
address 192.168.42.150
netmask 255.255.255.0
gateway 192.168.42.10
wpa-essid EmRtkGps3:43:73
wpa-psk emlidreach
3. Run the following commands:
$ sudo service network-manager restart
$ sudo ifup wlp3s0
4. Now my wifi looks like this and I can't get it back to default
unless I change /etc/network/interfaces back to default and RESTART my computer.
How to get my wifi to look like first image without restarting my computer?
networking wireless interface
I am using the following method to connect to a certain network via terminal.
1. Wifi working perfectly fine.
2. Change /etc/network/interfaces from:
auto lo
iface lo inet loopback
to
auto lo
iface lo inet loopback
#
auto wlp3s0
iface wlp3s0 inet static
address 192.168.42.150
netmask 255.255.255.0
gateway 192.168.42.10
wpa-essid EmRtkGps3:43:73
wpa-psk emlidreach
3. Run the following commands:
$ sudo service network-manager restart
$ sudo ifup wlp3s0
4. Now my wifi looks like this and I can't get it back to default
unless I change /etc/network/interfaces back to default and RESTART my computer.
How to get my wifi to look like first image without restarting my computer?
networking wireless interface
edited Apr 24 at 23:48
asked Apr 24 at 23:37


lightsout
144119
144119
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027952%2fhow-to-restore-wifi-after-using-ifup-to-connect-to-network%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password