How to automatically connect to a wireless network

Issues related to configuring your network
Post Reply
czarekplpl
Posts: 53
Joined: 2014/08/23 07:57:52

How to automatically connect to a wireless network

Post by czarekplpl » 2015/08/04 18:11:52

I have to network interfaces
eth0 - wired and
eth1 - wireless.
to connect to wireless network I have to manually put 2 commands

Code: Select all

# wpa_supplicant -B -Dwext -ieth1 -c/etc/wpa_supplicant/wpa_supplicant.conf  
and than

Code: Select all

# dhclient eth1
How to make it automatically?
I would like to up both inerfaces in boot

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: How to automatically connect to a wireless network

Post by gerald_clark » 2015/08/04 20:23:21

Use networkmanager.
Check the FAQ first at http://wiki.centos.org/FAQ/CentOS6
Official documentation is at https://access.redhat.com/knowledge/docs/
Don't have both interfaces on the same subnet.

Post Reply