Hi,
I’ve got Linux Jessie on acer 5560 laptop.
I have got local router, and wire goes from one to computer.
I also have got a android tabet with SIM card with Internet, and it shares a wifi hotspot.
Now in laptop only wifi is working with static ip.
When I disable wifi, I want that eth0 turn on automatically with dhcp.
Does ifplugd work with wlan0 and eth0 at the same time?
Or is there another solution without using ifplugd?
Also when I want to turn off WiFi and I get this: http://imgur.com/yRPbABn
-Is it a normal behavior?
I don’t know anything about ifplugd … a server wouldn’t normally be having its network connection changed mid session, and wouldn’t normally be connected to the network via wireless.
Not saying it can’t be done, just that you’re entering territory where most people won’t have practical experience.
Also when I want to turn off WiFi and I get this:
http://imgur.com/yRPbABn
-Is it a normal behavior?
I typed
Code:
Sudo Ifdown wlan0
And I get short message ‘wl0 down some numbers’ (the same as on picture I sent)
Then I typed
Code:
Sudo ifup wlan0 and I get ‘wl0 up some numbers’ and blinking cursor in next line.
So I pushed Ctr +C , then I checked ping , and it wasn’t ping for a while but after 20seconds I got internet and ping.
I believe there is a little difference between ifconfig up and ifup. In the first one I didn’t have internet, I had to restart PC.
I also add, I’ve got built-in WiFi , no USB adapter.
BTW
I added new user.
When I typed ‘ifconfig’ I got ‘command not found’.
So I added this user into /etc/sudousers.
Now, when I type sudo command and input account’s password, I can do everything like root user.
I think that isn’t safe.
How should /etc/sudousers look like?
Now, when I type sudo command and input account's password, I can do everything like root user.
That is the whole idea of sudo, so that you can do whatever root can do without staying logged in (as root).
If that worries you (there is no protection from the user action logged in as root) then stay away from using it, let others administer your system.