Fedora :: Set Up A WPA2 Wireless Connection Using The Ifcfg Method?
Dec 8, 2009
NetworkManager is a powerful tool for setting up a wlan connection, especially if you connect the laptop to multiple access points. One drawback is that the user accounts must be given access to the pass
phrase. Another is that there is no wlan connection in run level 3, because nm-applet is an X application.If you connect to the same access point all the time, e.g., your own wireless router, a permanent connection via ifcfg might be more convenient. It is controlled by root. All user accounts have wireless access without knowing the underlying details. Further, there is a wireless connection in run level 3. After a lot of trial and error and Google searches, I was able to put together this guide by splicing together one step used in Slackware (from Alienbob's web page) with other steps outlined in this online article http://home.roadrunner.com/~computer...hwireless.html.
It is assumed that the appropriate kernel module for the wlan card is installed and that
$ iwconfigshows a viable wlan0 interface. We are using DHCP. (If using static IP, edit ifcfg-wlan0.)The following steps work on a Compaq Presario F756NR notebook with a Atheros AR242x 802.11abg WLAN card using the ath5k kernel module (without madwifi). I am using 64-bit F12. All commands are executed as root.1. $ yum install wpa_supplicant dhclientProbably already installed, especially dhclient. If so, skip.2. $ cd /etc/sysconfig && vi wpa_supplicantInsert the following lines:
INTERFACES="-iwlan0"
DRIVERS="-Dwext"
OTHER_ARGS="-f /var/log/wpa_supplicant.log"
[code]....
View 1 Replies
ADVERTISEMENT
Jan 3, 2010
I'm relatively new to Linux. My netbook ran updates yesterday for Ubuntu and now I am unable to reconnect to wireless network connection. I am using WPA2 encrypted security. I am able to connect via wired LAN. Also, when I went to connect using USB mobile connection, I get an error "unable to mount location". I get the same error if I try to connect my external CD drive. I am using Ubuntu 8.04 with Gnome desktop (2.22.3) on a Dell Mini 9.My wireless device is using Broadcom STA Wireless driver for an 802.11 wireless card.
View 1 Replies
View Related
Jan 1, 2010
I'm relatively new to Linux.My netbook ran updates yesterday for Ubuntu and now I am unable to reconnect to wireless network connection.I am using WPA2 encrypted security.I am able to connect via wired LAN. Also, when I went to connect using USB mobile connection, I get an error "unable to mount location". I get the same error if I try to connect my external CD drive. I have tried to force mount but no luck.
View 17 Replies
View Related
Jun 1, 2011
When I do service network start it is giving me the error grep : can not find directory ifcfg-ifcfg-eth0....
For some reason it is adding another ifcfg to my ifcfg-eth0 file.
View 1 Replies
View Related
Jul 2, 2011
(and new-ish to Linux in general) and would appreciate some assistance with fixing a problem I'm having with getting wireless working on my computer.Computer specs: Lenovo Thinkpad Edge 520, I5Wireless card: Intel WiFi Link 1000 b/g/n(Note: I also have a Netgear USB wireless adapter, and trying to use this does not solve my problem)I cannot activate wireless. When I go to Network Settings > Wireless, it is listed as "unavailable", and "off". When I try to switch wireless "on", it says "disconnected", but then immediately switches back to "off".Having tried to browse various forums and such for a solution, I tried looking for the file ifcfg-wlan0 under /etc/sysconfig/network-scripts, but it doesn't exist
View 4 Replies
View Related
Jun 11, 2009
Its seems Fedora 11 on eee pc 1000h cannot connect to any wireless type(Open, WPA2, WPA or WEP) of a hidden network(non broadcasting SSID). Though it can connect to visible ones(broadcasting SSID), since my college is on a hidden network this a problem for me. Though I can't really test if its just fedora 11 or rpmfusion drivers for it 1000h model related problem.
View 13 Replies
View Related
Jul 21, 2010
I am using the Fedora 13 Live USB on my Gateway MT6451 laptop. All the major things you want to work on a laptop with linux actually work! Even my Broadcom wireless card! But even though I can see wireless networks and connect to ones that are open with no problem, I can't actually connect to my Hidden WPA2 network. I put all the information in and it connects, shows a good signal, but doesn't acquire the correct IP. I have a 192.168.X.X address range on my network, but it shows a 10.X.X.X ip and no Gateway address.
If I can get this one thing working I will definitely be installing Fedora.
View 9 Replies
View Related
May 16, 2010
Does anyone have a way to use this type of encryption? I have read many posts but have not gotten a solution yet. I am trying to get this to work at a friend's house. I know the SSID and the super-long ascii code (with symbols?). gnome nm and wicd have been useless. I have been connecting to my school's wpa2 using wpa_supplicant + dhclient directly, so I tried adding it in there:
network={
ssid="name"
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk="horribly long thing"
}
What happens is a string of connects and then immediate disconnects when runnign wpa_supplicant. It says "CTRL-EVENT-DISCONNECTED - disconnect event - remove keys" then starts all over. Can't get a stable connection but I must be close?
View 1 Replies
View Related
Oct 16, 2010
I don't know where to put this, or even what I'm looking for.
I've tried for 6 hours today to get my WPA2 wireless to work as a static IP on my laptop to no avail.
Basically I put things in correctly (at least according to that thread) but I get no interent. When I restart I get the correct IP address but no internet pages will load.
The network monitor I have on my panel shows that it is trying to send and receive information, but I can not get my pages to load.
I'm desperately in need of help, but I really don't know how to even ask for it correctly.
But to start here is my interfaces file (one config of about 15 I've tried).
Code:
auto wlan0
iface wlan0 inet static
address 10.42.32.113
netmask 255.255.255.0
[Code].....
My router is a linksys WRT54GS. My wireless is set up as WPA2-Personal with the "algorithm" as TKIP+AES.
Its like it wants to connect and gives me an IP. But I just don't get any real web data.
I've restarted and tried restarting just the network.
View 5 Replies
View Related
Apr 12, 2016
I'm using Debian 8 with GNOME 32bit. I installed a driver with ndiswrapper for my old D-Link DWL-G650M.
If i using the default network manager to connect with a Free wifi the connection works fine. But if the wifi have the password the connection doesn't work.
I. using my phone Android to create the Router-Wifi like this:
SSID: AndroidAP5
Password: BillyBob
Encryption(the one allowed): WPA2 PSK
With network manager gnome is impossible to connect. I changed in setting the password type with WPA2 but the system doesn't connect.
I tried to connect manually and i updated the file /etc/network/interfaces as the follow:
Code: Select allauto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid AndroidAP5
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 18[...]
After this I tried to execute the follow command :
Code: Select all/etc/init.d/networking restart
And the system returns:
Code: Select all[ ok ] Restarting networking (via systemctl): networking.service
but nothing else happens. The internet connection doesn't work. The Android phone not detect PC connection IN.
View 3 Replies
View Related
Nov 27, 2010
I am running Ubuntu 10.04 on a PackardBell notebook and have just got an Orange Livebox 2 for broadband connection(after years of dial-up as no adsl in my area).
I am trying to connect via WiFi to the Livebox to configure, but neither NetworkManager nor Wicd will connect. NM sees the Livebox but simply fails to connect after trying; Wicd says "Bad password". The WPA2 password I have entered is definitely correct, and I have connected without any problem from an AcerOne under Linpus.
I have also tried to connect using Wicd and an ethernet cable, and this doesn't connect either, returning "Connection Failed: Unable to Get IP Address"
View 9 Replies
View Related
Nov 27, 2010
I am running Ubuntu 10.04 on a PackardBell notebook and have just got an Orange Livebox 2 for broadband connection(after years of dial-up as no adsl in my area).I am trying to connect via WiFi to the Livebox to configure, but neither NetworkManager nor Wicd will connect. NM sees the Livebox but simply fails to connect after trying; Wicd says "Bad password".The WPA2 password I have entered is definitely correct, and I have connected without any problem from an AcerOne under Linpus.I have also tried to connect using Wicd and an ethernet cable, and this doesn't connect either, returning "Connection Failed: Unable to Get IP Address"
View 1 Replies
View Related
Aug 24, 2010
I am wondering if WPA2 encryption in openSUSE 11.3 YAST is actually TKIP or AES? My wireless router uses the later. I keep having the problem of wireless authentication window popping up.
View 8 Replies
View Related
May 6, 2010
After updating to 10.04, I was able to connect easily to my network. However after getting a new router "Linksys WRT610Nv2", I was initially able to set up my wireless "WPA & WPA2 Personal"-encrypted network, but for whatever reason it stopped working completely.
My Asus EeePC 1000H does recognize my network, but its does not want to connect anymore, whatever I try. If I use no encryption, or go wired, everything works well. If I go on other networks everything is ok. I even reinstalled Passwords and Encryption Keys. Other computers (Windows-bad XP and Vista, laptop and desktop [sorry, but working on it to get rid of them!]) have no problems, either wired or wireless connecting with my network. Booting under 9.10, everything works ok as well. In Ubuntu 10.04, going into Network Connections and Edit my network, this is what I see:
[Code]....
View 9 Replies
View Related
Jul 27, 2010
how can i connect to the wireless network(WPA/WPA2)? i dont have network manager,so help me with terminal. i download wpasusclinet,but help me from first.
View 8 Replies
View Related
Sep 20, 2010
So my university has two wireless servers that students can log into: VCU and VCU SafeNet. The regular VCU server works fine in most areas on campus but the library which I imagine I would be spending most of my time in between classes to do work and such. The connection quality for the unsecured server sucks ass there, and I do not use that term lightly. Other students have found success connecting in the library through the SafeNet server and the tech support man in the library was very nice in helping me setting up the security rules to connect to SafeNet in openSUSE.
However, I lack one little thing that would get me internet connection on crack at the library: GTC authentication for PEAP in WPA2. I did some research and found that GTC has not been implemented in the GUI of KNetworkManager even though it was implemented in NetworkManager. The guide that the tech support man printed out for me was for some earlier version of Ubuntu, so I know NetworkManager has had GTC support for a while now and KNetworkManager is still lacking this. I also found a patch for KNetworkManager, but have had no luck implementing it.
View 1 Replies
View Related
Mar 10, 2011
I'm using the new opensuse 11.4 with KDE desktop. I can connect to my WPA2 personal network fine, but some other networks, like a WPA2 enterprise network connects, but no Internet(pinging too) resolves.
View 2 Replies
View Related
May 15, 2011
I had some difficulty getting Plasmoid to work on to connect to a WPA2-Enterprise Network. The Cert file is in DER format which is something like this "XXXX.cer" After I filed a bug report I got a respond to try the updated Plasmoid from this Repo:
Index of /repositories/KDE:/UpdatedApps/openSUSE_11.4 To use it you have to first install your certificate in openssl using terminal. First copy the certificate into the ssl directory (In OpenSUSE it is /etc/ssl/certs/)
1) sudo cp path_to_file /etc/ssl/certs/Then install it (If you don't do this it will fail) Source:http://gagravarr.org/writing/openssl...tml#Installing
2)sudo ln -s filename_of_certificate `openssl x509 -hash -noout -in filename_of_certificate`.0
3)Then after that when using Plasmoid to connect check the box use system certificate.
It should work like it worked for me but I still think certificate handling needs a lot of improvement.Pointing the cert directly from plasmoid does not work.
View 1 Replies
View Related
Sep 21, 2010
I'm trying to connect to a new router that has WPA2-PSK encryption.In the connection window Ubuntu presents when choosing the network from the wifi menu, there are only the 3 WEP options (40/128 bits, 128 bits, and dynamic) plus LEAP. But no WPA2-PSK or any other WPA..I know for sure my router is set to WPA2-PSK and not to WEP.
View 1 Replies
View Related
Mar 26, 2010
In my toshiba m900 with realtek wireless lan. i canot detect any network. should i see any network? i setup my access point using wpa2 in windows. how about the ubuntu 10.04? i mean do they support wpa2 and wireless issues?
View 9 Replies
View Related
Oct 26, 2010
I've got a BCM 4312 card on a Dell laptop running 10.04 and an Apple Airport network. Since I configured the Airport to use "WPA2 Personal" Authentication, my connection is flaky: it drops for no apparent reason and sometimes I can't connect at all. When authentication is turned off, the connection is rock solid.
Here's an example from the syslog of a failed attempt to connect:
Code:
Oct 26 19:31:24 firefly NetworkManager: <info> Activation (eth1) starting connection 'Auto Rittenhouse'
Oct 26 19:31:24 firefly NetworkManager: <info> (eth1): device state change: 3 -> 4 (reason 0)
[Code]....
View 5 Replies
View Related
Jul 7, 2010
I followed [URL]..to set up my wireless network with WPA2 encryption. It works now and knemo says:Encryption: active. However, "iwconfig wlan0" says Encrytion key: off:
Code:
wlan0 IEEE 802.11abgn ESSID:"blitz"
Mode:Managed Frequency:2.472 GHz Access Point: 00:25:9C:DE:D3:7D
Bit Rate=0 kb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
[Code]...
So is there anything wrong with that "Encryption key: off" statement? I suspect that encryption key only applies to WEP, but not to WPA2 encryption, but I am not sure. So my question is, can I ignore that statement and assume that my encryption is fine?
Besides, where does knemo read the information about encryption from? As I mentioned, knemo detects that the encryption is active. Are there any other commands to make sure that my encryption is safe and well?
View 7 Replies
View Related
Jun 21, 2009
I have installed Fedora 11 recently. I want to share my Internet connection.
I have e LAN connection eth0 which is connected to internet.
I have a Wireless connection wlan0.
I want to share my internet connection with wireless connection.
View 3 Replies
View Related
Jul 6, 2011
I wanted to run a little media server in my house, shared with my laptop only, so I could free up space on my laptop drive. I took one of my Linux boxes out of my render farm and loaded up a minimal install, command line only of Ubuntu Lucid from the mini ISO (32 bit). I had to plug in a lan cable to install, but I wanted to move my box back out to the "farm" that doesn't have wired access to my intranet.
After much research, trial and error, this is what worked for me. My wireless card uses an Atheros AR5001X+ chip, and it works with the desktop cd out of the box. I found the "just works" desktop install uses the ath5k driver that is now included in Lucid, but I'm not using a desktop or window manager. I haven't tried this on server version, if you do, let others know what you had to install to get it to work.
The things I do tell you about, I instruct you as if you are a newbie, however I have left out some things that users should know or be able to lookup easily, like if you want a static address instead of using dhcp. You may not need all of the steps or you may have to do more research and troubleshooting.
Find your wireless card (you may need to lookup what to do if it is not recognized at all)List all pci devices, only show network devices (-v verbose, -vv very verbose): >>lspci -vv | grep Network List all hardware (| less lets you pause at each page - arrow keys, page down/up to navigate, q to quit) >>lshw | less
[Code]...
View 1 Replies
View Related
Sep 1, 2011
In setting up wireless connections I have ran into an array of problems. First, when I installed the new OS on my laptop I had to get the correct drivers and firmware for it to display and connect to any connections, had no problem here connecting to a secure wireless network (WPA or WPA2). I then installed Ubuntu on my desktop and had to find the correct driver for the Netgear WNDA3100v2 USB adapter, got it all installed with the Windows Wireless Drivers tool or w/e it is. This made all the available connections come up. I tried connecting with the WPA password I was given for the network and will not connect.
I had the guy managing the network change the one I connect to, to a WEP Passphrase Shared Key thinking this would solve my issue, still nothing. And also in doing so, now my laptop will not connect to the wireless network using the Passphrase. I do not want to go back to Windows, and I will be getting rid of my Lan connection soon so i need a solution to fix this wireless connection problem.
View 9 Replies
View Related
Feb 3, 2011
I installed 14 and no ifcfg- files. (no ifcfg-eth0)can i create them ??
View 6 Replies
View Related
Nov 15, 2010
Im trying to setup a radius server to use WPA2-Enterprise on a linksys wireless router. I have so far done the following from this link: [URL]... Im having trouble understanding/finding information on how to configure the configuration files so my radius server will work when somebody tries to authenticate.
View 3 Replies
View Related
Jul 5, 2011
I keep getting a "bad password" error message when trying to connect via wpa_supplicant to a wireless network (Apple Time Capsule WPA/WPA2 mixed).
Here's my wpa_supplicant.conf:
Code:
And the relevant line in the /etc/network/interfaces file:
Code:
The Time Capsule log contains the following error message--
Code:
So perhaps the password is somehow getting lost in translation from Ubuntu to the Time Capsule?
View 9 Replies
View Related
Apr 1, 2010
I've been having a network problem that I've been able to temporarily solve by rebooting the router, but even that can be shaky at times, and it can sometimes disturb others' internet activites, so I'd really like to tackle this while I can. I had an old thread about this, but it's ancient history by now, and plus which, I've got a bit more Linux experience and patience than I did before.
The basic problem is that NetworkManager will associate and connect to my home wireless network, but a) it won't let me ping the router or anywhere else ("Destination Host Unreachable"), and b) the connection lasts for maybe a couple minutes at most. If I reset the router, however, 9 times out of 10 it will associate and connect successfully and I can get online, but I have to run a constant ping to the router with a 10-second interval, otherwise it drops the connection, unless I'm doing a lot of other heavy network activity.
ping 192.168.1.1 (the router):
Code:
I've tried wpa_supplicant, but this is what I get (it's apparently unsuccessful...? ESSID/MAC addresses censored where necessary):
Code:
The last prompt line is included because I cancelled it myself; it didn't abort on its own. If left unmonitored, it basically keeps doing this over and over, with no visible network activity at all.
With NetworkManager, I can keep selecting the network's ESSID over and over, and it seems to reconnect, but I still can't ping out anywhere. I'm using a Netgear WN111v1 wireless adapter with ndiswrapper and the Windows drivers. I have no idea what the chipset is, and I doubt that Linux drivers exist for it, even if I knew what it was. The router is using WPA2 security (hence my trying wpa_supplicant)
lsusb:
Code:
ifconfig wlan0 (while connected; IP/MAC addresses censored where needed):
Code:
ifconfig wlan0 (while not connected; IP/MAC addresses censored where needed):
Code:
Code:
I only include this for format checking purposes. The commented out "psk" is the actual text passphrase, while the uncommented one is (presumably) a hex representation of the same key. Is this correct? I've never done this with wpa_supplicant before, I've only used NetworkManager (which is a pain in the @$$ because it requires X to run, and so it disconnects any time I log out/back in ).
Is there any hope of getting my wireless connection permanently working, so that I don't have to reset the router every time I need to reboot or log out/back in?
View 15 Replies
View Related
Sep 23, 2010
The university I go to uses a WPA2 wireless network that requires a netID and password to connect too. I installed wicd but I can't seem to connect to this network, is there a way to add this functionality to wicd, and if so, how do I do that (links to a how-to or guide would be nice, I've yet to find one).
Also, I spend most of my time on campus in the command line, so I'd like to know if there is a way to use command line utilities to connect to this network (again, a guide or how-to would be nice)
I can get online through my fedora live USB just fine (w/ network manager) but I'd rather get on directly from slackware.
View 3 Replies
View Related