LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-04-2014, 10:59 PM   #1
Ryanms3030
Member
 
Registered: Jan 2014
Distribution: Debian, Mint, CentOS, Ubuntu
Posts: 261

Rep: Reputation: Disabled
I lost my wifi


So I'm still trying to figure out how to set up a virtual host on my server. I found a great whitepaper on the subject from Dell for called "KVM Virtualization in RHEL 6 Made Easy":

http://linux.dell.com/files/whitepap..._made_easy.pdf

Just what I needed! So I walked through his steps to set up bridged network and now I can't connect to wifi and that's the only network on my server. How do I get my wifi back? Here is what I did to break it:

1. Turn off NetworkManager (the network bridge does not like it) and use the „network‟ service
instead. Be sure to set NM_CONTROLLED=NO in your network controller configuration file
(presumably /etc/sysconfig/network-scripts/ifcfg-em1):
# chkconfig NetworkManager off
# chkconfig network on
# service NetworkManager stop
# service network start
2. Add to your network controller configuration file the following line:

BRIDGE=br0

(In my case, I used wlan0 which is my wifi card)

3. Create /etc/sysconfig/network-scripts/ifcfg-br0 and add:

DEVICE="br0"
# BOOTPROTO is your preference. It can be “dhcp” or “static”.
# If “static”, be sure to specify the IP address, netmask and gateway. Dell Inc.
KVM Virtualization in RHEL 6 Made Easy
7

BOOTPROTO="dhcp"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Bridge"
DELAY="0"

4. Create a FORWARD firewall rule for the bridge br0 so that VM network traffic can be forwarded
through it. This rule works for all bridge devices:

# iptables -A FORWARD -m physdev --physdev-is-bridged -j ACCEPT
# service iptables save

5. Enable forwarding. Edit /etc/sysctl.conf:

inet.ipv4.ip_forward = 1

And read the file:

# sysctl -p /etc/sysctl.conf

6. Restart the „network‟ service so that the network bridge you just created can get an IP address:
# service network restart



Now I don't get the network connection widget at the top of my desktop anymore.


# ifconfig doesn't list the wlan0 adapter anymore. Now I just get eth0, lo and virbr0.

# service network restart fails and says:

Bringing up interface eth0:
Determining IP information for eth0... failed, no link present. Check cable?
Bringing up interface br0. Incorrect number of arguments for command.

There is not cable connected to eth0 on the computer. I strictly use the wifi. Unfortunately there is not convenient way to connect directly to the router. What do I need to do or undue to get my wifi back?
 
Old 02-04-2014, 11:44 PM   #2
Ryanms3030
Member
 
Registered: Jan 2014
Distribution: Debian, Mint, CentOS, Ubuntu
Posts: 261

Original Poster
Rep: Reputation: Disabled
OK, I turned NetworkManager back on and it's back. Thank you for letting me figure it out on my own ;-)

I want to go so fast learning new tricks that I do 90% the things I do without fully understanding what I'm doing other then typing or copy pasting a command. Now I've been forced to learn about NetworkManager so that's good
 
  


Reply



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
wifi password is lost ufmale Linux - Newbie 2 02-10-2011 09:56 AM
Wifi lost during updates sdcougar MEPIS 1 01-31-2011 08:12 AM
lost wifi connection portia Linux - Hardware 5 10-26-2009 01:32 PM
deleting KOffice = lost wifi wiliamvw Linux - Newbie 2 04-22-2008 06:33 PM
Kde Upgrade, Lost Wifi lokirulez Linux - Software 3 01-19-2006 04:05 PM

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

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